Home
last modified time | relevance | path

Searched defs:currentUserId (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/task/
DDockTaskStackChangeListenerTest.kt41 val currentUserId = 10 in onTaskMovedToFront_taskNotForCurrentUser_appLaunchedNotCalled() constant
57 val currentUserId = 10 in onTaskMovedToFront_taskNotForDefaultDisplay_appLaunchedNotCalled() constant
73 val currentUserId = 10 in onTaskMovedToFront_taskMissingBaseActivityAndBaseIntentComponent_appLaunchedNotCalled() constant
89 val currentUserId = 10 in onTaskMovedToFront_appLaunchedCalled() constant
DTaskUtilsTest.kt38 val currentUserId = 10 in getComponentName_taskMissingBaseActivityAndBaseIntentComponent_returnsNull() constant
52 val currentUserId = 10 in getComponentName_returnsComponent() constant
66 val currentUserId = 10 in getComponentName_mediaComponent_returnsMediaComponent() constant
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DProfileSwitcherTest.java325 int currentUserId = 1000; in onUserPressed_triggersSwitch() local
349 int currentUserId = 1000; in onGuestPressed_createsAndSwitches() local
380 int currentUserId = 1000; in onUserPressed_alreadyStartedUser_doesNothing() local
402 int currentUserId = 1000; in onUserPressed_secondaryUser_stopsAndStartsNewUser() local
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java292 int currentUserId = ActivityManager.getCurrentUser(); in startOrBindServiceForPackage() local
306 CarUserService carUserService, @UserIdInt int currentUserId) { in isUserInScope()
320 int currentUserId = ActivityManager.getCurrentUser(); in handleOnUserSwitching() local
378 int currentUserId = ActivityManager.getCurrentUser(); in startOrBindServicesForUser() local
631 int currentUserId = ActivityManager.getCurrentUser(); in tryToRebind() local
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/task/
DDockTaskStackChangeListener.java36 public DockTaskStackChangeListener(int currentUserId, @NonNull DockInterface dockController) { in DockTaskStackChangeListener()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java647 int currentUserId = ActivityManager.getCurrentUser(); in mockCurrentUserForBinderCalls() local
709 protected void mockHalGetInitialInfo(@UserIdInt int currentUserId, in mockHalGetInitialInfo()
727 protected void mockHalSwitch(@UserIdInt int currentUserId, in mockHalSwitch()
773 protected BlockingAnswer<Void> mockHalSwitchLateResponse(@UserIdInt int currentUserId, in mockHalSwitchLateResponse()
797 protected void mockHalSwitch(@UserIdInt int currentUserId, in mockHalSwitch()
1002 protected UsersInfo newUsersInfo(@UserIdInt int currentUserId) { in newUsersInfo()
1097 @UserIdInt int currentUserId, @UserIdInt int targetUserId) { in isSwitchUserRequest()
1204 private SwitchUserRequestMatcher(int requestId, @UserIdInt int currentUserId, in SwitchUserRequestMatcher()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarMultiUserTestBase.java120 int currentUserId = getCurrentUserId(); in setMultiUserFixtures() local
175 int currentUserId = getCurrentUserId(); in cleanupUserState() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskUtils.java102 public static boolean checkCurrentOrManagedUserId(int currentUserId, Context context) { in checkCurrentOrManagedUserId()
DRecentTasksList.java282 int currentUserId = Process.myUserHandle().getIdentifier(); in loadTasksInBackground() local
388 int currentUserId = Process.myUserHandle().getIdentifier(); in dump() local
DRecentsModel.java209 int currentUserId = Process.myUserHandle().getIdentifier(); in onTaskStackChangedBackground() local
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DResetAppsHelper.java162 final int currentUserId = ActivityManager.getCurrentUser(); in resetApps() local
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserInfoView.java86 int currentUserId = ActivityManager.getCurrentUser(); in getStatus() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantController.java142 int currentUserId = android.os.Process.myUserHandle().getIdentifier(); in isParentProfileOfManagedProfile() local
/packages/apps/Settings/src/com/android/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java75 final int currentUserId = UserHandle.myUserId(); in onAttach() local
DNewKeyboardLayoutEnabledLocalesFragment.java69 final int currentUserId = UserHandle.myUserId(); in onAttach() local
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java107 int currentUserId, int currentUserFlags, int numberExistingUsers) { in writeCarUserServiceInitialUserInfoReq()
157 public static void writeCarUserServicePostSwitchUserReq(int targetUserId, int currentUserId) { in writeCarUserServicePostSwitchUserReq()
338 int currentUserId) { in writeCarUserHalPostSwitchUserReq()
352 int currentUserId) { in writeCarUserHalLegacySwitchUserReq()
381 public static void writeCarUserHalRemoveUserReq(int targetUserId, int currentUserId) { in writeCarUserHalRemoveUserReq()
DAssistUtilsHelper.java114 int currentUserId = ActivityManager.getCurrentUser(); in showPushToTalkSessionForActiveService() local
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java467 int currentUserId = getContext().getUserId(); in canCurrentUserBlockUsers() local
481 private boolean isMainUserOrManagedProfile(int currentUserId) { in isMainUserOrManagedProfile()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceGroup.java55 int currentUserId = getContext().getUserId(); in onAppRebuild() local
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DNonCurrentUserController.java72 int currentUserId = ActivityManager.getCurrentUser(); in getNonCurrentUserControllers() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffDataTest.java183 final int currentUserId = context.getUserId(); in createBatteryDiffEntry() local
DDataProcessorTest.java982 final int currentUserId = mContext.getUserId(); in generateBatteryUsageMap_returnsExpectedResult() local
1291 final int currentUserId = mContext.getUserId(); in generateBatteryUsageMap_multipleUsers_returnsExpectedResult() local
1496 final int currentUserId = mContext.getUserId(); in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult() local
1614 final int currentUserId = mContext.getUserId(); in generateBatteryUsageMap_hideApplicationEntries_returnsExpectedResult() local
1764 final int currentUserId = mContext.getUserId(); in generateBatteryUsageMap_hideBackgroundUsageTime_returnsExpectedResult() local
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/
DTargetInfo.java459 final int currentUserId = UserHandle.myUserId(); in prepareIntentForCrossProfileLaunch() local
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java393 int currentUserId = ActivityManager.getCurrentUser(); in replaceUser() local
497 int currentUserId = ActivityManager.getCurrentUser(); in switchUser() local
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java121 int currentUserId = UserHandle.myUserId(); in aggregateDataUsage() local

12