Home
last modified time | relevance | path

Searched refs:ADDR_TV (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java26 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 …]
DHdmiCecControllerTest.java27 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()
DHdmiCecLocalDeviceTest.java22 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()
DHdmiCecMessageBuilderTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
49 ADDR_TV, in buildRequestShortAudioDescriptor()
DHdmiCecLocalDevicePlaybackTest.java18 import static com.android.server.hdmi.Constants.ADDR_TV;
95 HdmiCecMessageBuilder.buildSetStreamPath(ADDR_TV, 0x2100); in handleSetStreamPath_underCurrentDevice()
DDetectTvSystemAudioModeSupportActionTest.java68 Constants.ADDR_TV, in SetUp()
DArcTerminationActionFromAvrTest.java72 Constants.ADDR_TV, in setUp()
DArcInitiationActionFromAvrTest.java92 Constants.ADDR_TV, in setUp()
DSystemAudioInitiationActionFromAvrTest.java79 Constants.ADDR_TV, 1002)); in SetUp()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiPlaybackClient.java37 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/
DHdmiCecLocalDevicePlayback.java134 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()
DHdmiCecLocalDeviceSource.java96 int targetAddress = Constants.ADDR_TV; in sendStandby()
109 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV, in oneTouchPlay()
DArcTerminationActionFromAvr.java76 sendCommand(HdmiCecMessageBuilder.buildTerminateArc(getSourceAddress(), Constants.ADDR_TV), in sendTerminateArc()
DDetectTvSystemAudioModeSupportAction.java76 HdmiCecMessageBuilder.buildSetSystemAudioMode(getSourceAddress(),Constants.ADDR_TV, in sendSetSystemAudioMode()
DArcInitiationActionFromAvr.java92 sendCommand(HdmiCecMessageBuilder.buildInitiateArc(getSourceAddress(), Constants.ADDR_TV), in sendInitiateArc()
DSendKeyAction.java155 && localDevice().mAddress != Constants.ADDR_TV) { in sendKeyDown()
DConstants.java33 public static final int ADDR_TV = 0; field in Constants
DHotplugDetectionAction.java48 - Constants.ADDR_TV + 1;
DHdmiCecController.java455 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()
DDeviceDiscoveryAction.java172 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED; in verifyValidLogicalAddress()
DHdmiCecMessageBuilder.java330 return buildCommand(src, Constants.ADDR_TV, in buildInactiveSource()
DHdmiUtils.java101 return (Constants.ADDR_TV <= address && address <= Constants.ADDR_SPECIFIC_USE); in isValidAddress()
DHdmiCecLocalDeviceAudioSystem.java523 && message.getSource() == Constants.ADDR_TV in handleGiveSystemAudioModeStatus()
761 if (message.getSource() != Constants.ADDR_TV) { in handleSystemAudioModeRequest()
DHdmiCecLocalDeviceTv.java244 return Constants.ADDR_TV; in getPreferredAddress()
1209 && (message.getDestination() == Constants.ADDR_TV in isMessageForSystemAudio()
DHdmiControlService.java1214 device.mAddress, Constants.ADDR_TV, newDisplayName)); in setDisplayName()
2026 audioSystem().reportAudioStatus(Constants.ADDR_TV); in reportAudioStatus()

12