Searched refs:callingUser (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
H A DAppTaskImpl.java115 int callingUser = UserHandle.getCallingUserId();
135 .setMayWait(callingUser)
H A DActiveServices.java358 ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { argument
361 Slog.v(TAG_MU, "getServiceByNameLocked(" + name + "), callingUser = " + callingUser);
362 return getServiceMapLocked(callingUser).mServicesByName.get(name);
365 boolean hasBackgroundServicesLocked(int callingUser) { argument
366 ServiceMap smap = mServiceMap.get(callingUser);
370 private ServiceMap getServiceMapLocked(int callingUser) { argument
371 ServiceMap smap = mServiceMap.get(callingUser);
373 smap = new ServiceMap(mAm.mHandler.getLooper(), callingUser);
374 mServiceMap.put(callingUser, sma
379 getServicesLocked(int callingUser) argument
[all...]
/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceManagerService.java145 int callingUser = Binder.getCallingUserHandle().getIdentifier();
151 int userId = ContentProvider.getUserIdFromUri(uri, callingUser);
152 if (userId == callingUser) {
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java1984 int callingUser = UserHandle.getCallingUserId();
1988 UserInfo ui = um.getProfileParent(callingUser);
1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser
1997 Slog.d(TAG, "checkIfCallerIsForegroundUser: valid=" + valid + " callingUser="
1998 + callingUser + " parentUser=" + parentUser + " foregroundUser="
H A DAppOpsService.java972 final int callingUser = UserHandle.getUserId(callingUid);
974 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) {
975 if (targetUid >= 0 && callingUser == UserHandle.getUserId(targetUid)) {
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java1258 final int callingUser = UserHandle.getCallingUserId();
1259 if (callingUser != userHandle) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java8598 UserInfo callingUser = getUserInfo(callingUserId);
8606 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) {
8611 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java[all...]

Completed in 140 milliseconds