/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermissionOwner.java | 90 final UriPermission perm = it.next(); in removeUriPermission() local 112 final UriPermission perm = it.next(); in removeUriPermission() local 138 public void addReadPermission(UriPermission perm) { in addReadPermission() 147 public void addWritePermission(UriPermission perm) { in addWritePermission() 156 public void removeReadPermission(UriPermission perm) { in removeReadPermission() 167 public void removeWritePermission(UriPermission perm) { in removeWritePermission()
|
D | UriGrantsManagerService.java | 317 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local 330 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local 354 final UriPermission perm = perms.valueAt(j); in getGrantedUriPermissions() local 510 final UriPermission perm = it.next(); in removeUriPermissionsForPackageLocked() local 602 final UriPermission perm = persisted.get(i); in maybePrunePersistedUriGrantsLocked() local 818 final UriPermission perm = findOrCreateUriPermissionLocked( in readGrantedUriPermissionsLocked() local 854 UriPermission perm = targetUris.get(grantUri); in findOrCreateUriPermissionLocked() local 884 final UriPermission perm; in grantUriPermissionUnchecked() local 956 final UriPermission perm = perms.valueAt(i); in revokeUriPermissionLocked() local 989 final UriPermission perm = perms.valueAt(j); in revokeUriPermissionLocked() local [all …]
|
D | UriGrantsManagerInternal.java | 36 void removeUriPermissionIfNeeded(UriPermission perm); in removeUriPermissionIfNeeded()
|
D | UriPermission.java | 379 private Snapshot(UriPermission perm) { in Snapshot()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriPermissionTest.java | 63 final UriPermission perm = new UriPermission(PKG_CAMERA, in testNone() local 71 final UriPermission perm = new UriPermission(PKG_CAMERA, in testGlobal() local 84 final UriPermission perm = new UriPermission(PKG_CAMERA, in testOwned() local 134 final UriPermission perm = new UriPermission(PKG_CAMERA, in testPersist() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastSkipPolicy.java | 124 int perm = checkComponentPermission(info.activityInfo.permission, in shouldSkipMessage() local 392 int perm = checkComponentPermission(filter.requiredPermission, in shouldSkipMessage() local 468 final int perm; in shouldSkipMessage() local 515 int perm = checkComponentPermission(null, in shouldSkipMessage() local 531 final int perm = checkComponentPermission(excludedPermission, in shouldSkipMessage() local
|
D | BaseAppStateTracker.java | 396 int checkPermission(String perm, int pid, int uid) { in checkPermission()
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | RequiresPermissionChecker.java | 237 public boolean containsAll(ParsedRequiresPermission perm) { in containsAll() 275 public static ParsedRequiresPermission from(RequiresPermission perm) { in from() 281 public void addAll(ParsedRequiresPermission perm) { in addAll() 287 public void addAll(RequiresPermission perm) { in addAll() 294 public void addAll(EnforcePermission perm) { in addAll()
|
D | BluetoothPermissionChecker.java | 171 private static boolean isPermissionReferenced(RequiresPermission anno, String perm) { in isPermissionReferenced()
|
/frameworks/av/services/audiopolicy/permission/ |
D | NativePermissionController.cpp | 91 Status NativePermissionController::populatePermissionState(PermissionEnum perm, in populatePermissionState() 149 BinderResult<bool> NativePermissionController::checkPermission(PermissionEnum perm, in checkPermission()
|
/frameworks/av/aidl/com/android/media/permission/ |
D | INativePermissionController.aidl | 45 void populatePermissionState(in PermissionEnum perm, in int[] uids); in populatePermissionState()
|
/frameworks/native/cmds/servicemanager/ |
D | Access.cpp | 140 bool Access::actionAllowed(const CallingContext& sctx, const char* tctx, const char* perm, in actionAllowed() 162 …s::actionAllowedFromLookup(const CallingContext& sctx, const std::string& name, const char *perm) { in actionAllowedFromLookup()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedProcessUtils.java | 51 String perm = sa.getNonConfigurationString( in parseDenyPermission() local 69 String perm = sa.getNonConfigurationString( in parseAllowPermission() local
|
D | ParsedPermissionUtils.java | 316 final ParsedPermission perm = checkDuplicatePerm.get(name); in declareDuplicatePermission() local
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 51 const char *DrmManagerService::get_perm_label(drm_perm_t perm) { in get_perm_label() 61 bool DrmManagerService::selinuxIsProtectedCallAllowed(pid_t spid, const char* ssid, drm_perm_t perm… in selinuxIsProtectedCallAllowed() 86 bool DrmManagerService::isProtectedCallAllowed(drm_perm_t perm) { in isProtectedCallAllowed()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServerPermissionProvider.java | 205 private int[] getUidsHoldingPerm(String perm) { in getUidsHoldingPerm()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppsQueryHelperTests.java | 140 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
|
/frameworks/base/core/java/android/os/ |
D | SELinux.java | 126 …atic final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, String perm); in checkSELinuxAccess()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppsQueryHelper.java | 209 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DumpHelper.java | 140 String perm = args[opti]; in doDump() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 1587 int serviceType, long sleepMs, String perm, int op, in runTestLongFGSExemptionOnce() 1599 boolean withNotification, String perm, int op, in runExemptionTestOnce() 2352 String perm, int op, List<Pair<List<MediaController>, Long>> mediaControllers, in runTestBgCurrentDrainExemptionOnce() 2434 private void setPermissionState(String packageName, int uid, String perm, boolean granted) { in setPermissionState() 3458 int checkPermission(String perm, int pid, int uid) { in checkPermission()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 361 int perm = mBackupManagerService.getContext().checkPermission( in restorePackage() local
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 864 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local 880 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local 1776 final PermissionEntry perm = new PermissionEntry(name, perUser); in readPermission() local
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 497 String perm = permCursor.getString(0); in doesWearHaveUngrantedPerms() local
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverRankerServiceResolverComparator.java | 331 final String perm = mContext.getPackageManager() in resolveRankerService() local
|