Home
last modified time | relevance | path

Searched refs:audioSystem (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DSystemAudioInitiationActionFromAvr.java46 if (audioSystem().getActiveSource().physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) { in start()
67 audioSystem().handleActiveSource(cmd); in processCommand()
96 audioSystem().checkSupportAndSetSystemAudioMode(false); in sendRequestActiveSource()
111 audioSystem().checkSupportAndSetSystemAudioMode(false); in sendSetSystemAudioMode()
120 if (audioSystem().mService.isStandbyMessageReceived()) { in handleActiveSourceTimeout()
126 if (audioSystem().mService.isPlaybackDevice()) { in handleActiveSourceTimeout()
127 audioSystem().mService.setAndBroadcastActiveSourceFromOneDeviceType( in handleActiveSourceTimeout()
133 audioSystem().checkSupportAndSetSystemAudioMode(false); in handleActiveSourceTimeout()
139 audioSystem().queryTvSystemAudioModeSupport( in queryTvSystemAudioModeSupport()
142 if (audioSystem().checkSupportAndSetSystemAudioMode(true)) { in queryTvSystemAudioModeSupport()
[all …]
DSelectRequestBuffer.java59 protected HdmiCecLocalDeviceAudioSystem audioSystem() { in audioSystem() method in SelectRequestBuffer.SelectRequest
60 return mService.audioSystem(); in audioSystem()
117 HdmiCecLocalDeviceAudioSystem audioSystem = audioSystem(); in process() local
118 if (audioSystem != null) { in process()
119 audioSystem.doManualPortSwitching(mId, mCallback); in process()
DArcInitiationActionFromAvr.java37 audioSystem().setArcStatus(true); in start()
52 audioSystem().setArcStatus(false); in processCommand()
59 audioSystem().setArcStatus(false); in processCommand()
87 audioSystem().setArcStatus(false); in sendInitiateArc()
DArcTerminationActionFromAvr.java60 audioSystem().processArcTermination(); in processCommand()
67 audioSystem().processArcTermination(); in processCommand()
94 audioSystem().setArcStatus(false); in sendTerminateArc()
104 audioSystem().setArcStatus(false); in handleTerminateArcTimeout()
DHdmiControlService.java826 if (audioSystem() == null) { in initService()
830 audioSystem().setRoutingControlFeatureEnabled(enabled); in initService()
847 if (audioSystem() == null) { in initService()
851 audioSystem().onSystemAudioControlFeatureSupportChanged(enabled); in initService()
1042 HdmiCecLocalDeviceSource source = isAudioSystemDevice() ? audioSystem() : playback(); in reportFeatures()
1165 HdmiCecLocalDeviceAudioSystem audioSystem = audioSystem(); in setSoundbarMode() local
1179 if (settingValue == SOUNDBAR_MODE_DISABLED && audioSystem != null) { in setSoundbarMode()
1180 isArcEnabled = audioSystem.isArcEnabled(); in setSoundbarMode()
1182 audioSystem.terminateSystemAudioMode(); in setSoundbarMode()
1185 if (audioSystem.hasAction(ArcTerminationActionFromAvr.class)) { in setSoundbarMode()
[all …]
DOneTouchPlayAction.java158 if (mSource.mService.audioSystem() != null) { in setAndBroadcastActiveSource()
159 mSource = mSource.mService.audioSystem(); in setAndBroadcastActiveSource()
DDetectTvSystemAudioModeSupportAction.java111 audioSystem().setTvSystemAudioModeSupport(supported); in finishAction()
DHdmiCecFeatureAction.java290 protected final HdmiCecLocalDeviceAudioSystem audioSystem() { in audioSystem() method in HdmiCecFeatureAction
DHdmiCecLocalDevicePlayback.java122 if (mService.audioSystem() == null) { in onAddressAllocated()
551 || mService.audioSystem() != null) { in handleSetSystemAudioMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiControlServiceTest.java1315 assertThat(mHdmiControlServiceSpy.audioSystem()).isNull(); in setSoundbarMode_enabled_addAudioSystemLocalDevice()
1322 assertThat(mHdmiControlServiceSpy.audioSystem()).isNotNull(); in setSoundbarMode_enabled_addAudioSystemLocalDevice()
1333 assertThat(mHdmiControlServiceSpy.audioSystem()).isNull(); in setSoundbarMode_disabled_removeAudioSystemLocalDevice()
1340 assertThat(mHdmiControlServiceSpy.audioSystem()).isNotNull(); in setSoundbarMode_disabled_removeAudioSystemLocalDevice()
1352 assertThat(mHdmiControlServiceSpy.audioSystem()).isNull(); in setSoundbarMode_disabled_removeAudioSystemLocalDevice()
1658 assertThat(mHdmiControlServiceSpy.audioSystem()).isNotNull(); in triggerMultipleAddressAllocations_toggleSoundbarMode_addThenRemoveAudioSystem()
1666 assertThat(mHdmiControlServiceSpy.audioSystem()).isNull(); in triggerMultipleAddressAllocations_toggleSoundbarMode_addThenRemoveAudioSystem()
1677 assertThat(mHdmiControlServiceSpy.audioSystem()).isNotNull(); in triggerMultipleAddressAllocations_toggleSoundbarMode_removeThenAddAudioSystem()
1710 assertThat(mHdmiControlServiceSpy.audioSystem()).isNull(); in triggerMultipleAddressAllocations_toggleSoundbarMode_removeThenAddAudioSystem()
1718 assertThat(mHdmiControlServiceSpy.audioSystem()).isNotNull(); in triggerMultipleAddressAllocations_toggleSoundbarMode_removeThenAddAudioSystem()
[all …]
DHdmiCecLocalDevicePlaybackTest.java1578 HdmiCecLocalDeviceAudioSystem audioSystem = in sendVolumeKeyEvent_toLocalDevice_discardMessage() local
1580 audioSystem.init(); in sendVolumeKeyEvent_toLocalDevice_discardMessage()
1581 mLocalDevices.add(audioSystem); in sendVolumeKeyEvent_toLocalDevice_discardMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java156 MyAudioService(Context context, AudioSystemAdapter audioSystem, in MyAudioService() argument
162 super(context, audioSystem, systemServer, settings, audioVolumeGroupHelper, in MyAudioService()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java183 @NonNull AudioSystemAdapter audioSystem) { in AudioDeviceBroker() argument
189 mAudioSystem = audioSystem; in AudioDeviceBroker()
200 @NonNull AudioSystemAdapter audioSystem) { in AudioDeviceBroker() argument
206 mAudioSystem = audioSystem; in AudioDeviceBroker()
DAudioDeviceInventory.java581 /*package*/ AudioDeviceInventory(@NonNull AudioSystemAdapter audioSystem) { in AudioDeviceInventory() argument
582 this(null, audioSystem); in AudioDeviceInventory()
586 @Nullable AudioSystemAdapter audioSystem) { in AudioDeviceInventory() argument
588 mAudioSystem = audioSystem; in AudioDeviceInventory()
DAudioService.java1145 public AudioService(Context context, AudioSystemAdapter audioSystem, in AudioService() argument
1158 mAudioSystem = audioSystem; in AudioService()