Home
last modified time | relevance | path

Searched refs:getCurrentUser (Results 1 – 25 of 176) sorted by relevance

12345678

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java121 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/
DDeviceProvisionedController.java23 int getCurrentUser(); in getCurrentUser() method
26 return isUserSetup(getCurrentUser()); in isCurrentUserSetup()
DDeviceProvisionedControllerImpl.java86 public int getCurrentUser() { in getCurrentUser() method in DeviceProvisionedControllerImpl
87 return ActivityManager.getCurrentUser(); in getCurrentUser()
94 startListening(getCurrentUser()); in addCallback()
DPreviewInflater.java129 intent, flags, KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
135 KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
DLocationControllerImpl.java112 int currentUserId = ActivityManager.getCurrentUser(); in setLocationEnabled()
132 UserHandle.of(ActivityManager.getCurrentUser())); in isLocationEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java116 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/
DKeyguardViewMediator.java517 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/
DClockManager.java79 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/
DLegacyRecentsImpl.java248 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/
DWifiPermissionsWrapper.java43 public int getCurrentUser() { in getCurrentUser() method in WifiPermissionsWrapper
44 return ActivityManager.getCurrentUser(); in getCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java78 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/
DEnableZenModeDialog.java310 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/
DKeyguardPatternView.java156 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()
DKeyguardAbsKeyInputView.java84 KeyguardUpdateMonitor.getCurrentUser()); in reset()
140 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in verifyPasswordAndUnlock()
201 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPasswordChecked()
DKeyguardUpdateMonitor.java399 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 …]
DKeyguardStatusView.java294 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()
DKeyguardPasswordView.java83 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/
DNightDisplayListener.java46 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/
DQSTileHost.java224 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/
DSysUiTaskStackChangeListener.java32 int currentUserId = SystemServicesProxy.getInstance(context).getCurrentUser(); in checkCurrentUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java91 if (ActivityManager.getCurrentUser() == userId) { in start()
100 final int currentUser = ActivityManager.getCurrentUser(); in updateThemeOverlays()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java69 currentUser = ActivityManager.getService().getCurrentUser(); in onReceive()
99 currentUser = ActivityManager.getService().getCurrentUser(); in wipeGuestSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserObservable.java57 public LiveData<Integer> getCurrentUser() { in getCurrentUser() method in CurrentUserObservable
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java424 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/
DShadowActivityManager.java39 protected static int getCurrentUser() { in getCurrentUser() method in ShadowActivityManager

12345678