Searched refs:MODE_FOREGROUND (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | FullStoragePermissionAppsLiveData.kt | 24 import android.app.AppOpsManager.MODE_FOREGROUND 111 val granted = mode == MODE_ALLOWED || mode == MODE_FOREGROUND || in getFullStorageStateForPackage()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 23 import android.app.AppOpsManager.MODE_FOREGROUND 388 expectedMode = MODE_FOREGROUND) in grantTwoPermTest() 468 verifyAppOpState(appOpName = OP_NAME, expectAppOpSet = true, expectedMode = MODE_FOREGROUND) in grantBgAndFgPermTest() 537 verifyAppOpState(appOpName = OP_NAME, expectAppOpSet = true, expectedMode = MODE_FOREGROUND) in grantBgSystemFixedTest() 813 verifyAppOpState(appOpName = OP_NAME, expectAppOpSet = true, expectedMode = MODE_FOREGROUND) in revokeBgPermTest() 840 verifyAppOpState(appOpName = OP_NAME, expectAppOpSet = true, expectedMode = MODE_FOREGROUND) in revokeBgAndFgPermTest()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | Permissions.java | 306 return appOpMode == AppOpsManager.MODE_FOREGROUND in isPermissionAndAppOpGranted() 353 appOpMode = AppOpsManager.MODE_FOREGROUND; in grantPermissionAndAppOp() 524 && (appOpMode == AppOpsManager.MODE_FOREGROUND in revokePermissionAndAppOp() 551 AppOpsManager.MODE_FOREGROUND, context); in revokePermissionAndAppOp()
|
D | RoleParser.java | 111 sModeNameToMode.put(MODE_NAME_FOREGROUND, AppOpsManager.MODE_FOREGROUND); in sModeNameToMode.put() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 22 import static android.app.AppOpsManager.MODE_FOREGROUND; 333 appOpAllowed = appOpsMode == MODE_ALLOWED || appOpsMode == MODE_FOREGROUND; in create() 814 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); 819 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); 1017 MODE_FOREGROUND);
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 25 import android.app.AppOpsManager.MODE_FOREGROUND in <lambda>() 888 else MODE_FOREGROUND in <lambda>() 895 setOpMode(appOpName, uid, packageName, MODE_FOREGROUND, appOpsManager) in <lambda>() 941 MODE_FOREGROUND, appOpsManager) in <lambda>()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 463 case AppOpsManager.MODE_FOREGROUND: in checkAppOpPermission() 491 case AppOpsManager.MODE_FOREGROUND: in checkRuntimePermission()
|