Searched refs:requestResult (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | AudioFocusTest.java | 376 int requestResult = mAudioManager.requestAudioFocus(audioFocusRequest1); in testInteraction() local 379 assertEquals(message, AudioManager.AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction() 382 requestResult = mAudioManager.requestAudioFocus(audioFocusRequest2); in testInteraction() 385 assertEquals(message, secondRequestResultsExpected, requestResult); in testInteraction() 390 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest1); in testInteraction() 393 assertEquals(message, AudioManager.AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction() 406 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest2); in testInteraction() 409 assertEquals(message, AudioManager.AUDIOFOCUS_REQUEST_GRANTED, requestResult); in testInteraction() 428 requestResult = mAudioManager.abandonAudioFocusRequest(audioFocusRequest1); in testInteraction() 430 requestResult); in testInteraction() [all …]
|
/packages/apps/TV/src/com/android/tv/ |
D | LauncherActivity.java | 56 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/service/src/com/android/car/audio/ |
D | CarZonesAudioFocus.java | 129 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument 131 focus.onAudioFocusRequest(afi, requestResult); in onAudioFocusRequest()
|
D | CarAudioFocus.java | 424 public synchronized void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument
|