Home
last modified time | relevance | path

Searched refs:isSystemAudioActivated (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DSystemAudioInitiationActionFromAvrTest.java206 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testNoActiveSourceMessageReceived()
225 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvNotSupport()
242 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvSupport()
261 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testKnownActiveSource()
282 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testRetry()
301 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in testIsPlaybackDevice_cannotReceiveActiveSource()
DSystemAudioAutoInitiationActionTest.java161 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in testReceiveSystemAudioMode_systemAudioOn()
191 assertThat(mHdmiControlService.isSystemAudioActivated()).isFalse(); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
282 assertThat(mHdmiControlService.isSystemAudioActivated()).isFalse(); in testReceiveSystemAudioMode_settingOffAndResponseOff()
DHdmiCecLocalDeviceAudioSystemTest.java414 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in systemAudioModeMuting_enabled()
418 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in systemAudioModeMuting_enabled()
429 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in systemAudioModeMuting_disabled()
433 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in systemAudioModeMuting_disabled()
444 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
450 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
458 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in terminateSystemAudioMode_systemAudioModeOn()
464 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOn()
DHdmiCecLocalDeviceTvTest.java309 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in initateSamAndValidate()
796 assertTrue(mHdmiCecLocalDeviceTv.isSystemAudioActivated()); in handleReportAudioStatus_SamOnArcOff_setStreamVolumeNotCalled()
1735 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in fromArcToEarc_SamRemainsOn()
1745 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in fromArcToEarc_SamRemainsOn()
1762 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in disableEarc_SamRemainsOn()
1772 assertThat(mHdmiControlService.isSystemAudioActivated()).isTrue(); in disableEarc_SamRemainsOn()
DHdmiCecLocalDevicePlaybackTest.java768 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
774 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
780 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
790 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
796 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSystemAudioModeStatusOn_DirectlyToLocalDeviceFromAudioSystem()
804 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSystemAudioModeStatusOn_DirectlyToLocalDeviceFromAudioSystem()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java208 if (isSystemAudioActivated()) { in onHotplug()
260 isSystemAudioActivated() ? "true" : "false"); in onStandby()
434 boolean isSystemAudioModeOnOrTurningOn = isSystemAudioActivated(); in handleGiveSystemAudioModeStatus()
498 if (!isSystemAudioActivated()) { in handleRequestShortAudioDescriptor()
955 isSystemAudioActivated(), newSystemAudioMode); in checkSupportAndSetSystemAudioMode()
996 if (isSystemAudioActivated() != newSystemAudioMode) { in setSystemAudioMode()
1016 && isDirectConnectToTv() && mService.isSystemAudioActivated()) { in setSystemAudioMode()
1101 protected boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceAudioSystem
1102 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
1114 if (!isSystemAudioActivated()) { in terminateSystemAudioMode()
[all …]
DSystemAudioActionFromAvr.java55 if (mTargetAudioStatus == tv().isSystemAudioActivated()) { in handleSystemAudioActionFromAvr()
DHdmiCecLocalDeviceTv.java809 mService.isSystemAudioActivated(), on); in setSystemAudioMode()
812 if (mService.isSystemAudioActivated() != on) { in setSystemAudioMode()
829 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceTv
833 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
999 if (!isSystemAudioActivated() || mService.getHdmiCecVolumeControl() in setAudioStatus()
1018 if (delta == 0 || !isSystemAudioActivated() || mService.getHdmiCecVolumeControl() in changeVolume()
1060 if (!isSystemAudioActivated()) { in changeMute()
1232 if (mService.isSystemAudioActivated()) { in handleSetAudioVolumeLevel()
DHdmiCecLocalDevicePlayback.java555 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSetSystemAudioMode()
569 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSystemAudioModeStatus()
676 if (mService.isSystemAudioActivated()) { in findAudioReceiverAddress()
DHotplugDetectionAction.java110 } else if (tv().isSystemAudioActivated()) { in handleTimerEvent()
DHdmiControlService.java1181 if (isSystemAudioActivated()) { in setSoundbarMode()
1969 || !tv().isSystemAudioActivated() in setAudioStatus()
2539 return (tv != null && tv.isSystemAudioActivated()) in getSystemAudioMode()
2540 || (audioSystem != null && audioSystem.isSystemAudioActivated()); in getSystemAudioMode()
2896 if (!audioSystem().isSystemAudioActivated()) { in reportAudioStatus()
2959 pw.println("mSystemAudioActivated: " + isSystemAudioActivated()); in dump()
4158 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiControlService
4586 if (!isSystemAudioActivated()) { in checkAndUpdateAbsoluteVolumeBehavior()