Home
last modified time | relevance | path

Searched refs:protectionFlags (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/PermissionPolicyApp25/src/android/permissionui/cts/permissionpolicy/
DTestProtectionFlagsActivity.kt50 val protectionFlags = permissionInfo.protectionLevel and protection.inv() in <lambda>() constant
53 protection == PermissionInfo.PROTECTION_DANGEROUS) && protectionFlags != 0 in <lambda>()
79 private fun protectionFlagsToString(protectionFlags: Int): String { in <lambda>()
80 var unknownProtectionFlags = protectionFlags in <lambda>()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DPermissionPolicyTest.java382 int protectionFlags = 0; in parsePermissionFlags() local
387 protectionFlags |= PermissionInfo.FLAG_REMOVED; in parsePermissionFlags()
390 protectionFlags |= PermissionInfo.FLAG_COSTS_MONEY; in parsePermissionFlags()
393 protectionFlags |= PermissionInfo.FLAG_HARD_RESTRICTED; in parsePermissionFlags()
396 protectionFlags |= PermissionInfo.FLAG_IMMUTABLY_RESTRICTED; in parsePermissionFlags()
399 protectionFlags |= PermissionInfo.FLAG_SOFT_RESTRICTED; in parsePermissionFlags()
403 return protectionFlags; in parsePermissionFlags()
DRuntimePermissionProperties.kt100 .filter { (it.protectionFlags and PROTECTION_FLAG_APPOP) != 0 } in allAppOpPermissionNeedAnAppOp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermInfo.kt40 val protectionFlags: Int, constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermInfo
51 permInfo.protectionFlags,
DLightPermission.kt73 val isInstantPerm = permInfo.protectionFlags and PermissionInfo.PROTECTION_FLAG_INSTANT != 0
91 permInfo.protectionFlags and PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY != 0
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackagePermissionsLiveData.kt77 permInfo.protectionFlags and PermissionInfo.PROTECTION_FLAG_INSTANT == 0 in loadDataAndPostValue()
84 (permInfo.protectionFlags and in loadDataAndPostValue()
DAppPermGroupUiInfoLiveData.kt178 permissionInfo.protectionFlags and PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY == 0 in <lambda>()
183 if (permissionInfo.protectionFlags and PermissionInfo.PROTECTION_FLAG_INSTANT != 0) { in <lambda>()