Searched refs:audioPolicy (Results 1 – 1 of 1) sorted by relevance
454 private void unregisterAudioPolicyOnRelease(AudioPolicy audioPolicy) { in unregisterAudioPolicyOnRelease() argument455 mAudioCapturePolicy = audioPolicy; in unregisterAudioPolicyOnRelease()655 AudioPolicy audioPolicy = new AudioPolicy.Builder(/*context=*/ null) in buildAudioPlaybackCaptureRecord() local659 int error = AudioManager.registerAudioPolicyStatic(audioPolicy); in buildAudioPlaybackCaptureRecord()664 AudioRecord record = audioPolicy.createAudioRecordSink(audioMix); in buildAudioPlaybackCaptureRecord()668 record.unregisterAudioPolicyOnRelease(audioPolicy); in buildAudioPlaybackCaptureRecord()