Searched refs:isValidUser (Results 1 – 3 of 3) sorted by relevance
133 assertThat(mMgr.isValidUser(USER_SYSTEM)).isFalse(); in testIsValidUser_headlessSystemUser()141 assertThat(mMgr.isValidUser(USER_SYSTEM)).isTrue(); in testIsValidUser_nonHeadlessSystemUser()148 assertThat(mMgr.isValidUser(1)).isTrue(); in testIsValidUser_found()149 assertThat(mMgr.isValidUser(2)).isTrue(); in testIsValidUser_found()150 assertThat(mMgr.isValidUser(3)).isTrue(); in testIsValidUser_found()157 assertThat(mMgr.isValidUser(4)).isFalse(); in testIsValidUser_notFound()162 assertThat(mMgr.isValidUser(666)).isFalse(); in testIsValidUser_emptyUsers()
163 assertThrows(SecurityException.class, () -> mCarUserManager.isValidUser(42)); in testIsValidUserPermission()
824 public boolean isValidUser(@UserIdInt int userId) { in isValidUser() method in CarUserManager