Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiClient.java24 /* package */ abstract int getDeviceType(); in getDeviceType() method in HdmiClient
53 mService.sendKeyEvent(getDeviceType(), keyCode, isPressed); in sendKeyEvent()
71 mService.sendVolumeKeyEvent(getDeviceType(), keyCode, isPressed); in sendVolumeKeyEvent()
90 mService.sendVendorCommand(getDeviceType(), targetAddress, params, hasVendorId); in sendVendorCommand()
110 mService.addVendorCommandListener(wrappedListener, getDeviceType()); in setVendorCommandListener()
DHdmiAudioSystemClient.java77 public int getDeviceType() { in getDeviceType() method in HdmiAudioSystemClient
94 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand()
106 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand()
114 mService.reportAudioStatus(getDeviceType(), mLastVolume, in sendReportAudioStatusCecCommand()
DHdmiPlaybackClient.java95 public int getDeviceType() { in getDeviceType() method in HdmiPlaybackClient
118 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
DHdmiTvClient.java58 public int getDeviceType() { in getDeviceType() method in HdmiTvClient
237 mService.sendStandby(getDeviceType(), deviceId);
DHdmiSwitchClient.java59 public int getDeviceType() {
DHdmiDeviceInfo.java364 public int getDeviceType() { in getDeviceType() method in HdmiDeviceInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecNetworkTest.java178 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_logicalAddressOnly()
216 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_reportPhysicalAddress()
260 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_reportPowerStatus()
281 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_reportOsdName()
301 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_reportVendorId()
338 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_updatesDeviceInfo()
363 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_updatesPhysicalAddress()
432 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_updatesVendorId()
473 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_RESERVED); in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java322 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_onlyFromPhoneOutput_returnTrue()
331 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_onlyFromPhoneOutput_returnTrue()
336 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_onlyFromPhoneOutput_returnTrue()
344 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_notFromPhoneOutput_returnFalse()
353 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_notFromPhoneOutput_returnFalse()
358 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_notFromPhoneOutput_returnFalse()
363 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_notFromPhoneOutput_returnFalse()
368 when(mMediaDevice1.getDeviceType()).thenReturn( in isZeroMode_notFromPhoneOutput_returnFalse()
DMediaOutputAdapterTest.java212 when(mMediaDevice2.getDeviceType()).thenReturn( in onBindViewHolder_bindDisconnectedBluetoothDevice_verifyView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputMetricLogger.java129 switch (mediaDevice.getDeviceType()) { in updateLoggingDeviceCount()
154 switch (device.getDeviceType()) { in getLoggingDeviceType()
DMediaOutputAdapter.java101 if (device.getDeviceType() == MediaDevice.MediaDeviceType.TYPE_BLUETOOTH_DEVICE in getItemTitle()
DMediaOutputController.java431 final int type = device.getDeviceType(); in isZeroMode()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java53 public static String getDeviceType() { in getDeviceType() method in MediaProfileReader
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h50 audio_devices_t getDeviceType() const { return (mDevice != nullptr) ? in getDeviceType() function
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java604 deviceInfo.getPhysicalAddress(), deviceInfo.getPortId(), deviceInfo.getDeviceType(), in updateDeviceCecVersion()
640 deviceInfo.getDeviceType(), deviceInfo.getVendorId(), osdName, in handleSetOsdName()
656 deviceInfo.getPortId(), deviceInfo.getDeviceType(), vendorId, in handleDeviceVendorId()
DHotplugDetectionAction.java191 if (info.getDeviceType() == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { in infoListToBitSet()
DHdmiCecLocalDeviceSource.java365 physicalAddress, getDeviceInfo().getDeviceType(), message.getSource(), caller); in setAndBroadcastActiveSource()
DHdmiCecLocalDevicePlayback.java75 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h211 audio_devices_t getDeviceType() const { return mDeviceType; } in getDeviceType() function
DAudioPolicyEffects.cpp987 AudioDeviceTypeAddr{deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
992 effectDesc->mName, deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
999 effectDesc->mName, deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java340 && c1.getDeviceType() == c2.getDeviceType() in equals()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDevice.java255 public int getDeviceType() { in getDeviceType() method in MediaDevice
DLocalMediaManager.java487 final int type = device.getDeviceType(); in onDeviceListAdded()
/frameworks/base/core/java/android/service/controls/
DControl.java238 public int getDeviceType() { in getDeviceType() method in Control
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java588 when(device1.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_PHONE_DEVICE); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice()
687 when(device1.getDeviceType()).thenReturn(MediaDevice.MediaDeviceType.TYPE_PHONE_DEVICE); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()

12