Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/
DLauncherActivity.java56 Context context, Intent intentToLaunch, boolean requestResult) { in createIntent() argument
59 if (requestResult) { in createIntent()
71 boolean requestResult = getIntent().getBooleanExtra(EXTRA_REQUEST_RESULT, false); in onCreate()
73 if (requestResult) { in onCreate()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioFocusTest.java681 int requestResult = mAudioManager.requestAudioFocus(audioFocusRequest1); in testInteraction() local
684 assertEquals(message, AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction()
687 requestResult = mAudioManager.requestAudioFocus(audioFocusRequest2); in testInteraction()
690 assertEquals(message, secondRequestResultsExpected, requestResult); in testInteraction()
696 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest1); in testInteraction()
700 assertEquals(message, AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction()
722 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest2); in testInteraction()
726 assertEquals(message, AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction()
753 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest1); in testInteraction()
756 requestResult); in testInteraction()
[all …]
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioFocus.java263 int requestResult = mAudioManager.requestAudioFocus(audioFocusRequest); in makeAudioFocusRequestLocked() local
267 if (requestResult == AUDIOFOCUS_REQUEST_GRANTED) { in makeAudioFocusRequestLocked()
271 } else if (requestResult == AUDIOFOCUS_REQUEST_FAILED) { in makeAudioFocusRequestLocked()
273 } else if (requestResult == AUDIOFOCUS_REQUEST_DELAYED) { in makeAudioFocusRequestLocked()
/packages/services/Car/service/src/com/android/car/audio/
DCarZonesAudioFocus.java163 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument
165 getCarAudioFocusForZoneId(zoneId).onAudioFocusRequest(afi, requestResult); in onAudioFocusRequest()
DCarAudioFocus.java413 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument