Home
last modified time | relevance | path

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

/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java317 int protectionFlags = 0; in parsePermissionFlags() local
322 protectionFlags |= PermissionInfo.FLAG_REMOVED; in parsePermissionFlags()
325 protectionFlags |= PermissionInfo.FLAG_COSTS_MONEY; in parsePermissionFlags()
328 protectionFlags |= PermissionInfo.FLAG_HARD_RESTRICTED; in parsePermissionFlags()
331 protectionFlags |= PermissionInfo.FLAG_IMMUTABLY_RESTRICTED; in parsePermissionFlags()
334 protectionFlags |= PermissionInfo.FLAG_SOFT_RESTRICTED; in parsePermissionFlags()
338 return protectionFlags; in parsePermissionFlags()
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
DPermissionPolicyTest25.java49 final int protectionFlags = permissionInfo.protectionLevel & ~protectionLevel; in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() local
50 if (protectionLevel == PermissionInfo.PROTECTION_NORMAL && protectionFlags != 0) { in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
55 if (protectionLevel == PermissionInfo.PROTECTION_DANGEROUS && protectionFlags != 0) { in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()