/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 67 UserInfo currentUser; in onReceive() local 69 currentUser = ActivityManager.getService().getCurrentUser(); in onReceive() 73 if (!currentUser.isGuest()) { in onReceive() 97 UserInfo currentUser; in wipeGuestSession() local 99 currentUser = ActivityManager.getService().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/legacy/recents/src/com/android/systemui/recents/ |
D | LegacyRecentsImpl.java | 248 int currentUser = sSystemServicesProxy.getCurrentUser(); in showRecentApps() local 249 if (sSystemServicesProxy.isSystemUser(currentUser)) { in showRecentApps() 255 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); in showRecentApps() 264 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); in showRecentApps() 275 int currentUser = sSystemServicesProxy.getCurrentUser(); in hideRecentApps() local 276 if (sSystemServicesProxy.isSystemUser(currentUser)) { in hideRecentApps() 281 mSystemToUserCallbacks.getNonSystemUserRecentsForUser(currentUser); in hideRecentApps() 289 Log.e(TAG, "No SystemUI callbacks found for user: " + currentUser); in hideRecentApps() 301 int currentUser = sSystemServicesProxy.getCurrentUser(); in toggleRecentApps() local 302 if (sSystemServicesProxy.isSystemUser(currentUser)) { in toggleRecentApps() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 100 final int currentUser = ActivityManager.getCurrentUser(); in updateThemeOverlays() local 103 currentUser); in updateThemeOverlays() 118 Set<UserHandle> userHandles = Sets.newHashSet(UserHandle.of(currentUser)); in updateThemeOverlays() 119 for (UserInfo userInfo : mUserManager.getEnabledProfiles(currentUser)) { in updateThemeOverlays()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | MultiUserSwitch.java | 168 String currentUser = null; in refreshContentDescription() local 171 currentUser = mUserSwitcherController.getCurrentUserName(mContext); in refreshContentDescription() 176 if (!TextUtils.isEmpty(currentUser)) { in refreshContentDescription() 179 currentUser); in refreshContentDescription()
|
D | NotificationListenerWithPlugins.java | 44 int currentUser) throws RemoteException { in registerAsSystemService() argument 45 super.registerAsSystemService(context, componentName, currentUser); in registerAsSystemService()
|
D | LockscreenWallpaper.java | 183 final int currentUser = mCurrentUserId; in run() local 188 return loadBitmap(currentUser, selectedUser); in run()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 132 UserInfo currentUser = null; in ensureIsPrimaryUser() local 134 currentUser = ActivityManager.getService().getCurrentUser(); in ensureIsPrimaryUser() 140 if (currentUser == null) { in ensureIsPrimaryUser() 146 if (primaryUser.id != currentUser.id) { in ensureIsPrimaryUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 517 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 518 if (mLockPatternUtils.isSecure(currentUser)) { 520 currentUser); 640 int currentUser = ActivityManager.getCurrentUser(); 641 boolean trust = mTrustManager.isTrustUsuallyManaged(currentUser); 642 boolean biometrics = mUpdateMonitor.isUnlockingWithBiometricsPossible(currentUser); 646 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser); 809 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep() local 811 mLockPatternUtils.getPowerButtonInstantlyLocks(currentUser) in onStartedGoingToSleep() 812 || !mLockPatternUtils.isSecure(currentUser); in onStartedGoingToSleep() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceDelegate.java | 75 public int currentUser; field in KeyguardServiceDelegate.KeyguardState 89 currentUser = UserHandle.USER_NULL; in reset() 172 if (mKeyguardState.currentUser != UserHandle.USER_NULL) { 174 mKeyguardService.setCurrentUser(mKeyguardState.currentUser); 388 mKeyguardState.currentUser = newUserId; in setCurrentUser() 440 pw.println(prefix + "currentUser=" + mKeyguardState.currentUser); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 224 int currentUser = ActivityManager.getCurrentUser(); in onTuningChanged() local 225 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged() 235 || ((CustomTile) tile).getUser() == currentUser)) { in onTuningChanged() 239 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged() 240 tile.userSwitch(currentUser); in onTuningChanged() 263 mCurrentUser = currentUser; in onTuningChanged()
|
D | QSSecurityFooter.java | 141 final UserInfo currentUser = mUm.getUserInfo(ActivityManager.getCurrentUser()); in handleRefreshState() local 142 final boolean isDemoDevice = UserManager.isDeviceInDemoMode(mContext) && currentUser != null in handleRefreshState() 143 && currentUser.isDemo(); in handleRefreshState()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 422 UserInfo currentUser; in getAndValidateUser() local 424 currentUser = ActivityManager.getService().getCurrentUser(); in getAndValidateUser() 435 if (currentUser == null) { in getAndValidateUser() 445 if (primaryUser.id != currentUser.id) { in getAndValidateUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedController.java | 22 boolean isUserSetup(int currentUser); in isUserSetup() argument
|
D | DeviceProvisionedControllerImpl.java | 80 public boolean isUserSetup(int currentUser) { in isUserSetup() argument 81 return Secure.getIntForUser(mContentResolver, Secure.USER_SETUP_COMPLETE, 0, currentUser) in isUserSetup()
|
D | UserInfoControllerImpl.java | 104 final int currentUser = ActivityManager.getService().getCurrentUser().id; 107 if (changedUser == currentUser) {
|
D | SecurityControllerImpl.java | 241 UserHandle currentUser = new UserHandle(mCurrentUserId); in isVpnRestricted() local 243 || mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_VPN, currentUser); in isVpnRestricted()
|
/frameworks/base/telephony/java/android/telephony/ |
D | LocationAccessPolicy.java | 310 final int currentUser = ActivityManager.getCurrentUser(); in isCurrentProfile() local 312 if (callingUserId == currentUser) { in isCurrentProfile() 316 UserManager.class).getProfiles(currentUser); in isCurrentProfile()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 109 final int currentUser = ActivityManager.getCurrentUser(); in getCurrentProfileContentResolver() local 112 if (DBG) Rlog.d(LOG_TAG, "myUser=" + myUser + "currentUser=" + currentUser); in getCurrentProfileContentResolver() 114 if (myUser != currentUser) { in getCurrentProfileContentResolver() 118 /* flags =*/ 0, new UserHandle(currentUser)); in getCurrentProfileContentResolver()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 400 int currentUser = mWifiPermissionsWrapper.getCurrentUser(); in isCurrentProfile() local 402 if (callingUserId == currentUser) { in isCurrentProfile() 405 List<UserInfo> userProfiles = mUserManager.getProfiles(currentUser); in isCurrentProfile()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 225 int currentUser = ActivityManager.getCurrentUser(); in getVrDisplayMode() local 229 currentUser); in getVrDisplayMode()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 539 UserInfo currentUser = getCurrentUser(); 540 return currentUser == null || currentUser.isPrimary(); 547 UserInfo currentUser = getCurrentUser(); 550 boolean isCurrentUser = currentUser == null 551 ? user.id == 0 : (currentUser.id == user.id);
|
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/ |
D | FingerprintService.java | 163 final int currentUser = ActivityManager.getCurrentUser(); in handleFailedAttempt() local 164 mFailedAttempts.put(currentUser, mFailedAttempts.get(currentUser, 0) + 1); in handleFailedAttempt() 168 scheduleLockoutResetForUser(currentUser); in handleFailedAttempt() 890 final int currentUser = ActivityManager.getCurrentUser(); in getLockoutMode() local 891 final int failedAttempts = mFailedAttempts.get(currentUser, 0); in getLockoutMode() 895 && !mTimedLockoutCleared.get(currentUser, false) in getLockoutMode()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ScheduleConditionProvider.java | 296 final int currentUser = ActivityManager.getCurrentUser(); in saveSnoozedLocked() local 300 currentUser); in saveSnoozedLocked() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 852 UserInfo currentUser = getCurrentUser(); 853 return currentUser == null || currentUser.isPrimary(); 860 UserInfo currentUser = getCurrentUser(); 863 boolean isCurrentUser = currentUser == null 864 ? user.id == 0 : (currentUser.id == user.id);
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 224 int currentUser = ActivityManager.getCurrentUser(); in update() local 227 ApplicationInfo info = getInfoForKey(key, currentUser); in update() 230 sendPinAppMessage(key, currentUser, force); in update()
|