Home
last modified time | relevance | path

Searched refs:callingUser (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java281 ServiceRecord getServiceByName(ComponentName name, int callingUser) { in getServiceByName() argument
284 Slog.v(TAG_MU, "getServiceByName(" + name + "), callingUser = " + callingUser); in getServiceByName()
285 return getServiceMap(callingUser).mServicesByName.get(name); in getServiceByName()
288 boolean hasBackgroundServices(int callingUser) { in hasBackgroundServices() argument
289 ServiceMap smap = mServiceMap.get(callingUser); in hasBackgroundServices()
293 private ServiceMap getServiceMap(int callingUser) { in getServiceMap() argument
294 ServiceMap smap = mServiceMap.get(callingUser); in getServiceMap()
296 smap = new ServiceMap(mAm.mHandler.getLooper(), callingUser); in getServiceMap()
297 mServiceMap.put(callingUser, smap); in getServiceMap()
302 ArrayMap<ComponentName, ServiceRecord> getServices(int callingUser) { in getServices() argument
[all …]
DActivityManagerService.java20624 int callingUser = UserHandle.getCallingUserId(); in startActivity() local
20639 null, options, false, callingUser, null, tr); in startActivity()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1614 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local
1618 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
1624 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser()
1630 + " callingUser=" + callingUser in checkIfCallerIsForegroundUser()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java931 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local
932 if (callingUser != userHandle) { in enforceCrossUserPermission()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4395 UserHandle callingUser = Binder.getCallingUserHandle(); in clearProfileOwner() local
4399 clearUserPoliciesLocked(callingUser); in clearProfileOwner()
4401 mDeviceOwner.removeProfileOwner(callingUser.getIdentifier()); in clearProfileOwner()
5177 UserInfo callingUser = mUserManager.getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local
5185 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()
5190 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()