/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 28 public class PermissionInfo extends PackageItemInfo implements Parcelable { class 144 case PermissionInfo.PROTECTION_DANGEROUS: in protectionToString() 147 case PermissionInfo.PROTECTION_NORMAL: in protectionToString() 150 case PermissionInfo.PROTECTION_SIGNATURE: in protectionToString() 153 case PermissionInfo.PROTECTION_SIGNATURE_OR_SYSTEM: in protectionToString() 157 if ((level&PermissionInfo.PROTECTION_FLAG_SYSTEM) != 0) { in protectionToString() 160 if ((level&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0) { in protectionToString() 163 if ((level&PermissionInfo.PROTECTION_FLAG_APPOP) != 0) { in protectionToString() 169 public PermissionInfo() { in PermissionInfo() method in PermissionInfo 172 public PermissionInfo(PermissionInfo orig) { in PermissionInfo() method in PermissionInfo [all …]
|
D | IPackageManager.aidl | 42 import android.content.pm.PermissionInfo; 67 PermissionInfo getPermissionInfo(String name, int flags); in getPermissionInfo() 69 List<PermissionInfo> queryPermissionsByGroup(String group, int flags); in queryPermissionsByGroup() 92 boolean addPermission(in PermissionInfo info); in addPermission() 425 boolean addPermissionAsync(in PermissionInfo info); in addPermissionAsync()
|
D | PermissionInfo.aidl | 20 parcelable PermissionInfo;
|
D | PackageInfo.java | 152 public PermissionInfo[] permissions; 361 permissions = source.createTypedArray(PermissionInfo.CREATOR); in PackageInfo()
|
D | PackageManager.java | 1829 public abstract PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() 1847 public abstract List<PermissionInfo> queryPermissionsByGroup(String group, in queryPermissionsByGroup() 2155 public abstract boolean addPermission(PermissionInfo info); in addPermission() 2164 public abstract boolean addPermissionAsync(PermissionInfo info); in addPermissionAsync()
|
D | PackageParser.java | 559 pi.permissions = new PermissionInfo[N]; in generatePackageInfo() 2248 PermissionInfo.PROTECTION_NORMAL); in parsePermission() 2261 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission() 2263 if ((perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_FLAGS) != 0) { in parsePermission() 2264 if ((perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 2265 PermissionInfo.PROTECTION_SIGNATURE) { in parsePermission() 2318 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree() 4552 public final PermissionInfo info; 4558 info = new PermissionInfo(); in Permission() 4561 public Permission(Package _owner, PermissionInfo _info) { in Permission() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BasePermission.java | 20 import android.content.pm.PermissionInfo; 41 PermissionInfo pendingInfo; 52 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in BasePermission()
|
D | PackageManagerService.java | 127 import android.content.pm.PermissionInfo; 2022 static final PermissionInfo generatePermissionInfo( in generatePermissionInfo() 2027 PermissionInfo pi = new PermissionInfo(); in generatePermissionInfo() 2036 public PermissionInfo getPermissionInfo(String name, int flags) { in getPermissionInfo() 2048 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) { in queryPermissionsByGroup() 2051 ArrayList<PermissionInfo> out = new ArrayList<PermissionInfo>(10); in queryPermissionsByGroup() 2492 static boolean comparePermissionInfos(PermissionInfo pi1, PermissionInfo pi2) { in comparePermissionInfos() 2508 int permissionInfoFootprint(PermissionInfo info) { in permissionInfoFootprint() 2525 void enforcePermissionCapLocked(PermissionInfo info, BasePermission tree) { in enforcePermissionCapLocked() 2536 boolean addPermissionLocked(PermissionInfo info, boolean async) { in addPermissionLocked() [all …]
|
D | Settings.java | 61 import android.content.pm.PermissionInfo; 1909 if (bp.protectionLevel != PermissionInfo.PROTECTION_NORMAL) { in writePermissionLPr() 1916 final PermissionInfo pi = bp.perm != null ? bp.perm.info : bp.pendingInfo; in writePermissionLPr() 2542 PermissionInfo.PROTECTION_NORMAL); in readPermissionsLPw() 2543 bp.protectionLevel = PermissionInfo.fixProtectionLevel(bp.protectionLevel); in readPermissionsLPw() 2545 PermissionInfo pi = new PermissionInfo(); in readPermissionsLPw() 3610 pw.println(PermissionInfo.protectionToString(p.protectionLevel)); in dumpPermissionsLPr()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 29 import android.content.pm.PermissionInfo; 91 MyPermissionGroupInfo(PermissionInfo perm) { in MyPermissionGroupInfo() 115 private static class MyPermissionInfo extends PermissionInfo { 134 MyPermissionInfo(PermissionInfo info) { in MyPermissionInfo() 367 PermissionInfo tmpPermInfo = mPm.getPermissionInfo(permName, 0); in extractPerms() 524 (perm.flags & PermissionInfo.FLAG_COSTS_MONEY) != 0 in getPermissionItemView() 550 private boolean isDisplayablePermission(PermissionInfo pInfo, int newReqFlags, in isDisplayablePermission() 552 final int base = pInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in isDisplayablePermission() 553 final boolean isNormal = (base == PermissionInfo.PROTECTION_NORMAL); in isDisplayablePermission() 554 final boolean isDangerous = (base == PermissionInfo.PROTECTION_DANGEROUS); in isDisplayablePermission() [all …]
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 41 import android.content.pm.PermissionInfo; 103 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() 109 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() 178 public boolean addPermission(PermissionInfo info) { in addPermission() 183 public boolean addPermissionAsync(PermissionInfo info) { in addPermissionAsync()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 23 import android.content.pm.PermissionInfo; 154 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 42 import android.content.pm.PermissionInfo; 605 PermissionInfo.PROTECTION_DANGEROUS, in runListPermissions() 606 PermissionInfo.PROTECTION_DANGEROUS); in runListPermissions() 611 PermissionInfo.PROTECTION_NORMAL, in runListPermissions() 612 PermissionInfo.PROTECTION_NORMAL); in runListPermissions() 618 PermissionInfo.PROTECTION_NORMAL, in runListPermissions() 619 PermissionInfo.PROTECTION_DANGEROUS); in runListPermissions() 677 List<PermissionInfo> ps = mPm.queryPermissionsByGroup( in doListPermissions() 682 PermissionInfo pi = ps.get(p); in doListPermissions() 686 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 44 import android.content.pm.PermissionInfo; 212 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() 215 PermissionInfo pi = mPM.getPermissionInfo(name, flags); in getPermissionInfo() 227 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) in queryPermissionsByGroup() 230 List<PermissionInfo> pi = mPM.queryPermissionsByGroup(group, flags); in queryPermissionsByGroup() 399 public boolean addPermission(PermissionInfo info) { in addPermission() 408 public boolean addPermissionAsync(PermissionInfo info) { in addPermissionAsync()
|
/frameworks/base/docs/html/sdk/api_diff/16/ |
D | missingSinces.txt | 574 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_FLAG_DEVELOPMENT 575 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_FLAG_SYSTEM 576 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_MASK_BASE 577 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_MASK_FLAGS
|
/frameworks/base/docs/html/sdk/api_diff/17/ |
D | missingSinces.txt | 230 NO DOC BLOCK: android.content.pm.PermissionInfo Field FLAG_COSTS_MONEY 241 NO DOC BLOCK: android.content.pm.PermissionInfo Field flags
|
/frameworks/base/docs/html/sdk/api_diff/8/ |
D | missingSinces.txt | 67 …OCK: android.content.pm.PackageManager Method addPermissionAsync(android.content.pm.PermissionInfo) 68 …: android.test.mock.MockPackageManager Method addPermissionAsync(android.content.pm.PermissionInfo)
|
/frameworks/base/ |
D | preloaded-classes | 27 [Landroid.content.pm.PermissionInfo; 509 android.content.pm.PermissionInfo 510 android.content.pm.PermissionInfo$1
|
D | Android.mk | 561 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 647 PermissionInfo pi = pm.getPermissionInfo(cmd, 0); in assertPermissions()
|
/frameworks/base/docs/html/sdk/api_diff/preview-21/ |
D | missingSinces.txt | 1141 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_FLAG_APPOP
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 1753 NO DOC BLOCK: android.content.pm.PermissionInfo Field PROTECTION_FLAG_APPOP
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 1834 http://developer.android.com/reference/android/content/pm/PermissionInfo.html 4423 http://developer.android.com/sdk/api_diff/17/changes/android.content.pm.PermissionInfo.html 5552 http://developer.android.com/sdk/api_diff/16/changes/android.content.pm.PermissionInfo.html
|
/frameworks/base/api/ |
D | system-current.txt | 8832 field public android.content.pm.PermissionInfo[] permissions; 8960 method public abstract boolean addPermission(android.content.pm.PermissionInfo); 8961 method public abstract boolean addPermissionAsync(android.content.pm.PermissionInfo); 9004 …method public abstract android.content.pm.PermissionInfo getPermissionInfo(java.lang.String, int) … 9029 …method public abstract java.util.List<android.content.pm.PermissionInfo> queryPermissionsByGroup(j… 9226 …public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parce… 9227 ctor public PermissionInfo(); 9228 ctor public PermissionInfo(android.content.pm.PermissionInfo); 9231 …field public static final android.os.Parcelable.Creator<android.content.pm.PermissionInfo> CREATOR; 31564 method public boolean addPermission(android.content.pm.PermissionInfo); [all …]
|
D | current.txt | 8561 field public android.content.pm.PermissionInfo[] permissions; 8689 method public abstract boolean addPermission(android.content.pm.PermissionInfo); 8690 method public abstract boolean addPermissionAsync(android.content.pm.PermissionInfo); 8733 …method public abstract android.content.pm.PermissionInfo getPermissionInfo(java.lang.String, int) … 8758 …method public abstract java.util.List<android.content.pm.PermissionInfo> queryPermissionsByGroup(j… 8920 …public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parce… 8921 ctor public PermissionInfo(); 8922 ctor public PermissionInfo(android.content.pm.PermissionInfo); 8925 …field public static final android.os.Parcelable.Creator<android.content.pm.PermissionInfo> CREATOR; 29331 method public boolean addPermission(android.content.pm.PermissionInfo); [all …]
|