Home
last modified time | relevance | path

Searched refs:callingUser (Results 1 – 6 of 6) 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.java21753 int callingUser = UserHandle.getCallingUserId(); in startActivity() local
21768 null, bOptions, false, callingUser, null, tr); in startActivity()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1624 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local
1628 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
1634 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser()
1640 + " callingUser=" + callingUser in checkIfCallerIsForegroundUser()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1156 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local
1157 if (callingUser != userHandle) { in enforceCrossUserPermission()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5901 final UserHandle callingUser = mInjector.binderGetCallingUserHandle(); in clearProfileOwner() local
5902 final int userId = callingUser.getIdentifier(); in clearProfileOwner()
6906 UserInfo callingUser = getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local
6914 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()
6919 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4943 final int callingUser = UserHandle.getCallingUserId();
4944 if (callingUser != UserHandle.USER_SYSTEM) {