Searched refs:callingUser (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTaskImpl.java | 115 int callingUser = UserHandle.getCallingUserId(); in startActivity() local 135 .setMayWait(callingUser) in startActivity()
|
D | ActiveServices.java | 358 ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { in getServiceByNameLocked() argument 361 Slog.v(TAG_MU, "getServiceByNameLocked(" + name + "), callingUser = " + callingUser); in getServiceByNameLocked() 362 return getServiceMapLocked(callingUser).mServicesByName.get(name); in getServiceByNameLocked() 365 boolean hasBackgroundServicesLocked(int callingUser) { in hasBackgroundServicesLocked() argument 366 ServiceMap smap = mServiceMap.get(callingUser); in hasBackgroundServicesLocked() 370 private ServiceMap getServiceMapLocked(int callingUser) { in getServiceMapLocked() argument 371 ServiceMap smap = mServiceMap.get(callingUser); in getServiceMapLocked() 373 smap = new ServiceMap(mAm.mHandler.getLooper(), callingUser); in getServiceMapLocked() 374 mServiceMap.put(callingUser, smap); in getServiceMapLocked() 379 ArrayMap<ComponentName, ServiceRecord> getServicesLocked(int callingUser) { in getServicesLocked() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 145 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices() local 151 int userId = ContentProvider.getUserIdFromUri(uri, callingUser); in getPinnedSlices() 152 if (userId == callingUser) { in getPinnedSlices()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1984 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local 1988 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser() 1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser() 1998 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
|
D | AppOpsService.java | 972 final int callingUser = UserHandle.getUserId(callingUid); in enforceManageAppOpsModes() local 974 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes() 975 if (targetUid >= 0 && callingUser == UserHandle.getUserId(targetUid)) { in enforceManageAppOpsModes()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1258 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local 1259 if (callingUser != userHandle) { in enforceCrossUserPermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8598 UserInfo callingUser = getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local 8606 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile() 8611 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 23645 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 23648 /*userId*/ callingUser); 23658 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 23659 PackageInfo pInfo = getPackageInfo(packageName, 0, callingUser);
|