Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A 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()
H A DHdmiClient.java30 /* package */ abstract int getDeviceType(); in getDeviceType() method in HdmiClient
117 mService.sendKeyEvent(getDeviceType(), keyCode, isPressed);
135 mService.sendVolumeKeyEvent(getDeviceType(), keyCode, isPressed);
154 mService.sendVendorCommand(getDeviceType(), targetAddress, params, hasVendorId);
H A DHdmiPlaybackClient.java95 public int getDeviceType() { in getDeviceType() method in HdmiPlaybackClient
118 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
H A DHdmiTvClient.java58 public int getDeviceType() { in getDeviceType() method in HdmiTvClient
242 mService.sendStandby(getDeviceType(), deviceId);
H A DHdmiSwitchClient.java59 public int getDeviceType() {
H A DHdmiDeviceInfo.java366 public int getDeviceType() { in getDeviceType() method in HdmiDeviceInfo
/aosp14/frameworks/base/core/java/android/companion/
H A DAssociatedDevice.java92 dest.writeInt(getDeviceType()); in writeToParcel()
101 private int getDeviceType() { in getDeviceType() method in AssociatedDevice
143 if (getDeviceType() != that.getDeviceType()) return false; in equals()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputMetricLogger.java226 switch (mediaDevice.getDeviceType()) { in updateLoggingDeviceCount()
257 switch (mediaItem.getMediaDevice().get().getDeviceType()) { in updateLoggingMediaItemCount()
287 switch (device.getDeviceType()) { in getLoggingDeviceType()
329 switch (device.getDeviceType()) { in getInteractionDeviceType()
H A DMediaOutputAdapter.java503 mContext.getString(device.getDeviceType() in setUpContentDescriptionForView()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DHdmiCecNetworkTest.java224 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_logicalAddressOnly()
261 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_reportPhysicalAddress()
307 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportPowerStatus()
330 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportOsdName()
352 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportVendorId()
391 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_updatesDeviceInfo()
416 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(type); in cecDevices_tracking_updatesPhysicalAddress()
483 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_updatesVendorId()
523 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2()
H A DBasePlaybackDeviceAvbTest.java48 protected int getDeviceType() { in getDeviceType() method in BasePlaybackDeviceAvbTest
H A DBaseAbsoluteVolumeBehaviorTest.java112 protected abstract int getDeviceType(); in getDeviceType() method in BaseAbsoluteVolumeBehaviorTest
134 Collections.singletonList(getDeviceType()), in setUp()
H A DTvToAudioSystemAvbTest.java66 protected int getDeviceType() { in getDeviceType() method in TvToAudioSystemAvbTest
/aosp14/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
H A DNetworkProviderInfo.java238 public int getDeviceType() { in getDeviceType() method in NetworkProviderInfo
296 return mDeviceType == other.getDeviceType() in equals()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java53 public static String getDeviceType() { in getDeviceType() method in MediaProfileReader
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAdiDeviceState.java91 public int getDeviceType() { in getDeviceType() method in AdiDeviceState
H A DSpatializerHelper.java578 int spatMode = SPAT_MODE_FOR_DEVICE_TYPE.get(device.getDeviceType(), in initSAState()
597 deviceState.getDeviceType()); in logDeviceState()
816 return deviceState.getDeviceType() == getCanonicalDeviceType(deviceState.getDeviceType(), in isSADevice()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java201 || (info.getDeviceType() == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in infoListToBitSet()
H A DHdmiCecLocalDeviceSource.java367 physicalAddress, getDeviceInfo().getDeviceType(), message.getSource(), caller); in setAndBroadcastActiveSource()
H A DHdmiCecLocalDevicePlayback.java88 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated()
/aosp14/frameworks/base/core/tests/coretests/src/android/service/controls/
H A DControlProviderServiceTest.java340 && c1.getDeviceType() == c2.getDeviceType() in equals()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputControllerTest.java1042 when(mMediaDevice1.getDeviceType()).thenReturn( in isVolumeControlEnabled_isCastWithVolumeFixed_returnsFalse()
1052 when(mMediaDevice1.getDeviceType()).thenReturn( in isVolumeControlEnabled_isCastWithVolumeNotFixed_returnsTrue()
1063 when(mMediaDevice1.getDeviceType()).thenReturn( in setTemporaryAllowListExceptionIfNeeded_fromRemoteToBluetooth_addsAllowList()
1067 when(mMediaDevice2.getDeviceType()).thenReturn( in setTemporaryAllowListExceptionIfNeeded_fromRemoteToBluetooth_addsAllowList()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaDevice.java383 public int getDeviceType() { in getDeviceType() method in MediaDevice
H A DLocalMediaManager.java521 final int type = device.getDeviceType(); in onDeviceListAdded()
/aosp14/frameworks/base/core/java/android/service/controls/
H A DControl.java244 public int getDeviceType() { in getDeviceType() method in Control

12