/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 121 final int startUser = mAm.getCurrentUser(); in switchUser() 139 final int startUser = mAm.getCurrentUser(); in switchUser_stopped() 161 final int startUser = mAm.getCurrentUser(); in switchUser_running() 198 final int startUser = mAm.getCurrentUser(); in lockedBootCompleted() 219 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock() 239 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock_stopped() 265 final int startUser = mAm.getCurrentUser(); in ephemeralUserStopped() 298 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileStopped() 343 final int origUser = mAm.getCurrentUser(); in initializeNewUserAndSwitchBack() 354 attestTrue("Didn't switch back to user, " + origUser, origUser == mAm.getCurrentUser()); in initializeNewUserAndSwitchBack()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/ |
D | SUWProgressController.java | 65 return isUserSetupInProgress(ActivityManager.getCurrentUser()); in isCurrentUserSetupInProgress() 74 startListening(ActivityManager.getCurrentUser()); in addCallback() 110 ActivityManager.getCurrentUser()); in onUserSwitched()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedController.java | 23 int getCurrentUser(); in getCurrentUser() method 26 return isUserSetup(getCurrentUser()); in isCurrentUserSetup()
|
D | DeviceProvisionedControllerImpl.java | 86 public int getCurrentUser() { in getCurrentUser() method in DeviceProvisionedControllerImpl 87 return ActivityManager.getCurrentUser(); in getCurrentUser() 94 startListening(getCurrentUser()); in addCallback()
|
D | PreviewInflater.java | 129 intent, flags, KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo() 135 KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
|
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 51 mOriginalUserId = getDevice().getCurrentUser(); in setup() 94 mOriginalUserId = getDevice().getCurrentUser(); in createAndSwitchToSecondaryUserIfNecessary() 102 if (getDevice().getCurrentUser() == userId) { in switchToUser()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationShellCmd.java | 159 int userId = ActivityManager.getCurrentUser(); in onCommand() 170 int userId = ActivityManager.getCurrentUser(); in onCommand() 184 int userId = ActivityManager.getCurrentUser(); in onCommand() 197 int userId = ActivityManager.getCurrentUser(); in onCommand() 210 int userId = ActivityManager.getCurrentUser(); in onCommand() 223 int userId = ActivityManager.getCurrentUser(); in onCommand() 250 int userId = ActivityManager.getCurrentUser(); in onCommand() 258 int userId = ActivityManager.getCurrentUser(); in onCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 524 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 541 if (userId == KeyguardUpdateMonitor.getCurrentUser()) { 565 if (targetUserId != ActivityManager.getCurrentUser()) { 587 if (targetUserId != ActivityManager.getCurrentUser()) { 647 int currentUser = ActivityManager.getCurrentUser(); 683 && KeyguardUpdateMonitor.getCurrentUser() == UserHandle.USER_SYSTEM; in mustNotUnlockCurrentUser() 713 KeyguardUpdateMonitor.setCurrentUser(ActivityManager.getCurrentUser()); in setupLocked() 720 KeyguardUpdateMonitor.getCurrentUser()), true /* forceCallbacks */); in setupLocked() 814 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep() 818 long timeout = getLockTimeout(KeyguardUpdateMonitor.getCurrentUser()); in onStartedGoingToSleep() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | LegacyRecentsImpl.java | 249 int currentUser = sSystemServicesProxy.getCurrentUser(); in showRecentApps() 276 int currentUser = sSystemServicesProxy.getCurrentUser(); in hideRecentApps() 302 int currentUser = sSystemServicesProxy.getCurrentUser(); in toggleRecentApps() 327 int currentUser = sSystemServicesProxy.getCurrentUser(); in preloadRecentApps() 349 int currentUser = sSystemServicesProxy.getCurrentUser(); in cancelPreloadRecentApps() 378 int currentUser = sSystemServicesProxy.getCurrentUser(); in splitPrimaryTask() 457 int currentUser = sSystemServicesProxy.getCurrentUser(); in onConfigurationChanged() 625 int currentUser = sSystemServicesProxy.getCurrentUser(); in onBusEvent() 749 pw.println(" currentUserId=" + SystemServicesProxy.getInstance(mContext).getCurrentUser()); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockManager.java | 79 mCurrentUserObservable.getCurrentUser().getValue())) { 227 mCurrentUserObservable.getCurrentUser().observeForever(mCurrentUserObserver); in register() 236 mCurrentUserObservable.getCurrentUser().removeObserver(mCurrentUserObserver); in unregister() 364 mCurrentUserObservable.getCurrentUser().getValue()); in getClockPlugin() 373 mCurrentUserObservable.getCurrentUser().getValue()); in getClockPlugin()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 213 getCurrentUser())); in isLocationModeEnabled() 253 protected int getCurrentUser() { in getCurrentUser() method in LocationPermissionChecker 254 return ActivityManager.getCurrentUser(); in getCurrentUser()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 43 public int getCurrentUser() { in getCurrentUser() method in WifiPermissionsWrapper 44 return ActivityManager.getCurrentUser(); in getCurrentUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 125 KeyguardUpdateMonitor.getCurrentUser()); in setup() 396 KeyguardUpdateMonitor.getCurrentUser(), 0 /* flags */); in testTriesToAuthenticate_whenTrustOnAgentKeyguard_ifBypass() 406 KeyguardUpdateMonitor.getCurrentUser(), 0 /* flags */); in testIgnoresAuth_whenTrustAgentOnKeyguard_withoutBypass() 435 mKeyguardUpdateMonitor.onFaceAuthenticated(KeyguardUpdateMonitor.getCurrentUser()); in testOnFaceAuthenticated_skipsFaceWhenAuthenticated() 444 int user = KeyguardUpdateMonitor.getCurrentUser(); in testGetUserCanSkipBouncer_whenFace() 451 int user = KeyguardUpdateMonitor.getCurrentUser(); in testGetUserCanSkipBouncer_whenFingerprint() 458 int user = KeyguardUpdateMonitor.getCurrentUser(); in testGetUserCanSkipBouncer_whenTrust()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 78 new UserHandle(ActivityManager.getCurrentUser()))); in TileServiceManager() 93 new UserHandle(ActivityManager.getCurrentUser()), filter, null, mHandler); in TileServiceManager() 277 queryIntent, 0, ActivityManager.getCurrentUser());
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 310 ActivityManager.getCurrentUser()); in getTimeUntilNextAlarmCondition() 320 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in bindGenericCountdown() 390 MAX_BUCKET_MINUTES, ActivityManager.getCurrentUser()); in updateUi() 435 bucketTime, bucketMinutes, ActivityManager.getCurrentUser(), in onClickTimeButton() 443 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton() 449 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton() 496 final boolean is24 = DateFormat.is24HourFormat(mContext, ActivityManager.getCurrentUser()); in getTime()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputView.java | 85 KeyguardUpdateMonitor.getCurrentUser()); in reset() 141 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in verifyPasswordAndUnlock() 202 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPasswordChecked()
|
D | KeyguardPatternView.java | 157 KeyguardUpdateMonitor.getCurrentUser())); in onFinishInflate() 221 KeyguardUpdateMonitor.getCurrentUser())); in reset() 232 KeyguardUpdateMonitor.getCurrentUser()); in reset() 288 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in onPatternDetected() 347 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPatternChecked()
|
D | KeyguardUpdateMonitor.java | 427 public synchronized static int getCurrentUser() { in getCurrentUser() method in KeyguardUpdateMonitor 667 userId = ActivityManager.getService().getCurrentUser().id; in handleFingerprintAuthenticated() 724 getCurrentUser()); in handleFingerprintError() 824 userId = ActivityManager.getService().getCurrentUser().id; in handleFaceAuthenticated() 885 getCurrentUser()); in handleFaceError() 1003 return mStrongAuthTracker.getStrongAuthForUser(getCurrentUser()) in userNeedsStrongAuth() 1410 int userId = getCurrentUser(); in isUnlockingWithBiometricAllowed() 1415 int userId = getCurrentUser(); in hasUserAuthenticatedSinceBoot() 1710 && !mUserFingerprintAuthenticated.get(getCurrentUser(), false) in shouldListenForFingerprintAssistant() 1711 && !mUserHasTrust.get(getCurrentUser(), false); in shouldListenForFingerprintAssistant() [all …]
|
D | KeyguardStatusView.java | 306 KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo() 308 info = mLockPatternUtils.getOwnerInfo(KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo() 446 && KeyguardUpdateMonitor.getCurrentUser() != UserHandle.USER_SYSTEM; in shouldShowLogout() 450 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in onLogoutClicked()
|
D | KeyguardPasswordView.java | 84 mPasswordEntry.setTextOperationUser(UserHandle.of(KeyguardUpdateMonitor.getCurrentUser())); in resetState() 181 mPasswordEntry.setTextOperationUser(UserHandle.of(KeyguardUpdateMonitor.getCurrentUser())); in onFinishInflate() 270 imm.getEnabledInputMethodListAsUser(KeyguardUpdateMonitor.getCurrentUser()); in hasMultipleEnabledIMEsOrSubtypes()
|
/frameworks/base/core/java/android/hardware/display/ |
D | NightDisplayListener.java | 46 this(context, ActivityManager.getCurrentUser(), new Handler(Looper.getMainLooper())); in NightDisplayListener() 50 this(context, ActivityManager.getCurrentUser(), handler); in NightDisplayListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 224 int currentUser = ActivityManager.getCurrentUser(); in onTuningChanged() 296 TILES_SETTING, ActivityManager.getCurrentUser()); in changeTileSpecs() 300 TextUtils.join(",", tileSpecs), ActivityManager.getCurrentUser()); in changeTileSpecs() 327 new UserHandle(ActivityManager.getCurrentUser())); in changeTiles() 336 TextUtils.join(",", newTiles), ActivityManager.getCurrentUser()); in changeTiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 91 if (ActivityManager.getCurrentUser() == userId) { in start() 100 final int currentUser = ActivityManager.getCurrentUser(); in updateThemeOverlays()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | SysUiTaskStackChangeListener.java | 32 int currentUserId = SystemServicesProxy.getInstance(context).getCurrentUser(); in checkCurrentUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 69 currentUser = ActivityManager.getService().getCurrentUser(); in onReceive() 99 currentUser = ActivityManager.getService().getCurrentUser(); in wipeGuestSession()
|