Searched refs:PhoneMediaDevice (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | PhoneMediaDeviceTest.java | 24 import static com.android.settingslib.media.PhoneMediaDevice.PHONE_ID; 25 import static com.android.settingslib.media.PhoneMediaDevice.USB_HEADSET_ID; 26 import static com.android.settingslib.media.PhoneMediaDevice.WIRED_HEADSET_ID; 27 import static com.android.settingslib.media.PhoneMediaDevice.getMediaTransferThisDeviceName; 60 private PhoneMediaDevice mPhoneMediaDevice; 67 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mInfo, null); in setUp()
|
D | MediaDeviceTest.java | 122 private PhoneMediaDevice mPhoneMediaDevice; 184 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mPhoneRouteInfo, /* item */ null); in setUp() 318 final PhoneMediaDevice phoneMediaDevice = in compareTo_bluetooth_wiredHeadset_wiredHeadsetFirst() 319 new PhoneMediaDevice(mContext, phoneRouteInfo, /* item */ null); in compareTo_bluetooth_wiredHeadset_wiredHeadsetFirst() 334 final PhoneMediaDevice phoneMediaDevice = in compareTo_info_wiredHeadset_wiredHeadsetFirst() 335 new PhoneMediaDevice(mContext, phoneRouteInfo, /* item */ null); in compareTo_info_wiredHeadset_wiredHeadsetFirst() 503 new PhoneMediaDevice(mContext, mPhoneRouteInfo, mItem); in getSelectionBehavior_setItemWithSelectionBehaviorOnSystemRoute_returnTransfer()
|
D | LocalMediaManagerTest.java | 559 final PhoneMediaDevice phoneDevice = mock(PhoneMediaDevice.class); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 587 final PhoneMediaDevice phoneDevice = mock(PhoneMediaDevice.class); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
|
D | InfoMediaManagerTest.java | 819 assertThat(mInfoMediaManager.mMediaDevices.get(0) instanceof PhoneMediaDevice).isTrue(); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice() 825 assertThat(mInfoMediaManager.mMediaDevices.get(0) instanceof PhoneMediaDevice).isTrue(); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice() 841 assertThat(mInfoMediaManager.mMediaDevices.get(0) instanceof PhoneMediaDevice).isTrue(); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | TestMediaDevicesFactory.kt | 28 import com.android.settingslib.media.PhoneMediaDevice 47 mock<PhoneMediaDevice> { in wiredMediaDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/interactor/ |
D | AudioOutputInteractor.kt | 27 import com.android.settingslib.media.PhoneMediaDevice in <lambda>() 110 name = PhoneMediaDevice.getMediaTransferThisDeviceName(context), in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | PhoneMediaDevice.java | 56 public class PhoneMediaDevice extends MediaDevice { class 123 PhoneMediaDevice( in PhoneMediaDevice() method in PhoneMediaDevice
|
D | LocalMediaManager.java | 475 } else if (device instanceof PhoneMediaDevice) { in updateCurrentConnectedDevice()
|
D | InfoMediaManager.java | 706 new PhoneMediaDevice( in addMediaDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManager.kt | 38 import com.android.settingslib.media.PhoneMediaDevice in <lambda>() 477 if (device is PhoneMediaDevice) { in <lambda>() 479 return PhoneMediaDevice.getSystemRouteNameFromType(context, it) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 45 import com.android.settingslib.media.PhoneMediaDevice 556 val phoneDevice = mock(PhoneMediaDevice::class.java) in mr2ReturnsSystemRouteWithNullName_isPhone_usePhoneName() 572 assertThat(data.name).isEqualTo(PhoneMediaDevice.getMediaTransferThisDeviceName(context)) in mr2ReturnsSystemRouteWithNullName_isPhone_usePhoneName()
|