Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java90 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()
DUriGrantsManagerService.java317 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 …]
DUriGrantsManagerInternal.java36 void removeUriPermissionIfNeeded(UriPermission perm); in removeUriPermissionIfNeeded()
DUriPermission.java379 private Snapshot(UriPermission perm) { in Snapshot()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriPermissionTest.java63 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/
DBroadcastSkipPolicy.java124 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
DBaseAppStateTracker.java396 int checkPermission(String perm, int pid, int uid) { in checkPermission()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java237 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()
DBluetoothPermissionChecker.java171 private static boolean isPermissionReferenced(RequiresPermission anno, String perm) { in isPermissionReferenced()
/frameworks/av/services/audiopolicy/permission/
DNativePermissionController.cpp91 Status NativePermissionController::populatePermissionState(PermissionEnum perm, in populatePermissionState()
149 BinderResult<bool> NativePermissionController::checkPermission(PermissionEnum perm, in checkPermission()
/frameworks/av/aidl/com/android/media/permission/
DINativePermissionController.aidl45 void populatePermissionState(in PermissionEnum perm, in int[] uids); in populatePermissionState()
/frameworks/native/cmds/servicemanager/
DAccess.cpp140 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/
DParsedProcessUtils.java51 String perm = sa.getNonConfigurationString( in parseDenyPermission() local
69 String perm = sa.getNonConfigurationString( in parseAllowPermission() local
DParsedPermissionUtils.java316 final ParsedPermission perm = checkDuplicatePerm.get(name); in declareDuplicatePermission() local
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp51 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/
DAudioServerPermissionProvider.java205 private int[] getUidsHoldingPerm(String perm) { in getUidsHoldingPerm()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java140 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
/frameworks/base/core/java/android/os/
DSELinux.java126 …atic final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, String perm); in checkSELinuxAccess()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java209 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DDumpHelper.java140 String perm = args[opti]; in doDump() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java1587 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/
DActiveRestoreSession.java361 int perm = mBackupManagerService.getContext().checkPermission( in restorePackage() local
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java864 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/
DWearPackageInstallerService.java497 String perm = permCursor.getString(0); in doesWearHaveUngrantedPerms() local
/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java331 final String perm = mContext.getPackageManager() in resolveRankerService() local

12