Home
last modified time | relevance | path

Searched refs:is_registered (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_manager_browsertest.cc155 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
157 EXPECT_TRUE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
163 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
165 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
177 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
179 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
197 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
199 EXPECT_TRUE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
Duser_policy_signin_service_base.cc58 DCHECK(client->is_registered()); in FetchPolicyForSignedInUser()
111 if (client->is_registered()) { in OnClientError()
Dcloud_policy_browsertest.cc237 ASSERT_FALSE(policy_manager->core()->client()->is_registered()); in SetUpOnMainThread()
250 EXPECT_TRUE(policy_manager->core()->client()->is_registered()); in SetUpOnMainThread()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_manager_chromeos_unittest.cc218 EXPECT_FALSE(manager_->core()->client()->is_registered()); in IssueOAuthToken()
270 EXPECT_FALSE(manager_->core()->client()->is_registered()); in IssueOAuthToken()
290 EXPECT_TRUE(manager_->core()->client()->is_registered()); in FetchPolicy()
357 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
392 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
415 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
444 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
470 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
487 EXPECT_TRUE(manager_->core()->client()->is_registered()); in TEST_F()
510 EXPECT_FALSE(manager_->core()->client()->is_registered()); in TEST_F()
[all …]
Duser_cloud_policy_manager_chromeos.cc157 client() && !client()->is_registered()) { in OnAccessTokenAvailable()
164 return client() && client()->is_registered(); in IsClientRegistered()
214 if (!client()->is_registered()) { in OnInitializationCompleted()
251 if (client()->is_registered()) { in OnRegistrationStateChanged()
316 DCHECK(!client()->is_registered()); in OnOAuth2PolicyTokenFetched()
Denrollment_handler_chromeos.cc68 CHECK(!client_->is_registered()); in EnrollmentHandlerChromeOS()
144 if (enrollment_step_ == STEP_REGISTRATION && client_->is_registered()) { in OnRegistrationStateChanged()
157 LOG(FATAL) << "Registration state changed to " << client_->is_registered() in OnRegistrationStateChanged()
Ddevice_cloud_policy_manager_chromeos_unittest.cc340 EXPECT_TRUE(manager_->core()->client()->is_registered()); in ExpectSuccessfulEnrollment()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client_registration_helper.cc175 DCHECK(!client_->is_registered()); in StartRegistration()
192 DCHECK(!client_->is_registered()); in StartRegistrationWithLoginToken()
208 DCHECK(!client_->is_registered()); in StartRegistrationWithAccessToken()
265 if (client_->is_registered()) { in OnGetUserInfoSuccess()
287 DCHECK(client->is_registered()); in OnRegistrationStateChanged()
Dcloud_policy_client_unittest.cc213 EXPECT_FALSE(client_->is_registered()); in TEST_F()
222 EXPECT_TRUE(client_->is_registered()); in TEST_F()
238 EXPECT_TRUE(client_->is_registered()); in TEST_F()
271 EXPECT_FALSE(client_->is_registered()); in TEST_F()
285 EXPECT_FALSE(client_->is_registered()); in TEST_F()
304 EXPECT_FALSE(client_->is_registered()); in TEST_F()
442 EXPECT_FALSE(client_->is_registered()); in TEST_F()
457 EXPECT_FALSE(client_->is_registered()); in TEST_F()
471 EXPECT_TRUE(client_->is_registered()); in TEST_F()
Dcloud_policy_refresh_scheduler.cc153 if (client->is_registered() && in OnClientError()
241 if (!client_->is_registered()) { in ScheduleRefresh()
292 if (client_->is_registered()) { in PerformRefresh()
Dcloud_policy_client.cc82 DCHECK(!is_registered()); in SetupRegistration()
100 DCHECK(!is_registered()); in Register()
148 CHECK(is_registered()); in FetchPolicy()
227 CHECK(is_registered()); in FetchRobotAuthCodes()
265 CHECK(is_registered()); in UploadCertificate()
Dcloud_policy_service.cc50 if (!client_->is_registered()) { in RefreshPolicy()
112 !client_->is_registered()) { in OnStoreLoaded()
Duser_cloud_policy_manager.cc99 return client() && client()->is_registered(); in IsClientRegistered()
Dcloud_policy_client.h183 bool is_registered() const { return !dm_token_.empty(); } in is_registered() function
/external/chromium_org/chrome/browser/chromeos/background/
Dash_user_wallpaper_delegate.cc70 bool is_registered = StartupUtils::IsDeviceRegistered(); in ShouldShowInitialAnimation() local
74 if (is_registered && disable_boot_animation) in ShouldShowInitialAnimation()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_policy_observer.cc147 if (!policy_client_->is_registered()) { in Start()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Dlogin_display_host_impl.cc337 bool is_registered = StartupUtils::IsDeviceRegistered(); in LoginDisplayHostImpl() local
343 (!is_registered || !disable_boot_animation); in LoginDisplayHostImpl()