Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java253 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 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()
H A DHearingAidDeviceManagerTest.java519 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_connected_callSetStrategies()
531 mHearingAidDeviceManager.onActiveDeviceChanged(mCachedDevice1); in onActiveDeviceChanged_disconnected_callSetStrategiesWithAutoValue()
H A DBluetoothEventManagerTest.java409 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 DBluetoothControllerImplTest.java292 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 DBluetoothCallback.java123 default void onActiveDeviceChanged( in onActiveDeviceChanged() method
H A DBluetoothEventManager.java252 cachedDevice.onActiveDeviceChanged(isActive, bluetoothProfile); in dispatchActiveDeviceChanged()
253 mDeviceManager.onActiveDeviceChanged(cachedDevice); in dispatchActiveDeviceChanged()
256 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
H A DCachedBluetoothDeviceManager.java360 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice cachedBluetoothDevice) { in onActiveDeviceChanged() method in CachedBluetoothDeviceManager
362 mHearingAidDeviceManager.onActiveDeviceChanged(cachedBluetoothDevice); in onActiveDeviceChanged()
H A DHearingAidDeviceManager.java287 void onActiveDeviceChanged(CachedBluetoothDevice device) { in onActiveDeviceChanged() method in HearingAidDeviceManager
H A DCachedBluetoothDevice.java705 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 DBluetoothControllerImpl.java407 public void onActiveDeviceChanged( in onActiveDeviceChanged() method in BluetoothControllerImpl