Searched refs:mAudioPolicy (Results 1 – 4 of 4) sorted by relevance
42 private AudioPolicy mAudioPolicy = null; field in AudioPolicyDeathTestActivity72 mAudioPolicy = audioPolicyBuilder.build(); in onCreate()74 int result = mAudioManager.registerAudioPolicy(mAudioPolicy); in onCreate()76 AudioRecord audioRecord = mAudioPolicy.createAudioRecordSink(audioMix); in onCreate()103 if (mAudioManager != null && mAudioPolicy != null) { in onDestroy()104 mAudioManager.unregisterAudioPolicy(mAudioPolicy); in onDestroy()
66 private AudioPolicy mAudioPolicy; field in VirtualAudioSession237 if (mAudioPolicy != null) { in createAudioStreams()261 mAudioPolicy = builder.build(); in createAudioStreams()263 if (audioManager.registerAudioPolicy(mAudioPolicy) == AudioManager.ERROR) { in createAudioStreams()268 audioRecordMix != null ? mAudioPolicy.createAudioRecordSink(audioRecordMix) in createAudioStreams()271 audioTrackMix != null ? mAudioPolicy.createAudioTrackSource(audioTrackMix) in createAudioStreams()293 if (mAudioPolicy != null) { in releaseAudioStreams()295 audioManager.unregisterAudioPolicy(mAudioPolicy); in releaseAudioStreams()296 mAudioPolicy = null; in releaseAudioStreams()
629 private AudioPolicy mAudioPolicy; field in AudioTrack1472 mAudioPolicy = audioPolicy; in unregisterAudioPolicyOnRelease()2041 if (mAudioPolicy != null) { in release()2042 AudioManager.unregisterAudioPolicyAsyncStatic(mAudioPolicy); in release()2043 mAudioPolicy = null; in release()
317 private final AudioPolicyFacade mAudioPolicy; field in AudioService1162 mAudioPolicy = audioPolicy; in AudioService()4394 return mAudioPolicy.isHotwordStreamSupported(lookbackAudio); in isHotwordStreamSupported()