Searched refs:callingUser (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 302 ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { in getServiceByNameLocked() argument 305 Slog.v(TAG_MU, "getServiceByNameLocked(" + name + "), callingUser = " + callingUser); in getServiceByNameLocked() 306 return getServiceMapLocked(callingUser).mServicesByName.get(name); in getServiceByNameLocked() 309 boolean hasBackgroundServicesLocked(int callingUser) { in hasBackgroundServicesLocked() argument 310 ServiceMap smap = mServiceMap.get(callingUser); in hasBackgroundServicesLocked() 314 private ServiceMap getServiceMapLocked(int callingUser) { in getServiceMapLocked() argument 315 ServiceMap smap = mServiceMap.get(callingUser); in getServiceMapLocked() 317 smap = new ServiceMap(mAm.mHandler.getLooper(), callingUser); in getServiceMapLocked() 318 mServiceMap.put(callingUser, smap); in getServiceMapLocked() 323 ArrayMap<ComponentName, ServiceRecord> getServicesLocked(int callingUser) { in getServicesLocked() argument [all …]
|
D | ActivityManagerService.java | 24280 int callingUser = UserHandle.getCallingUserId(); 24295 null, bOptions, false, callingUser, null, tr, "AppTaskImpl");
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1868 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local 1872 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser() 1878 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser() 1884 + " callingUser=" + callingUser in checkIfCallerIsForegroundUser()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1192 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local 1193 if (callingUser != userHandle) { in enforceCrossUserPermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 7850 UserInfo callingUser = getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local 7858 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile() 7863 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()
|