Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedController.java25 int getCurrentUser(); in getCurrentUser() method
28 return isUserSetup(getCurrentUser()); in isCurrentUserSetup()
DDeviceProvisionedControllerImpl.java59 public int getCurrentUser() { in getCurrentUser() method in DeviceProvisionedControllerImpl
60 return ActivityManager.getCurrentUser(); in getCurrentUser()
67 startListening(getCurrentUser()); in addCallback()
DUserSwitcherController.java203 int currentId = ActivityManager.getCurrentUser(); in refreshUsers()
336 int currentUser = ActivityManager.getCurrentUser(); in logoutCurrentUser()
348 if (ActivityManager.getCurrentUser() == userId) { in removeUserId()
375 int currUserId = ActivityManager.getCurrentUser(); in switchTo()
474 int currentUserId = ActivityManager.getCurrentUser();
495 int currentUser = ActivityManager.getCurrentUser();
765 UserManager.DISALLOW_ADD_USER, ActivityManager.getCurrentUser()); in checkIfAddUserDisallowedByAdminOnly()
767 UserManager.DISALLOW_ADD_USER, ActivityManager.getCurrentUser())) { in checkIfAddUserDisallowedByAdminOnly()
DLocationControllerImpl.java102 int currentUserId = ActivityManager.getCurrentUser(); in setLocationEnabled()
125 Settings.Secure.LOCATION_MODE_OFF, ActivityManager.getCurrentUser()); in isLocationEnabled()
DZenModeController.java36 int getCurrentUser(); in getCurrentUser() method
DPreviewInflater.java126 intent, flags, KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
132 KeyguardUpdateMonitor.getCurrentUser()); in getWidgetInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java521 final int currentUser = KeyguardUpdateMonitor.getCurrentUser();
538 if (userId == KeyguardUpdateMonitor.getCurrentUser()) {
562 if (targetUserId != ActivityManager.getCurrentUser()) {
584 if (targetUserId != ActivityManager.getCurrentUser()) {
632 int currentUser = ActivityManager.getCurrentUser();
668 && KeyguardUpdateMonitor.getCurrentUser() == UserHandle.USER_SYSTEM; in mustNotUnlockCurrentUser()
691 KeyguardUpdateMonitor.setCurrentUser(ActivityManager.getCurrentUser()); in setupLocked()
699 KeyguardUpdateMonitor.getCurrentUser()), in setupLocked()
780 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep()
784 long timeout = getLockTimeout(KeyguardUpdateMonitor.getCurrentUser()); in onStartedGoingToSleep()
[all …]
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java119 final int startUser = mAm.getCurrentUser(); in switchUser()
155 final int startUser = mAm.getCurrentUser(); in lockedBootCompleted()
176 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileUnlock()
194 final int startUser = mAm.getCurrentUser(); in ephemeralUserStopped()
227 UserInfo.FLAG_MANAGED_PROFILE, mAm.getCurrentUser()); in managedProfileStopped()
/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/recents/
DRecents.java267 int currentUser = sSystemServicesProxy.getCurrentUser(); in showRecentApps()
305 int currentUser = sSystemServicesProxy.getCurrentUser(); in hideRecentApps()
342 int currentUser = sSystemServicesProxy.getCurrentUser(); in toggleRecentApps()
373 int currentUser = sSystemServicesProxy.getCurrentUser(); in preloadRecentApps()
401 int currentUser = sSystemServicesProxy.getCurrentUser(); in cancelPreloadRecentApps()
437 int currentUser = sSystemServicesProxy.getCurrentUser(); in dockTopTask()
581 int currentUser = sSystemServicesProxy.getCurrentUser(); in onConfigurationChanged()
713 int currentUser = sSystemServicesProxy.getCurrentUser(); in onBusEvent()
835 pw.println(" currentUserId=" + SystemServicesProxy.getInstance(mContext).getCurrentUser()); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java179 int currentUser = ActivityManager.getCurrentUser(); in onTuningChanged()
233 TextUtils.join(",", specs), ActivityManager.getCurrentUser()); in removeTile()
238 TILES_SETTING, ActivityManager.getCurrentUser()); in addTile()
245 TextUtils.join(",", tileSpecs), ActivityManager.getCurrentUser()); in addTile()
271 new UserHandle(ActivityManager.getCurrentUser())); in changeTiles()
280 TextUtils.join(",", newTiles), ActivityManager.getCurrentUser()); in changeTiles()
DSecureSetting.java44 mUserId = ActivityManager.getCurrentUser(); in SecureSetting()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardStateMonitor.java56 mCurrentUserId = ActivityManager.getCurrentUser(); in KeyguardStateMonitor()
102 private synchronized int getCurrentUser() { in getCurrentUser() method in KeyguardStateMonitor
/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()
261 queryIntent, 0, ActivityManager.getCurrentUser());
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java79 KeyguardUpdateMonitor.getCurrentUser()); in reset()
130 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in verifyPasswordAndUnlock()
187 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPasswordChecked()
DKeyguardPatternView.java187 KeyguardUpdateMonitor.getCurrentUser())); in reset()
194 KeyguardUpdateMonitor.getCurrentUser()); in reset()
241 final int userId = KeyguardUpdateMonitor.getCurrentUser(); in onPatternDetected()
299 boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId; in onPatternChecked()
DEmergencyButton.java188 new UserHandle(KeyguardUpdateMonitor.getCurrentUser())); in takeEmergencyCallAction()
206 visible = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()); in updateEmergencyCallButton()
DKeyguardStatusView.java235 String skeleton = DateFormat.is24HourFormat(context, ActivityManager.getCurrentUser()) in formatNextAlarm()
274 KeyguardUpdateMonitor.getCurrentUser()); in getOwnerInfo()
276 info = mLockPatternUtils.getOwnerInfo(KeyguardUpdateMonitor.getCurrentUser()); in getOwnerInfo()
DKeyguardUpdateMonitor.java353 public synchronized static int getCurrentUser() { in getCurrentUser() method in KeyguardUpdateMonitor
538 userId = ActivityManager.getService().getCurrentUser().id; in handleFingerprintAuthenticated()
596 getCurrentUser()); in handleFingerprintError()
981 int userId = getCurrentUser(); in isUnlockingWithFingerprintAllowed()
986 int userId = getCurrentUser(); in hasUserAuthenticatedSinceBoot()
1208 && !mUserFingerprintAuthenticated.get(getCurrentUser(), false) in shouldListenForFingerprintAssistant()
1209 && !mUserHasTrust.get(getCurrentUser(), false); in shouldListenForFingerprintAssistant()
1216 && !mSwitchingUser && !isFingerprintDisabled(getCurrentUser()) in shouldListenForFingerprint()
1226 int userId = ActivityManager.getCurrentUser(); in startListeningForFingerprint()
1555 if (mUserManager.isUserUnlocked(getCurrentUser())) { in resolveNeedsSlowUnlockTransition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java89 final int keyguardUserId = KeyguardUpdateMonitor.getCurrentUser(); in show()
105 final int activeUserId = ActivityManager.getCurrentUser(); in show()
322 mKeyguardView.finish(strongAuth, KeyguardUpdateMonitor.getCurrentUser()); in notifyKeyguardAuthenticated()
DKeyguardBottomAreaView.java374 KeyguardUpdateMonitor.getCurrentUser()); in resolveCameraIntent()
447 mLockPatternUtils.requireCredentialEntry(KeyguardUpdateMonitor.getCurrentUser()); in handleTrustCircleClick()
453 KeyguardUpdateMonitor.getCurrentUser(), true /* onlyDirectBootAware */); in bindCameraPrewarmService()
494 mContext, intent, KeyguardUpdateMonitor.getCurrentUser()); in launchCamera()
870 KeyguardUpdateMonitor.getCurrentUser()); in getIntent()
871 boolean secure = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()); in getIntent()
/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/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/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeZenModeController.java72 public int getCurrentUser() { in getCurrentUser() method in FakeZenModeController
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java225 ActivityManager.getCurrentUser()); in getNextAlarm()
290 final int currentUser = ActivityManager.getCurrentUser(); in saveSnoozedLocked()
304 ActivityManager.getCurrentUser()); in readSnoozed()

123456