Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/policy/
DSoftRestrictedPermissionPolicy.java141 flags = pm.getPermissionFlags(permission, appInfo.packageName, user); in forPermission()
217 final int flags = context.getPackageManager().getPermissionFlags(permission, in forPermission()
DPermissionPolicyService.java571 (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/
Dtest-current.txt17 method public int getPermissionFlags(String, String, android.os.UserHandle);
Dsystem-current.txt25 method public int getPermissionFlags(String, String, android.os.UserHandle);
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1104 (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 …]
DPermissionManagerServiceInternal.java132 public abstract int getPermissionFlags(@NonNull String permName, in getPermissionFlags() method in PermissionManagerServiceInternal
DPermissionsState.java402 public int getPermissionFlags(String name, int userId) { in getPermissionFlags() method in PermissionsState
DDefaultPermissionGrantPolicy.java1000 .getPermissionFlags(permission, packageName, user); in revokeRuntimePermissions()
1175 final int flags = mContext.getPackageManager().getPermissionFlags( in grantRuntimePermissions()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java113 final int permissionFlags = pm.getPermissionFlags(permission, packageName, user); in getAppList()
DRecentLocationApps.java111 final int permissionFlags = pm.getPermissionFlags(permission, packageName, in getAppList()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl127 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() method
DPackageManager.java4116 public abstract int getPermissionFlags(@NonNull String permissionName, in getPermissionFlags() method in PackageManager
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java265 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/
DPackageManagerStub.java251 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in PackageManagerStub
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java287 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java1093 final int flags = mContext.getPackageManager().getPermissionFlags( in isPermissionUserUpdated()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java701 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/
DDevicePolicyManagerTest.java4153 .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/
DStatsCompanionService.java2044 pm.getPermissionFlags(permName, pkg.packageName, user); in pullDangerousPermissionState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java5601 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/
Dtest-lint-baseline.txt2711 UserHandle: android.content.pm.PackageManager#getPermissionFlags(String, String, android.os.UserHan…
Dtest-current.txt717 …"android.permission.GET_RUNTIME_PERMISSIONS"}) public abstract int getPermissionFlags(@NonNull Str…
Dsystem-current.txt1804 ….Manifest.permission.GET_RUNTIME_PERMISSIONS}) public abstract int getPermissionFlags(@NonNull Str…
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11855 int permFlags = packageManager.getPermissionFlags(permission, packageName, user); in getPermissionGrantState()
/frameworks/base/services/
Dart-profile10970 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

12