/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | Recents.java | 263 int currentUser = sSystemServicesProxy.getCurrentUser(); in showRecents() local 264 if (sSystemServicesProxy.isSystemUser(currentUser)) { in showRecents() 270 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); in showRecents() 280 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); in showRecents() 301 int currentUser = sSystemServicesProxy.getCurrentUser(); in hideRecents() local 302 if (sSystemServicesProxy.isSystemUser(currentUser)) { in hideRecents() 307 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); in hideRecents() 315 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); in hideRecents() 338 int currentUser = sSystemServicesProxy.getCurrentUser(); in toggleRecents() local 339 if (sSystemServicesProxy.isSystemUser(currentUser)) { in toggleRecents() [all …]
|
D | RecentsActivity.java | 182 int currentUser = SystemServicesProxy.getInstance(RecentsActivity.this) 185 Secure.OVERVIEW_LAST_STACK_ACTIVE_TIME, -1, currentUser); 204 Secure.OVERVIEW_LAST_STACK_ACTIVE_TIME, currentTime, currentUser);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 67 UserInfo currentUser; in onReceive() local 69 currentUser = ActivityManagerNative.getDefault().getCurrentUser(); in onReceive() 73 if (!currentUser.isGuest()) { in onReceive() 97 UserInfo currentUser; in wipeGuestSession() local 99 currentUser = ActivityManagerNative.getDefault().getCurrentUser(); in wipeGuestSession() 104 if (currentUser.id != userId) { in wipeGuestSession() 106 + " is not current user (" + currentUser.id + ")"); in wipeGuestSession() 109 if (!currentUser.isGuest()) { in wipeGuestSession() 115 boolean marked = userManager.markGuestForDeletion(currentUser.id); in wipeGuestSession() 120 UserInfo newGuest = userManager.createGuest(context, currentUser.name); in wipeGuestSession() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | MultiUserSwitch.java | 149 String currentUser = null; in refreshContentDescription() local 152 currentUser = mUserSwitcherController.getCurrentUserName(mContext); in refreshContentDescription() 157 if (!TextUtils.isEmpty(currentUser)) { in refreshContentDescription() 160 currentUser); in refreshContentDescription()
|
D | QSTileHost.java | 322 int currentUser = ActivityManager.getCurrentUser(); in onTuningChanged() local 323 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged() 334 || ((CustomTile) tile).getUser() == currentUser)) { in onTuningChanged() 337 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged() 338 tile.userSwitch(currentUser); in onTuningChanged() 354 mCurrentUser = currentUser; in onTuningChanged()
|
D | LockscreenWallpaper.java | 172 final int currentUser = mCurrentUserId; in run() local 177 return loadBitmap(currentUser, selectedUser); in run()
|
D | ScrimController.java | 586 public void setCurrentUser(int currentUser) { in setCurrentUser() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 514 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 515 if (mLockPatternUtils.isSecure(currentUser)) { 517 currentUser); 629 int currentUser = ActivityManager.getCurrentUser(); 630 boolean trust = mTrustManager.isTrustUsuallyManaged(currentUser); 631 boolean fingerprint = mUpdateMonitor.isUnlockWithFingerprintPossible(currentUser); 635 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser); 639 } else if (fingerprint && mUpdateMonitor.hasFingerprintUnlockTimedOut(currentUser)) { 767 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep() local 769 mLockPatternUtils.getPowerButtonInstantlyLocks(currentUser) in onStartedGoingToSleep() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceDelegate.java | 64 currentUser = UserHandle.USER_NULL; in KeyguardState() 76 public int currentUser; field in KeyguardServiceDelegate.KeyguardState 165 if (mKeyguardState.currentUser != UserHandle.USER_NULL) { 167 mKeyguardService.setCurrentUser(mKeyguardState.currentUser); 353 mKeyguardState.currentUser = newUserId; in setCurrentUser() 443 pw.println(prefix + "currentUser=" + mKeyguardState.currentUser); in dump()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 103 final int currentUser = ActivityManager.getCurrentUser(); in getCurrentProfileContentResolver() local 106 if (DBG) Rlog.d(LOG_TAG, "myUser=" + myUser + "currentUser=" + currentUser); in getCurrentProfileContentResolver() 108 if (myUser != currentUser) { in getCurrentProfileContentResolver() 112 /* flags =*/ 0, new UserHandle(currentUser)); in getCurrentProfileContentResolver()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 189 int currentUser = ActivityManager.getCurrentUser(); in getVrDisplayMode() local 193 currentUser); in getVrDisplayMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoController.java | 95 final int currentUser = ActivityManagerNative.getDefault().getCurrentUser().id; 98 if (changedUser == currentUser) {
|
D | SecurityControllerImpl.java | 173 UserHandle currentUser = new UserHandle(mCurrentUserId); in isVpnRestricted() local 175 || mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, currentUser); in isVpnRestricted()
|
D | UserSwitcherController.java | 321 int currentUser = ActivityManager.getCurrentUser(); in logoutCurrentUser() local 322 if (currentUser != UserHandle.USER_SYSTEM) { in logoutCurrentUser() 466 int currentUser = ActivityManager.getCurrentUser(); 467 UserInfo userInfo = mUserManager.getUserInfo(currentUser); 469 showExitGuestDialog(currentUser);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 602 UserInfo currentUser = getCurrentUser(); 603 return currentUser == null || currentUser.isPrimary(); 610 UserInfo currentUser = getCurrentUser(); 613 boolean isCurrentUser = currentUser == null 614 ? user.id == 0 : (currentUser.id == user.id);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ScheduleConditionProvider.java | 279 final int currentUser = ActivityManager.getCurrentUser(); in saveSnoozedLocked() local 283 currentUser); in saveSnoozedLocked() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 411 int currentUser = ActivityManager.getCurrentUser(); in applyUserRestriction() local 412 if (currentUser != userId && userId != UserHandle.USER_SYSTEM) { in applyUserRestriction()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 201 public StatsObserver(boolean isPrivate, MeasurementDetails details, int currentUser, in StatsObserver() argument 205 mCurrentUser = currentUser; in StatsObserver()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 761 int currentUser) throws RemoteException { in registerAsSystemService() argument 768 mCurrentUser = currentUser; in registerAsSystemService() 769 noMan.registerListener(mWrapper, componentName, currentUser); in registerAsSystemService()
|
D | NotificationRankerService.java | 107 int currentUser) { in registerAsSystemService() argument
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 243 int currentUser = ActivityManager.getCurrentUser(); in updateUser() local 245 int[] userIds = manager.getProfileIdsWithDisabled(currentUser); in updateUser() 254 mCurrentUserIdList.add(currentUser); in updateUser()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 322 int currentUser = ActivityManager.getCurrentUser(); in onEnabledComponentChanged() local 324 ArraySet<ComponentName> enabledListeners = mComponentObserver.getEnabled(currentUser); in onEnabledComponentChanged()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1121 int currentUser = ActivityManager.getCurrentUser(); in isCurrentProfile() local 1122 if (userId == currentUser) { in isCurrentProfile() 1125 List<UserInfo> profiles = mUserManager.getProfiles(currentUser); in isCurrentProfile()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1130 final int currentUser = getCurrentUserId(); in readUserRestrictions() local 1134 mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions() 1136 || mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions() 1143 Log.d(TAG, String.format("Master mute %s, user=%d", masterMute, currentUser)); in readUserRestrictions() 1150 currentUser, UserManager.DISALLOW_UNMUTE_MICROPHONE); in readUserRestrictions() 1152 Log.d(TAG, String.format("Mic mute %s, user=%d", microphoneMute, currentUser)); in readUserRestrictions() 1698 UserInfo currentUser = ActivityManagerNative.getDefault().getCurrentUser(); in getCurrentUserId() local 1699 return currentUser.id; in getCurrentUserId()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3474 int currentUser = ActivityManager.getCurrentUser(); in logoutCurrentUser() local 3475 if (currentUser != UserHandle.USER_SYSTEM) { in logoutCurrentUser() 3478 ActivityManagerNative.getDefault().stopUser(currentUser, /* force= */ false, null); in logoutCurrentUser()
|