Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDevicePlaybackTest.java104 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
109 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
115 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
122 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
128 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSystemAudioModeStatusOn_DirectltToLocalDeviceFromAudioSystem()
133 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSystemAudioModeStatusOn_DirectltToLocalDeviceFromAudioSystem()
DSystemAudioInitiationActionFromAvrTest.java201 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testNoActiveSourceMessageReceived()
220 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvNotSupport()
236 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvSupport()
255 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testKnownActiveSource()
276 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testRetry()
295 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in testIsPlaybackDevice_cannotReceiveActiveSource()
DHdmiCecLocalDeviceAudioSystemTest.java424 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
430 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
438 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in terminateSystemAudioMode_systemAudioModeOn()
444 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOn()
DArcInitiationActionFromAvrTest.java129 protected boolean isSystemAudioActivated() { in setUp()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java337 isSystemAudioActivated() ? "true" : "false"); in onStandby()
521 boolean isSystemAudioModeOnOrTurningOn = isSystemAudioActivated(); in handleGiveSystemAudioModeStatus()
573 if (!isSystemAudioActivated()) { in handleRequestShortAudioDescriptor()
872 isSystemAudioActivated(), newSystemAudioMode); in checkSupportAndSetSystemAudioMode()
910 if (isSystemAudioActivated() != newSystemAudioMode) { in setSystemAudioMode()
1004 protected boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceAudioSystem
1005 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
1011 if (!isSystemAudioActivated()) { in terminateSystemAudioMode()
1100 if (isSystemAudioActivated() && port < 0) { in switchInputOnReceivingNewActivePath()
1186 if (port < 0 && isSystemAudioActivated()) { in handleRoutingChangeAndInformation()
DHdmiCecLocalDevicePlayback.java306 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSetSystemAudioMode()
319 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSystemAudioModeStatus()
333 if (mService.isSystemAudioActivated()) { in findAudioReceiverAddress()
DSystemAudioActionFromAvr.java51 if (mTargetAudioStatus == tv().isSystemAudioActivated()) { in handleSystemAudioActionFromAvr()
DArcInitiationActionFromAvr.java68 && audioSystem().isSystemAudioActivated()) { in processCommand()
DSystemAudioStatusAction.java93 if (!(tv().isSystemAudioActivated() ^ mute)) { in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java830 mService.isSystemAudioActivated(), on); in setSystemAudioMode()
833 if (mService.isSystemAudioActivated() != on) { in setSystemAudioMode()
850 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceTv
854 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
992 if (!isSystemAudioActivated()) { in setAudioStatus()
1014 if (delta == 0 || !isSystemAudioActivated()) { in changeVolume()
1054 if (!isSystemAudioActivated()) { in changeMute()
DHotplugDetectionAction.java118 if (tv().isSystemAudioActivated()) { in pollDevices()
DHdmiControlService.java1165 if (!isTvDeviceEnabled() || !tv().isSystemAudioActivated()) { in setAudioStatus()
1712 return (tv != null && tv.isSystemAudioActivated()) in getSystemAudioMode()
1713 || (audioSystem != null && audioSystem.isSystemAudioActivated()); in getSystemAudioMode()
2071 if (!audioSystem().isSystemAudioActivated()) { in reportAudioStatus()
2118 pw.println("mSystemAudioActivated: " + isSystemAudioActivated()); in dump()
2832 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiControlService