/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() 274 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in cancelPrintJob() 300 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in restartPrintJob() 325 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServices() 359 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in setPrintServiceEnabled() 391 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in isPrintServiceEnabled() 407 if (resolveCallingProfileParentLocked(resolvedUserId) != getCurrentUserId()) { in getPrintServiceRecommendations() [all …]
|
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/ |
D | AbstractContentCapturePerfTestCase.java | 104 final int userId = getCurrentUserId(); in setService() 114 final int userId = getCurrentUserId(); in resetService() 119 private static int getCurrentUserId() { in getCurrentUserId() method in AbstractContentCapturePerfTestCase 186 final int userId = getCurrentUserId(); in setDefaultServiceEnabled()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemUserInfoHelper.java | 124 public @UserIdInt int getCurrentUserId() { in getCurrentUserId() method in SystemUserInfoHelper 129 return activityManagerInternal.getCurrentUserId(); in getCurrentUserId()
|
D | UserInfoHelper.java | 141 public abstract @UserIdInt int getCurrentUserId(); in getCurrentUserId() method in UserInfoHelper
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | UserAwareBiometricScheduler.java | 47 int getCurrentUserId(); in getCurrentUserId() method 134 final int currentUserId = mCurrentUserRetriever.getCurrentUserId(); in startNextOperationIfIdle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManager.java | 45 int getCurrentUserId(); in getCurrentUserId() method
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 1326 if (senderUserId != mSettings.getCurrentUserId()) { in onReceive() 1405 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUserLocked() 1558 mSettings.getCurrentUserId()); in onFinishPackageChangesInternal() 1580 curIm.getComponent(), 0, mSettings.getCurrentUserId()); in onFinishPackageChangesInternal() 1698 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser() 1885 + " currentUserId=" + mSettings.getCurrentUserId()); in switchUserOnHandlerLocked() 1950 mUserManager.getProfileIdsWithDisabled(mSettings.getCurrentUserId())); in updateCurrentProfileIds() 1976 final int currentUserId = mSettings.getCurrentUserId(); in systemRunning() 2000 if (currentUserId != mSettings.getCurrentUserId()) { in systemRunning() 2050 + mSettings.getCurrentUserId() + ", calling pid = " + Binder.getCallingPid() in calledFromValidUserLocked() [all …]
|
D | InputMethodBindingController.java | 307 curMethodPackage, 0 /* flags */, mSettings.getCurrentUserId()); 467 new UserHandle(mSettings.getCurrentUserId())); in bindCurrentInputMethodService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/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/navigationbar/ |
D | NavigationModeController.java | 76 + ActivityManagerWrapper.getInstance().getCurrentUserId()); 174 int userId = ActivityManagerWrapper.getInstance().getCurrentUserId(); in getCurrentUserContext()
|
/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/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 103 public int getCurrentUserId() { in getCurrentUserId() method in FakeUserInfoHelper
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallback.java | 264 mLockscreenUserManager.getCurrentUserId()); in handleRemoteViewClick() 297 if (userId != mLockscreenUserManager.getCurrentUserId() in onReceive()
|
D | StatusBarNotificationPresenter.java | 190 onUserSwitched(mLockscreenUserManager.getCurrentUserId()); in StatusBarNotificationPresenter() 349 .isLockscreenPublicMode(mLockscreenUserManager.getCurrentUserId());
|
D | StatusBarNotificationActivityStarter.java | 233 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked() 238 mLockscreenUserManager.getCurrentUserId()); in onNotificationClicked()
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
D | CurrentUserServiceSupplier.java | 277 int currentUserId = mActivityManager.getCurrentUserId(); in getServiceInfo() 333 if (userId == mActivityManager.getCurrentUserId()) { in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallbackTest.java | 90 when(mNotificationLockscreenUserManager.getCurrentUserId()).thenReturn(mCurrentUserId); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardController.java | 350 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded() 455 if (!mWindowManager.isKeyguardSecure(mService.getCurrentUserId())) { in handleDismissKeyguard() 481 || !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canDismissKeyguard()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 353 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeNotificationInfo() 400 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializePartialConversationNotificationInfo() 455 || mLockscreenUserManager.getCurrentUserId() == UserHandle.USER_SYSTEM) { in initializeConversationNotificationInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | DreamMediaEntryComplication.java | 162 mLockscreenUserManager.getCurrentUserId()); in onClickMediaEntry()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubService.java | 333 if (userId == getCurrentUserId()) { in ContextHubService() 1228 getCurrentUserId(), SensorPrivacyManager.Sensors.MICROPHONE); 1254 private int getCurrentUserId() { 1273 Log.d(TAG, "User changed to id: " + getCurrentUserId());
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 361 doReturn(ui.id).when(mActivityManagerInternal).getCurrentUserId(); in createCurrentUser() 379 doReturn(UNAVAILABLE_USER).when(mActivityManagerInternal).getCurrentUserId(); in createRestrictedUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | StatusBarManagerServiceTest.java | 311 when(mActivityManagerInternal.getCurrentUserId()).thenReturn(user + 1); in testCurrentUser_fail() 324 when(mActivityManagerInternal.getCurrentUserId()).thenReturn(user); in testCurrentUser_pass() 723 when(mActivityManagerInternal.getCurrentUserId()).thenReturn(user); in mockCurrentUserCheck()
|