Home
last modified time | relevance | path

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

12

/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/
DLegacyPermissionSettings.java88 mPermissions.put(permission.getPermissionInfo().name, permission); in replacePermissions()
99 mPermissionTrees.put(permissionTree.getPermissionInfo().name, permissionTree); in replacePermissionTrees()
DDefaultPermissionGrantPolicy.java276 public @Nullable PermissionInfo getPermissionInfo(@NonNull String permissionName) {
282 return mContext.getPackageManager().getPermissionInfo(permissionName, 0);
389 final PermissionInfo perm = pm.getPermissionInfo(permission); in grantRuntimePermissionsForSystemPackage()
1566 abstract @Nullable PermissionInfo getPermissionInfo(@NonNull String permissionName); in getPermissionInfo() method in DefaultPermissionGrantPolicy.PackageManagerWrapper
1579 PermissionInfo pi = getPermissionInfo(name); in isPermissionRestricted()
1588 PermissionInfo pi = getPermissionInfo(name); in isPermissionDangerous()
1605 PermissionInfo pi = getPermissionInfo(permission); in getBackgroundPermission()
1775 public @Nullable PermissionInfo getPermissionInfo(@NonNull String permissionName) { in getPermissionInfo() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache
1781 PermissionInfo pi = NO_PM_CACHE.getPermissionInfo(permissionName); in getPermissionInfo()
DLegacyPermission.java118 public PermissionInfo getPermissionInfo() { in getPermissionInfo() method in LegacyPermission
DPermission.java109 public PermissionInfo getPermissionInfo() { in getPermissionInfo() method in Permission
DPermissionManagerService.java576 public PermissionInfo getPermissionInfo(@NonNull String permName, @NonNull String opPackageName, in getPermissionInfo() method in PermissionManagerService
2214 PermissionInfo permInfo = getPermissionInfo( in revokeStoragePermissionsIfScopeExpandedInternal()
4739 legacyPermission.getPermissionInfo(), legacyPermission.getType());
4773 permission.getPermissionInfo(), permission.getType(), 0,
4948 permission.getPermissionInfo(), permission.getType(), permission.getUid(),
5679 permissionInfo = context.getPackageManager().getPermissionInfo(permission, 0);
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl37 PermissionInfo getPermissionInfo(String permissionName, String packageName, int flags); in getPermissionInfo() method
DPermissionManager.java178 public PermissionInfo getPermissionInfo(@NonNull String permissionName, in getPermissionInfo() method in PermissionManager
182 return mPermissionManager.getPermissionInfo(permissionName, packageName, flags); in getPermissionInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java416 when(mPackageManager.getPermissionInfo(anyString(), anyInt())) in startAnyActivityAsUser_profile_notExported()
/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/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java145 public PermissionInfo getPermissionInfo(@NonNull String permName, int flags) in getPermissionInfo() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java645 .getPermissionInfo(backgroundNonRuntimePermission, 0); in PermissionToOpSynchroniser()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java632 PermissionInfo pi = pm.getPermissionInfo(cmd, 0); in assertPermissions()
651 pm.getPermissionInfo(cmd, 0); in assertPermissions()
/frameworks/base/test-mock/api/
Dcurrent.txt247 …method @Deprecated public android.content.pm.PermissionInfo getPermissionInfo(String, int) throws …
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java1021 final PermissionInfo permissionInfo = permissionManager.getPermissionInfo(permissionName,
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java385 public PermissionInfo getPermissionInfo(String permName, int flags) in getPermissionInfo() method in ApplicationPackageManager
387 final PermissionInfo permissionInfo = getPermissionManager().getPermissionInfo(permName, in getPermissionInfo()
DActivityThread.java7900 PermissionInfo pi = getPermissionManager().getPermissionInfo(permission, in isProtectedComponent()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java817 permInfo = pm.getPermissionInfo(perm, 0); in initializePullersState()
3300 permissionInfo = pm.getPermissionInfo(permName, 0);
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java965 PermissionInfo pi = pm.getPermissionInfo(perms[i], "android", 0); in isSignaturePerm()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2687 permissionInfo = packageManager.getPermissionInfo(permissionName, 0); in updatePermissionRevokedCompat()
4321 permInfo = mContext.getPackageManager().getPermissionInfo(perm, 0); in shouldCollectNotes()
6996 permissionInfo = mContext.getPackageManager().getPermissionInfo(permission, 0);
/frameworks/base/core/java/android/content/pm/
DPackageManager.java4611 public abstract PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo() method in PackageManager
/frameworks/base/services/
Dart-profile-boot369 Lcom/android/server/pm/permission/PermissionManagerService;->getPermissionInfo(Ljava/lang/String;Lj…
/frameworks/base/config/
Dboot-profile.txt828 Landroid/app/ApplicationPackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/pm/…

12