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
134 if (mFocusRequest != null) { in requestAudioFocus()
138 mFocusRequest = new AudioFocusRequest in requestAudioFocus()
146 delayedFocusRequestResults = mAudioManager.requestAudioFocus(mFocusRequest); in requestAudioFocus()
170 mFocusRequest = null; in requestAudioFocus()
253 mFocusRequest = null; in onAudioFocusChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java146 private AudioFocusRequest mFocusRequest; field in AudioPlayer
181 mFocusRequest = new AudioFocusRequest in start()
189 ret = mAudioManager.requestAudioFocus(mFocusRequest); in start()
294 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in stop()
DAudioTestFragment.java824 private AudioFocusRequest mFocusRequest; field in AudioTestFragment.FocusHandler
853 mFocusRequest = new AudioFocusRequest.Builder(focusRequest) in FocusHandler()
859 int ret = mAudioManager.requestAudioFocus(mFocusRequest); in FocusHandler()
875 if (mFocusRequest != null) { in abandonAudioFocus()
876 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
877 mFocusRequest = null; in abandonAudioFocus()