/aosp14/frameworks/base/services/print/java/com/android/server/print/ |
H A D | PrintManagerService.java | 180 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 D | CurrentUserIdentityInjector.java | 33 @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 D | TimeZoneDetectorInternalImpl.java | 52 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 D | TimeDetectorInternalImpl.java | 58 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 D | AbstractContentCapturePerfTestCase.java | 106 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 D | TimeDetectorInternalImplTest.java | 97 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 D | TimeZoneDetectorInternalImplTest.java | 107 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm() 136 mTestCurrentUserIdentityInjector.getCurrentUserId(), in testUpdateConfigurationForDpm() 148 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm()
|
H A D | TestCurrentUserIdentityInjector.java | 31 public int getCurrentUserId() { in getCurrentUserId() method in TestCurrentUserIdentityInjector
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodManagerService.java | 2043 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 D | InputMethodBindingController.java | 327 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 D | SystemUserInfoHelper.java | 136 public @UserIdInt int getCurrentUserId() { in getCurrentUserId() method in SystemUserInfoHelper 141 return activityManagerInternal.getCurrentUserId(); in getCurrentUserId()
|
H A D | UserInfoHelper.java | 155 public abstract @UserIdInt int getCurrentUserId(); in getCurrentUserId() method in UserInfoHelper
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
H A D | UserAwareBiometricScheduler.java | 47 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 D | NotificationLockscreenUserManager.java | 45 int getCurrentUserId(); in getCurrentUserId() method
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
H A D | DreamMediaEntryComplicationTest.java | 169 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 D | DynamicPrivacyController.java | 81 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | HideNotifsForOtherUsersCoordinator.java | 71 sb.append(" user=").append(mLockscreenUserManager.getCurrentUserId());
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceTest.java | 156 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 D | StatusBarRemoteInputCallback.java | 266 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick() 299 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
|
H A D | StatusBarNotificationPresenter.java | 170 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter() 284 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
|
/aosp14/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
H A D | CurrentUserServiceSupplier.java | 278 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 D | FakeUserInfoHelper.java | 134 public int getCurrentUserId() { in getCurrentUserId() method in FakeUserInfoHelper
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
H A D | GracePeriodObserverTest.java | 75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationGutsManager.java | 362 || 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 D | KeyguardController.java | 360 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded() 480 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard() 517 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard()
|