Searched refs:setFocusRequestResult (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioFocusUnitTest.java | 232 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 …]
|
D | AudioManagerWrapperTest.java | 229 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/ |
D | CarZonesAudioFocusTest.java | 186 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()
|
D | CarZonesAudioFocusUsageTest.java | 100 verify(mMockAudioManager).setFocusRequestResult(audioFocusClient, in requestFocus_forEveryUsage_requestGranted()
|
D | CarZonesAudioFocusRejectedTest.java | 157 verify(mMockAudioManager).setFocusRequestResult(rejectedFocusInfo, in rejectedInteractionsFocusTest()
|
D | CarZonesAudioFocusTestBase.java | 235 .setFocusRequestResult(audioFocusClient, expectedAudioFocusResults, mAudioPolicy); in requestFocusAndAssertIfRequestDiffers()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | AudioManagerWrapper.java | 123 void setFocusRequestResult(AudioFocusInfo info, int response, AudioPolicy policy) { in setFocusRequestResult() method in AudioManagerWrapper 124 mAudioManager.setFocusRequestResult(info, response, policy); in setFocusRequestResult()
|
D | CarAudioFocus.java | 712 mAudioManager.setFocusRequestResult(afi, response, policy); in onAudioFocusRequest()
|