/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDeviceTest.java | 253 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 269 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp() 285 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_shortSummary_returnShortSummary() 317 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpInCall_returnNull() 332 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpBatteryInCall_returnBattery() 536 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMemberDevicesExist_returnMinBattery() 552 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMemberDevicesBatteryUnknown_returnMinBattery() 566 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testAllDevicesBatteryUnknown_returnNoBattery() 585 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice() 604 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice() [all …]
|
H A D | CachedBluetoothDeviceManagerTest.java | 614 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()
|
H A D | HearingAidDeviceManagerTest.java | 519 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_connected_callSetStrategies() 531 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_disconnected_callSetStrategiesWithAutoValue()
|
H A D | BluetoothEventManagerTest.java | 409 verify(mCachedDeviceManager).onActiveDeviceChanged(mCachedDevice1); in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged() 410 verify(mBluetoothCallback).onActiveDeviceChanged(mCachedDevice1, in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothControllerImplTest.java | 292 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_updatesAudioActive() 303 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEADSET); in isBluetoothAudioActive_headsetIsActive_true() 313 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.A2DP); in isBluetoothAudioActive_a2dpIsActive_true() 323 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.HEARING_AID); in isBluetoothAudioActive_hearingAidIsActive_true() 333 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.LE_AUDIO); in isBluetoothAudioActive_leAudioIsActive_true() 343 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.PAN); in isBluetoothAudioActive_otherProfile_false() 353 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.LE_AUDIO); in isBluetoothAudioActive_leAudio_butNotActive_false() 471 mBluetoothControllerImpl.onActiveDeviceChanged(null, BluetoothProfile.HEADSET); in testOnActiveDeviceChanged_null_noCrash()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothCallback.java | 123 default void onActiveDeviceChanged( in onActiveDeviceChanged() method
|
H A D | BluetoothEventManager.java | 252 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in dispatchActiveDeviceChanged() 253 mDeviceManager.onActiveDeviceChanged(cachedDevice); in dispatchActiveDeviceChanged() 256 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
|
H A D | CachedBluetoothDeviceManager.java | 360 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice cachedBluetoothDevice) { in onActiveDeviceChanged() method in CachedBluetoothDeviceManager 362 mHearingAidDeviceManager.onActiveDeviceChanged(cachedBluetoothDevice); in onActiveDeviceChanged()
|
H A D | HearingAidDeviceManager.java | 287 void onActiveDeviceChanged(CachedBluetoothDevice device) { in onActiveDeviceChanged() method in HearingAidDeviceManager
|
H A D | CachedBluetoothDevice.java | 705 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() method in CachedBluetoothDevice
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothControllerImpl.java | 407 public void onActiveDeviceChanged( in onActiveDeviceChanged() method in BluetoothControllerImpl
|