Home
last modified time | relevance | path

Searched refs:getCurrentUserId (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java178 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
201 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
226 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
248 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getCustomPrinterIcon()
272 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in cancelPrintJob()
298 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in restartPrintJob()
323 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServices()
357 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in setPrintServiceEnabled()
378 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServiceRecommendations()
400 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in createPrinterDiscoverySession()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java45 public int getCurrentUserId() { in getCurrentUserId() method in CurrentUserTracker
46 return mUserReceiver.getCurrentUserId(); in getCurrentUserId()
88 public int getCurrentUserId() { in getCurrentUserId() method in CurrentUserTracker.UserReceiver
DCurrentUserObservable.java59 mCurrentUser.setValue(mTracker.getCurrentUserId()); in getCurrentUser()
DBrightnessController.java392 mUserTracker.getCurrentUserId())); in checkRestrictionAndSetEnabled()
400 mUserTracker.getCurrentUserId()); in setMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java45 int getCurrentUserId(); in getCurrentUserId() method
DNotificationLockscreenUserManagerImpl.java481 public int getCurrentUserId() { in getCurrentUserId() method in NotificationLockscreenUserManagerImpl
502 final boolean devicePublic = showingKeyguard && isSecure(getCurrentUserId()); in updatePublicMode()
515 if (!devicePublic && userId != getCurrentUserId() in updatePublicMode()
DNotificationViewHierarchyManager.java157 int currentUserId = mLockscreenUserManager.getCurrentUserId(); in updateNotificationViews()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java282 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded()
339 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard()
368 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard()
511 controller.mService.getCurrentUserId())) { in visibilitiesUpdated()
DRecentsAnimation.java103 final int userId = mService.getCurrentUserId(); in startRecentsActivity()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java1050 if (resolvedUserId != mSettings.getCurrentUserId()) { in onReceive()
1129 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUserLocked()
1275 mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1297 curIm.getComponent(), 0, mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1421 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser()
1532 + " currentUserId=" + mSettings.getCurrentUserId()); in switchUserLocked()
1585 mUserManager.getProfileIdsWithDisabled(mSettings.getCurrentUserId())); in updateCurrentProfileIds()
1611 final int currentUserId = mSettings.getCurrentUserId(); in systemRunning()
1667 + mSettings.getCurrentUserId() + ", calling pid = " + Binder.getCallingPid() in calledFromValidUserLocked()
1673 if (userId == mSettings.getCurrentUserId()) { in calledFromValidUserLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java50 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles()
DStatusBarRemoteInputCallback.java234 pendingIntent.getIntent(), mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
265 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
DNavigationModeController.java147 + ActivityManagerWrapper.getInstance().getCurrentUserId());
231 int userId = ActivityManagerWrapper.getInstance().getCurrentUserId(); in getCurrentUserContext()
DStatusBarNotificationActivityStarter.java205 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
209 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
DStatusBarNotificationPresenter.java234 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter()
352 isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); in canHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java76 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java80 when(mNotificationLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java188 public abstract int getCurrentUserId(); in getCurrentUserId() method in ActivityManagerInternal
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java956 int currentUserId = getCurrentUserId();
1031 final int oldUserId = getCurrentUserId();
1325 int currentUserId = getCurrentUserId();
1596 && callingUserId == getCurrentUserId()
1666 ? getCurrentUserId(): userId;
1756 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(getCurrentUserId(),
1891 int getCurrentUserId() {
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java454 userId = getCurrentUserId(); in enroll()
902 private int getCurrentUserId() { in getCurrentUserId() method in FingerprintManager
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java286 doReturn(TEST_USER_ID).when(mService).getCurrentUserId(); in testMultipleUserHomeActivity_findUserHomeTask()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoader.java150 preloadTasks(plan, runningTaskId, ActivityManagerWrapper.getInstance().getCurrentUserId()); in preloadTasks()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java97 public int getCurrentUserId() { in getCurrentUserId() method in ActivityManagerWrapper
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java196 mCurrentUserId = mCurrentUserTracker.getCurrentUserId(); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java305 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo()

12