Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java79 UriPermission perm = it.next(); in removeUriPermission() local
94 UriPermission perm = it.next(); in removeUriPermission() local
107 public void addReadPermission(UriPermission perm) { in addReadPermission()
114 public void addWritePermission(UriPermission perm) { in addWritePermission()
121 public void removeReadPermission(UriPermission perm) { in removeReadPermission()
128 public void removeWritePermission(UriPermission perm) { in removeWritePermission()
DUriGrantsManagerService.java242 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local
255 final UriPermission perm = perms.valueAt(j); in getUriPermissions() local
279 final UriPermission perm = perms.valueAt(j); in getGrantedUriPermissions() local
434 final UriPermission perm = it.next(); in removeUriPermissionsForPackage() local
523 final UriPermission perm = persisted.get(i); in maybePrunePersistedUriGrants() local
674 final UriPermission perm = findOrCreateUriPermission( in readGrantedUriPermissions() local
705 UriPermission perm = targetUris.get(grantUri); in findOrCreateUriPermission() local
737 final UriPermission perm = findOrCreateUriPermission( in grantUriPermissionUnchecked() local
797 final UriPermission perm = perms.valueAt(i); in revokeUriPermission() local
830 final UriPermission perm = perms.valueAt(j); in revokeUriPermission() local
[all …]
DUriGrantsManagerInternal.java34 void removeUriPermissionIfNeeded(UriPermission perm); in removeUriPermissionIfNeeded()
DUriPermission.java373 private Snapshot(UriPermission perm) { in Snapshot()
/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/services/core/java/com/android/server/pm/permission/
DBasePermission.java92 PackageParser.Permission perm; field in BasePermission
147 public void setPermission(@Nullable Permission perm) { in setPermission()
166 public int calculateFootprint(BasePermission perm) { in calculateFootprint()
173 public boolean isPermission(Permission perm) { in isPermission()
DPermissionManagerService.java252 final SystemConfig.PermissionEntry perm = permConfig.valueAt(i); in PermissionManagerService() local
785 String perm = pkg.requestedPermissions.get(i); in removeAllPermissions() local
1010 final String perm = bp.getName(); in restorePermissionState() local
1618 private boolean isNewPlatformPermissionForPackage(String perm, PackageParser.Package pkg) { in isNewPlatformPermissionForPackage()
1642 private boolean hasPrivappWhitelistEntry(String perm, PackageParser.Package pkg) { in hasPrivappWhitelistEntry()
1664 private boolean grantSignaturePermission(String perm, PackageParser.Package pkg, in grantSignaturePermission()
DPermissionsState.java714 public PermissionData(BasePermission perm) { in PermissionData()
/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/ml/nn/common/operations/
DTranspose.cpp48 bool transposeGeneric(const T* inputData, const Shape& inputShape, const int32_t* perm, in transposeGeneric()
/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.java824 final String perm = p.requestedPermissions.get(i); in generatePackageInfo() local
2539 final String perm = newPerms.get(in); in parseBaseApkCommon() local
3206 PermissionGroup perm = new PermissionGroup(owner, requestDetailResourceId, in parsePermissionGroup() local
3265 Permission perm = new Permission(owner, backgroundPermission); in parsePermission() local
3349 Permission perm = new Permission(owner, (String) null); in parsePermissionTree() local
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java641 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() local
670 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() local
704 int perm = mService.checkComponentPermission(null, in deliverToRegisteredReceiverLocked() local
1351 int perm = mService.checkComponentPermission(info.activityInfo.permission, in processNextBroadcastLocked() local
/frameworks/base/core/java/com/android/server/
DSystemConfig.java569 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
585 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
1052 final PermissionEntry perm = new PermissionEntry(name, perUser); in readPermission() local
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java322 int perm = mBackupManagerService.getContext().checkPermission( in restorePackage() local
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java154 PermissionInfo perm = dangerousPerms.get(i); in onStart() local
629 private boolean isBgPermRestricted(@NonNull String pkg, @NonNull String perm, int uid) { in isBgPermRestricted()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java86 final int perm = mPM.checkUidPermission( in checkPermission() local
/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java352 final String perm = mPm.getServiceInfo(componentName, 0).permission; in resolveRankerService() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java442 String perm = permCursor.getString(0); in doesWearHaveUngrantedPerms() local
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java513 final String perm = Manifest.permission.ACCOUNT_MANAGER; in checkBinderPermission() local
/frameworks/av/media/mtp/
DMtpDevice.cpp659 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) { in readObject()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2110 String perm = getNextArg(); in runGrantRevokePermission() local
DSettings.java4695 PackageParser.Permission perm = perms.get(i); in dumpPackageLPr() local
4722 String perm = perms.get(i); in dumpPackageLPr() local

12