Home
last modified time | relevance | path

Searched defs:permName (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionSettings.java87 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 …]
DPermissionManagerServiceInternal.java72 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()
DPermissionManagerService.java290 @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 …]
DBasePermission.java408 Collection<BasePermission> permissionTrees, String permName, int callingUid) { in enforcePermissionTree()
438 Collection<BasePermission> permissionTrees, String permName) { in findPermissionTree()
DPermissionsState.java633 final String permName = permission.getName(); in revokePermission() local
681 final String permName = permission.getName(); in ensurePermissionData() local
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1100 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/
DPackageManagerInternal.java102 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()
DIPackageManager.aidl110 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/
DSearchablesTest.java435 public int checkPermission(String permName, String pkgName) { in checkPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java189 public int checkUidPermission(String permName, int uid) throws RemoteException { in checkUidPermission()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java227 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/
DPackageManagerStub.java209 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/
DMockPackageManager.java236 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/
DPackageManagerTests.java2168 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/
DApplicationPackageManager.java619 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/
DSettings.java422 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/
DStatsCompanionService.java2037 String permName = pkg.requestedPermissions[permNum]; in pullDangerousPermissionState() local
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java19078 public int checkPermission(String permName, String pkgName, int userId, in checkPermission() argument
19092 public int checkUidPermission(String permName, int uid, in checkUidPermission()