Lines Matching refs:profile
92 * Mapping from profile name, e.g. "HEADSET" to profile object.
127 if(DEBUG) Log.d(TAG, "Adding local MAP profile");
133 //Create PBAP server profile, but do not add it to list of profiles
134 // as we do not need to monitor the profile as part of profile list
141 * Initialize or update the local profile objects. If a UUID was previously
143 * profile object as it might be referenced elsewhere, or the UUID might
144 * come back and we don't want multiple copies of the profile objects.
151 if(DEBUG) Log.d(TAG, "Adding local A2DP SRC profile");
157 Log.w(TAG, "Warning: A2DP profile was previously added but the UUID is now missing.");
163 if(DEBUG) Log.d(TAG, "Adding local A2DP Sink profile");
169 Log.w(TAG, "Warning: A2DP Sink profile was previously added but the UUID is now missing.");
176 if (DEBUG) Log.d(TAG, "Adding local HEADSET profile");
183 Log.w(TAG, "Warning: HEADSET profile was previously added but the UUID is now missing.");
189 if(DEBUG) Log.d(TAG, "Adding local HfpClient profile");
197 "Warning: Hfp Client profile was previously added but the UUID is now missing.");
205 if(DEBUG) Log.d(TAG, "Adding local OPP profile");
211 Log.w(TAG, "Warning: OPP profile was previously added but the UUID is now missing.");
217 if(DEBUG) Log.d(TAG, "Adding local PBAP Client profile");
225 "Warning: PBAP Client profile was previously added but the UUID is now missing.");
236 private void addProfile(LocalBluetoothProfile profile,
238 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile));
239 mProfileNameMap.put(profileName, profile);
242 private void addPanProfile(LocalBluetoothProfile profile,
245 new PanStateChangedHandler(profile));
246 mProfileNameMap.put(profileName, profile);
263 * Generic handler for connection state change events for the specified profile.
268 StateChangedHandler(LocalBluetoothProfile profile) {
269 mProfile = profile;
294 PanStateChangedHandler(LocalBluetoothProfile profile) {
295 super(profile);
333 // Getting just the headset profile is fine for now. Will need to deal with A2DP
335 LocalBluetoothProfile profile = mHeadsetProfile;
336 if (profile != null) {
337 return profile.isProfileReady();
339 profile = mA2dpProfile;
340 if (profile != null) {
341 return profile.isProfileReady();
343 profile = mA2dpSinkProfile;
344 if (profile != null) {
345 return profile.isProfileReady();
399 // Copy previous profile list into removedProfiles