/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 | 1104 (origPermissions.getPermissionFlags(bp.name, userId) in restorePermissionState() 1106 boolean restrictionApplied = (origPermissions.getPermissionFlags( in restorePermissionState() 1239 (origPermissions.getPermissionFlags(bp.name, userId) in restorePermissionState() 1241 boolean restrictionApplied = (origPermissions.getPermissionFlags( in restorePermissionState() 1482 flags |= ps.getPermissionFlags(sourcePerm, userId); in inheritPermissionStateToNewImplicitPermissionLocked() 1485 flags |= ps.getPermissionFlags(sourcePerm, userId); in inheritPermissionStateToNewImplicitPermissionLocked() 2031 final int currentFlags = permissionsState.getPermissionFlags(permissionName, userId); in getWhitelistedRestrictedPermissions() 2070 final int flags = permissionsState.getPermissionFlags(permission, userId); in grantRequestedRuntimePermissionsForUser() 2139 final int flags = permissionsState.getPermissionFlags(permName, userId); in grantRuntimePermission() 2276 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 | 1000 .getPermissionFlags(permission, packageName, user); in revokeRuntimePermissions() 1175 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 | 111 final int permissionFlags = pm.getPermissionFlags(permission, packageName, in getAppList()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 127 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() method
|
D | PackageManager.java | 4116 public abstract int getPermissionFlags(@NonNull String permissionName, in getPermissionFlags() method in PackageManager
|
/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/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/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 | 4153 .getPermissionFlags(permission, app1, UserHandle.SYSTEM); in testGetPermissionGrantState() 4154 when(getServices().packageManager.getPermissionFlags(permission, app1, in testGetPermissionGrantState() 4159 doReturn(0).when(getServices().packageManager).getPermissionFlags(permission, app2, in testGetPermissionGrantState() 4161 when(getServices().packageManager.getPermissionFlags(permission, app2, in testGetPermissionGrantState()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2044 pm.getPermissionFlags(permName, pkg.packageName, user); in pullDangerousPermissionState()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 5601 final int flags = getPermissionFlags(permission, packageName, userId); 5706 public int getPermissionFlags(String permName, String packageName, int userId) { 5707 return mPermissionManager.getPermissionFlags( 6007 flags = getPermissionFlags(permissionName, 19360 final int oldFlags = mPermissionManager.getPermissionFlags(permName, packageName, 23785 return PackageManagerService.this.getPermissionFlags(permName, packageName, userId);
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 2711 UserHandle: android.content.pm.PackageManager#getPermissionFlags(String, String, android.os.UserHan…
|
D | test-current.txt | 717 …"android.permission.GET_RUNTIME_PERMISSIONS"}) public abstract int getPermissionFlags(@NonNull Str…
|
D | system-current.txt | 1804 ….Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull Str…
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 11855 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
|