/frameworks/base/core/java/android/content/pm/ |
PermissionInfo.aidl | 20 parcelable PermissionInfo;
|
PermissionInfo.java | 28 public class PermissionInfo extends PackageItemInfo implements Parcelable { 121 * {@link PermissionInfo#loadDescription} instead. 137 case PermissionInfo.PROTECTION_DANGEROUS: 140 case PermissionInfo.PROTECTION_NORMAL: 143 case PermissionInfo.PROTECTION_SIGNATURE: 146 case PermissionInfo.PROTECTION_SIGNATURE_OR_SYSTEM: 150 if ((level&PermissionInfo.PROTECTION_FLAG_SYSTEM) != 0) { 153 if ((level&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0) { 159 public PermissionInfo() { 162 public PermissionInfo(PermissionInfo orig) [all...] |
IPackageManager.aidl | 39 import android.content.pm.PermissionInfo; 64 PermissionInfo getPermissionInfo(String name, int flags); 66 List<PermissionInfo> queryPermissionsByGroup(String group, int flags); 86 boolean addPermission(in PermissionInfo info); 391 boolean addPermissionAsync(in PermissionInfo info);
|
PackageInfo.java | 131 public PermissionInfo[] permissions; 304 permissions = source.createTypedArray(PermissionInfo.CREATOR);
|
PackageManager.java | [all...] |
PackageParser.java | 428 pi.permissions = new PermissionInfo[N]; [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PermissionInfoTest.java | 21 import android.content.pm.PermissionInfo; 37 new PermissionInfo(); 38 PermissionInfo permissionInfo = pm.getPermissionInfo(PERMISSION_NAME, 0); 39 PermissionInfo infoFromExisted = new PermissionInfo(permissionInfo); 40 checkInfoSame(permissionInfo, infoFromExisted); 43 assertNotNull(permissionInfo.toString()); 44 assertEquals(0, permissionInfo.describeContents()) [all...] |
PackageManagerTest.java | 30 import android.content.pm.PermissionInfo; 111 List<PermissionInfo> permissions = mPackageManager.queryPermissionsByGroup( 150 private void checkPermissionInfoName(String expectedName, List<PermissionInfo> permissions) { 152 Iterator<PermissionInfo> infoIterator = permissions.iterator(); 397 PermissionInfo permissionInfo = new PermissionInfo(); 399 permissionInfo.name = permissionName; 400 permissionInfo.labelRes = R.string.permlab_testDynamic; 401 permissionInfo.nonLocalizedLabel = "Test Tree" [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
BasePermission.java | 20 import android.content.pm.PermissionInfo; 41 PermissionInfo pendingInfo; 52 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE;
|
Settings.java | 52 import android.content.pm.PermissionInfo; [all...] |
PackageManagerService.java | 85 import android.content.pm.PermissionInfo; [all...] |
/external/chromium_org/chrome/browser/ui/website_settings/ |
website_settings_ui.h | 58 // |PermissionInfo| contains information about a single permission |type| for 60 struct PermissionInfo { 61 PermissionInfo(); 97 typedef std::vector<PermissionInfo> PermissionInfoList;
|
website_settings_ui.cc | 76 WebsiteSettingsUI::PermissionInfo::PermissionInfo()
|
website_settings.cc | 543 WebsiteSettingsUI::PermissionInfo permission_info;
|
/development/apps/Development/src/com/android/development/ |
PermissionDetails.java | 36 import android.content.pm.PermissionInfo; 157 private void getAppsUsingPerm(PermissionInfo pInfo) { 193 PermissionInfo pInfo = null; 241 if (protectionLevel == PermissionInfo.PROTECTION_NORMAL) { 243 } else if (protectionLevel == PermissionInfo.PROTECTION_DANGEROUS) { 245 } else if (protectionLevel == PermissionInfo.PROTECTION_SIGNATURE) { 247 } else if (protectionLevel == PermissionInfo.PROTECTION_SIGNATURE_OR_SYSTEM) {
|
/external/chromium_org/base/test/ |
test_file_util_win.cc | 26 struct PermissionInfo { 84 PermissionInfo* info = reinterpret_cast<PermissionInfo*>(new char[*length]); 101 PermissionInfo* perm = reinterpret_cast<PermissionInfo*>(info);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
GrantActivity.java | 24 import android.content.pm.PermissionInfo; 202 PermissionInfo pInfo = mPm.getPermissionInfo(permission, 0); 203 final int base = pInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; 204 if ((base != PermissionInfo.PROTECTION_NORMAL) 205 && (base != PermissionInfo.PROTECTION_DANGEROUS)) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 13 import android.content.pm.PermissionInfo; 46 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { 51 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) throws NameNotFoundException { 97 @Override public boolean addPermission(PermissionInfo info) { 101 @Override public boolean addPermissionAsync(PermissionInfo permissionInfo) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 23 import android.content.pm.PermissionInfo; 154 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo(
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 37 import android.content.pm.PermissionInfo; 95 public PermissionInfo getPermissionInfo(String name, int flags) 101 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) 170 public boolean addPermission(PermissionInfo info) { 175 public boolean addPermissionAsync(PermissionInfo info) {
|
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 29 import android.content.pm.PermissionInfo; 91 MyPermissionGroupInfo(PermissionInfo perm) { 115 private static class MyPermissionInfo extends PermissionInfo { 134 MyPermissionInfo(PermissionInfo info) { 367 PermissionInfo tmpPermInfo = mPm.getPermissionInfo(permName, 0); 524 (perm.flags & PermissionInfo.FLAG_COSTS_MONEY) != 0 550 private boolean isDisplayablePermission(PermissionInfo pInfo, int newReqFlags, 552 final int base = pInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; 553 final boolean isNormal = (base == PermissionInfo.PROTECTION_NORMAL); 554 final boolean isDangerous = (base == PermissionInfo.PROTECTION_DANGEROUS) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsDetails.java | 28 import android.content.pm.PermissionInfo; 127 PermissionInfo pi = mPm.getPermissionInfo(perm, 0);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 35 import android.content.pm.PermissionInfo; 560 PermissionInfo.PROTECTION_DANGEROUS, 561 PermissionInfo.PROTECTION_DANGEROUS); 566 PermissionInfo.PROTECTION_NORMAL, 567 PermissionInfo.PROTECTION_NORMAL); 573 PermissionInfo.PROTECTION_NORMAL, 574 PermissionInfo.PROTECTION_DANGEROUS); 630 List<PermissionInfo> ps = mPm.queryPermissionsByGroup( 635 PermissionInfo pi = ps.get(p); 639 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 40 import android.content.pm.PermissionInfo; 162 public PermissionInfo getPermissionInfo(String name, int flags) 165 PermissionInfo pi = mPM.getPermissionInfo(name, flags); 177 public List<PermissionInfo> queryPermissionsByGroup(String group, int flags) 180 List<PermissionInfo> pi = mPM.queryPermissionsByGroup(group, flags); 327 public boolean addPermission(PermissionInfo info) { 336 public boolean addPermissionAsync(PermissionInfo info) { [all...] |
/prebuilts/devtools/tools/lib/ |
osgi-4.0.0.jar | |