Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java85 UriPermission perm = it.next(); in removeUriPermission() local
106 UriPermission perm = it.next(); in removeUriPermission() local
126 public void addReadPermission(UriPermission perm) { in addReadPermission()
133 public void addWritePermission(UriPermission perm) { in addWritePermission()
140 public void removeReadPermission(UriPermission perm) { in removeReadPermission()
147 public void removeWritePermission(UriPermission perm) { in removeWritePermission()
DUriGrantsManagerService.java285 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local
298 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local
322 final UriPermission perm = perms.valueAt(j); in getGrantedUriPermissions() local
478 final UriPermission perm = it.next(); in removeUriPermissionsForPackageLocked() local
570 final UriPermission perm = persisted.get(i); in maybePrunePersistedUriGrantsLocked() local
705 final UriPermission perm = findOrCreateUriPermissionLocked( in readGrantedUriPermissionsLocked() local
741 UriPermission perm = targetUris.get(grantUri); in findOrCreateUriPermissionLocked() local
770 final UriPermission perm; in grantUriPermissionUnchecked() local
841 final UriPermission perm = perms.valueAt(i); in revokeUriPermissionLocked() local
874 final UriPermission perm = perms.valueAt(j); in revokeUriPermissionLocked() local
[all …]
DUriGrantsManagerInternal.java35 void removeUriPermissionIfNeeded(UriPermission perm); in removeUriPermissionIfNeeded()
DUriPermission.java373 private Snapshot(UriPermission perm) { in Snapshot()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriPermissionTest.java55 final UriPermission perm = new UriPermission(PKG_CAMERA, in testNone() local
63 final UriPermission perm = new UriPermission(PKG_CAMERA, in testGlobal() local
76 final UriPermission perm = new UriPermission(PKG_CAMERA, in testOwned() local
126 final UriPermission perm = new UriPermission(PKG_CAMERA, in testPersist() local
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java231 public boolean containsAll(ParsedRequiresPermission perm) { in containsAll()
269 public static ParsedRequiresPermission from(RequiresPermission perm) { in from()
275 public void addAll(ParsedRequiresPermission perm) { in addAll()
281 public void addAll(RequiresPermission perm) { in addAll()
DBluetoothPermissionChecker.java169 private static boolean isPermissionReferenced(RequiresPermission anno, String perm) { in isPermissionReferenced()
/frameworks/native/cmds/servicemanager/
DAccess.cpp125 bool Access::actionAllowed(const CallingContext& sctx, const char* tctx, const char* perm, in actionAllowed()
138 …s::actionAllowedFromLookup(const CallingContext& sctx, const std::string& name, const char *perm) { in actionAllowedFromLookup()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedProcessUtils.java50 String perm = sa.getNonConfigurationString( in parseDenyPermission() local
68 String perm = sa.getNonConfigurationString( in parseAllowPermission() 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/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()
DPackageParser.java839 final String perm = p.requestedPermissions.get(i); in generatePackageInfo() local
2412 final String perm = newPerms.get(in); in parseBaseApkCommon() local
3083 PermissionGroup perm = new PermissionGroup(owner, requestDetailResourceId, in parsePermissionGroup() local
3142 Permission perm = new Permission(owner, backgroundPermission); in parsePermission() local
3226 Permission perm = new Permission(owner, (String) null); in parsePermissionTree() local
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java643 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() local
713 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() local
748 int perm = mService.checkComponentPermission(null, in deliverToRegisteredReceiverLocked() local
1396 int perm = mService.checkComponentPermission(info.activityInfo.permission, in processNextBroadcastLocked() local
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java342 int perm = mBackupManagerService.getContext().checkPermission( in restorePackage() local
/frameworks/base/core/java/com/android/server/
DSystemConfig.java712 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
728 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
1338 final PermissionEntry perm = new PermissionEntry(name, perUser); in readPermission() local
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java91 final int perm = mPM.checkUidPermission( in checkPermission() local
/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java364 final String perm = mPm.getServiceInfo(componentName, 0).permission; in resolveRankerService() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java444 String perm = permCursor.getString(0); in doesWearHaveUngrantedPerms() local
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java514 final String perm = Manifest.permission.ACCOUNT_MANAGER; in checkBinderPermission() local
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java433 final SystemConfig.PermissionEntry perm = permConfig.valueAt(i); in PermissionManagerService() local
1942 final Permission perm = in isPermissionSplitFromNonRuntime() local
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java181 PermissionInfo perm = dangerousPerms.get(i); in onStart() local
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java811 String perm = AppOpsManager.opToPermission(op); in initializePullersState() local
/frameworks/av/media/mtp/
DMtpDevice.cpp685 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) { in readObject()

12