/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TaskStackChangeListener.java | 58 protected final boolean checkCurrentUserId(int currentUserId, boolean debug) { in checkCurrentUserId() argument 60 if (processUserId != currentUserId) { in checkCurrentUserId() 63 + " and the current user is uid=" + currentUserId); in checkCurrentUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PreviewInflater.java | 144 int currentUserId) { in wouldLaunchResolverActivity() argument 145 return getTargetActivityInfo(ctx, intent, currentUserId, false /* onlyDirectBootAware */) in wouldLaunchResolverActivity() 157 int currentUserId, boolean onlyDirectBootAware) { in getTargetActivityInfo() argument 165 intent, flags, currentUserId); in getTargetActivityInfo() 170 flags | PackageManager.GET_META_DATA, currentUserId); in getTargetActivityInfo()
|
D | LocationControllerImpl.java | 103 int currentUserId = ActivityManager.getCurrentUser(); in setLocationEnabled() local 104 if (isUserLocationRestricted(currentUserId)) { in setLocationEnabled() 109 updateLocationEnabled(mContext, enabled, currentUserId, in setLocationEnabled()
|
D | CastController.java | 26 void setCurrentUserId(int currentUserId); in setCurrentUserId() argument
|
D | CastControllerImpl.java | 128 public void setCurrentUserId(int currentUserId) { in setCurrentUserId() argument 129 mMediaRouter.rebindAsUser(currentUserId); in setCurrentUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | SysUiTaskStackChangeListener.java | 32 int currentUserId = SystemServicesProxy.getInstance(context).getCurrentUser(); in checkCurrentUserId() local 33 return checkCurrentUserId(currentUserId, debug); in checkCurrentUserId()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 91 int currentUserId = ActivityManager.getCurrentUser(); in testUpdateLocationMode_sendBroadcast() local 96 currentUserId, in testUpdateLocationMode_sendBroadcast() 101 ArgumentMatchers.eq(UserHandle.of(currentUserId)), in testUpdateLocationMode_sendBroadcast() 110 int currentUserId = ActivityManager.getCurrentUser(); in testUpdateLocationEnabled_sendBroadcast() local 111 Utils.updateLocationEnabled(mContext, true, currentUserId, in testUpdateLocationEnabled_sendBroadcast() 116 ArgumentMatchers.eq(UserHandle.of(currentUserId)), in testUpdateLocationEnabled_sendBroadcast()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeCastController.java | 35 public void setCurrentUserId(int currentUserId) { in setCurrentUserId() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 454 int currentUserId = ActivityManager.getCurrentUser(); in update() local 456 ArraySet<String> allowed = mAllowedPackages.get(currentUserId); in update() 465 if (grantUserId != currentUserId) { in update() 476 revokeNotificationListenerAccess(pkg, currentUserId); in update() 478 revokeCoarseLocationPermissionIfNeeded(pkg, currentUserId); in update() 485 grantNotificationListenerAccess(pkg, currentUserId); in update() 486 grantCoarseLocationPermissionIfNeeded(pkg, currentUserId); in update() 487 mNotificationAccessPackageToUserId.put(pkg, currentUserId); in update() 493 mAllowedPackages.put(currentUserId, allowed); in update()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 761 final int currentUserId = userManager.getUserHandle(); in addCall() local 774 if (UserHandle.USER_SYSTEM == currentUserId) { in addCall() 805 if (userId == currentUserId) { in addCall() 816 : UserHandle.of(currentUserId); in addCall()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | RecentsTaskLoadPlan.java | 90 int currentUserId) { in preloadPlan() argument 95 ActivityManager.getMaxRecentTasksStatic(), currentUserId); in preloadPlan()
|
D | RecentsTaskLoader.java | 151 int currentUserId) { in preloadTasks() argument 154 plan.preloadPlan(new PreloadOptions(), this, runningTaskId, currentUserId); in preloadTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 103 public LoaderResult loadBitmap(int currentUserId, UserHandle selectedUser) { in loadBitmap() argument 109 selectedUser != null ? selectedUser.getIdentifier() : currentUserId; in loadBitmap()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 563 final int currentUserId = ActivityManager.getCurrentUser(); in testDream() local 564 if (callingUserId != currentUserId) { in testDream() 568 + ", currentUserId=" + currentUserId); in testDream()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ImmersiveModeConfirmation.java | 101 public void loadSetting(int currentUserId) { in loadSetting() argument 103 mCurrentUserId = currentUserId; in loadSetting()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 152 public void setCurrentUser(int currentUserId) { in setCurrentUser() argument 153 mUserId = currentUserId; in setCurrentUser()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 327 int currentUserId = ActivityManager.getCurrentUser(); in startConfirmation() local 328 UserInfo userInfo = UserManager.get(mContext).getUserInfo(currentUserId); in startConfirmation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 595 int currentUserId = getCurrentUser().id; in onPress() local 597 ActivityManager.getService().stopUser(currentUserId, true /*force*/, null); in onPress() 726 final int currentUserId = getCurrentUser().id; 727 final int[] profileIds = um.getEnabledProfileIds(currentUserId); 729 if (id != currentUserId) {
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 468 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in onLogoutClicked() local 471 mIActivityManager.stopUser(currentUserId, true /*force*/, null); in onLogoutClicked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 852 int currentUserId = getCurrentUserId(); 855 currentUserId, false /* enabledOnly */); 859 && user.id != currentUserId && !user.isQuietModeEnabled()) { 1201 int currentUserId = getCurrentUserId(); 1203 if (targetUserId == currentUserId) { 1223 UserInfo currentUserInfo = getUserInfo(currentUserId);
|
D | ActivityManagerService.java | 13472 final int currentUserId = mUserController.getCurrentUserId(); in notifyLockedProfile() local 13473 startHomeActivityLocked(currentUserId, "notifyLockedProfile"); in notifyLockedProfile() 15222 final int currentUserId = mUserController.getCurrentUserId(); in systemReady() local 15240 Integer.toString(currentUserId), currentUserId); in systemReady() 15242 Integer.toString(currentUserId), currentUserId); in systemReady() 15243 mSystemServiceManager.startUser(currentUserId); in systemReady() 15267 startHomeActivityLocked(currentUserId, "systemReady"); in systemReady() 15288 intent.putExtra(Intent.EXTRA_USER_HANDLE, currentUserId); in systemReady() 15292 currentUserId); in systemReady() 15295 intent.putExtra(Intent.EXTRA_USER_HANDLE, currentUserId); in systemReady() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 1320 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser() local 1322 Slog.d(TAG, "onUnlockUser: userId=" + userId + " curUserId=" + currentUserId); in onUnlockUser() 1324 if (userId != currentUserId) { in onUnlockUser() 1327 mSettings.switchCurrentUser(currentUserId, !mSystemReady); in onUnlockUser() 1516 final int currentUserId = mSettings.getCurrentUserId(); in systemRunning() local 1517 mSettings.switchCurrentUser(currentUserId, in systemRunning() 1518 !mUserManager.isUserUnlockingOrUnlocked(currentUserId)); in systemRunning() 1534 mSettingsObserver.registerContentObserverLocked(currentUserId); in systemRunning() 1550 mSettings.getEnabledInputMethodListLocked(), currentUserId, in systemRunning()
|
D | LocationManagerService.java | 503 void updateUserProfiles(int currentUserId) { in updateUserProfiles() argument 504 int[] profileIds = mUserManager.getProfileIdsWithDisabled(currentUserId); in updateUserProfiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 1675 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in sendUserPresentBroadcast() local 1676 final UserHandle currentUser = new UserHandle(currentUserId); in sendUserPresentBroadcast() 1683 getLockPatternUtils().userPresent(currentUserId); in sendUserPresentBroadcast()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 1243 int currentUserId = ActivityManager.getCurrentUser(); in updateCache() local 1244 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCache()
|