Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java37 @Nullable private final AudioFocusRequest mFocusRequest; field in AudioManagerHelper
46 mFocusRequest = in AudioManagerHelper()
60 mFocusRequest = null; in AudioManagerHelper()
117 result = mAudioManager.requestAudioFocus(mFocusRequest); in requestAudioFocus()
134 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DAudioAutoStartActivity.java74 private AudioFocusRequest mFocusRequest; field in AudioAutoStartActivity
133 if (mFocusRequest != null) { in requestAudioFocus()
137 mFocusRequest = new AudioFocusRequest in requestAudioFocus()
145 delayedFocusRequestResults = mAudioManager.requestAudioFocus(mFocusRequest); in requestAudioFocus()
169 mFocusRequest = null; in requestAudioFocus()
252 mFocusRequest = null; in onAudioFocusChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java162 private AudioFocusRequest mFocusRequest; field in AudioPlayer
201 mFocusRequest = new AudioFocusRequest in start()
209 ret = mAudioManager.requestAudioFocus(mFocusRequest); in start()
332 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in stop()
DAudioTestFragment.java943 private AudioFocusRequest mFocusRequest; field in AudioTestFragment.FocusHandler
972 mFocusRequest = new AudioFocusRequest.Builder(focusRequest) in FocusHandler()
978 int ret = mAudioManager.requestAudioFocus(mFocusRequest); in FocusHandler()
994 if (mFocusRequest != null) { in abandonAudioFocus()
995 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
996 mFocusRequest = null; in abandonAudioFocus()