Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java160 private AudioFocusRequest mDelayedFocusRequest; field in AudioTestFragment
468 if (mDelayedFocusRequest != null) { in onDestroyView()
469 mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in onDestroyView()
564 if (mDelayedFocusRequest != null) { in handleDelayedMediaStart()
568 mDelayedFocusRequest = new AudioFocusRequest in handleDelayedMediaStart()
576 int delayedFocusRequestResults = mAudioManager.requestAudioFocus(mDelayedFocusRequest); in handleDelayedMediaStart()
588 mDelayedFocusRequest = null; in handleDelayedMediaStart()
608 if (mDelayedFocusRequest != null) { in handleDelayedMediaStop()
609 int requestResults = mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in handleDelayedMediaStop()
613 mDelayedFocusRequest = null; in handleDelayedMediaStop()
[all …]