Searched refs:protectionLevel (Results 1 – 15 of 15) sorted by relevance
90 int protectionLevel; field in BasePermission113 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in BasePermission()126 return protectionLevel; in getProtectionLevel()183 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isNormal()187 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntime()218 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) == in isSignature()223 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp()227 && (protectionLevel & PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0; in isDevelopment()230 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTALLER) != 0; in isInstaller()233 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0; in isInstant()[all …]
557 int protectionLevel, String packageName, int uid) { in adjustPermissionProtectionFlagsLocked() argument559 final int protectionLevelMasked = protectionLevel in adjustPermissionProtectionFlagsLocked()564 return protectionLevel; in adjustPermissionProtectionFlagsLocked()570 return protectionLevel; in adjustPermissionProtectionFlagsLocked()575 return protectionLevel; in adjustPermissionProtectionFlagsLocked()583 return protectionLevel; in adjustPermissionProtectionFlagsLocked()586 return protectionLevel; in adjustPermissionProtectionFlagsLocked()588 return protectionLevel; in adjustPermissionProtectionFlagsLocked()815 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addDynamicPermission()3155 @PermissionInfo.Protection int protectionLevel) { in getAllPermissionWithProtectionLevel()[all …]
201 @PermissionInfo.Protection int protectionLevel); in getAllPermissionWithProtectionLevel()
300 public int protectionLevel; field in PermissionInfo528 protectionLevel = orig.protectionLevel; in PermissionInfo()566 return protectionLevel & PROTECTION_MASK_BASE; in getProtection()574 return protectionLevel & ~PROTECTION_MASK_BASE; in getProtectionFlags()592 dest.writeInt(protectionLevel); in writeToParcel()630 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp()652 protectionLevel = source.readInt(); in PermissionInfo()
3236 perm.info.protectionLevel = sa.getInt( in parsePermission()3258 if (perm.info.protectionLevel == -1) { in parsePermission()3264 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission()3267 if ( (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission()3268 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) == 0 in parsePermission()3269 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission()3324 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
383 private void assertPermission(String name, String packageName, int protectionLevel, in assertPermission() argument387 assertEquals(protectionLevel, permission.info.protectionLevel); in assertPermission()
337 assertEquals(a.info.protectionLevel, b.info.protectionLevel); in assertPermissionsEqual()
201 android:protectionLevel="signature" />
2895 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions()2928 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
17516 if ((perm.info.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 017521 perm.info.protectionLevel &= ~PermissionInfo.PROTECTION_FLAG_INSTANT;17581 if ((perm.info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE)17587 perm.info.protectionLevel = bp.getProtectionLevel();
4697 pw.print(PermissionInfo.protectionToString(perm.info.protectionLevel)); in dumpPackageLPr()
933 if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE in isSignaturePerm()
5811 return (info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
11873 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...