Home
last modified time | relevance | path

Searched refs:checkUser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/
DContentProvider.java462 boolean checkUser(int pid, int uid, Context context) { in checkUser() method in ContentProvider
480 if (mExported && checkUser(pid, uid, context)) { in enforceReadPermissionInner()
542 if (mExported && checkUser(pid, uid, context)) { in enforceWritePermissionInner()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java9024 ProviderInfo cpi, ProcessRecord r, int userId, boolean checkUser) {
9028 if (checkUser) {
9032 if (checkAuthorityGrants(callingUid, cpi, tmpTargetUserId, checkUser)) {
9079 if (!checkedGrants && checkAuthorityGrants(callingUid, cpi, userId, checkUser)) {
9102 boolean checkAuthorityGrants(int callingUid, ProviderInfo cpi, int userId, boolean checkUser) {
9107 if (grantUri.sourceUserId == userId || !checkUser) {