Home
last modified time | relevance | path

Searched refs:mAudioSystem (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DDeviceVolumeBehaviorTest.java52 private AudioSystemAdapter mAudioSystem; field in DeviceVolumeBehaviorTest
74 mAudioSystem = new NoOpAudioSystemAdapter(); in setUp()
78 mAudioService = new AudioService(mContext, mAudioSystem, mSystemServer, in setUp()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java552 private final @NonNull AudioSystemAdapter mAudioSystem; field in AudioDeviceInventory
588 mAudioSystem = audioSystem; in AudioDeviceInventory()
767 mAudioSystem.setDeviceConnectionState(new AudioDeviceAttributes(di.mDeviceType, in onRestoreDevices()
981 final int res = mAudioSystem.handleDeviceConfigChange( in onBluetoothDeviceConfigChange()
1417 return mAudioSystem.addDevicesRoleForCapturePreset(p, r, d); in addDevicesRoleForCapturePresetInt()
1425 return mAudioSystem.removeDevicesRoleForCapturePreset(p, r, d); in removeDevicesRoleForCapturePresetInt()
1433 return mAudioSystem.addDevicesRoleForCapturePreset(p, r, d);
1435 return mAudioSystem.clearDevicesRoleForCapturePreset(p, r);
1442 return mAudioSystem.clearDevicesRoleForCapturePreset(p, r);
1461 return mAudioSystem.setDevicesRoleForStrategy(s, r, d);
[all …]
DAudioService.java314 private final AudioSystemAdapter mAudioSystem; field in AudioService
1158 mAudioSystem = audioSystem; in AudioService()
1168 mDeviceBroker = new AudioDeviceBroker(mContext, this, mAudioSystem); in AudioService()
1189 mSpatializerHelper = new SpatializerHelper(this, mAudioSystem, mDeviceBroker, in AudioService()
1408 mAudioSystem.setRoutingListener(this); in AudioService()
1411 mAudioSystem.setVolRangeInitReqListener(this); in AudioService()
1501 mAudioSystem.setDeviceAbsoluteVolumeEnabled(dev, /*address=*/"", /*enabled=*/true, in onInitStreamsAndVolumes()
1676 mMicMuteFromSystemCached = mAudioSystem.isMicrophoneMuted(); in onSystemReady()
1878 mAudioSystem.setCurrentImeUid(mInputMethodServiceUid); in onAudioServerDied()
1920 int result = mAudioSystem.setAllowedCapturePolicy( in onAudioServerDied()
[all …]
DAudioDeviceBroker.java99 private final @NonNull AudioSystemAdapter mAudioSystem; field in AudioDeviceBroker
189 mAudioSystem = audioSystem; in AudioDeviceBroker()
206 mAudioSystem = audioSystem; in AudioDeviceBroker()
686 List<AudioDeviceAttributes> devices = mAudioSystem.getDevicesForAttributes( in updateActiveCommunicationDevice()
1737 mAudioSystem.setForceUse(useCase, config); in onSetForceUse()