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.java201 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testNoActiveSourceMessageReceived()
220 assertFalse(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvNotSupport()
237 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testTvSupport()
256 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testKnownActiveSource()
277 assertTrue(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()); in testRetry()
296 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in testIsPlaybackDevice_cannotReceiveActiveSource()
DHdmiCecLocalDevicePlaybackTest.java271 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
276 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOn_audioSystemBroadcast()
283 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
290 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSetSystemAudioModeOff_audioSystemToPlayback()
297 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isFalse(); in handleSystemAudioModeStatusOn_DirectltToLocalDeviceFromAudioSystem()
302 assertThat(mHdmiCecLocalDevicePlayback.mService.isSystemAudioActivated()).isTrue(); in handleSystemAudioModeStatusOn_DirectltToLocalDeviceFromAudioSystem()
DArcInitiationActionFromAvrTest.java129 protected boolean isSystemAudioActivated() { in setUp()
DHdmiCecLocalDeviceAudioSystemTest.java438 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
444 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOff()
452 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isTrue(); in terminateSystemAudioMode_systemAudioModeOn()
458 assertThat(mHdmiCecLocalDeviceAudioSystem.isSystemAudioActivated()).isFalse(); in terminateSystemAudioMode_systemAudioModeOn()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java330 if (isSystemAudioActivated()) { in onHotplug()
371 isSystemAudioActivated() ? "true" : "false"); in onStandby()
594 boolean isSystemAudioModeOnOrTurningOn = isSystemAudioActivated(); in handleGiveSystemAudioModeStatus()
646 if (!isSystemAudioActivated()) { in handleRequestShortAudioDescriptor()
970 isSystemAudioActivated(), newSystemAudioMode); in checkSupportAndSetSystemAudioMode()
1010 if (isSystemAudioActivated() != newSystemAudioMode) { in setSystemAudioMode()
1031 && isDirectConnectToTv() && mService.isSystemAudioActivated()) { in setSystemAudioMode()
1112 protected boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceAudioSystem
1113 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
1119 if (!isSystemAudioActivated()) { in terminateSystemAudioMode()
[all …]
DSystemAudioActionFromAvr.java51 if (mTargetAudioStatus == tv().isSystemAudioActivated()) { in handleSystemAudioActionFromAvr()
DHdmiCecLocalDevicePlayback.java343 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSetSystemAudioMode()
356 if (mService.isSystemAudioActivated() != setSystemAudioModeOn) { in handleSystemAudioModeStatus()
411 if (mService.isSystemAudioActivated()) { in findAudioReceiverAddress()
DSystemAudioStatusAction.java93 if (!(tv().isSystemAudioActivated() ^ mute)) { in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java832 mService.isSystemAudioActivated(), on); in setSystemAudioMode()
835 if (mService.isSystemAudioActivated() != on) { in setSystemAudioMode()
852 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiCecLocalDeviceTv
856 return mService.isSystemAudioActivated(); in isSystemAudioActivated()
994 if (!isSystemAudioActivated() || !mService.isHdmiCecVolumeControlEnabled()) { in setAudioStatus()
1016 if (delta == 0 || !isSystemAudioActivated() || !mService.isHdmiCecVolumeControlEnabled()) { in changeVolume()
1056 if (!isSystemAudioActivated()) { in changeMute()
1571 } else if (mSystemAudioControlFeatureEnabled != mService.isSystemAudioActivated()){ in onHotplug()
DHotplugDetectionAction.java118 if (tv().isSystemAudioActivated()) { in pollDevices()
DHdmiControlService.java1294 || !tv().isSystemAudioActivated() in setAudioStatus()
1880 return (tv != null && tv.isSystemAudioActivated()) in getSystemAudioMode()
1881 || (audioSystem != null && audioSystem.isSystemAudioActivated()); in getSystemAudioMode()
2257 if (!audioSystem().isSystemAudioActivated()) { in reportAudioStatus()
2304 pw.println("mSystemAudioActivated: " + isSystemAudioActivated()); in dump()
3112 boolean isSystemAudioActivated() { in isSystemAudioActivated() method in HdmiControlService