Home
last modified time | relevance | path

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

12

/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java179 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
202 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
227 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
249 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getCustomPrinterIcon()
273 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in cancelPrintJob()
299 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in restartPrintJob()
324 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServices()
358 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in setPrintServiceEnabled()
379 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServiceRecommendations()
401 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in createPrinterDiscoverySession()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java47 public int getCurrentUserId() { in getCurrentUserId() method in CurrentUserTracker
48 return mUserReceiver.getCurrentUserId(); in getCurrentUserId()
90 public int getCurrentUserId() { in getCurrentUserId() method in CurrentUserTracker.UserReceiver
DCurrentUserObservable.java59 mCurrentUser.setValue(mTracker.getCurrentUserId()); in getCurrentUser()
DBrightnessController.java413 mUserTracker.getCurrentUserId())); in checkRestrictionAndSetEnabled()
421 mUserTracker.getCurrentUserId()); in setMode()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java1217 if (senderUserId != mSettings.getCurrentUserId()) { in onReceive()
1296 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUserLocked()
1442 mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1464 curIm.getComponent(), 0, mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1627 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser()
1749 + " currentUserId=" + mSettings.getCurrentUserId()); in switchUserOnHandlerLocked()
1816 mUserManager.getProfileIdsWithDisabled(mSettings.getCurrentUserId())); in updateCurrentProfileIds()
1842 final int currentUserId = mSettings.getCurrentUserId(); in systemRunning()
1898 + mSettings.getCurrentUserId() + ", calling pid = " + Binder.getCallingPid() in calledFromValidUserLocked()
1904 if (userId == mSettings.getCurrentUserId()) { in calledFromValidUserLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java274 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded()
335 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard()
364 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard()
506 controller.mService.getCurrentUserId())) { in visibilitiesUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java45 int getCurrentUserId(); in getCurrentUserId() method
DNotificationLockscreenUserManagerImpl.java572 public int getCurrentUserId() { in getCurrentUserId() method in NotificationLockscreenUserManagerImpl
607 if (!devicePublic && userId != getCurrentUserId() in updatePublicMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java55 mLockscreenUserManager.getCurrentUserId(), notificationUserId)); in isNotificationForCurrentProfiles()
DNavigationModeController.java79 + ActivityManagerWrapper.getInstance().getCurrentUserId());
172 int userId = ActivityManagerWrapper.getInstance().getCurrentUserId(); in getCurrentUserContext()
DStatusBarRemoteInputCallback.java252 pendingIntent.getIntent(), mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
285 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
DStatusBarNotificationPresenter.java228 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter()
487 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
DAutoTileManager.java191 public int getCurrentUserId() { in getCurrentUserId() method in AutoTileManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java80 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java72 mLockscreenUserManager.getCurrentUserId(),
DKeyguardCoordinator.java106 final int currUserId = mLockscreenUserManager.getCurrentUserId();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java84 when(mNotificationLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
DAutoTileManagerTest.java212 assertEquals(USER, mAutoTileManager.getCurrentUserId()); in testGetCurrentUserId()
218 assertEquals(USER + 100, mAutoTileManager.getCurrentUserId()); in testGetCurrentUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAutoAddTracker.java85 public int getCurrentUserId() { in getCurrentUserId() method in AutoAddTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java361 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo()
406 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo()
466 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java500 mCurrentBoundedUserId = getCurrentUserId();
734 UserHandle.of(getCurrentUserId())); in internalConnectToCurrentUser()
886 ActivityManagerWrapper.getInstance().getCurrentUserId()) != null; in updateEnabledState()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java211 public abstract int getCurrentUserId(); in getCurrentUserId() method in ActivityManagerInternal
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.java232 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(CURR_USER_ID); in setupUnfilteredState()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1171 int currentUserId = getCurrentUserId();
1254 final int oldUserId = getCurrentUserId();
1582 int currentUserId = getCurrentUserId();
1974 ? getCurrentUserId(): userId;
2068 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(getCurrentUserId(),
2204 int getCurrentUserId() {
2450 logUserJourneyInfo(getUserInfo(getCurrentUserId()), getUserInfo(msg.arg1),
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java476 userId = getCurrentUserId(); in enroll()
906 private int getCurrentUserId() { in getCurrentUserId() method in FingerprintManager

12