Searched refs:bluetoothProfile (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothCallback.java | 104 default void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() argument 128 int state, int bluetoothProfile) { in onProfileConnectionStateChanged() argument
|
D | BluetoothEventManager.java | 208 int bluetoothProfile) { in dispatchProfileConnectionStateChanged() argument 211 callback.onProfileConnectionStateChanged(device, state, bluetoothProfile); in dispatchProfileConnectionStateChanged() 234 int bluetoothProfile) { in dispatchActiveDeviceChanged() argument 235 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged() 238 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged() 459 int bluetoothProfile = 0; in onReceive() local 461 bluetoothProfile = BluetoothProfile.A2DP; in onReceive() 463 bluetoothProfile = BluetoothProfile.HEADSET; in onReceive() 465 bluetoothProfile = BluetoothProfile.HEARING_AID; in onReceive() 470 dispatchActiveDeviceChanged(activeDevice, bluetoothProfile); in onReceive()
|
D | CachedBluetoothDevice.java | 461 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() argument 463 switch (bluetoothProfile) { in onActiveDeviceChanged() 477 Log.w(TAG, "onActiveDeviceChanged: unknown profile " + bluetoothProfile + in onActiveDeviceChanged() 499 public boolean isActiveDevice(int bluetoothProfile) { in isActiveDevice() argument 500 switch (bluetoothProfile) { in isActiveDevice() 508 Log.w(TAG, "getActiveDevice: unknown profile " + bluetoothProfile); in isActiveDevice()
|
D | CachedBluetoothDeviceManager.java | 230 int bluetoothProfile) { in onActiveDeviceChanged() argument 233 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in onActiveDeviceChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaManager.java | 256 int bluetoothProfile) { in onProfileConnectionStateChanged() argument 258 + ", state: " + state + ", bluetoothProfile: " + bluetoothProfile); in onProfileConnectionStateChanged() 282 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() argument 284 + activeDevice + ", profile : " + bluetoothProfile); in onActiveDeviceChanged() 286 if (BluetoothProfile.HEARING_AID == bluetoothProfile) { in onActiveDeviceChanged() 290 } else if (BluetoothProfile.A2DP == bluetoothProfile) { in onActiveDeviceChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1096 public boolean bindBluetoothProfileService(int bluetoothProfile, in bindBluetoothProfileService() argument 1100 Slog.d(TAG, "Trying to bind to profile: " + bluetoothProfile in bindBluetoothProfileService() 1106 ProfileServiceConnections psc = mProfileServices.get(new Integer(bluetoothProfile)); in bindBluetoothProfileService() 1110 + bluetoothProfile); in bindBluetoothProfileService() 1113 if (bluetoothProfile != BluetoothProfile.HEADSET) { in bindBluetoothProfileService() 1123 mProfileServices.put(new Integer(bluetoothProfile), psc); in bindBluetoothProfileService() 1129 addProxyMsg.arg1 = bluetoothProfile; in bindBluetoothProfileService() 1136 public void unbindBluetoothProfileService(int bluetoothProfile, in unbindBluetoothProfileService() argument 1139 Integer profile = new Integer(bluetoothProfile); in unbindBluetoothProfileService()
|