Searched refs:callingUser (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 281 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 …]
|
D | ActivityManagerService.java | 22118 int callingUser = UserHandle.getCallingUserId(); in startActivity() local 22133 null, bOptions, false, callingUser, null, tr); in startActivity()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1642 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/ |
D | ContentService.java | 1156 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local 1157 if (callingUser != userHandle) { in enforceCrossUserPermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5922 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/ |
D | PackageManagerService.java | 4786 final int callingUser = UserHandle.getCallingUserId(); 4787 if (callingUser != UserHandle.USER_SYSTEM) {
|