Home
last modified time | relevance | path

Searched refs:PROTECTION_DANGEROUS (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt311 testEvaluatePermissionState(oldFlags, PermissionInfo.PROTECTION_DANGEROUS) {} in testEvaluatePermissionState_nonRuntimeFlagsOnRuntimePermissions_getsCleared()
329 PermissionInfo.PROTECTION_DANGEROUS, in testEvaluatePermissionState_newPermissionsForPreM_requiresUserReview()
350 PermissionInfo.PROTECTION_DANGEROUS, in testEvaluatePermissionState_legacyOrImplicitGrantedPreviouslyRevoked_getsAppOpRevoked()
372 testEvaluatePermissionState(oldFlags, PermissionInfo.PROTECTION_DANGEROUS) {} in testEvaluatePermissionState_legacyGrantedForPostM_userReviewRequirementRemoved()
389 testEvaluatePermissionState(oldFlags, PermissionInfo.PROTECTION_DANGEROUS) {} in testEvaluatePermissionState_legacyGrantedPermissionsAlreadyReviewedForPostM_getsGranted()
408 PermissionInfo.PROTECTION_DANGEROUS, in testEvaluatePermissionState_leanbackNotificationPermissionsForPostM_getsImplicitGranted()
435 PermissionInfo.PROTECTION_DANGEROUS, in testEvaluatePermissionState_implicitSourceFromNonRuntime_getsImplicitGranted()
469 testEvaluatePermissionState(oldFlags, PermissionInfo.PROTECTION_DANGEROUS) {} in testEvaluatePermissionState_noLongerLegacyOrImplicitGranted_canBeRequested()
486 testEvaluatePermissionState(oldFlags, PermissionInfo.PROTECTION_DANGEROUS) {} in testEvaluatePermissionState_noLongerImplicit_getsRuntimeAndImplicitFlagsRemoved()
505 PermissionInfo.PROTECTION_DANGEROUS, in testEvaluatePermissionState_noLongerImplicitNearbyWasGranted_getsRuntimeGranted()
[all …]
DAppIdPermissionPolicyPermissionDefinitionsTest.kt318 newProtectionLevel: Int = PermissionInfo.PROTECTION_DANGEROUS in testPermissionChanged()
324 protectionLevel = PermissionInfo.PROTECTION_DANGEROUS in testPermissionChanged()
427 protectionLevel = PermissionInfo.PROTECTION_DANGEROUS in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked()
563 protectionLevel = PermissionInfo.PROTECTION_DANGEROUS in testRevokePermissionsOnPackageUpdate()
DAppIdPermissionPolicyPermissionResetTest.kt64 protectionLevel = PermissionInfo.PROTECTION_DANGEROUS, in testResetRuntimePermissions()
DAppIdPermissionPolicyTest.kt245 protectionLevel = PermissionInfo.PROTECTION_DANGEROUS, in testOnPackageInstalled()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DPermissionInfoExtensions.kt22 get() = protection == PermissionInfo.PROTECTION_DANGEROUS
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java57 public static final int PROTECTION_DANGEROUS = 1; field in PermissionInfo
83 PROTECTION_DANGEROUS,
530 case PermissionInfo.PROTECTION_DANGEROUS: in protectionToString()
783 return getProtection() == PROTECTION_DANGEROUS; in isRuntime()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermission.kt57 get() = protection == PermissionInfo.PROTECTION_DANGEROUS in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermission.java61 PermissionInfo.PROTECTION_DANGEROUS,
223 == PermissionInfo.PROTECTION_DANGEROUS; in isRuntime()
DDefaultPermissionGrantPolicy.java1698 return pi.getProtection() == PermissionInfo.PROTECTION_DANGEROUS; in isPermissionDangerous()
DPermissionManagerServiceImpl.java2194 if ((newProtection & PermissionInfo.PROTECTION_DANGEROUS) != 0) {
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedPermissionUtils.java259 return getProtection(permission) == PermissionInfo.PROTECTION_DANGEROUS; in isRuntime()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java253 PermissionInfo.PROTECTION_DANGEROUS); in onStart()
830 PermissionInfo.PROTECTION_DANGEROUS); in PermissionToOpSynchroniser()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java1228 PermissionInfo.PROTECTION_DANGEROUS, in runListPermissions()
1229 PermissionInfo.PROTECTION_DANGEROUS); in runListPermissions()
1242 PermissionInfo.PROTECTION_DANGEROUS); in runListPermissions()
2736 if (pi.getProtection() != PermissionInfo.PROTECTION_DANGEROUS) { in getRequestedRuntimePermissions()
DInstantAppRegistry.java1050 && (permissionInfo.getProtection() == PermissionInfo.PROTECTION_DANGEROUS
DInstallPackageHelper.java1551 == PermissionInfo.PROTECTION_DANGEROUS) { in preparePackageLI()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java23 import static android.content.pm.PermissionInfo.PROTECTION_DANGEROUS;
899 if (permInfo.getProtection() == PROTECTION_DANGEROUS) { in initializePullersState()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java72 import static android.content.pm.PermissionInfo.PROTECTION_DANGEROUS;
4315 return permInfo.getProtection() == PROTECTION_DANGEROUS in shouldCollectNotes()
6942 if (permissionInfo.getProtection() == PROTECTION_DANGEROUS) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java16999 == PermissionInfo.PROTECTION_DANGEROUS;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8925 field public static final int PROTECTION_DANGEROUS = 1; // 0x1
/frameworks/base/core/api/
Dcurrent.txt13415 field public static final int PROTECTION_DANGEROUS = 1; // 0x1