Home
last modified time | relevance | path

Searched refs:setFocusRequestResult (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java232 verify(mMockAudioManager).setFocusRequestResult(audioFocusInfo, in onAudioFocusRequest_withNoCurrentFocusHolder_requestGranted()
246 .setFocusRequestResult(sameClientAndUsageFocusInfo, AUDIOFOCUS_REQUEST_GRANTED, in onAudioFocusRequest_withSameClientIdSameUsage_requestGranted()
262 verify(mMockAudioManager, times(1)).setFocusRequestResult(audioFocusInfo, in onAudioFocusRequest_withSameCallClientIdDifferentUsage_requestGranted()
264 verify(mMockAudioManager, times(1)).setFocusRequestResult(sameClientAndUsageFocusInfo, in onAudioFocusRequest_withSameCallClientIdDifferentUsage_requestGranted()
312 verify(mMockAudioManager).setFocusRequestResult(sameClientFocusInfo, in onAudioFocusRequest_withSameClientIdDifferentUsage_requestFailed()
324 verify(mMockAudioManager).setFocusRequestResult(concurrentFocusInfo, in onAudioFocusRequest_concurrentRequest_requestGranted()
448 verify(mMockAudioManager).setFocusRequestResult(exclusiveRequestInfo, in onAudioFocusRequest_exclusiveRequest_requestGranted()
523 verify(mMockAudioManager).setFocusRequestResult(rejectRequestInfo, in onAudioFocus_rejectRequest_requestFailed()
550 verify(mMockAudioManager).setFocusRequestResult(exclusiveSystemUsageInfo, in onAudioFocus_exclusiveWithSystemUsage_requestGranted()
592 verify(mMockAudioManager).setFocusRequestResult(concurrentSystemUsageInfo, in onAudioFocus_concurrentWithSystemUsage_requestGranted()
[all …]
DAudioManagerWrapperTest.java229 public void setFocusRequestResult() { in setFocusRequestResult() method in AudioManagerWrapperTest
232 mAudioManagerWrapper.setFocusRequestResult(info, AUDIOFOCUS_GAIN, mAudioPolicy); in setFocusRequestResult()
234 verify(mAudioManager).setFocusRequestResult(info, AUDIOFOCUS_GAIN, mAudioPolicy); in setFocusRequestResult()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java186 verify(mMockAudioManager).setFocusRequestResult(audioFocusInfoNavClient, in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
212 verify(mMockAudioManager).setFocusRequestResult(audioFocusInfoNavClient, in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
228 verify(mMockAudioManager).setFocusRequestResult(audioFocusMediaClient, in onAudioFocusRequest_forMediaWithDelayedFocus_requestSucceeds()
248 verify(mMockAudioManager).setFocusRequestResult(audioFocusMediaClient, in onAudioFocusRequest_forMediaWithDelayedFocusWhileOnCall_delayedSucceeds()
340 verify(mMockAudioManager).setFocusRequestResult(audioFocusMediaClient, in onAudioFocusRequest_multipleTimesForSameDelayedFocus_delayedFocusNotGainsFocus()
346 verify(mMockAudioManager, times(2)).setFocusRequestResult(audioFocusMediaClient, in onAudioFocusRequest_multipleTimesForSameDelayedFocus_delayedFocusNotGainsFocus()
375 verify(mMockAudioManager).setFocusRequestResult(audioFocusInfoNavClient, in onAudioFocusRequest_multipleTimesForDifferentContextSameClient_delayedFocusFailed()
DCarZonesAudioFocusUsageTest.java100 verify(mMockAudioManager).setFocusRequestResult(audioFocusClient, in requestFocus_forEveryUsage_requestGranted()
DCarZonesAudioFocusRejectedTest.java157 verify(mMockAudioManager).setFocusRequestResult(rejectedFocusInfo, in rejectedInteractionsFocusTest()
DCarZonesAudioFocusTestBase.java235 .setFocusRequestResult(audioFocusClient, expectedAudioFocusResults, mAudioPolicy); in requestFocusAndAssertIfRequestDiffers()
/packages/services/Car/service/src/com/android/car/audio/
DAudioManagerWrapper.java123 void setFocusRequestResult(AudioFocusInfo info, int response, AudioPolicy policy) { in setFocusRequestResult() method in AudioManagerWrapper
124 mAudioManager.setFocusRequestResult(info, response, policy); in setFocusRequestResult()
DCarAudioFocus.java712 mAudioManager.setFocusRequestResult(afi, response, policy); in onAudioFocusRequest()