/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ManageExternalStorageDetailsTest.java | 109 .setUidMode(anyInt(), anyInt(), anyInt()); in onPreferenceChange_enableManageExternalStorage_shouldTriggerAppOpsManager() 144 .setUidMode(anyInt(), anyInt(), anyInt()); in onPreferenceChange_disableManageExternalStorage_shouldTriggerAppOpsManager() 181 .setUidMode(anyInt(), anyInt(), anyInt()); in mockAppOpsOperations()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | AppOpsManagerCompat.java | 65 public void setUidMode(int code, int uid, @AppOpsManager.Mode int mode) { in setUidMode() method in AppOpsManagerCompat 66 mAppOpsManager.setUidMode(code, uid, mode); in setUidMode()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | HibernationSwitchPreferenceTest.kt | 221 verify(appOpsManager).setUidMode(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, MODE_ALLOWED) in An app is exempted - on click() 233 verify(appOpsManager).setUidMode(OP_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, UID, MODE_IGNORED) in An app is not exempted - on click()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/appinfo/ |
D | HibernationSwitchPreferenceController.java | 129 mAppOpsManager.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, mPackageUid, in handlePreferenceChanged()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | FullScreenIntentPermissionPreferenceController.kt | 109 appOpsManager.setUidMode(OP_USE_FULL_SCREEN_INTENT, uid, mode) in setPermissionGranted()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | MediaManagementAppsDetails.java | 78 mAppOpsManager.setUidMode(AppOpsManager.OP_MANAGE_MEDIA, mPackageInfo.applicationInfo.uid, in setCanManageMedia()
|
D | TurnScreenOnDetails.java | 111 mAppOpsManager.setUidMode(AppOpsManager.OPSTR_TURN_SCREEN_ON, in setCanTurnScreenOn()
|
D | HibernationSwitchPreferenceController.java | 137 mAppOpsManager.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, mPackageUid, in onPreferenceChange()
|
D | AlarmsAndRemindersDetails.java | 109 mAppOpsManager.setUidMode(AppOpsManager.OPSTR_SCHEDULE_EXACT_ALARM, uid, in setCanScheduleAlarms()
|
D | LongBackgroundTasksDetails.java | 109 mAppOpsManager.setUidMode(AppOpsManager.OPSTR_RUN_USER_INITIATED_JOBS, uid, in setCanRunUserInitiatedJobs()
|
D | ManageExternalStorageDetails.java | 112 mAppOpsManager.setUidMode(AppOpsManager.OP_MANAGE_EXTERNAL_STORAGE, in setManageExternalStorageState()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | PermissionTest30WithBluetooth.kt | 154 .setUidMode(appOp, packageManager.getPackageUid(packageName, 0), appOpMode) in setAppOp()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | HibernationSwitchPreference.kt | 148 appOpsManager.setUidMode( in isArchivingEnabled()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Permissions.java | 870 int mode, boolean setUidMode, @NonNull UserHandle user, @NonNull Context context) { in setAppOpModeAsUser() argument 883 if (setUidMode) { in setAppOpModeAsUser() 884 appOpsManager.setUidMode(appOp, applicationInfo.uid, mode); in setAppOpModeAsUser()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaGrantsAppOpStateTest.java | 196 sAppOpsManager.setUidMode(op, sTestAppUid, mode); in modifyAppOpAndPoll()
|
D | PermissionActivityTest.java | 497 getContext().getSystemService(AppOpsManager.class).setUidMode(op, uid, mode); in modifyAppOp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | UpdateInteractAcrossProfilesAppOpTask.java | 229 mAppOpsManager.setUidMode(OP_INTERACT_ACROSS_PROFILES, uid, mode); in setInteractAcrossProfilesAppOpForPackage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | FullScreenIntentPermissionPreferenceControllerTest.kt | 273 verify(appOpsManager).setUidMode(OP_USE_FULL_SCREEN_INTENT, TEST_UID, expectedMode) in verifySetAppOpMode()
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 144 () -> sContext.getSystemService(AppOpsManager.class).setUidMode(op, in setAppOpByName()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionGroupsViewModel.kt | 368 aom.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, lightPackageInfo.uid, mode) in <lambda>()
|
D | AppPermissionViewModel.kt | 1369 aom.setUidMode(OPSTR_MANAGE_EXTERNAL_STORAGE, uid, mode) in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 378 verify(aom).setUidMode(appOpName, TEST_UID, expectedMode) in verifyAppOpState() 380 verify(aom, never()).setUidMode(eq(appOpName), eq(TEST_UID), anyInt()) in verifyAppOpState()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | PermissionControllerTest.java | 163 sContext.getSystemService(AppOpsManager.class).setUidMode(permissionToOp(perm), in setAppOp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 680 getContext().getSystemService(AppOpsManager.class).setUidMode(op, uid, mode); in modifyAppOp()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 824 mAppOps.setUidMode(op, uid, mode);
|