Home
last modified time | relevance | path

Searched refs:getDeviceType (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputSliceTest.java157 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_shouldHaveActiveDeviceName()
164 when(device2.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_shouldHaveActiveDeviceName()
186 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_BLUETOOTH_DEVICE); in getSlice_disconnectedBluetooth_verifyTitle()
193 when(device2.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_BLUETOOTH_DEVICE); in getSlice_disconnectedBluetooth_verifyTitle()
217 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_inGroupState_checkSliceSize()
224 when(device2.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_inGroupState_checkSliceSize()
252 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_notInGroupState_checkSliceSize()
259 when(device2.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_notInGroupState_checkSliceSize()
286 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_singleCastDevice_notContainGroupIconText()
315 when(device.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE); in getSlice_multipleCastDevices_containGroupIconText()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java81 public int getDeviceType() { in getDeviceType() method in HdHomeRunDevice
144 hash = hash * 31 + getDeviceType(); in hashCode()
158 && getDeviceType() == rhs.getDeviceType() in equals()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputSliceWorker.java67 switch (device.getDeviceType()) { in getLoggingDeviceType()
142 switch (mediaDevice.getDeviceType()) { in updateLoggingDeviceCount()
DMediaOutputSlice.java215 if (device.getDeviceType() == MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE in addRow()
225 if (device.getDeviceType() == MediaDevice.MediaDeviceType.TYPE_CAST_DEVICE in addRow()
307 if (device.getDeviceType() == MediaDevice.MediaDeviceType.TYPE_BLUETOOTH_DEVICE in getMediaDeviceRow()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java400 if (devProp != null && ((devProp.getDeviceType() == BluetoothDevice.DEVICE_TYPE_CLASSIC in sendIntent()
401 || devProp.getDeviceType() == BluetoothDevice.DEVICE_TYPE_DUAL) in sendIntent()
DRemoteDevices.java281 int getDeviceType() { in getDeviceType() method in RemoteDevices.DeviceProperties
DAdapterService.java1594 … return deviceProp != null ? deviceProp.getDeviceType() : BluetoothDevice.DEVICE_TYPE_UNKNOWN; in getRemoteType()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java840 switch (info.getHdmiDeviceInfo().getDeviceType()) { in getTvInputTypeForPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1950 if (getDeviceType(device) != AbstractionLayer.BT_DEVICE_TYPE_BREDR) { in getDevicesMatchingConnectionStates()
3170 private int getDeviceType(BluetoothDevice device) { in getDeviceType() method in GattService