Home
last modified time | relevance | path

Searched refs:bluetoothProfile (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java202 int bluetoothProfile) { in dispatchProfileConnectionStateChanged() argument
204 callback.onProfileConnectionStateChanged(device, state, bluetoothProfile); in dispatchProfileConnectionStateChanged()
225 int bluetoothProfile) { in dispatchActiveDeviceChanged() argument
228 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in dispatchActiveDeviceChanged()
231 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
438 int bluetoothProfile = 0; in onReceive() local
440 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
442 bluetoothProfile = BluetoothProfile.HEADSET; in onReceive()
444 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive()
449 dispatchActiveDeviceChanged(activeDevice, bluetoothProfile); in onReceive()
DBluetoothCallback.java104 default void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() argument
128 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument
DCachedBluetoothDevice.java526 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() argument
528 switch (bluetoothProfile) { in onActiveDeviceChanged()
542 Log.w(TAG, "onActiveDeviceChanged: unknown profile " + bluetoothProfile + in onActiveDeviceChanged()
564 public boolean isActiveDevice(int bluetoothProfile) { in isActiveDevice() argument
565 switch (bluetoothProfile) { in isActiveDevice()
573 Log.w(TAG, "getActiveDevice: unknown profile " + bluetoothProfile); in isActiveDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java355 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument
358 + stateToString(state) + " profileId=" + bluetoothProfile); in onProfileConnectionStateChanged()
366 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() argument
369 + " profileId=" + bluetoothProfile); in onActiveDeviceChanged()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1232 public boolean bindBluetoothProfileService(int bluetoothProfile, in bindBluetoothProfileService() argument
1236 Slog.d(TAG, "Trying to bind to profile: " + bluetoothProfile in bindBluetoothProfileService()
1242 ProfileServiceConnections psc = mProfileServices.get(new Integer(bluetoothProfile)); in bindBluetoothProfileService()
1246 + bluetoothProfile); in bindBluetoothProfileService()
1249 if (bluetoothProfile != BluetoothProfile.HEADSET) { in bindBluetoothProfileService()
1259 mProfileServices.put(new Integer(bluetoothProfile), psc); in bindBluetoothProfileService()
1265 addProxyMsg.arg1 = bluetoothProfile; in bindBluetoothProfileService()
1272 public void unbindBluetoothProfileService(int bluetoothProfile, in unbindBluetoothProfileService() argument
1275 Integer profile = new Integer(bluetoothProfile); in unbindBluetoothProfileService()