Home
last modified time | relevance | path

Searched refs:getPermissionInfo (Results 1 – 21 of 21) 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.java1054 return mContext.getPackageManager().getPermissionInfo(permission, in getBackgroundPermission()
1556 return mContext.getPackageManager().getPermissionInfo(name, 0).isRestricted(); in isPermissionRestricted()
1564 final PermissionInfo pi = mContext.getPackageManager().getPermissionInfo(name, 0); in isPermissionDangerous()
DPermissionManagerService.java519 private PermissionInfo getPermissionInfo(String permName, String packageName, int flags, in getPermissionInfo() method in PermissionManagerService
3128 public PermissionInfo getPermissionInfo(String permName, String packageName, int flags, in getPermissionInfo() method in PermissionManagerService.PermissionManagerServiceInternalImpl
3130 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/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java125 public PermissionInfo getPermissionInfo(String name, int flags) in getPermissionInfo() method in PackageManagerStub
/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/core/java/android/content/pm/
DIPackageManager.aidl81 PermissionInfo getPermissionInfo(String name, String packageName, int flags); in getPermissionInfo() method
DPackageManager.java3581 public abstract PermissionInfo getPermissionInfo(@NonNull String permissionName, in getPermissionInfo() method in PackageManager
/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.java927 PermissionInfo pi = pm.getPermissionInfo(perms[i], "android", 0); in isSignaturePerm()
DActivityManagerService.java5810 .getPermissionInfo(permission, 0); in isRuntimePermission()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2002 permissionInfo = pm.getPermissionInfo(permName, 0); in pullDangerousPermissionState()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3930 PermissionInfo sysUiPerm = pm.getPermissionInfo(SYSTEM_UI_SELF_PERMISSION, 0); in getSystemUiUid()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4617 public PermissionInfo getPermissionInfo(String name, String packageName, int flags) { in getPermissionInfo() method
4618 return mPermissionManager.getPermissionInfo(name, packageName, flags, getCallingUid()); in getPermissionInfo()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11872 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...