Home
last modified time | relevance | path

Searched refs:onConnectedDeviceChanged (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaManager.java115 callback.onConnectedDeviceChanged(id); in dispatchConnectedDeviceChanged()
165 void onConnectedDeviceChanged(String id); in onConnectedDeviceChanged() method
DLocalMediaManager.java285 public void onConnectedDeviceChanged(String id) { in onConnectedDeviceChanged() method in LocalMediaManager.MediaDeviceCallback
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java402 verify(mCallback).onConnectedDeviceChanged(any()); in onActiveDeviceChanged_isHapProfile_callOnActiveDeviceChanged()
414 verify(mCallback).onConnectedDeviceChanged(any()); in onActiveDeviceChanged_isA2dpProfile_callOnActiveDeviceChanged()
426 verify(mCallback, never()).onConnectedDeviceChanged(any()); in onActiveDeviceChanged_isNotA2dpAndHapProfile_doNothing()
444 verify(mCallback).onConnectedDeviceChanged(TEST_ADDRESS); in onActiveDeviceChanged_hearingAidDeviceIsActive_returnHearingAidDeviceId()
456 verify(mCallback).onConnectedDeviceChanged(PhoneMediaDevice.ID); in onActiveDeviceChanged_hearingAidDeviceNotActive_returnPhoneDeviceId()
DMediaManagerTest.java110 verify(mCallback).onConnectedDeviceChanged(TEST_ID); in dispatchActiveDeviceChanged_registerCallback_shouldDispatchCallback()
DLocalMediaManagerTest.java355 mLocalMediaManager.mMediaDeviceCallback.onConnectedDeviceChanged(TEST_DEVICE_ID_2); in onConnectedDeviceChanged_connectedAndCurrentDeviceAreDifferent_notifyThemChanged()
374 mLocalMediaManager.mMediaDeviceCallback.onConnectedDeviceChanged(TEST_DEVICE_ID_1); in onConnectedDeviceChanged_connectedAndCurrentDeviceAreSame_doNothing()