Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java180 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in print()
203 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfos()
228 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintJobInfo()
250 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getCustomPrinterIcon()
287 != getCurrentUserId()) { in validateIconUserBoundary()
307 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in cancelPrintJob()
333 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in restartPrintJob()
358 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServices()
392 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in setPrintServiceEnabled()
1094 if (userId != getCurrentUserId()) { in resolveCallingProfileParentLocked()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/
H A DCurrentUserIdentityInjector.java33 @UserIdInt int getCurrentUserId(); in getCurrentUserId() method
42 public int getCurrentUserId() { in getCurrentUserId() method in CurrentUserIdentityInjector.Real
43 return LocalServices.getService(ActivityManagerInternal.class).getCurrentUserId(); in getCurrentUserId()
H A DTimeZoneDetectorInternalImpl.java52 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in getCapabilitiesAndConfigForDpm()
62 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in updateConfigurationForDpm()
72 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in setManualTimeZoneForDpm()
/aosp14/frameworks/base/services/core/java/com/android/server/timedetector/
H A DTimeDetectorInternalImpl.java58 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in getCapabilitiesAndConfigForDpm()
69 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in updateConfigurationForDpm()
79 int userId = mCurrentUserIdentityInjector.getCurrentUserId(); in setManualTimeForDpm()
/aosp14/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DAbstractContentCapturePerfTestCase.java106 final int userId = getCurrentUserId(); in setService()
116 final int userId = getCurrentUserId(); in resetService()
121 private static int getCurrentUserId() { in getCurrentUserId() method in AbstractContentCapturePerfTestCase
188 final int userId = getCurrentUserId(); in setDefaultServiceEnabled()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DTimeDetectorInternalImplTest.java97 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm()
121 mTestCurrentUserIdentityInjector.getCurrentUserId(), in testUpdateConfigurationForDpm()
133 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DTimeZoneDetectorInternalImplTest.java107 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm()
136 mTestCurrentUserIdentityInjector.getCurrentUserId(), in testUpdateConfigurationForDpm()
148 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm()
H A DTestCurrentUserIdentityInjector.java31 public int getCurrentUserId() { in getCurrentUserId() method in TestCurrentUserIdentityInjector
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodManagerService.java2043 mSettings.getCurrentUserId(), null); in getInputMethodList()
2066 mSettings.getCurrentUserId(), null); in getEnabledInputMethodList()
2093 if (userId == mSettings.getCurrentUserId()) { in isStylusHandwritingAvailableAsUser()
2123 if (userId == mSettings.getCurrentUserId() in getInputMethodListLocked()
2149 if (userId == mSettings.getCurrentUserId()) { in getEnabledInputMethodListLocked()
2214 if (userId == mSettings.getCurrentUserId()) { in getEnabledInputMethodSubtypeListLocked()
3277 mSettings.getCurrentUserId()); in updateInputMethodsFromSettingsLocked()
3888 if (userId != mSettings.getCurrentUserId()) { in startInputOrWindowGainedFocusInternalLocked()
5624 if (userId == mSettings.getCurrentUserId() in queryDefaultInputMethodForUserIdLocked()
5672 if (userId == mSettings.getCurrentUserId()) { in switchToInputMethodLocked()
[all …]
H A DInputMethodBindingController.java327 curMethodPackage, 0 /* flags */, mSettings.getCurrentUserId());
483 new UserHandle(mSettings.getCurrentUserId())); in bindCurrentInputMethodService()
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DSystemUserInfoHelper.java136 public @UserIdInt int getCurrentUserId() { in getCurrentUserId() method in SystemUserInfoHelper
141 return activityManagerInternal.getCurrentUserId(); in getCurrentUserId()
H A DUserInfoHelper.java155 public abstract @UserIdInt int getCurrentUserId(); in getCurrentUserId() method in UserInfoHelper
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DUserAwareBiometricScheduler.java47 int getCurrentUserId(); in getCurrentUserId() method
135 final int currentUserId = mCurrentUserRetriever.getCurrentUserId(); in startNextOperationIfIdle()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManager.java45 int getCurrentUserId(); in getCurrentUserId() method
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
H A DDreamMediaEntryComplicationTest.java169 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaOverLockscreen()
206 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaDismissingLockscreen()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DDynamicPrivacyController.java81 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DHideNotifsForOtherUsersCoordinator.java71 sb.append(" user=").append(mLockscreenUserManager.getCurrentUserId());
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java156 assertWithMessage("getCurrentUserId()").that(mUms.getCurrentUserId()) in testGetCurrentUserId_amInternalNotReady()
173 assertWithMessage("getCurrentUserId()").that(mUms.getCurrentUserId()) in testGetCurrentUserId()
429 when(mActivityManagerInternal.getCurrentUserId()).thenReturn(userId); in mockCurrentUser()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarRemoteInputCallback.java266 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick()
299 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
H A DStatusBarNotificationPresenter.java170 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter()
284 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
/aosp14/frameworks/base/services/core/java/com/android/server/servicewatcher/
H A DCurrentUserServiceSupplier.java278 int currentUserId = mActivityManager.getCurrentUserId(); in getServiceInfo()
334 if (userId == mActivityManager.getCurrentUserId()) { in onReceive()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DFakeUserInfoHelper.java134 public int getCurrentUserId() { in getCurrentUserId() method in FakeUserInfoHelper
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DGracePeriodObserverTest.java75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationGutsManager.java362 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo()
409 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo()
464 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DKeyguardController.java360 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded()
480 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard()
517 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard()

1234