Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/hdmi/
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()
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);
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
242 mService.sendStandby(getDeviceType(), deviceId);
DHdmiSwitchClient.java59 public int getDeviceType() {
/frameworks/base/core/java/android/companion/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
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()
DBasePlaybackDeviceAvbTest.java48 protected int getDeviceType() { in getDeviceType() method in BasePlaybackDeviceAvbTest
DBaseAbsoluteVolumeBehaviorTest.java116 protected abstract int getDeviceType(); in getDeviceType() method in BaseAbsoluteVolumeBehaviorTest
138 Collections.singletonList(getDeviceType()), in setUp()
222 if (getDeviceType() == HdmiDeviceInfo.DEVICE_PLAYBACK) { in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices()
225 } else if (getDeviceType() == HdmiDeviceInfo.DEVICE_TV) { in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices()
537 if (getDeviceType() == HdmiDeviceInfo.DEVICE_TV) { in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
DBaseTvToAudioSystemAvbTest.java61 protected int getDeviceType() { in getDeviceType() method in BaseTvToAudioSystemAvbTest
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkEntry.java244 mHotspotNetworkData.getNetworkProviderInfo().getDeviceType())); in getSummary()
256 getDeviceTypeId(mHotspotNetworkData.getNetworkProviderInfo().getDeviceType())); in getSummary()
369 public synchronized int getDeviceType() { in getDeviceType() method in HotspotNetworkEntry
373 return mHotspotNetworkData.getNetworkProviderInfo().getDeviceType(); in getDeviceType()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothDeviceRoutesManager.java148 ? getRouteIdForType(bluetoothDevice, getDeviceType(bluetoothDevice)) in getRouteIdForBluetoothAddress()
238 int type = getDeviceType(device); in createBluetoothRoute()
284 private int getDeviceType(@NonNull BluetoothDevice device) { in getDeviceType() method in BluetoothDeviceRoutesManager
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DNetworkProviderInfo.java250 public int getDeviceType() { in getDeviceType() method in NetworkProviderInfo
318 return mDeviceType == other.getDeviceType() in equals()
/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/
DNewDeviceAction.java224 && mOldDeviceInfo.getDeviceType() == mDeviceType in addDeviceInfo()
DHotplugDetectionAction.java209 || (info.getDeviceType() == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in infoListToBitSet()
DHdmiCecLocalDevicePlayback.java107 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated()
270 getDeviceInfo().getDeviceType(), Constants.ADDR_TV, in run()
/frameworks/base/services/core/java/com/android/server/audio/
DAdiDeviceState.java100 public synchronized int getDeviceType() { in getDeviceType() method in AdiDeviceState
DSpatializerHelper.java586 int spatMode = SPAT_MODE_FOR_DEVICE_TYPE.get(device.getDeviceType(), in initSAState()
605 deviceState.getDeviceType()); in logDeviceState()
823 return deviceState.getDeviceType() == getCanonicalDeviceType(deviceState.getDeviceType(), in isSADevice()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h192 audio_devices_t getDeviceType() const { return mDeviceType; } in getDeviceType() function
DAudioPolicyEffects.cpp931 AudioDeviceTypeAddr{deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
936 effectDesc->mName.c_str(), deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
943 effectDesc->mName.c_str(), deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java355 && c1.getDeviceType() == c2.getDeviceType() in equals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java1144 when(mMediaDevice1.getDeviceType()).thenReturn( in isVolumeControlEnabled_isCastWithVolumeFixed_returnsFalse()
1154 when(mMediaDevice1.getDeviceType()).thenReturn( in isVolumeControlEnabled_isCastWithVolumeNotFixed_returnsTrue()
1165 when(mMediaDevice1.getDeviceType()).thenReturn( in setTemporaryAllowListExceptionIfNeeded_fromRemoteToBluetooth_addsAllowList()
1169 when(mMediaDevice2.getDeviceType()).thenReturn( in setTemporaryAllowListExceptionIfNeeded_fromRemoteToBluetooth_addsAllowList()

123