/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarMultiUserTestBase.java | 106 int currentUserId = getCurrentUserId(); in setMultiUserFixtures() local 107 Log.d(TAG, "Multi-user state on " + getTestName() + ": currentUser=" + currentUserId in setMultiUserFixtures() 110 if (user.id == currentUserId) { in setMultiUserFixtures() 157 int currentUserId = getCurrentUserId(); in cleanupUserState() local 159 if (currentUserId != initialUserId) { in cleanupUserState() 161 + currentUserId + "; switching back to " + initialUserId); in cleanupUserState()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskUtils.java | 80 public static boolean checkCurrentOrManagedUserId(int currentUserId, Context context) { in checkCurrentOrManagedUserId() argument 81 if (currentUserId == UserHandle.myUserId()) { in checkCurrentOrManagedUserId() 86 if (currentUserId == allUsers.get(i).getIdentifier()) { in checkCurrentOrManagedUserId()
|
D | RecentTasksList.java | 182 int currentUserId = Process.myUserHandle().getIdentifier(); in loadTasksInBackground() local 184 mActivityManagerWrapper.getRecentTasks(numTasks, currentUserId); in loadTasksInBackground()
|
D | RecentsModel.java | 141 int currentUserId = Process.myUserHandle().getIdentifier(); in onTaskStackChangedBackground() local 142 if (!checkCurrentOrManagedUserId(currentUserId, mContext)) { in onTaskStackChangedBackground()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 303 int currentUserId = ActivityManager.getCurrentUser(); in doStart() local 304 setCurrentUser(currentUserId); in doStart() 306 if (userManager.isUserUnlocked(currentUserId)) { in doStart() 307 setUserUnlocked(currentUserId); in doStart()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | CrossProfileAppsPregrantController.java | 109 int currentUserId = android.os.Process.myUserHandle().getIdentifier(); in isParentProfileOfManagedProfile() local 110 for (UserInfo userInfo : mUserManager.getProfiles(currentUserId)) { in isParentProfileOfManagedProfile() 113 mUserManager.getProfileParent(userHandle).getIdentifier() == currentUserId) { in isParentProfileOfManagedProfile()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | PrivacyChipViewController.java | 99 int currentUserId = mCarDeviceProvisionedController.getCurrentUser(); 100 if (mCurrentUserId == currentUserId) { 104 setUser(currentUserId);
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceController.java | 92 int currentUserId = UserHandle.myUserId(); in aggregateDataUsage() local 113 if (profileContainsUserId(profiles, userId) && userId == currentUserId) { in aggregateDataUsage() 120 if (profileContainsUserId(profiles, userId) && userId != currentUserId) { in aggregateDataUsage()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 2430 int currentUserId = ActivityManager.getCurrentUser(); in mockCurrentUserForBinderCalls() local 2431 Log.d(TAG, "testetUserIdentificationAssociation_ok(): current user is " + currentUserId); in mockCurrentUserForBinderCalls() 2432 UserInfo currentUser = mockUmGetUserInfo(mMockedUserManager, currentUserId, in mockCurrentUserForBinderCalls() 2514 private void mockHalGetInitialInfo(@UserIdInt int currentUserId, in mockHalGetInitialInfo() argument 2516 UsersInfo usersInfo = newUsersInfo(currentUserId); in mockHalGetInitialInfo() 2532 private void mockHalSwitch(@UserIdInt int currentUserId, @NonNull UserInfo androidTargetUser, in mockHalSwitch() argument 2534 mockHalSwitch(currentUserId, HalCallback.STATUS_OK, response, androidTargetUser); in mockHalSwitch() 2573 private BlockingAnswer<Void> mockHalSwitchLateResponse(@UserIdInt int currentUserId, in mockHalSwitchLateResponse() argument 2579 UsersInfo usersInfo = newUsersInfo(currentUserId); in mockHalSwitchLateResponse() 2596 private void mockHalSwitch(@UserIdInt int currentUserId, in mockHalSwitch() argument [all …]
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 177 final int currentUserId = ActivityManager.getCurrentUser(); in doUserLockChanged() local 181 + ", unlocked: " + unlocked + ", currentUser: " + currentUserId); in doUserLockChanged() 183 if (unlocked && (userId == currentUserId || userId == UserHandle.USER_SYSTEM)) { in doUserLockChanged()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ResetAppsHelper.java | 144 final int currentUserId = ActivityManager.getCurrentUser(); in onClick() 147 if (UserHandle.getUserId(uid) == currentUserId) { in onClick()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceGroup.java | 55 int currentUserId = getContext().getUserId(); in onAppRebuild() local 60 if (app.userId != currentUserId) { in onAppRebuild()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | InitialUserSetter.java | 356 int currentUserId = ActivityManager.getCurrentUser(); in replaceUser() local 357 UserInfo currentUser = mUm.getUserInfo(currentUserId); in replaceUser() 443 int currentUserId = ActivityManager.getCurrentUser(); in switchUser() local 444 if (actualUserId != currentUserId) { in switchUser()
|
D | CarUserService.java | 755 int currentUserId = ActivityManager.getCurrentUser(); in initResumeReplaceGuest() local 756 UserInfo currentUser = mUserManager.getUserInfo(currentUserId); in initResumeReplaceGuest()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | FixedActivityServiceTest.java | 276 int currentUserId = 10; in testStartFixedActivityModeForDisplayAndUser_notAllowedUser() local 281 mockAmGetCurrentUser(currentUserId); in testStartFixedActivityModeForDisplayAndUser_notAllowedUser() 282 expectNoProfileUser(currentUserId); in testStartFixedActivityModeForDisplayAndUser_notAllowedUser()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | ProfileUserFragment.java | 151 int currentUserId = ActivityManager.getCurrentUser(); in updateTextInfo() local 153 mUserIdText.setText("Current userId:" + currentUserId + " myUserId:" + myUserId); in updateTextInfo() 172 int[] profileUsers = mUserManager.getEnabledProfileIds(currentUserId); in updateTextInfo()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 289 int currentUserId = ActivityManager.getCurrentUser(); in isCurrentUserHeadlessSystemUser() local 291 && currentUserId == UserHandle.USER_SYSTEM; in isCurrentUserHeadlessSystemUser()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 369 final int currentUserId = ActivityManager.getCurrentUser(); in bindStats() local 383 if (userId != currentUserId) { in bindStats()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 362 int currentUserId = userManager.getUserHandle(); in getManagedProfile() local 363 List<UserInfo> userProfiles = userManager.getProfiles(currentUserId); in getManagedProfile()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 504 int currentUserId = ActivityManager.getCurrentUser(); in updateCarUserNoticeServiceIfNecessary() local 505 UserInfo currentUserInfo = mUserManager.getUserInfo(currentUserId); in updateCarUserNoticeServiceIfNecessary() 517 carUserNoticeService.ignoreUserNotice(currentUserId); in updateCarUserNoticeServiceIfNecessary()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 531 void onUnlockedUserSwitching(int currentUserId) { in onUnlockedUserSwitching() argument 540 + " NETWORK_CARRIER_PROVISIONING permission for user - " + currentUserId); in onUnlockedUserSwitching()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 892 final int currentUserId = userManager.getUserHandle(); in getWorkProfileUserInfo() local 904 if (parent.id == currentUserId in getWorkProfileUserInfo()
|