/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
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()
|
D | TimeZoneDetectorInternalImpl.java | 52 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in getCapabilitiesAndConfigForDpm() 62 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in updateConfigurationForDpm() 72 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in setManualTimeZoneForDpm()
|
/frameworks/base/services/print/java/com/android/server/print/ |
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() 424 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in isPrintServiceEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorInternalImpl.java | 58 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in getCapabilitiesAndConfigForDpm() 69 int currentUserId = mCurrentUserIdentityInjector.getCurrentUserId(); in updateConfigurationForDpm() 79 int userId = mCurrentUserIdentityInjector.getCurrentUserId(); in setManualTimeForDpm()
|
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/ |
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()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | TimeDetectorInternalImplTest.java | 97 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm() 121 mTestCurrentUserIdentityInjector.getCurrentUserId(), in testUpdateConfigurationForDpm() 133 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | TimeZoneDetectorInternalImplTest.java | 107 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm() 136 mTestCurrentUserIdentityInjector.getCurrentUserId(), in testUpdateConfigurationForDpm() 148 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm()
|
D | TestCurrentUserIdentityInjector.java | 32 public int getCurrentUserId() { in getCurrentUserId() method in TestCurrentUserIdentityInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | GenericWindowPolicyControllerTest.java | 742 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpc() 785 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithCustomHomeComponent() 807 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithBlockedComponent() 829 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithAllowedComponent() 851 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithDisplayCategory() 873 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithCrossTaskNavigationBlockedFor() 895 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithCrossTaskNavigationAllowed() 918 /* allowedUsers= */ new ArraySet<>(getCurrentUserId()), in createGwpcWithPermissionComponent() 934 private Set<UserHandle> getCurrentUserId() { in getCurrentUserId() method in GenericWindowPolicyControllerTest
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemUserInfoHelper.java | 136 public @UserIdInt int getCurrentUserId() { in getCurrentUserId() method in SystemUserInfoHelper 141 return activityManagerInternal.getCurrentUserId(); in getCurrentUserId()
|
D | UserInfoHelper.java | 155 public abstract @UserIdInt int getCurrentUserId(); in getCurrentUserId() method in UserInfoHelper
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManager.java | 43 int getCurrentUserId(); in getCurrentUserId() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | DreamMediaEntryComplicationTest.java | 169 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaOverLockscreen() 206 when(mLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testClickToOpenMediaDismissingLockscreen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | HideNotifsForOtherUsersCoordinator.java | 71 sb.append(" user=").append(mLockscreenUserManager.getCurrentUserId());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicPrivacyController.java | 81 mLockscreenUserManager.getCurrentUserId()); in isDynamicPrivacyEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenter.java | 192 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter() 300 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId()); 360 final int currentUserId = mLockscreenUserManager.getCurrentUserId();
|
D | StatusBarRemoteInputCallback.java | 281 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick() 314 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MusicFxHelper.java | 117 UserHandle.of(getCurrentUserId())); in put() 244 PackageManager.PackageInfoFlags.of(MATCH_ANY_USER), getCurrentUserId()); in handleAudioEffectBroadcast() 362 private int getCurrentUserId() { in getCurrentUserId() method in MusicFxHelper
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 134 public int getCurrentUserId() { in getCurrentUserId() method in FakeUserInfoHelper
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardController.java | 380 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded() 507 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard() 537 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard() 678 controller.mService.getCurrentUserId()); in updateVisibility()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
D | CurrentUserServiceSupplier.java | 304 int currentUserId = mActivityManager.getCurrentUserId(); in getServiceInfo() 360 if (userId == mActivityManager.getCurrentUserId()) { in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallbackTest.java | 90 when(mNotificationLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | DreamMediaEntryComplication.java | 162 mLockscreenUserManager.getCurrentUserId()); in onClickMediaEntry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 395 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo() 441 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo() 495 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
|