/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioInitiationActionFromAvr.java | 46 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 …]
|
D | SelectRequestBuffer.java | 59 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()
|
D | ArcInitiationActionFromAvr.java | 37 audioSystem().setArcStatus(true); in start() 52 audioSystem().setArcStatus(false); in processCommand() 59 audioSystem().setArcStatus(false); in processCommand() 87 audioSystem().setArcStatus(false); in sendInitiateArc()
|
D | ArcTerminationActionFromAvr.java | 60 audioSystem().processArcTermination(); in processCommand() 67 audioSystem().processArcTermination(); in processCommand() 94 audioSystem().setArcStatus(false); in sendTerminateArc() 104 audioSystem().setArcStatus(false); in handleTerminateArcTimeout()
|
D | HdmiControlService.java | 826 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 …]
|
D | OneTouchPlayAction.java | 158 if (mSource.mService.audioSystem() != null) { in setAndBroadcastActiveSource() 159 mSource = mSource.mService.audioSystem(); in setAndBroadcastActiveSource()
|
D | DetectTvSystemAudioModeSupportAction.java | 111 audioSystem().setTvSystemAudioModeSupport(supported); in finishAction()
|
D | HdmiCecFeatureAction.java | 290 protected final HdmiCecLocalDeviceAudioSystem audioSystem() { in audioSystem() method in HdmiCecFeatureAction
|
D | HdmiCecLocalDevicePlayback.java | 122 if (mService.audioSystem() == null) { in onAddressAllocated() 551 || mService.audioSystem() != null) { in handleSetSystemAudioMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiControlServiceTest.java | 1315 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 …]
|
D | HdmiCecLocalDevicePlaybackTest.java | 1578 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/ |
D | VolumeHelperTest.java | 156 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/ |
D | AudioDeviceBroker.java | 183 @NonNull AudioSystemAdapter audioSystem) { in AudioDeviceBroker() argument 189 mAudioSystem = audioSystem; in AudioDeviceBroker() 200 @NonNull AudioSystemAdapter audioSystem) { in AudioDeviceBroker() argument 206 mAudioSystem = audioSystem; in AudioDeviceBroker()
|
D | AudioDeviceInventory.java | 581 /*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()
|
D | AudioService.java | 1145 public AudioService(Context context, AudioSystemAdapter audioSystem, in AudioService() argument 1158 mAudioSystem = audioSystem; in AudioService()
|