Searched refs:isEnabledUser (Results 1 – 8 of 8) sorted by relevance
33 when(mUserHandleHelper.isEnabledUser(mUser)).thenReturn(true); in MockedUserHandleBuilder()38 when(mUserHandleHelper.isEnabledUser(mUser)).thenReturn(false); in setDisabled()65 when(mUserHandleHelper.isEnabledUser(mUser)).thenThrow(exception); in expectGettersFail()
116 doReturn(true).when(() -> UserManagerHelper.isEnabledUser(mUserManager, user)); in testIsEnabledUser()118 assertThat(mUserHandleHelper.isEnabledUser(user)).isTrue(); in testIsEnabledUser()
88 public boolean isEnabledUser(UserHandle user) { in isEnabledUser() method in UserHandleHelper89 return UserManagerHelper.isEnabledUser(mUserManager, user); in isEnabledUser()
314 && mUserHandleHelper.isEnabledUser(user) in getAllDrivers()331 && mUserHandleHelper.isEnabledUser(user) in getPassengers()
116 public static boolean isEnabledUser(@NonNull UserManager userManager, in isEnabledUser() method in UserManagerHelper
143 if (!userHandleHelper.isEnabledUser(user)) { in convertFlags()
322 method TIRAMISU_0 boolean isEnabledUser(UserManager userManager, UserHandle user);
330 …method public static boolean isEnabledUser(@NonNull android.os.UserManager, @NonNull android.os.Us…