Home
last modified time | relevance | path

Searched refs:ADDR_AUDIO_SYSTEM (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DRequestSadActionTest.java20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
148 RequestSadAction action = new RequestSadAction(mHdmiCecLocalDeviceTv, ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult()
155 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult()
169 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult()
172 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult()
175 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult()
199 RequestSadAction action = new RequestSadAction(mHdmiCecLocalDeviceTv, ADDR_AUDIO_SYSTEM, in unrecognizedOpcode_dontQueryAgain_emptyResult()
206 Constants.ADDR_AUDIO_SYSTEM, mTvLogicalAddress, in unrecognizedOpcode_dontQueryAgain_emptyResult()
211 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in unrecognizedOpcode_dontQueryAgain_emptyResult()
221 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in unrecognizedOpcode_dontQueryAgain_emptyResult()
[all …]
DSystemAudioAutoInitiationActionTest.java21 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
132 new SystemAudioActionFromTv(mHdmiCecLocalDeviceTv, Constants.ADDR_AUDIO_SYSTEM, in setTvHasSystemAudioChangeAction()
142 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOn()
149 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOn()
155 ADDR_AUDIO_SYSTEM, in testReceiveSystemAudioMode_systemAudioOn()
172 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
179 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
185 ADDR_AUDIO_SYSTEM, in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
200 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
207 ADDR_AUDIO_SYSTEM); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
[all …]
DHdmiCecLocalDeviceTvTest.java20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
93 HdmiCecMessageBuilder.buildRequestShortAudioDescriptor(ADDR_TV, ADDR_AUDIO_SYSTEM,
260 ADDR_AUDIO_SYSTEM, in initiateArcAndValidate()
268 ADDR_AUDIO_SYSTEM); in initiateArcAndValidate()
290 ADDR_AUDIO_SYSTEM); in initateSamAndValidate()
297 ADDR_AUDIO_SYSTEM); in initateSamAndValidate()
303 ADDR_AUDIO_SYSTEM, in initateSamAndValidate()
515 ADDR_AUDIO_SYSTEM); in startArcAction_enable_noAudioDevice()
518 ADDR_AUDIO_SYSTEM); in startArcAction_enable_noAudioDevice()
530 ADDR_AUDIO_SYSTEM); in startArcAction_disable_noAudioDevice()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java19 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
61 ADDR_TV, ADDR_AUDIO_SYSTEM, new int[] {Constants.AUDIO_CODEC_LPCM});
200 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true()
202 HdmiCecMessageBuilder.buildGiveAudioStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveAudioStatus_volume_10_mute_true()
214 ADDR_AUDIO_SYSTEM, ADDR_TV, false); in handleGiveSystemAudioModeStatus_originalOff()
216 HdmiCecMessageBuilder.buildGiveSystemAudioModeStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveSystemAudioModeStatus_originalOff()
245 ADDR_AUDIO_SYSTEM, in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
263 HdmiCecMessageBuilder.buildSetSystemAudioMode(ADDR_TV, ADDR_AUDIO_SYSTEM, true); in handleSetSystemAudioMode_setOn_orignalOff()
265 HdmiCecMessageBuilder.buildGiveSystemAudioModeStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleSetSystemAudioMode_setOn_orignalOff()
268 HdmiCecMessageBuilder.buildReportSystemAudioMode(ADDR_AUDIO_SYSTEM, ADDR_TV, false); in handleSetSystemAudioMode_setOn_orignalOff()
[all …]
DArcInitiationActionFromAvrTest.java128 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_initiated()
135 Constants.ADDR_AUDIO_SYSTEM)); in arcInitiation_initiated()
147 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_sendFailed()
160 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_terminated()
166 Constants.ADDR_AUDIO_SYSTEM)); in arcInitiation_terminated()
178 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_abort()
185 Constants.ADDR_AUDIO_SYSTEM, Constants.MESSAGE_INITIATE_ARC, in arcInitiation_abort()
199 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_timeout()
DArcTerminationActionFromAvrTest.java152 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testSendMessage_sendFailed()
165 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_timeout()
182 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_received()
187 Constants.ADDR_TV, Constants.ADDR_AUDIO_SYSTEM); in testReportArcTerminated_received()
201 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_featureAbort()
207 Constants.ADDR_AUDIO_SYSTEM, in testReportArcTerminated_featureAbort()
DHdmiCecMessageBuilderTest.java18 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
53 ADDR_AUDIO_SYSTEM, in buildRequestShortAudioDescriptor()
62 ADDR_AUDIO_SYSTEM, 0x2100); in buildRoutingInformation()
DSetAudioVolumeLevelMessageTest.java49 Constants.ADDR_TV, Constants.ADDR_AUDIO_SYSTEM, 0x7F); in build_noVolumeChange()
57 .build(Constants.ADDR_UNREGISTERED, Constants.ADDR_AUDIO_SYSTEM, 50) in build_invalid()
DPlaybackDeviceToTvAvbTest.java75 Constants.ADDR_AUDIO_SYSTEM, HdmiControlManager.HDMI_CEC_VERSION_2_0, in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
85 Constants.ADDR_AUDIO_SYSTEM, in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
DHdmiUtilsTest.java301 assertThat(HdmiUtils.getTypeFromAddress(Constants.ADDR_AUDIO_SYSTEM)).containsExactly( in getTypeFromAddress()
413 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
415 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
417 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
419 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
421 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
423 Constants.ADDR_AUDIO_SYSTEM)).isTrue(); in isEligibleAddressForDevice()
425 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
427 Constants.ADDR_AUDIO_SYSTEM)).isFalse(); in isEligibleAddressForDevice()
602 Constants.ADDR_AUDIO_SYSTEM)).isTrue(); in isEligibleAddressForCecVersion_1_4()
[all …]
DHdmiCecLocalDevicePlaybackTest.java20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
771 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_BROADCAST, true); in handleSetSystemAudioModeOn_audioSystemBroadcast()
785 Constants.ADDR_AUDIO_SYSTEM, in handleSetSystemAudioModeOff_audioSystemToPlayback()
799 Constants.ADDR_AUDIO_SYSTEM, in handleSystemAudioModeStatusOn_DirectlyToLocalDeviceFromAudioSystem()
837 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_NotActiveSource_ToTv()
867 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_NotActiveSource_ToTvAndAudioSystem()
897 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_NotActiveSource_Broadcast()
927 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_NotActiveSource_None()
957 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_ActiveSource_ToTv()
987 ADDR_AUDIO_SYSTEM); in handleOnStandby_ScreenOff_ActiveSource_ToTvAndAudioSystem()
[all …]
DHdmiCecControllerTest.java24 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
182 assertEquals(ADDR_AUDIO_SYSTEM, mLogicalAddress); in testAllocateLogicalAddress_AudioSystemNonPreferredNotOccupied()
187 mNativeWrapper.setPollAddressResponse(ADDR_AUDIO_SYSTEM, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_AudioSystemNonPreferredAllOccupied()
369 ADDR_TV, ADDR_AUDIO_SYSTEM); in onMessage_notTheDestination_doesNotSendFeatureAbort()
DPlaybackDeviceToAudioSystemAvbTest.java48 return Constants.ADDR_AUDIO_SYSTEM; in getSystemAudioDeviceLogicalAddress()
DRoutingControlActionTest.java20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
107 .setLogicalAddress(ADDR_AUDIO_SYSTEM)
DBaseTvToAudioSystemAvbTest.java67 return Constants.ADDR_AUDIO_SYSTEM; in getSystemAudioDeviceLogicalAddress()
312 mHdmiControlService.getHdmiCecNetwork().getDeviceInfo(Constants.ADDR_AUDIO_SYSTEM) in adjustOnlyAvbEnabled_savlSupportBecomesUnknown_keepUsingAdjustOnlyAvb()
DSetAudioVolumeLevelDiscoveryActionTest.java152 Constants.ADDR_AUDIO_SYSTEM, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
DBaseAbsoluteVolumeBehaviorTest.java206 Constants.ADDR_AUDIO_SYSTEM, getLogicalAddress())); in setUp()
276 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_BROADCAST, status)); in receiveSetSystemAudioMode()
DHdmiCecLocalDeviceTest.java21 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
314 HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_AUDIO_SYSTEM)); in handleStandby_isPowerOn()
DHdmiCecMessageValidatorTest.java19 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
652 if (i == ADDR_AUDIO_SYSTEM) { in isValid_activeSource()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java128 getDeviceInfo().getLogicalAddress(), Constants.ADDR_AUDIO_SYSTEM), in onAddressAllocated()
333 Constants.ADDR_AUDIO_SYSTEM), sendMessageCallback); in onStandby()
550 || message.getSource() != Constants.ADDR_AUDIO_SYSTEM in handleSetSystemAudioMode()
567 && message.getSource() == Constants.ADDR_AUDIO_SYSTEM) { in handleSystemAudioModeStatus()
677 return Constants.ADDR_AUDIO_SYSTEM; in findAudioReceiverAddress()
DHotplugDetectionAction.java175 if (mIsTvDevice && index == Constants.ADDR_AUDIO_SYSTEM) { in checkHotplug()
190 if (!removed.get(Constants.ADDR_AUDIO_SYSTEM)) { in checkHotplug()
DSetArcTransmissionStateAction.java65 localDevice(), Constants.ADDR_AUDIO_SYSTEM, in start()
DSendKeyAction.java155 if (mTargetAddress == Constants.ADDR_AUDIO_SYSTEM in sendKeyDown()
DOneTouchPlayAction.java123 Constants.ADDR_AUDIO_SYSTEM, getSourcePath(), true)); in startAction()
DHdmiCecMessageValidator.java65 static final int ADDR_AUDIO_SYSTEM = 1 << 5; field in HdmiCecMessageValidator
102 physicalAddressValidator, ADDR_ALL ^ ADDR_AUDIO_SYSTEM, ADDR_BROADCAST); in addValidationInfo() argument
272 new SingleByteRangeValidator(0x00, 0x01), ADDR_AUDIO_SYSTEM, ADDR_ALL); in addValidationInfo() argument

12