Searched refs:isEphemeralUser (Results 1 – 14 of 14) sorted by relevance
81 public boolean isEphemeralUser(UserHandle user) { in isEphemeralUser() method in UserHandleHelper82 return UserManagerHelper.isEphemeralUser(mUserManager, user); in isEphemeralUser()
561 if (mUserHandleHelper.isEphemeralUser(user)) { in replaceGuestIfNeeded()737 if (!mUserHandleHelper.isEphemeralUser(user)) { in setLastActiveUser()877 || mUserHandleHelper.isEphemeralUser(user)) { in hasValidInitialUser()
316 && !mUserHandleHelper.isEphemeralUser(user)); in getAllDrivers()
1850 return !mUserHandleHelper.isEphemeralUser(UserHandle.of(userId)); in isPersistentUser()
108 doReturn(true).when(() -> UserManagerHelper.isEphemeralUser(mUserManager, user)); in testIsEphemeralUser()110 assertThat(mUserHandleHelper.isEphemeralUser(user)).isTrue(); in testIsEphemeralUser()
53 when(mUserHandleHelper.isEphemeralUser(mUser)).thenReturn(true); in setEphemeral()
1021 if (mMockedUserHandleHelper.isEphemeralUser(handle)) { in newUsersInfo()
324 boolean isEphemeralUser = in setUserEphemeral()334 if (isEphemeralUser != enableEphemeral) { in setUserEphemeral()
97 public static boolean isEphemeralUser(@NonNull UserManager userManager, in isEphemeralUser() method in UserManagerHelper
140 if (userHandleHelper.isEphemeralUser(user)) { in convertFlags()
179 when(mUserHandleHelper.isEphemeralUser(UserHandle.of(TEST_USER_ID))).thenReturn(false); in setUp()
321 method TIRAMISU_0 boolean isEphemeralUser(UserManager userManager, UserHandle user);
605 return mUserHandleHelper.isEphemeralUser(userHandle); in isUserEphemeral()
331 …method public static boolean isEphemeralUser(@NonNull android.os.UserManager, @NonNull android.os.…