Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DOemCarServiceTestFragment.java121 int delayedFocusRequestResults = mAudioManager.requestAudioFocus( in sendAudioFocusRequest() local
124 if (delayedFocusRequestResults != AUDIOFOCUS_REQUEST_GRANTED) { in sendAudioFocusRequest()
125 Log.i(TAG, "sendAudioFocusRequest not granted " + delayedFocusRequestResults); in sendAudioFocusRequest()
DAudioTestFragment.java576 int delayedFocusRequestResults = mAudioManager.requestAudioFocus(mDelayedFocusRequest); in handleDelayedMediaStart() local
577 if (delayedFocusRequestResults == AUDIOFOCUS_REQUEST_GRANTED) { in handleDelayedMediaStart()
581 if (delayedFocusRequestResults == AUDIOFOCUS_REQUEST_DELAYED) { in handleDelayedMediaStart()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DAudioAutoStartActivity.java131 int delayedFocusRequestResults; in requestAudioFocus() local
145 delayedFocusRequestResults = mAudioManager.requestAudioFocus(mFocusRequest); in requestAudioFocus()
148 switch (delayedFocusRequestResults) { in requestAudioFocus()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java804 int delayedFocusRequestResults = evaluateFocusRequestLocked(delayedFocusInfo); in attemptToGainFocusForDelayedAudioFocusRequestLocked() local
805 if (delayedFocusRequestResults == AUDIOFOCUS_REQUEST_GRANTED) { in attemptToGainFocusForDelayedAudioFocusRequestLocked()
818 } else if (delayedFocusRequestResults == AUDIOFOCUS_REQUEST_FAILED) { in attemptToGainFocusForDelayedAudioFocusRequestLocked()