/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceAudioSystemTest.java | 26 import static com.android.server.hdmi.Constants.ADDR_TV; 57 ADDR_TV, ADDR_AUDIO_SYSTEM, new int[] {Constants.AUDIO_CODEC_LPCM}); 226 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true() 228 HdmiCecMessageBuilder.buildGiveAudioStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveAudioStatus_volume_10_mute_true() 238 ADDR_AUDIO_SYSTEM, ADDR_TV, false); in handleGiveSystemAudioModeStatus_originalOff() 240 HdmiCecMessageBuilder.buildGiveSystemAudioModeStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveSystemAudioModeStatus_originalOff() 252 ADDR_TV, in handleRequestShortAudioDescriptor_featureDisabled() 270 ADDR_TV, in handleRequestShortAudioDescriptor_samOff() 290 ADDR_TV, in handleRequestShortAudioDescriptor_noAudioDeviceInfo() 307 HdmiCecMessageBuilder.buildSetSystemAudioMode(ADDR_TV, ADDR_AUDIO_SYSTEM, true); in handleSetSystemAudioMode_setOn_orignalOff() [all …]
|
D | HdmiCecControllerTest.java | 27 import static com.android.server.hdmi.Constants.ADDR_TV; 97 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_TV, mCallback); in testAllocatLogicalAddress_TvDevicePreferredNotOcupied() 99 assertEquals(ADDR_TV, mLogicalAddress); in testAllocatLogicalAddress_TvDevicePreferredNotOcupied() 107 assertEquals(ADDR_TV, mLogicalAddress); in testAllocatLogicalAddress_TvDeviceNonPreferredNotOcupied() 112 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredFirstOcupied() 120 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied()
|
D | HdmiCecLocalDeviceTest.java | 22 import static com.android.server.hdmi.Constants.ADDR_TV; 136 ADDR_TV, in dispatchMessage_desNotValid() 137 ADDR_TV, in dispatchMessage_desNotValid() 185 HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_AUDIO_SYSTEM)); in handleStandby_isPowerOn()
|
D | HdmiCecMessageBuilderTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_TV; 49 ADDR_TV, in buildRequestShortAudioDescriptor()
|
D | HdmiCecLocalDevicePlaybackTest.java | 18 import static com.android.server.hdmi.Constants.ADDR_TV; 95 HdmiCecMessageBuilder.buildSetStreamPath(ADDR_TV, 0x2100); in handleSetStreamPath_underCurrentDevice()
|
D | DetectTvSystemAudioModeSupportActionTest.java | 68 Constants.ADDR_TV, in SetUp()
|
D | ArcTerminationActionFromAvrTest.java | 72 Constants.ADDR_TV, in setUp()
|
D | ArcInitiationActionFromAvrTest.java | 92 Constants.ADDR_TV, in setUp()
|
D | SystemAudioInitiationActionFromAvrTest.java | 79 Constants.ADDR_TV, 1002)); in SetUp()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiPlaybackClient.java | 37 private static final int ADDR_TV = 0; field in HdmiPlaybackClient 115 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 134 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV, in queryDisplayStatus() 168 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_TV)); in onStandby() 328 return Constants.ADDR_TV; in findKeyReceiverAddress() 336 return Constants.ADDR_TV; in findAudioReceiverAddress()
|
D | HdmiCecLocalDeviceSource.java | 96 int targetAddress = Constants.ADDR_TV; in sendStandby() 109 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV, in oneTouchPlay()
|
D | ArcTerminationActionFromAvr.java | 76 sendCommand(HdmiCecMessageBuilder.buildTerminateArc(getSourceAddress(), Constants.ADDR_TV), in sendTerminateArc()
|
D | DetectTvSystemAudioModeSupportAction.java | 76 HdmiCecMessageBuilder.buildSetSystemAudioMode(getSourceAddress(),Constants.ADDR_TV, in sendSetSystemAudioMode()
|
D | ArcInitiationActionFromAvr.java | 92 sendCommand(HdmiCecMessageBuilder.buildInitiateArc(getSourceAddress(), Constants.ADDR_TV), in sendInitiateArc()
|
D | SendKeyAction.java | 155 && localDevice().mAddress != Constants.ADDR_TV) { in sendKeyDown()
|
D | Constants.java | 33 public static final int ADDR_TV = 0; field in Constants
|
D | HotplugDetectionAction.java | 48 - Constants.ADDR_TV + 1;
|
D | HdmiCecController.java | 455 for (int i = Constants.ADDR_TV; i <= Constants.ADDR_SPECIFIC_USE; ++i) { in pickPollCandidates() 463 for (int i = Constants.ADDR_SPECIFIC_USE; i >= Constants.ADDR_TV; --i) { in pickPollCandidates()
|
D | DeviceDiscoveryAction.java | 172 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED; in verifyValidLogicalAddress()
|
D | HdmiCecMessageBuilder.java | 330 return buildCommand(src, Constants.ADDR_TV, in buildInactiveSource()
|
D | HdmiUtils.java | 101 return (Constants.ADDR_TV <= address && address <= Constants.ADDR_SPECIFIC_USE); in isValidAddress()
|
D | HdmiCecLocalDeviceAudioSystem.java | 523 && message.getSource() == Constants.ADDR_TV in handleGiveSystemAudioModeStatus() 761 if (message.getSource() != Constants.ADDR_TV) { in handleSystemAudioModeRequest()
|
D | HdmiCecLocalDeviceTv.java | 244 return Constants.ADDR_TV; in getPreferredAddress() 1209 && (message.getDestination() == Constants.ADDR_TV in isMessageForSystemAudio()
|
D | HdmiControlService.java | 1214 device.mAddress, Constants.ADDR_TV, newDisplayName)); in setDisplayName() 2026 audioSystem().reportAudioStatus(Constants.ADDR_TV); in reportAudioStatus()
|