/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ActivityIntentHelper.java | 46 public boolean wouldLaunchResolverActivity(Intent intent, int currentUserId) { in wouldLaunchResolverActivity() argument 47 ActivityInfo targetActivityInfo = getTargetActivityInfo(intent, currentUserId, in wouldLaunchResolverActivity() 62 public ActivityInfo getTargetActivityInfo(Intent intent, int currentUserId, in getTargetActivityInfo() argument 71 intent, flags, currentUserId); in getTargetActivityInfo() 76 flags | PackageManager.GET_META_DATA, currentUserId); in getTargetActivityInfo() 91 public boolean wouldShowOverLockscreen(Intent intent, int currentUserId) { in wouldShowOverLockscreen() argument 93 currentUserId, false /* onlyDirectBootAware */); in wouldShowOverLockscreen()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TaskStackChangeListener.java | 110 protected final boolean checkCurrentUserId(int currentUserId, boolean debug) { in checkCurrentUserId() argument 112 if (processUserId != currentUserId) { in checkCurrentUserId() 115 + " and the current user is uid=" + currentUserId); in checkCurrentUserId()
|
/frameworks/base/packages/SystemUI/legacy/recents/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/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 112 int currentUserId = ActivityManager.getCurrentUser(); in setLocationEnabled() local 113 if (isUserLocationRestricted(currentUserId)) { in setLocationEnabled() 118 updateLocationEnabled(mContext, enabled, currentUserId, in setLocationEnabled()
|
D | CastController.java | 26 void setCurrentUserId(int currentUserId); in setCurrentUserId() argument
|
D | CastControllerImpl.java | 149 public void setCurrentUserId(int currentUserId) { in setCurrentUserId() argument 150 mMediaRouter.rebindAsUser(currentUserId); in setCurrentUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 161 int currentUserId = mLockscreenUserManager.getCurrentUserId(); in updateNotificationViews() local 162 boolean devicePublic = mLockscreenUserManager.isLockscreenPublicMode(currentUserId); in updateNotificationViews() 166 && (userId == currentUserId || userId == UserHandle.USER_ALL in updateNotificationViews() 174 currentUserId); in updateNotificationViews()
|
D | NotificationLockscreenUserManager.java | 68 boolean userAllowsPrivateNotificationsInPublic(int currentUserId); in userAllowsPrivateNotificationsInPublic() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 452 int currentUserId = ActivityManager.getCurrentUser(); in update() local 454 ArraySet<String> allowed = mAllowedPackages.get(currentUserId); in update() 463 if (grantUserId != currentUserId) { in update() 474 revokeNotificationListenerAccess(pkg, currentUserId); in update() 476 revokeCoarseLocationPermissionIfNeeded(pkg, currentUserId); in update() 483 grantNotificationListenerAccess(pkg, currentUserId); in update() 484 grantCoarseLocationPermissionIfNeeded(pkg, currentUserId); in update() 485 mNotificationAccessPackageToUserId.put(pkg, currentUserId); in update() 491 mAllowedPackages.put(currentUserId, allowed); in update()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeCastController.java | 36 public void setCurrentUserId(int currentUserId) { in setCurrentUserId() argument
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 93 int currentUserId = ActivityManager.getCurrentUser(); in testUpdateLocationEnabled_sendBroadcast() local 94 Utils.updateLocationEnabled(mContext, true, currentUserId, in testUpdateLocationEnabled_sendBroadcast() 99 ArgumentMatchers.eq(UserHandle.of(currentUserId)), in testUpdateLocationEnabled_sendBroadcast()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 93 int currentUserId) { in preloadPlan() argument 98 ActivityTaskManager.getMaxRecentTasksStatic(), currentUserId); in preloadPlan()
|
D | RecentsTaskLoader.java | 155 int currentUserId) { in preloadTasks() argument 158 plan.preloadPlan(new PreloadOptions(), this, runningTaskId, currentUserId); in preloadTasks()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 847 final int currentUserId = userManager.getUserHandle(); in addCall() local 860 if (UserHandle.USER_SYSTEM == currentUserId) { in addCall() 891 if (userId == currentUserId) { in addCall() 902 : UserHandle.of(currentUserId); in addCall()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 111 public LoaderResult loadBitmap(int currentUserId, UserHandle selectedUser) { in loadBitmap() argument 122 selectedUser != null ? selectedUser.getIdentifier() : currentUserId; in loadBitmap()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 573 final int currentUserId = ActivityManager.getCurrentUser(); in testDream() local 574 if (callingUserId != currentUserId) { in testDream() 578 + ", currentUserId=" + currentUserId); in testDream()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ImmersiveModeConfirmation.java | 101 static boolean loadSetting(int currentUserId, Context context) { in loadSetting() argument 104 if (DEBUG) Slog.d(TAG, String.format("loadSetting() currentUserId=%d", currentUserId)); in loadSetting()
|
D | ActivityTaskManagerInternal.java | 457 public abstract void notifyLockedProfile(@UserIdInt int userId, int currentUserId); in notifyLockedProfile() argument
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 450 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in onLogoutClicked() local 453 mIActivityManager.stopUser(currentUserId, true /*force*/, null); in onLogoutClicked()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 158 public void setCurrentUser(int currentUserId) { in setCurrentUser() argument 159 mUserId = currentUserId; in setCurrentUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 724 int currentUserId = getCurrentUser().id; in onPress() local 726 ActivityManager.getService().stopUser(currentUserId, true /*force*/, null); in onPress() 835 final int currentUserId = getCurrentUser().id; 836 final int[] profileIds = um.getEnabledProfileIds(currentUserId); 838 if (id != currentUserId) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 978 int currentUserId = getCurrentUserId(); 981 currentUserId, false /* enabledOnly */); 985 && user.id != currentUserId && !user.isQuietModeEnabled()) { 1357 int currentUserId = getCurrentUserId(); 1359 if (targetUserId == currentUserId) { 1379 UserInfo currentUserInfo = getUserInfo(currentUserId);
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 1421 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser() local 1423 Slog.d(TAG, "onUnlockUser: userId=" + userId + " curUserId=" + currentUserId); in onUnlockUser() 1425 if (userId != currentUserId) { in onUnlockUser() 1428 mSettings.switchCurrentUser(currentUserId, !mSystemReady); in onUnlockUser() 1611 final int currentUserId = mSettings.getCurrentUserId(); in systemRunning() local 1612 mSettings.switchCurrentUser(currentUserId, in systemRunning() 1613 !mUserManagerInternal.isUserUnlockingOrUnlocked(currentUserId)); in systemRunning() 1629 mSettingsObserver.registerContentObserverLocked(currentUserId); in systemRunning() 1649 mSettings.getEnabledInputMethodListLocked(), currentUserId, in systemRunning()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 1430 int currentUserId = ActivityManager.getCurrentUser(); in startConfirmationForNetwork() local 1431 UserInfo userInfo = UserManager.get(mContext).getUserInfo(currentUserId); in startConfirmationForNetwork() 1454 int currentUserId = ActivityManager.getCurrentUser(); in startConfirmationForKey() local 1455 UserInfo userInfo = UserManager.get(mContext).getUserInfo(currentUserId); in startConfirmationForKey()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 1673 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in sendUserPresentBroadcast() local 1674 final UserHandle currentUser = new UserHandle(currentUserId); in sendUserPresentBroadcast() 1681 getLockPatternUtils().userPresent(currentUserId); in sendUserPresentBroadcast()
|