Searched refs:requestAudioFocus (Results 1 – 10 of 10) sorted by relevance
145 .that(mAudioManager.requestAudioFocus(mediaAudioFocusRequest)) in requestAudioFocus_forRequestWithDelayedFocus_requestGranted()154 mAudioManager.requestAudioFocus(phoneAudioFocusRequest); in requestAudioFocus_forRequestWithDelayedFocus_whileOnCall_requestDelayed()160 .that(mAudioManager.requestAudioFocus(mediaAudioFocusRequest)) in requestAudioFocus_forRequestWithDelayedFocus_whileOnCall_requestDelayed()168 mAudioManager.requestAudioFocus(phoneAudioFocusRequest); in abandonAudioFocusRequest_forCall_whileFocusDelayed_focusGained()175 mAudioManager.requestAudioFocus(mediaAudioFocusRequest); in abandonAudioFocusRequest_forCall_whileFocusDelayed_focusGained()192 mAudioManager.requestAudioFocus(phoneAudioFocusRequest); in abandonAudioFocusRequest_forDelayedRequest_whileOnCall_requestGranted()197 mAudioManager.requestAudioFocus(mediaAudioFocusRequest); in abandonAudioFocusRequest_forDelayedRequest_whileOnCall_requestGranted()211 mAudioManager.requestAudioFocus(phoneAudioFocusRequest); in abandonAudioFocusRequest_forCall_afterDelayedAbandon_delayedRequestDoesNotGainsFocus()218 mAudioManager.requestAudioFocus(mediaAudioFocusRequest); in abandonAudioFocusRequest_forCall_afterDelayedAbandon_delayedRequestDoesNotGainsFocus()239 mAudioManager.requestAudioFocus(phoneAudioFocusRequest); in requestAudioFocus_multipleTimesForSameDelayedRequest_delayedRequestDoesNotGainsFocus()[all …]
73 requestAudioFocus(context); in onReceive()79 private void requestAudioFocus(Context context) { in requestAudioFocus() method in ProcessBroadcast83 audioManager.requestAudioFocus(afr); in requestAudioFocus()
393 res = mAM.requestAudioFocus(mediaFocusReq); in testAudioMediaFocusDelayedByCall()445 int res = mAM.requestAudioFocus(mediaFocusReq); in testAudioFocusDelayedByCall()456 res = mAM.requestAudioFocus(driveFocusReq); in testAudioFocusDelayedByCall()517 int res = mAM.requestAudioFocus(mediaFocusReq); in testAudioFocusTransientDelayedByCall()528 res = mAM.requestAudioFocus(driveFocusReq); in testAudioFocusTransientDelayedByCall()596 int res = mAM.requestAudioFocus(focusRequests[FOCUS_UNDER_TEST]); in testAudioFocusRequestMediaGainLossWithPlayer()686 mAM.requestAudioFocus(EXCLUSIVE_FOCUS_REQUEST)); in testAudioFocusExclusive()755 mAM.requestAudioFocus(EXCLUSIVE_FOCUS_REQUEST)); in testAudioFocusExclusiveAndRecording()901 int res = mAM.requestAudioFocus(focusRequests[FocusUnderTest]); in runDuckedUidsTest()1102 int res = mAM.requestAudioFocus(focusRequests[FOCUS_UNDER_TEST]); in doTwoFocusOwnerOnePlayerFocusLoss()[all …]
81 int response = mAudioManager.requestAudioFocus(request); in requestAudioFocus_returnsFailedResponse()
188 return mAudioManager.requestAudioFocus(mAudioFocusRequest); in requestFocus()
327 public static void requestAudioFocus(String packageName) throws Exception { in requestAudioFocus() method in InstallUtils
443 .that(audioManager.requestAudioFocus(audioFocusRequest)) in testVideoPreviewAudioFocus()473 .that(audioManager.requestAudioFocus(audioFocusRequest)) in testVideoPreviewAudioFocus()
122 InstallUtils.requestAudioFocus(TestApp.A) in <lambda>()
7065 …rmission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.medi…7066 …TATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.medi…7067 …ission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull and…
21413 …method @Deprecated public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListe…21414 method public int requestAudioFocus(@NonNull android.media.AudioFocusRequest);