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.java22118 int callingUser = UserHandle.getCallingUserId(); in startActivity() local
22133 null, bOptions, false, callingUser, null, tr); in startActivity()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1642 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local
1646 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser()
1652 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser()
1658 + " 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.java5922 final UserHandle callingUser = mInjector.binderGetCallingUserHandle(); in clearProfileOwner() local
5923 final int userId = callingUser.getIdentifier(); in clearProfileOwner()
6927 UserInfo callingUser = getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local
6935 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()
6940 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4786 final int callingUser = UserHandle.getCallingUserId();
4787 if (callingUser != UserHandle.USER_SYSTEM) {