/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputViewTest.java | 151 UserHandle callingUser = Process.myUserHandle(); in testEditorInfoTargetInputMethodUserForCallingUser() local 152 assertEquals(callingUser, getTargetInputMethodUser(callingUser, callingUser)); in testEditorInfoTargetInputMethodUserForCallingUser() 165 UserHandle callingUser = Process.myUserHandle(); in testEditorInfoTargetInputMethodUserForAllUser() local 167 getTargetInputMethodUser(callingUser, UserHandle.ALL)); in testEditorInfoTargetInputMethodUserForAllUser()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTaskImpl.java | 138 int callingUser = UserHandle.getCallingUserId(); in startActivity() local 158 .setMayWait(callingUser) in startActivity()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 143 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices() local 149 int userId = ContentProvider.getUserIdFromUri(uri, callingUser); in getPinnedSlices() 150 if (userId == callingUser) { in getPinnedSlices()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 285 final UserHandle callingUser = Binder.getCallingUserHandle(); in createProjection() local 292 ai = mPackageManager.getApplicationInfoAsUser(packageName, 0, callingUser); in createProjection()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 370 ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { in getServiceByNameLocked() argument 373 Slog.v(TAG_MU, "getServiceByNameLocked(" + name + "), callingUser = " + callingUser); in getServiceByNameLocked() 374 return getServiceMapLocked(callingUser).mServicesByInstanceName.get(name); in getServiceByNameLocked() 377 boolean hasBackgroundServicesLocked(int callingUser) { in hasBackgroundServicesLocked() argument 378 ServiceMap smap = mServiceMap.get(callingUser); in hasBackgroundServicesLocked() 382 private ServiceMap getServiceMapLocked(int callingUser) { in getServiceMapLocked() argument 383 ServiceMap smap = mServiceMap.get(callingUser); in getServiceMapLocked() 385 smap = new ServiceMap(mAm.mHandler.getLooper(), callingUser); in getServiceMapLocked() 386 mServiceMap.put(callingUser, smap); in getServiceMapLocked() 391 ArrayMap<ComponentName, ServiceRecord> getServicesLocked(int callingUser) { in getServicesLocked() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 2092 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsForegroundUser() local 2096 UserInfo ui = um.getProfileParent(callingUser); in checkIfCallerIsForegroundUser() 2102 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser() 2106 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1285 final int callingUser = UserHandle.getCallingUserId(); in enforceCrossUserPermission() local 1286 if (callingUser != userHandle) { in enforceCrossUserPermission()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1217 final int callingUser = UserHandle.getUserId(callingUid); in enforceManageAppOpsModes() local 1219 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes() 1220 if (targetUid >= 0 && callingUser == UserHandle.getUserId(targetUid)) { in enforceManageAppOpsModes()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 24082 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 24085 /*userId*/ callingUser); 24095 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 24096 PackageInfo pInfo = getPackageInfo(packageName, 0, callingUser); 24108 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 24109 ApplicationInfo info = getApplicationInfo(packageName, 0, callingUser); 24120 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 24123 ApplicationInfo appInfo = getApplicationInfo(packageNames[i], 0, callingUser); 24131 int callingUser = UserHandle.getUserId(Binder.getCallingUid()); 24134 /*userId*/ callingUser);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 9391 UserInfo callingUser = getUserInfo(callingUserId); in checkCallerIsCurrentUserOrProfile() local 9399 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile() 9404 if (!callingUser.isManagedProfile() && callingUserId != currentUser.id ) { in checkCallerIsCurrentUserOrProfile()
|