Home
last modified time | relevance | path

Searched refs:IsUserLoggedIn (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/chromeos/login/
Dlogin_state_unittest.cc63 EXPECT_FALSE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
74 EXPECT_TRUE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
82 EXPECT_FALSE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
92 EXPECT_FALSE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
103 EXPECT_TRUE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
115 EXPECT_TRUE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
125 EXPECT_TRUE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
132 EXPECT_FALSE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
145 EXPECT_TRUE(LoginState::Get()->IsUserLoggedIn()); in TEST_F()
Dlogin_state.cc83 bool LoginState::IsUserLoggedIn() const { in IsUserLoggedIn() function in chromeos::LoginState
108 if (!IsUserLoggedIn()) in UserHasNetworkProfile()
Dlogin_state.h69 bool IsUserLoggedIn() const;
/external/chromium_org/components/user_manager/
Duser_manager_base.cc540 return IsUserLoggedIn() && in IsCurrentUserNonCryptohomeDataEphemeral()
546 return IsUserLoggedIn() && active_user_->can_lock(); in CanCurrentUserLock()
549 bool UserManagerBase::IsUserLoggedIn() const { in IsUserLoggedIn() function in user_manager::UserManagerBase
556 return IsUserLoggedIn() && active_user_->GetType() == USER_TYPE_REGULAR; in IsLoggedInAsRegularUser()
561 return IsUserLoggedIn() && active_user_->GetType() == USER_TYPE_RETAIL_MODE; in IsLoggedInAsDemoUser()
566 return IsUserLoggedIn() && in IsLoggedInAsPublicAccount()
572 return IsUserLoggedIn() && active_user_->GetType() == USER_TYPE_GUEST; in IsLoggedInAsGuest()
577 return IsUserLoggedIn() && active_user_->GetType() == USER_TYPE_SUPERVISED; in IsLoggedInAsSupervisedUser()
582 return IsUserLoggedIn() && active_user_->GetType() == USER_TYPE_KIOSK_APP; in IsLoggedInAsKioskApp()
587 return IsUserLoggedIn() && in IsLoggedInAsStub()
[all …]
Duser_manager.h251 virtual bool IsUserLoggedIn() const = 0;
/external/chromium_org/chrome/browser/chromeos/background/
Dash_user_wallpaper_delegate.cc28 if (chromeos::LoginState::Get()->IsUserLoggedIn() || in IsNormalWallpaperChange()
97 if (!login_state->IsUserLoggedIn()) in CanOpenSetWallpaperPage()
/external/chromium_org/chrome/browser/chromeos/system/
Dautomatic_reboot_manager.cc174 if (!user_manager::UserManager::Get()->IsUserLoggedIn()) { in AutomaticRebootManager()
265 if (user_manager::UserManager::Get()->IsUserLoggedIn()) { in Observe()
398 (!ignore_session && user_manager::UserManager::Get()->IsUserLoggedIn())) { in MaybeReboot()
407 if (user_manager::UserManager::Get()->IsUserLoggedIn() && in Reboot()
/external/chromium_org/chrome/browser/chromeos/policy/
Dblocking_login_browsertest.cc261 EXPECT_FALSE(user_manager->IsUserLoggedIn()); in IN_PROC_BROWSER_TEST_P()
269 EXPECT_FALSE(user_manager->IsUserLoggedIn()); in IN_PROC_BROWSER_TEST_P()
327 ASSERT_TRUE(user_manager->IsUserLoggedIn()); in IN_PROC_BROWSER_TEST_P()
/external/chromium_org/chrome/browser/signin/
Deasy_unlock_service_signin_chromeos.cc242 if (chromeos::LoginState::Get()->IsUserLoggedIn()) in InitializeInternal()
269 !chromeos::LoginState::Get()->IsUserLoggedIn(); in IsAllowedInternal()
304 if (!chromeos::LoginState::Get()->IsUserLoggedIn()) in LoggedInStateChanged()
/external/chromium_org/chrome/browser/notifications/
Dlogin_state_notification_blocker_chromeos.cc57 return chromeos::LoginState::Get()->IsUserLoggedIn(); in ShouldShowNotificationAsPopup()
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.cc105 result->SetBoolean("isLoggedIn", user_manager->IsUserLoggedIn()); in RunSync()
108 if (user_manager->IsUserLoggedIn()) { in RunSync()
/external/chromium_org/chrome/browser/chromeos/login/demo_mode/
Ddemo_app_launcher_browsertest.cc39 if (!user_manager || !user_manager->IsUserLoggedIn()) { in WaitForProfile()
/external/chromium_org/chrome/browser/ui/ash/
Dsession_state_delegate_chromeos.cc39 SetSessionState(chromeos::LoginState::Get()->IsUserLoggedIn() ? in SessionStateDelegateChromeos()
245 SetSessionState(chromeos::LoginState::Get()->IsUserLoggedIn() ? in LoggedInStateChanged()
Dash_init.cc59 if (!chromeos::LoginState::Get()->IsUserLoggedIn()) in OpenAsh()
/external/chromium_org/chrome/browser/chromeos/kiosk_mode/
Dkiosk_mode_screensaver.cc252 if (chromeos::LoginState::Get()->IsUserLoggedIn()) in SetupScreensaver()
291 if (controller && !chromeos::LoginState::Get()->IsUserLoggedIn()) in OnUserActivity()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Duser_adding_screen.cc71 if (user_manager::UserManager::Get()->IsUserLoggedIn()) { in Cancel()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_mode_idle_app_name_notification.cc71 DCHECK(user_manager::UserManager::Get()->IsUserLoggedIn()); in Setup()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_function_base.cc56 CHECK(chromeos::LoginState::Get()->IsUserLoggedIn()); in Start()
/external/chromium_org/chrome/browser/chromeos/login/lock/
Dscreen_locker.h145 bool IsUserLoggedIn(const std::string& username);
Dscreen_locker.cc260 LOG_ASSERT(IsUserLoggedIn(user_context.GetUserID())) in Authenticate()
522 bool ScreenLocker::IsUserLoggedIn(const std::string& username) { in IsUserLoggedIn() function in chromeos::ScreenLocker
/external/chromium_org/chrome/browser/extensions/api/input/
Dinput.cc180 if (!user_manager::UserManager::Get()->IsUserLoggedIn() || in RunSync()
/external/chromium_org/chrome/browser/chromeos/login/users/
Dchrome_user_manager_impl.cc351 if (IsUserLoggedIn() && !IsLoggedInAsGuest() && !IsLoggedInAsKioskApp()) { in Observe()
570 if (GetEphemeralUsersEnabled() && !IsUserLoggedIn()) { in RetrieveTrustedDevicePolicies()
813 (IsUserLoggedIn() && in CleanUpPublicAccountNonCryptohomeDataPendingRemoval()
958 if (!IsUserLoggedIn()) in GetCurrentUserFlow()
Dmock_user_manager.h58 MOCK_CONST_METHOD0(IsUserLoggedIn, bool(void));
/external/chromium_org/chrome/browser/chromeos/login/signin/
Dmerge_session_throttle.cc165 if (!user_manager::UserManager::Get()->IsUserLoggedIn()) { in ShouldDelayRequest()
/external/chromium_org/chromeos/
Dtpm_token_loader.cc140 bool start_initialization = LoginState::Get()->IsUserLoggedIn(); in MaybeStartTokenInitialization()

12