Home
last modified time | relevance | path

Searched refs:onActiveDeviceChanged (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java170 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 …]
DCachedBluetoothDeviceManagerTest.java412 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/
DBluetoothCallback.java104 default void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() method
DCachedBluetoothDeviceManager.java229 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, in onActiveDeviceChanged() method in CachedBluetoothDeviceManager
233 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in onActiveDeviceChanged()
DBluetoothEventManager.java223 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
225 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
DCachedBluetoothDevice.java450 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() method in CachedBluetoothDevice
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java400 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/
DBluetoothMediaManager.java282 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() method in BluetoothMediaManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java252 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_updatesAudioActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java354 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() method in BluetoothControllerImpl