Home
last modified time | relevance | path

Searched refs:getPermissionInfo (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java157 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData()
161 pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java147 public abstract @Nullable PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo() method in PermissionManagerServiceInternal
DDefaultPermissionGrantPolicy.java1059 return mContext.getPackageManager().getPermissionInfo(permission, in getBackgroundPermission()
1560 return mContext.getPackageManager().getPermissionInfo(name, 0).isRestricted(); in isPermissionRestricted()
1568 final PermissionInfo pi = mContext.getPackageManager().getPermissionInfo(name, 0); in isPermissionDangerous()
DPermissionManagerService.java520 private PermissionInfo getPermissionInfo(String permName, String packageName, int flags, in getPermissionInfo() method in PermissionManagerService
3195 public PermissionInfo getPermissionInfo(String permName, String packageName, int flags, in getPermissionInfo() method in PermissionManagerService.PermissionManagerServiceInternalImpl
3197 return PermissionManagerService.this.getPermissionInfo( in getPermissionInfo()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java631 final PermissionInfo bgPermInfo = mPackageManager.getPermissionInfo(perm, 0); in isBgPermRestricted()
732 permissionInfo = mPackageManager.getPermissionInfo(permission, 0); in addPackage()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl82 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() method
DPackageManager.java3638 public abstract PermissionInfo getPermissionInfo(@NonNull String permissionName, in getPermissionInfo() method in PackageManager
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java144 public PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() method in BridgePackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java125 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() method in PackageManagerStub
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java147 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() method in MockPackageManager
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java626 PermissionInfo pi = pm.getPermissionInfo(cmd, 0); in assertPermissions()
645 pm.getPermissionInfo(cmd, 0); in assertPermissions()
/frameworks/base/test-mock/api/
Dcurrent.txt246 …method @Deprecated public android.content.pm.PermissionInfo getPermissionInfo(String, int) throws …
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java315 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() method in ApplicationPackageManager
318 PermissionInfo pi = mPM.getPermissionInfo(name, in getPermissionInfo()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java932 PermissionInfo pi = pm.getPermissionInfo(perms[i], "android", 0); in isSignaturePerm()
DActivityManagerService.java5847 .getPermissionInfo(permission, 0); in isRuntimePermission()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2042 permissionInfo = pm.getPermissionInfo(permName, 0); in pullDangerousPermissionState()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3927 PermissionInfo sysUiPerm = pm.getPermissionInfo(SYSTEM_UI_SELF_PERMISSION, 0); in getSystemUiUid()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4542 public PermissionInfo getPermissionInfo(String name, String packageName, int flags) {
4543 return mPermissionManager.getPermissionInfo(name, packageName, flags, getCallingUid());
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11884 PermissionInfo permissionInfo = packageManager.getPermissionInfo(permissionName, 0); in isRuntimePermission()
/frameworks/base/services/
Dart-profile10972 HSPLcom/android/server/pm/PackageManagerService;->getPermissionInfo(Ljava/lang/String;Ljava/lang/St…
12059 …ion/PermissionManagerService$PermissionManagerServiceInternalImpl;->getPermissionInfo(Ljava/lang/S…
12093 HSPLcom/android/server/pm/permission/PermissionManagerService;->getPermissionInfo(Ljava/lang/String…
/frameworks/base/config/
Dboot-image-profile.txt1082 HSPLandroid/app/ApplicationPackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/…
4116 HSPLandroid/content/pm/IPackageManager$Stub$Proxy;->getPermissionInfo(Ljava/lang/String;Ljava/lang/…
Dhiddenapi-greylist-max-o.txt14492 Landroid/content/pm/IPackageManager$Stub$Proxy;->getPermissionInfo(Ljava/lang/String;Ljava/lang/Str…
14844 Landroid/content/pm/IPackageManager;->getPermissionInfo(Ljava/lang/String;Ljava/lang/String;I)Landr…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8731 …method public abstract android.content.pm.PermissionInfo getPermissionInfo(java.lang.String, int) …
29372 …method public android.content.pm.PermissionInfo getPermissionInfo(java.lang.String, int) throws an…
/frameworks/base/non-updatable-api/
Dcurrent.txt11619 …method public abstract android.content.pm.PermissionInfo getPermissionInfo(@NonNull String, int) t…
/frameworks/base/api/
Dcurrent.txt11619 …method public abstract android.content.pm.PermissionInfo getPermissionInfo(@NonNull String, int) t…