Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 25 of 29) 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/
Dservice_manager.c64 …mac_perms(pid_t spid, const char* sid, uid_t uid, const char *tctx, const char *perm, const char *… in check_mac_perms()
91 static bool check_mac_perms_from_getcon(pid_t spid, const char* sid, uid_t uid, const char *perm) in check_mac_perms_from_getcon()
96 static bool check_mac_perms_from_lookup(pid_t spid, const char* sid, uid_t uid, const char *perm, c… in check_mac_perms_from_lookup()
118 const char *perm = "add"; in svc_can_register() local
129 const char *perm = "list"; in svc_can_list() local
135 const char *perm = "find"; in svc_can_find() local
/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.java251 final SystemConfig.PermissionEntry perm = permConfig.valueAt(i); in PermissionManagerService() local
784 String perm = pkg.requestedPermissions.get(i); in removeAllPermissions() local
1007 final String perm = bp.getName(); in restorePermissionState() local
1613 private boolean isNewPlatformPermissionForPackage(String perm, PackageParser.Package pkg) { in isNewPlatformPermissionForPackage()
1637 private boolean hasPrivappWhitelistEntry(String perm, PackageParser.Package pkg) { in hasPrivappWhitelistEntry()
1659 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/ml/nn/common/operations/
DTranspose.cpp41 bool transposeGeneric(const T* inputData, const Shape& inputShape, const int32_t* perm, in transposeGeneric()
/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/services/core/java/com/android/server/am/
DBroadcastQueue.java636 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() local
665 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() local
699 int perm = mService.checkComponentPermission(null, in deliverToRegisteredReceiverLocked() local
1346 int perm = mService.checkComponentPermission(info.activityInfo.permission, in processNextBroadcastLocked() local
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java209 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
DPackageParser.java799 final String perm = p.requestedPermissions.get(i); in generatePackageInfo() local
2496 final String perm = newPerms.get(in); in parseBaseApkCommon() local
3148 PermissionGroup perm = new PermissionGroup(owner, requestDetailResourceId, in parsePermissionGroup() local
3207 Permission perm = new Permission(owner, backgroundPermission); in parsePermission() local
3291 Permission perm = new Permission(owner, (String) null); in parsePermissionTree() local
/frameworks/base/core/java/com/android/server/
DSystemConfig.java527 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
543 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
1006 final PermissionEntry perm = new PermissionEntry(name, perUser); in readPermission() local
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java323 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.java515 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/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dlinmath.h477 int perm[] = {0, 1, 2, 0, 1}; in quat_from_mat4x4() local
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java1948 String perm = getNextArg(); in runGrantRevokePermission() local

12