/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/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()
|
D | LocationControllerImpl.java | 112 int currentUserId = ActivityManager.getCurrentUser(); in setLocationEnabled() 132 UserHandle.of(ActivityManager.getCurrentUser())); in isLocationEnabled()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationShellCmd.java | 116 int userId = ActivityManager.getCurrentUser(); in onCommand() 127 int userId = ActivityManager.getCurrentUser(); in onCommand() 141 int userId = ActivityManager.getCurrentUser(); in onCommand() 154 int userId = ActivityManager.getCurrentUser(); in onCommand() 167 int userId = ActivityManager.getCurrentUser(); in onCommand() 180 int userId = ActivityManager.getCurrentUser(); in onCommand() 207 int userId = ActivityManager.getCurrentUser(); in onCommand() 215 int userId = ActivityManager.getCurrentUser(); in onCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 517 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 534 if (userId == KeyguardUpdateMonitor.getCurrentUser()) { 558 if (targetUserId != ActivityManager.getCurrentUser()) { 580 if (targetUserId != ActivityManager.getCurrentUser()) { 640 int currentUser = ActivityManager.getCurrentUser(); 676 && KeyguardUpdateMonitor.getCurrentUser() == UserHandle.USER_SYSTEM; in mustNotUnlockCurrentUser() 706 KeyguardUpdateMonitor.setCurrentUser(ActivityManager.getCurrentUser()); in setupLocked() 714 KeyguardUpdateMonitor.getCurrentUser()), in setupLocked() 809 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep() 813 long timeout = getLockTimeout(KeyguardUpdateMonitor.getCurrentUser()); in onStartedGoingToSleep() [all …]
|
/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() 361 mCurrentUserObservable.getCurrentUser().getValue()); in getClockPlugin() 370 mCurrentUserObservable.getCurrentUser().getValue()); in getClockPlugin()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | LegacyRecentsImpl.java | 248 int currentUser = sSystemServicesProxy.getCurrentUser(); in showRecentApps() 275 int currentUser = sSystemServicesProxy.getCurrentUser(); in hideRecentApps() 301 int currentUser = sSystemServicesProxy.getCurrentUser(); in toggleRecentApps() 326 int currentUser = sSystemServicesProxy.getCurrentUser(); in preloadRecentApps() 348 int currentUser = sSystemServicesProxy.getCurrentUser(); in cancelPreloadRecentApps() 377 int currentUser = sSystemServicesProxy.getCurrentUser(); in splitPrimaryTask() 456 int currentUser = sSystemServicesProxy.getCurrentUser(); in onConfigurationChanged() 624 int currentUser = sSystemServicesProxy.getCurrentUser(); in onBusEvent() 748 pw.println(" currentUserId=" + SystemServicesProxy.getInstance(mContext).getCurrentUser()); in dump()
|
/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/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 | KeyguardPatternView.java | 156 KeyguardUpdateMonitor.getCurrentUser())); in onFinishInflate() 220 KeyguardUpdateMonitor.getCurrentUser())); in reset() 231 KeyguardUpdateMonitor.getCurrentUser()); in reset() 285 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in onPatternDetected() 343 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPatternChecked()
|
D | KeyguardAbsKeyInputView.java | 84 KeyguardUpdateMonitor.getCurrentUser()); in reset() 140 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in verifyPasswordAndUnlock() 201 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPasswordChecked()
|
D | KeyguardUpdateMonitor.java | 399 public synchronized static int getCurrentUser() { in getCurrentUser() method in KeyguardUpdateMonitor 593 userId = ActivityManager.getService().getCurrentUser().id; in handleFingerprintAuthenticated() 651 getCurrentUser()); in handleFingerprintError() 745 userId = ActivityManager.getService().getCurrentUser().id; in handleFaceAuthenticated() 803 getCurrentUser()); in handleFaceError() 1317 int userId = getCurrentUser(); in isUnlockingWithBiometricAllowed() 1322 int userId = getCurrentUser(); in hasUserAuthenticatedSinceBoot() 1603 && !mUserFingerprintAuthenticated.get(getCurrentUser(), false) in shouldListenForFingerprintAssistant() 1604 && !mUserHasTrust.get(getCurrentUser(), false); in shouldListenForFingerprintAssistant() 1609 && !mUserFaceAuthenticated.get(getCurrentUser(), false) in shouldListenForFaceAssistant() [all …]
|
D | KeyguardStatusView.java | 294 KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo() 296 info = mLockPatternUtils.getOwnerInfo(KeyguardUpdateMonitor.getCurrentUser()); in updateOwnerInfo() 427 && KeyguardUpdateMonitor.getCurrentUser() != UserHandle.USER_SYSTEM; in shouldShowLogout() 431 int currentUserId = KeyguardUpdateMonitor.getCurrentUser(); in onLogoutClicked()
|
D | KeyguardPasswordView.java | 83 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/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/theme/ |
D | ThemeOverlayController.java | 91 if (ActivityManager.getCurrentUser() == userId) { in start() 100 final int currentUser = ActivityManager.getCurrentUser(); in updateThemeOverlays()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserObservable.java | 57 public LiveData<Integer> getCurrentUser() { in getCurrentUser() method in CurrentUserObservable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenModePanel.java | 424 mContext, time, ActivityManager.getCurrentUser()); in createCondition() 431 ActivityManager.getCurrentUser(), false); in createCondition() 506 final boolean is24 = DateFormat.is24HourFormat(mContext, ActivityManager.getCurrentUser()); in computeAlarmWarningText() 551 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); 596 ActivityManager.getCurrentUser()); 728 MAX_BUCKET_MINUTES, ActivityManager.getCurrentUser()); in bind() 784 bucketTime, bucketMinutes, ActivityManager.getCurrentUser(), in onClickTimeButton() 792 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton() 798 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/ |
D | ShadowActivityManager.java | 39 protected static int getCurrentUser() { in getCurrentUser() method in ShadowActivityManager
|