Home
last modified time | relevance | path

Searched refs:setUidMode (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DManageExternalStorageDetailsTest.java107 .setUidMode(anyInt(), anyInt(), anyInt()); in onPreferenceChange_enableManageExternalStorage_shouldTriggerAppOpsManager()
141 .setUidMode(anyInt(), anyInt(), anyInt()); in onPreferenceChange_disableManageExternalStorage_shouldTriggerAppOpsManager()
178 .setUidMode(anyInt(), anyInt(), anyInt()); in mockAppOpsOperations()
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissions.java791 int mode, boolean setUidMode, @NonNull Context context) { in setAppOpMode() argument
803 if (setUidMode) { in setAppOpMode()
804 appOpsManager.setUidMode(appOp, applicationInfo.uid, mode); in setAppOpMode()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DManageExternalStorageDetails.java112 mAppOpsManager.setUidMode(AppOpsManager.OP_MANAGE_EXTERNAL_STORAGE, in setManageExternalStorageState()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionGroupsViewModel.kt200 aom.setUidMode(OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, uid, mode) in <lambda>()
DAppPermissionViewModel.kt656 aom.setUidMode(OPSTR_MANAGE_EXTERNAL_STORAGE, uid, mode) in <lambda>()
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt317 verify(aom).setUidMode(appOpName, TEST_UID, expectedMode) in verifyAppOpState()
319 verify(aom, never()).setUidMode(eq(appOpName), eq(TEST_UID), anyInt()) in verifyAppOpState()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt830 manager.setUidMode(op, uid, mode) in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java765 mAppOps.setUidMode(op, uid, mode);