Searched refs:requestResult (Results 1 – 5 of 5) sorted by relevance
/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/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioFocusTest.java | 681 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/ |
D | HalAudioFocus.java | 263 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/ |
D | CarZonesAudioFocus.java | 163 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument 165 getCarAudioFocusForZoneId(zoneId).onAudioFocusRequest(afi, requestResult); in onAudioFocusRequest()
|
D | CarAudioFocus.java | 413 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) { in onAudioFocusRequest() argument
|