/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionSettings.java | 87 public @Nullable BasePermission getPermission(@NonNull String permName) { in getPermission() 93 public void addAppOpPackage(String permName, String packageName) { in addAppOpPackage() 117 public boolean canPropagatePermissionToInstantApp(String permName) { in canPropagatePermissionToInstantApp() 201 @Nullable BasePermission getPermissionLocked(@NonNull String permName) { in getPermissionLocked() 206 @Nullable BasePermission getPermissionTreeLocked(@NonNull String permName) { in getPermissionTreeLocked() 211 void putPermissionLocked(@NonNull String permName, @NonNull BasePermission permission) { in putPermissionLocked() 216 void putPermissionTreeLocked(@NonNull String permName, @NonNull BasePermission permission) { in putPermissionTreeLocked() 221 void removePermissionLocked(@NonNull String permName) { in removePermissionLocked() 226 void removePermissionTreeLocked(@NonNull String permName) { in removePermissionTreeLocked() 245 @Nullable BasePermission enforcePermissionTree(@NonNull String permName, int callingUid) { in enforcePermissionTree() [all …]
|
D | PermissionManagerServiceInternal.java | 72 public abstract void grantRuntimePermission( in grantRuntimePermission() 90 public abstract void revokeRuntimePermission(@NonNull String permName, in revokeRuntimePermission() 127 public abstract void removeDynamicPermission(@NonNull String permName, int callingUid, in removeDynamicPermission() 130 public abstract @Nullable String[] getAppOpPermissionPackages(@NonNull String permName); in getAppOpPermissionPackages() 132 public abstract int getPermissionFlags(@NonNull String permName, in getPermissionFlags() 147 public abstract @Nullable PermissionInfo getPermissionInfo(@NonNull String permName, in getPermissionInfo() 159 public abstract void updatePermissionFlags(@NonNull String permName, in updatePermissionFlags() 170 public abstract int checkPermission(@NonNull String permName, @NonNull String packageName, in checkPermission() 172 public abstract int checkUidPermission(@NonNull String permName, in checkUidPermission() 197 public abstract @Nullable BasePermission getPermissionTEMP(@NonNull String permName); in getPermissionTEMP()
|
D | PermissionManagerService.java | 290 @Nullable BasePermission getPermission(String permName) { in getPermission() 296 private int checkPermission(String permName, String pkgName, int callingUid, int userId) { in checkPermission() 329 private int checkUidPermission(String permName, PackageParser.Package pkg, int uid, in checkUidPermission() 489 String permName, int userId) { in isImpliedPermissionGranted() 520 private PermissionInfo getPermissionInfo(String permName, String packageName, int flags, in getPermissionInfo() 837 String permName, int callingUid, PermissionCallback callback) { in removeDynamicPermission() 931 final String permName = pkg.requestedPermissions.get(i); in restorePermissionState() local 2090 private void grantRuntimePermission(String permName, String packageName, boolean overridePolicy, in grantRuntimePermission() 2232 private void revokeRuntimePermission(String permName, String packageName, in revokeRuntimePermission() 2529 private String[] getAppOpPermissionPackages(String permName) { in getAppOpPermissionPackages() [all …]
|
D | BasePermission.java | 408 Collection<BasePermission> permissionTrees, String permName, int callingUid) { in enforcePermissionTree() 438 Collection<BasePermission> permissionTrees, String permName) { in findPermissionTree()
|
D | PermissionsState.java | 633 final String permName = permission.getName(); in revokePermission() local 681 final String permName = permission.getName(); in ensurePermissionData() local
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 1100 String permName = parser.getAttributeValue(null, "name"); in readPrivAppPermissions() local 1108 String permName = parser.getAttributeValue(null, "name"); in readPrivAppPermissions() local 1142 final String permName = parser.getAttributeValue(null, "name"); in readOemPermissions() local 1150 String permName = parser.getAttributeValue(null, "name"); in readOemPermissions() local
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 102 int checkPermission(String permName, String pkgName, int userId, in checkPermission() argument 113 int checkUidPermission(String permName, int uid, in checkUidPermission() 764 public abstract @Nullable int getPermissionFlagsTEMP(@NonNull String permName, in getPermissionFlagsTEMP() 767 public abstract void updatePermissionFlagsTEMP(@NonNull String permName, in updatePermissionFlagsTEMP()
|
D | IPackageManager.aidl | 110 int checkPermission(String permName, String pkgName, int userId); in checkPermission() 112 int checkUidPermission(String permName, int uid); in checkUidPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 435 public int checkPermission(String permName, String pkgName) { in checkPermission()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 189 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 227 public int checkPermission(String permName, String pkgName) { in checkPermission() 232 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 209 public int checkPermission(String permName, String pkgName) { in checkPermission() 214 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 236 public int checkPermission(String permName, String pkgName) { in checkPermission() 246 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 2168 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermGained() local 2198 String permName = "com.android.frameworks.coretests.keysets_permdef.keyset_perm"; in testUpgradeSigPermLost() local
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 619 public int checkPermission(String permName, String pkgName) { in checkPermission() 628 public boolean isPermissionRevokedByPolicy(String permName, String pkgName) { in isPermissionRevokedByPolicy()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 422 public boolean canPropagatePermissionToInstantApp(String permName) { in canPropagatePermissionToInstantApp() 542 void addAppOpPackage(String permName, String packageName) { in addAppOpPackage()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2037 String permName = pkg.requestedPermissions[permNum]; in pullDangerousPermissionState() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 19078 public int checkPermission(String permName, String pkgName, int userId, in checkPermission() argument 19092 public int checkUidPermission(String permName, int uid, in checkUidPermission()
|