Home
last modified time | relevance | path

Searched refs:PhoneMediaDevice (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java181 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceAdded_mediaDeviceNotExistAndPhoneDeviceExistInList_addMediaDevice()
196 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceAdded_mediaDeviceAndPhoneDeviceExistInList_doNothing()
233 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceListAdded_phoneDeviceExistInList_addDeviceList()
255 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceRemoved_phoneDeviceIsLastDeviceAfterRemoveMediaDevice_removeBothDevice()
271 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceRemoved_phoneDeviceNotLastDeviceAfterRemoveMediaDevice_removeMediaDevice()
288 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceRemoved_removeMediaDeviceNotInList_doNothing()
305 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceListRemoved_phoneDeviceIsLastDeviceAfterRemoveDeviceList_removeAll()
326 mLocalMediaManager.mPhoneDevice = mock(PhoneMediaDevice.class); in onDeviceListRemoved_phoneDeviceNotLastDeviceAfterRemoveDeviceList_removeList()
DPhoneMediaDeviceTest.java55 private PhoneMediaDevice mPhoneMediaDevice;
67 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in setUp()
DMediaDeviceTest.java101 private PhoneMediaDevice mPhoneMediaDevice;
140 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in setUp()
DBluetoothMediaManagerTest.java456 verify(mCallback).onConnectedDeviceChanged(PhoneMediaDevice.ID); in onActiveDeviceChanged_hearingAidDeviceNotActive_returnPhoneDeviceId()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java32 public class PhoneMediaDevice extends MediaDevice { class
42 PhoneMediaDevice(Context context, LocalBluetoothManager localBluetoothManager) { in PhoneMediaDevice() method in PhoneMediaDevice
DLocalMediaManager.java166 mPhoneDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in addPhoneDeviceIfNecessary()
263 ((PhoneMediaDevice) mPhoneDevice) in updatePhoneMediaDeviceSummary()
DBluetoothMediaManager.java298 ? PhoneMediaDevice.ID : activeHearingAidDevice.getId() in onActiveDeviceChanged()