Home
last modified time | relevance | path

Searched refs:MODIFY_AUDIO_ROUTING (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/media/java/android/media/
DAudioDeviceVolumeManager.java149 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
206 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
232 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
257 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
284 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
302 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING,
364 android.Manifest.permission.MODIFY_AUDIO_ROUTING,
381 android.Manifest.permission.MODIFY_AUDIO_ROUTING,
398 Manifest.permission.MODIFY_AUDIO_ROUTING,
422 Manifest.permission.MODIFY_AUDIO_ROUTING,
DAudioPlaybackConfiguration.java257 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
264 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
271 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
278 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
285 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
292 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
484 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
498 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
DAudioManager.java423 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1132 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1440 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1461 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1479 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1497 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
1533 android.Manifest.permission.MODIFY_AUDIO_ROUTING
1558 android.Manifest.permission.MODIFY_AUDIO_ROUTING
1582 android.Manifest.permission.MODIFY_AUDIO_ROUTING
1606 android.Manifest.permission.MODIFY_AUDIO_ROUTING
[all …]
DAudioAttributes.java214 android.Manifest.permission.MODIFY_AUDIO_ROUTING
225 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
232 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
239 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
246 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
929 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
DAudioTrack.java272 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
1020 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
1037 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
1045 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
1302 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
DAudioRecordingConfiguration.java240 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/av/services/audiopolicy/permission/tests/
DNativePermissionControllerTest.cpp190 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F()
193 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 3), in TEST_F()
201 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F()
204 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 6), in TEST_F()
209 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 3), in TEST_F()
/frameworks/base/services/core/java/com/android/server/media/
DAudioManagerRouteController.java118 Manifest.permission.MODIFY_AUDIO_ROUTING,
147 Manifest.permission.MODIFY_AUDIO_ROUTING,
162 Manifest.permission.MODIFY_AUDIO_ROUTING,
188 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
229 Manifest.permission.MODIFY_AUDIO_ROUTING,
264 Manifest.permission.MODIFY_AUDIO_ROUTING,
277 Manifest.permission.MODIFY_AUDIO_ROUTING,
287 Manifest.permission.MODIFY_AUDIO_ROUTING,
570 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
588 Manifest.permission.MODIFY_AUDIO_ROUTING,
DAudioRoutingUtils.java32 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
DDeviceRouteController.java49 @RequiresPermission(Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DTvAudioManager.java52 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
68 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/base/core/java/android/companion/virtual/audio/
DVirtualAudioDevice.java107 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
138 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
174 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
DVirtualAudioSession.java186 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
204 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
230 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
283 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/av/aidl/com/android/media/permission/
DPermissionEnum.aidl24 MODIFY_AUDIO_ROUTING = 0, enumConstant
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServerPermissionProvider.java20 import static android.Manifest.permission.MODIFY_AUDIO_ROUTING;
55 MONITORED_PERMS[PermissionEnum.MODIFY_AUDIO_ROUTING] = MODIFY_AUDIO_ROUTING;
DAudioService.java26 import static android.Manifest.permission.MODIFY_AUDIO_ROUTING;
2133 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
2148 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
2168 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
2182 MODIFY_AUDIO_SETTINGS_PRIVILEGED, MODIFY_AUDIO_ROUTING })
3039 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
3067 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
3083 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
3115 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
3144 @android.annotation.EnforcePermission(MODIFY_AUDIO_ROUTING)
[all …]
/frameworks/opt/tv/tvsystem/api/
Dsystem-current.txt16 …method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getDeviceV…
17 …method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setDevice…
/frameworks/base/services/companion/java/com/android/server/companion/virtual/audio/
DVirtualAudioController.java198 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
287 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumesTestRule.java109 mContext.checkSelfPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)); in setUp()
DAudioPolicyDeathTest.java110 mContext.checkSelfPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)); in setUp()
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/
DAudioManagerRouteControllerTest.java19 import static android.Manifest.permission.MODIFY_AUDIO_ROUTING;
112 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(MODIFY_AUDIO_ROUTING); in setUp()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java451 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
777 == checkCallingOrSelfPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in policyReadyToUse()
920 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
942 @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java680 denyPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in vibrate_withoutBypassFlagsPermissions_bypassFlagsNotApplied()
689 denyPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in vibrate_withSecureSettingsPermission_bypassFlagsApplied()
698 denyPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in vibrate_withModifyPhoneStatePermission_bypassFlagsApplied()
707 grantPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in vibrate_withModifyAudioRoutingPermission_bypassFlagsApplied()
1387 denyPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING); in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()
/frameworks/base/core/api/
Dsystem-current.txt240 … field public static final String MODIFY_AUDIO_ROUTING = "android.permission.MODIFY_AUDIO_ROUTING";
3583 … method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void close();
3586 …method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public andro…
3587 …method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public andro…
6941 …field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final in…
6942 …nifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public st…
6943 …field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final in…
6944 …field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final in…
6945 …field @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public static final in…
6954 …method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public andro…
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java242 Manifest.permission.MODIFY_AUDIO_ROUTING, in setUp()

12