/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 141 flags = pm.getPermissionFlags(permission, appInfo.packageName, user); in forPermission() 217 final int flags = context.getPackageManager().getPermissionFlags(permission, in forPermission()
|
D | PermissionPolicyService.java | 571 (mPackageManager.getPermissionFlags(permission, pkg.packageName, in addOpIfRestricted() 638 return bgPermInfo.isHardRestricted() && (mPackageManager.getPermissionFlags( in isBgPermRestricted() 675 int flags = mPackageManager.getPermissionFlags(bgPermissionName, in addOpIfFgPermissions()
|
/frameworks/base/test-mock/api/ |
D | test-current.txt | 17 method public int getPermissionFlags(String, String, android.os.UserHandle);
|
D | system-current.txt | 25 method public int getPermissionFlags(String, String, android.os.UserHandle);
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 1101 (origPermissions.getPermissionFlags(bp.name, userId) in restorePermissionState() 1103 boolean restrictionApplied = (origPermissions.getPermissionFlags( in restorePermissionState() 1236 (origPermissions.getPermissionFlags(bp.name, userId) in restorePermissionState() 1238 boolean restrictionApplied = (origPermissions.getPermissionFlags( in restorePermissionState() 1479 flags |= ps.getPermissionFlags(sourcePerm, userId); in inheritPermissionStateToNewImplicitPermissionLocked() 1482 flags |= ps.getPermissionFlags(sourcePerm, userId); in inheritPermissionStateToNewImplicitPermissionLocked() 2013 final int currentFlags = permissionsState.getPermissionFlags(permissionName, userId); in getWhitelistedRestrictedPermissions() 2062 final int flags = permissionsState.getPermissionFlags(permission, userId); in grantRequestedRuntimePermissionsForUser() 2130 final int flags = permissionsState.getPermissionFlags(permName, userId); in grantRuntimePermission() 2266 final int flags = permissionsState.getPermissionFlags(permName, userId); in revokeRuntimePermission() [all …]
|
D | PermissionManagerServiceInternal.java | 132 public abstract int getPermissionFlags(@NonNull String permName, in getPermissionFlags() method in PermissionManagerServiceInternal
|
D | PermissionsState.java | 402 public int getPermissionFlags(String name, int userId) { in getPermissionFlags() method in PermissionsState
|
D | DefaultPermissionGrantPolicy.java | 995 .getPermissionFlags(permission, packageName, user); in revokeRuntimePermissions() 1170 final int flags = mContext.getPackageManager().getPermissionFlags( in grantRuntimePermissions()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 113 final int permissionFlags = pm.getPermissionFlags(permission, packageName, user); in getAppList()
|
D | RecentLocationApps.java | 107 final int permissionFlags = pm.getPermissionFlags(permission, packageName, in getAppList()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 251 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in PackageManagerStub
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 265 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in BridgePackageManager
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 126 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() method
|
D | PackageManager.java | 4058 public abstract int getPermissionFlags(@NonNull String permissionName, in getPermissionFlags() method in PackageManager
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 287 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in MockPackageManager
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 1093 final int flags = mContext.getPackageManager().getPermissionFlags( in isPermissionUserUpdated()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 701 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in ApplicationPackageManager 703 return mPM.getPermissionFlags(permissionName, packageName, user.getIdentifier()); in getPermissionFlags()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 4126 .getPermissionFlags(permission, app1, UserHandle.SYSTEM); in testGetPermissionGrantState() 4127 when(getServices().packageManager.getPermissionFlags(permission, app1, in testGetPermissionGrantState() 4132 doReturn(0).when(getServices().packageManager).getPermissionFlags(permission, app2, in testGetPermissionGrantState() 4134 when(getServices().packageManager.getPermissionFlags(permission, app2, in testGetPermissionGrantState()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2004 pm.getPermissionFlags(permName, pkg.packageName, user); in pullDangerousPermissionState()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 5676 final int flags = getPermissionFlags(permission, packageName, userId); in isPermissionRevokedByPolicy() 5781 public int getPermissionFlags(String permName, String packageName, int userId) { 5782 return mPermissionManager.getPermissionFlags( 6082 flags = getPermissionFlags(permissionName, 19903 final int oldFlags = mPermissionManager.getPermissionFlags(permName, packageName, 24240 return PackageManagerService.this.getPermissionFlags(permName, packageName, userId);
|
/frameworks/base/api/ |
D | test-current.txt | 705 …"android.permission.GET_RUNTIME_PERMISSIONS"}) public abstract int getPermissionFlags(@NonNull Str…
|
D | system-current.txt | 1618 ….Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull Str…
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 11843 int permFlags = packageManager.getPermissionFlags(permission, packageName, user); in getPermissionGrantState()
|
/frameworks/base/services/ |
D | art-profile | 10970 HSPLcom/android/server/pm/PackageManagerService;->getPermissionFlags(Ljava/lang/String;Ljava/lang/S… 12057 …on/PermissionManagerService$PermissionManagerServiceInternalImpl;->getPermissionFlags(Ljava/lang/S… 12091 HSPLcom/android/server/pm/permission/PermissionManagerService;->getPermissionFlags(Ljava/lang/Strin… 12149 HSPLcom/android/server/pm/permission/PermissionsState;->getPermissionFlags(Ljava/lang/String;I)I
|