Searched refs:onActiveDeviceChanged (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 170 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 186 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 202 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_shortSummary_returnShortSummary() 234 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpInCall_returnNull() 249 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpBatteryInCall_returnBattery() 268 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testSingleProfileActiveDeviceHfp() 283 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testSingleProfileActiveDeviceHfp() 310 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testHeadsetWithoutInCall_returnNull() 324 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testHeadsetBatteryWithoutInCall_returnBattery() 340 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEARING_AID); in getConnectionSummary_testSingleProfileActiveDeviceHearingAid() [all …]
|
D | CachedBluetoothDeviceManagerTest.java | 412 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1, BluetoothProfile.A2DP); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 413 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice2, BluetoothProfile.HEADSET); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 420 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1, BluetoothProfile.HEADSET); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 427 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice2, BluetoothProfile.A2DP); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 428 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice2, BluetoothProfile.HEADSET); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 435 mCachedDeviceManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 442 mCachedDeviceManager.onActiveDeviceChanged(null, BluetoothProfile.HEADSET); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged() 476 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1, BluetoothProfile.A2DP); in onActiveDeviceChanged_withA2dpAndHearingAid() 477 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1, BluetoothProfile.HEADSET); in onActiveDeviceChanged_withA2dpAndHearingAid() 486 mCachedDeviceManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_withA2dpAndHearingAid() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothCallback.java | 104 default void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() method
|
D | CachedBluetoothDeviceManager.java | 229 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, in onActiveDeviceChanged() method in CachedBluetoothDeviceManager 233 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in onActiveDeviceChanged()
|
D | BluetoothEventManager.java | 235 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged() 238 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
|
D | CachedBluetoothDevice.java | 462 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() method in CachedBluetoothDevice
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaManagerTest.java | 400 mMediaManager.onActiveDeviceChanged(device, BluetoothProfile.HEARING_AID); in onActiveDeviceChanged_isHapProfile_callOnActiveDeviceChanged() 412 mMediaManager.onActiveDeviceChanged(device, BluetoothProfile.A2DP); in onActiveDeviceChanged_isA2dpProfile_callOnActiveDeviceChanged() 424 mMediaManager.onActiveDeviceChanged(device, BluetoothProfile.HEALTH); in onActiveDeviceChanged_isNotA2dpAndHapProfile_doNothing() 442 mMediaManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_hearingAidDeviceIsActive_returnHearingAidDeviceId() 454 mMediaManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_hearingAidDeviceNotActive_returnPhoneDeviceId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaManager.java | 282 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() method in BluetoothMediaManager
|