Home
last modified time | relevance | path

Searched refs:requestAudioFocus (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarAudioFocusTest.java145 .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 …]
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DProcessBroadcast.java73 requestAudioFocus(context); in onReceive()
79 private void requestAudioFocus(Context context) { in requestAudioFocus() method in ProcessBroadcast
83 audioManager.requestAudioFocus(afr); in requestAudioFocus()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioFocusTest.java393 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 …]
DAudioSystemUsageTest.java81 int response = mAudioManager.requestAudioFocus(request); in requestAudioFocus_returnsFailedResponse()
DAudioFocusWithVdmTest.java188 return mAudioManager.requestAudioFocus(mAudioFocusRequest); in requestFocus()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java327 public static void requestAudioFocus(String packageName) throws Exception { in requestAudioFocus() method in InstallUtils
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPhotoPickerTest.java443 .that(audioManager.requestAudioFocus(audioFocusRequest)) in testVideoPreviewAudioFocus()
473 .that(audioManager.requestAudioFocus(audioFocusRequest)) in testVideoPreviewAudioFocus()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallConstraintsTest.kt122 InstallUtils.requestAudioFocus(TestApp.A) in <lambda>()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt7065 …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…
Dcurrent.txt21413 …method @Deprecated public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListe…
21414 method public int requestAudioFocus(@NonNull android.media.AudioFocusRequest);