Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioRecord.java518 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease() argument
519 mAudioCapturePolicy = audioPolicy; in unregisterAudioPolicyOnRelease()
792 AudioPolicy audioPolicy = new AudioPolicy.Builder(/*context=*/ mContext) in buildAudioPlaybackCaptureRecord() local
796 int error = AudioManager.registerAudioPolicyStatic(audioPolicy); in buildAudioPlaybackCaptureRecord()
801 AudioRecord record = audioPolicy.createAudioRecordSink(audioMix); in buildAudioPlaybackCaptureRecord()
805 record.unregisterAudioPolicyOnRelease(audioPolicy); in buildAudioPlaybackCaptureRecord()
856 AudioPolicy audioPolicy = new AudioPolicy.Builder(mContext).addMix(audioMix).build(); in buildCallExtractionRecord() local
857 if (AudioManager.registerAudioPolicyStatic(audioPolicy) != 0) { in buildCallExtractionRecord()
860 AudioRecord record = audioPolicy.createAudioRecordSink(audioMix); in buildCallExtractionRecord()
864 record.unregisterAudioPolicyOnRelease(audioPolicy); in buildCallExtractionRecord()
DAudioTrack.java1355 AudioPolicy audioPolicy = in buildCallInjectionTrack() local
1358 if (AudioManager.registerAudioPolicyStatic(audioPolicy) != 0) { in buildCallInjectionTrack()
1361 AudioTrack track = audioPolicy.createAudioTrackSource(audioMix); in buildCallInjectionTrack()
1365 track.unregisterAudioPolicyOnRelease(audioPolicy); in buildCallInjectionTrack()
1471 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease() argument
1472 mAudioPolicy = audioPolicy; in unregisterAudioPolicyOnRelease()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java158 AudioVolumeGroupHelperBase audioVolumeGroupHelper, AudioPolicyFacade audioPolicy, in MyAudioService() argument
163 audioPolicy, looper, appOps, enforcer, permissionProvider); in MyAudioService()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1147 AudioVolumeGroupHelperBase audioVolumeGroupHelper, AudioPolicyFacade audioPolicy, in AudioService() argument
1162 mAudioPolicy = audioPolicy; in AudioService()
11973 Context context, AudioPolicyFacade audioPolicy, Executor audioserverExecutor) { in initializeAudioServerPermissionProvider() argument
11987 audioPolicy.registerOnStartTask(() -> { in initializeAudioServerPermissionProvider()
11988 provider.onServiceStart(audioPolicy.getPermissionController()); in initializeAudioServerPermissionProvider()