Home
last modified time | relevance | path

Searched refs:UserHandleHelper (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DMockedUserHandleBuilder.java26 private UserHandleHelper mUserHandleHelper;
28 private MockedUserHandleBuilder(UserHandleHelper userHandleHelper, in MockedUserHandleBuilder()
75 public static UserHandle expectRegularUserExists(@NonNull UserHandleHelper userHandleHelper, in expectRegularUserExists()
81 @NonNull UserHandleHelper userHandleHelper, @UserIdInt int userId) { in expectUserExistsButGettersFail()
85 public static UserHandle expectSystemUserExists(@NonNull UserHandleHelper userHandleHelper, in expectSystemUserExists()
90 public static UserHandle expectManagedProfileExists(@NonNull UserHandleHelper userHandleHelper, in expectManagedProfileExists()
96 public static UserHandle expectAdminUserExists(@NonNull UserHandleHelper userHandleHelper, in expectAdminUserExists()
101 public static UserHandle expectEphemeralUserExists(@NonNull UserHandleHelper userHandleHelper, in expectEphemeralUserExists()
106 public static UserHandle expectDisabledUserExists(@NonNull UserHandleHelper userHandleHelper, in expectDisabledUserExists()
111 public static UserHandle expectGuestUserExists(@NonNull UserHandleHelper userHandleHelper, in expectGuestUserExists()
DUserHandleHelperUnitTest.java49 private UserHandleHelper mUserHandleHelper;
60 mUserHandleHelper = new UserHandleHelper(mMockContext, mUserManager); in setup()
DInitialUserSetterTest.java97 private UserHandleHelper mMockedUserHandleHelper;
DBaseCarUserServiceTestCase.java177 @Mock protected UserHandleHelper mMockedUserHandleHelper;
/packages/services/Car/service/src/com/android/car/user/
DUserHandleHelper.java32 public final class UserHandleHelper { class
37 public UserHandleHelper(@NonNull Context context, @NonNull UserManager userManager) { in UserHandleHelper() method in UserHandleHelper
DInitialUserSetter.java137 private final UserHandleHelper mUserHandleHelper;
142 @NonNull Consumer<UserHandle> listener, @NonNull UserHandleHelper userHandleHelper) { in InitialUserSetter()
148 @NonNull Consumer<UserHandle> listener, @NonNull UserHandleHelper userHandleHelper, in InitialUserSetter()
157 @NonNull UserHandleHelper userHandleHelper, @Nullable String newUserName, in InitialUserSetter()
DExperimentalCarUserService.java92 private final UserHandleHelper mUserHandleHelper;
133 this(context, carUserService, userManager, new UserHandleHelper(context, userManager)); in ExperimentalCarUserService()
138 UserManager userManager, UserHandleHelper userHandleHelper) { in ExperimentalCarUserService()
DCarUserService.java340 private final UserHandleHelper mUserHandleHelper;
348 this(context, hal, userManager, new UserHandleHelper(context, userManager), in CarUserService()
358 @NonNull UserHandleHelper userHandleHelper, in CarUserService()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java52 import com.android.car.user.UserHandleHelper;
127 public static int convertFlags(UserHandleHelper userHandleHelper, UserHandle user) { in convertFlags()
157 public static int getFlags(UserHandleHelper userHandleHelper, @UserIdInt int userId) { in getFlags()
582 public static UsersInfo newUsersInfo(UserManager um, UserHandleHelper userHandleHelper) { in newUsersInfo()
590 public static UsersInfo newUsersInfo(UserManager um, UserHandleHelper userHandleHelper, in newUsersInfo()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java69 import com.android.car.user.UserHandleHelper;
269 private final UserHandleHelper mUserHandleHelper;
274 new UserHandleHelper(context, context.getSystemService(UserManager.class))); in FixedActivityService()
279 DisplayManager displayManager, UserHandleHelper userHandleHelper) { in FixedActivityService()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java78 import com.android.car.user.UserHandleHelper;
264 private final UserHandleHelper mUserHandleHelper;
275 new UserHandleHelper(context, context.getSystemService(UserManager.class))); in CarOccupantZoneService()
281 UserHandleHelper userHandleHelper) { in CarOccupantZoneService()
DCarMediaService.java91 import com.android.car.user.UserHandleHelper;
363 private final UserHandleHelper mUserHandleHelper;
377 new UserHandleHelper(context, context.getSystemService(UserManager.class))); in CarMediaService()
383 @NonNull UserHandleHelper userHandleHelper) { in CarMediaService()
DCarShellCommand.java154 import com.android.car.user.UserHandleHelper;
2246 UserHandleHelper userHandleHelper = new UserHandleHelper(mContext, um);
2252 UserHandleHelper userHandleHelper = new UserHandleHelper(mContext, um);
2533 request.newUserInfo.flags = UserHalHelper.convertFlags(new UserHandleHelper(mContext, um),
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java65 import com.android.car.user.UserHandleHelper;
98 private UserHandleHelper mUserHandleHelper;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java85 import com.android.car.user.UserHandleHelper;
129 @Mock private UserHandleHelper mUserHandleHelper;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java64 import com.android.car.user.UserHandleHelper;
97 private UserHandleHelper mUserHandleHelper;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java76 import com.android.car.user.UserHandleHelper;
96 private UserHandleHelper mUserHandleHelper;
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java109 import com.android.car.user.UserHandleHelper;
1023 UserHandleHelper userHandleHelper = new UserHandleHelper(mContext, mUserManager); in updateCarUserNoticeServiceIfNecessary()