Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java375 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
392 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
409 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getTvConnectionSummary_testSingleProfileActiveDeviceA2dp()
424 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getTvConnectionSummary_testSingleProfileActiveDeviceA2dp()
440 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_shortSummary_returnShortSummary()
484 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpInCall_returnNull()
498 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getTvConnectionSummary_testA2dpInCall_returnNull()
513 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpBatteryInCall_returnBattery()
529 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getTvConnectionSummary_testA2dpBatteryInCall_returnBattery()
548 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.HEADSET); in getConnectionSummary_testSingleProfileActiveDeviceHfp()
[all …]
DCachedBluetoothDeviceManagerTest.java614 doNothing().when(mHearingAidDeviceManager).onActiveDeviceChanged(any()); in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
621 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1); in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
623 verify(mHearingAidDeviceManager).onActiveDeviceChanged(cachedDevice1); in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
DBluetoothEventManagerTest.java594 verify(mCachedDeviceManager).onActiveDeviceChanged(mCachedDevice1); in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
595 verify(mBluetoothCallback).onActiveDeviceChanged(mCachedDevice1, in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
DHearingAidDeviceManagerTest.java739 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_connected_callSetStrategies()
753 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_disconnected_callSetStrategiesWithAutoValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java286 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_updatesAudioActive()
298 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in isBluetoothAudioActive_headsetIsActive_true()
308 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.A2DP); in isBluetoothAudioActive_a2dpIsActive_true()
318 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEARING_AID); in isBluetoothAudioActive_hearingAidIsActive_true()
328 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.LE_AUDIO); in isBluetoothAudioActive_leAudioIsActive_true()
338 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.PAN); in isBluetoothAudioActive_otherProfile_false()
348 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.LE_AUDIO); in isBluetoothAudioActive_leAudio_butNotActive_false()
473 mBluetoothControllerImpl.onActiveDeviceChanged(null, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_null_noCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemInteractor.kt68 override fun onActiveDeviceChanged( in <lambda>() method
72 super.onActiveDeviceChanged(activeDevice, bluetoothProfile) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothCallback.java123 default void onActiveDeviceChanged( in onActiveDeviceChanged() method
DBluetoothEventManager.java277 cachedDevice.onActiveDeviceChanged(isActiveDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
278 mDeviceManager.onActiveDeviceChanged(cachedDevice); in dispatchActiveDeviceChanged()
282 callback.onActiveDeviceChanged(targetDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
DCachedBluetoothDeviceManager.java390 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice cachedBluetoothDevice) { in onActiveDeviceChanged() method in CachedBluetoothDeviceManager
392 mHearingAidDeviceManager.onActiveDeviceChanged(cachedBluetoothDevice); in onActiveDeviceChanged()
DHearingAidDeviceManager.java270 void onActiveDeviceChanged(CachedBluetoothDevice device) { in onActiveDeviceChanged() method in HearingAidDeviceManager
DCachedBluetoothDevice.java794 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() method in CachedBluetoothDevice
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java413 public void onActiveDeviceChanged( in onActiveDeviceChanged() method in BluetoothControllerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogDelegate.java212 public void onActiveDeviceChanged(@Nullable CachedBluetoothDevice activeDevice, in onActiveDeviceChanged() method in HearingDevicesDialogDelegate