Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DUriPermissionOwner.java77 UriPermission perm = it.next(); in removeUriPermissionLocked() local
92 UriPermission perm = it.next(); in removeUriPermissionLocked() local
105 public void addReadPermission(UriPermission perm) { in addReadPermission()
112 public void addWritePermission(UriPermission perm) { in addWritePermission()
119 public void removeReadPermission(UriPermission perm) { in removeReadPermission()
126 public void removeWritePermission(UriPermission perm) { in removeWritePermission()
DBroadcastQueue.java498 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() local
527 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() local
561 int perm = mService.checkComponentPermission(null, in deliverToRegisteredReceiverLocked() local
980 int perm = mService.checkComponentPermission(info.activityInfo.permission, in processNextBroadcast() local
DUriPermission.java361 private Snapshot(UriPermission perm) { in Snapshot()
DActivityManagerService.java7898 UriPermission perm = targetUris.get(grantUri); in findOrCreateUriPermissionLocked() local
7930 final UriPermission perm = perms.valueAt(i); in checkUriPermissionLocked() local
8136 final UriPermission perm = findOrCreateUriPermissionLocked( in grantUriPermissionUncheckedLocked() local
8320 void removeUriPermissionIfNeededLocked(UriPermission perm) { in removeUriPermissionIfNeededLocked()
8358 final UriPermission perm = it.next(); in revokeUriPermissionLocked() local
8390 final UriPermission perm = it.next(); in revokeUriPermissionLocked() local
8479 final UriPermission perm = it.next(); in removeUriPermissionsForPackageLocked() local
8688 final UriPermission perm = findOrCreateUriPermissionLocked( in readGrantedUriPermissionsLocked() local
8819 final UriPermission perm = persisted.get(i); in maybePrunePersistedUriGrantsLocked() local
11833 int perm = checkComponentPermission( in checkAppSwitchAllowedLocked() local
/frameworks/native/cmds/servicemanager/
Dservice_manager.c65 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *… in check_mac_perms()
88 static bool check_mac_perms_from_getcon(pid_t spid, uid_t uid, const char *perm) in check_mac_perms_from_getcon()
97 static bool check_mac_perms_from_lookup(pid_t spid, uid_t uid, const char *perm, const char *name) in check_mac_perms_from_lookup()
123 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/core/java/com/android/server/
DSystemConfig.java301 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
312 String perm = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
529 final PermissionEntry perm = new PermissionEntry(name, perUser); in readPermission() local
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java91 MyPermissionGroupInfo(PermissionInfo perm) { in MyPermissionGroupInfo()
147 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, in setPermission()
480 MyPermissionInfo perm = perms.get(j); in displayPermissions() local
501MyPermissionInfo perm, boolean first, CharSequence newPermPrefix, boolean showRevokeUI) { in getPermissionItemView()
507 MyPermissionGroupInfo grp, MyPermissionInfo perm, boolean first, in getPermissionItemView()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java60 final int perm = mPM.checkUidPermission( in runJob() local
/frameworks/base/services/core/java/com/android/server/pm/
DBasePermission.java40 PackageParser.Permission perm; field in BasePermission
DPermissionsState.java609 public PermissionData(BasePermission perm) { in PermissionData()
DPackageManagerService.java2302 SystemConfig.PermissionEntry perm = permConfig.valueAt(i); in PackageManagerService() local
DSettings.java4509 PackageParser.Permission perm = perms.get(i); in dumpPackageLPr() local
4536 String perm = perms.get(i); in dumpPackageLPr() 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, drm_perm_t perm) { in selinuxIsProtectedCallAllowed()
82 bool DrmManagerService::isProtectedCallAllowed(drm_perm_t perm) { in isProtectedCallAllowed()
/frameworks/base/core/java/android/os/
DSELinux.java102 …atic final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, String perm); in checkSELinuxAccess()
/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/content/pm/
DAppsQueryHelper.java203 protected List<PackageInfo> getPackagesHoldingPermission(String perm, int userId) { in getPackagesHoldingPermission()
DPackageParser.java607 final String perm = p.requestedPermissions.get(i); in generatePackageInfo() local
2171 final String perm = spi.newPerms[in]; in parseBaseApkCommon() local
2502 PermissionGroup perm = new PermissionGroup(owner); in parsePermissionGroup() local
2546 Permission perm = new Permission(owner); in parsePermission() local
2615 Permission perm = new Permission(owner); in parsePermissionTree() local
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java513 final String perm = Manifest.permission.ACCOUNT_MANAGER; in checkBinderPermission() local
/frameworks/av/media/mtp/
DMtpDevice.cpp652 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) { in readObject()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1269 String perm = nextArg(); in runGrantRevokePermission() local
/frameworks/base/core/java/android/app/
DActivityManagerNative.java453 String perm = data.readString(); in onTransact() local
1365 String perm = data.readString(); in onTransact() local
1376 String perm = data.readString(); in onTransact() local
1980 IBinder perm = newUriPermissionOwner(name); in onTransact() local
1989 IBinder perm = getUriPermissionOwnerForActivity(activityToken); in onTransact() local
3451 IntentFilter filter, String perm, int userId) throws RemoteException in registerReceiver()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java452 final String perm = pm.getServiceInfo(serviceComponent, 0).permission; in queryTargetServices() local
/frameworks/base/services/core/java/com/android/server/
DMountService.java1428 private void enforcePermission(String perm) { in enforcePermission()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java10302 int perm = mContext.checkPermission(android.Manifest.permission.BACKUP, in restorePackage() local