Searched refs:EnrollmentStatus (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | enrollment_status_chromeos.cc | 12 EnrollmentStatus EnrollmentStatus::ForStatus(Status status) { in ForStatus() 13 return EnrollmentStatus(status, DM_STATUS_SUCCESS, net::HTTP_OK, in ForStatus() 19 EnrollmentStatus EnrollmentStatus::ForRegistrationError( in ForRegistrationError() 21 return EnrollmentStatus(STATUS_REGISTRATION_FAILED, client_status, in ForRegistrationError() 27 EnrollmentStatus EnrollmentStatus::ForRobotAuthFetchError( in ForRobotAuthFetchError() 29 return EnrollmentStatus(STATUS_ROBOT_AUTH_FETCH_FAILED, client_status, in ForRobotAuthFetchError() 35 EnrollmentStatus EnrollmentStatus::ForRobotRefreshFetchError(int http_status) { in ForRobotRefreshFetchError() 36 return EnrollmentStatus(STATUS_ROBOT_REFRESH_FETCH_FAILED, DM_STATUS_SUCCESS, in ForRobotRefreshFetchError() 42 EnrollmentStatus EnrollmentStatus::ForFetchError( in ForFetchError() 44 return EnrollmentStatus(STATUS_POLICY_FETCH_FAILED, client_status, in ForFetchError() [all …]
|
D | enrollment_handler_chromeos.cc | 99 ReportResult(EnrollmentStatus::ForFetchError( in OnPolicyFetched() 135 ReportResult(EnrollmentStatus::ForStatus( in OnRegistrationStateChanged() 136 EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE)); in OnRegistrationStateChanged() 152 ReportResult(EnrollmentStatus::ForRobotAuthFetchError(client_->status())); in OnClientError() 154 ReportResult(EnrollmentStatus::ForRegistrationError(client_->status())); in OnClientError() 156 ReportResult(EnrollmentStatus::ForFetchError(client_->status())); in OnClientError() 169 ReportResult(EnrollmentStatus::ForStatus(EnrollmentStatus::STATUS_SUCCESS)); in OnStoreLoaded() 175 ReportResult(EnrollmentStatus::ForStoreError(store_->status(), in OnStoreError() 210 ReportResult(EnrollmentStatus::ForValidationError(validator->status())); in PolicyValidated() 264 EnrollmentStatus::ForRobotRefreshFetchError(net::HTTP_BAD_REQUEST)); in OnOAuthError() [all …]
|
D | enrollment_status_chromeos.h | 16 class EnrollmentStatus { 35 static EnrollmentStatus ForStatus(Status status); 36 static EnrollmentStatus ForRegistrationError( 38 static EnrollmentStatus ForFetchError(DeviceManagementStatus client_status); 39 static EnrollmentStatus ForRobotAuthFetchError( 41 static EnrollmentStatus ForRobotRefreshFetchError(int http_status); 42 static EnrollmentStatus ForValidationError( 44 static EnrollmentStatus ForStoreError( 57 EnrollmentStatus(Status status,
|
D | device_cloud_policy_manager_chromeos_unittest.cc | 218 void Done(EnrollmentStatus status) { in Done() 230 status_(EnrollmentStatus::ForStatus(EnrollmentStatus::STATUS_SUCCESS)), in DeviceCloudPolicyManagerChromeOSEnrollmentTest() 264 void ExpectFailedEnrollment(EnrollmentStatus::Status status) { in ExpectFailedEnrollment() 272 EXPECT_EQ(EnrollmentStatus::STATUS_SUCCESS, status_.status()); in ExpectSuccessfulEnrollment() 418 EnrollmentStatus status_; 457 ExpectFailedEnrollment(EnrollmentStatus::STATUS_REGISTRATION_FAILED); in TEST_F() 465 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_AUTH_FETCH_FAILED); in TEST_F() 472 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED); in TEST_F() 480 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED); in TEST_F() 487 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED); in TEST_F() [all …]
|
D | device_cloud_policy_manager_chromeos.h | 46 typedef base::Callback<void(EnrollmentStatus)> EnrollmentCallback; 116 EnrollmentStatus status);
|
D | device_cloud_policy_manager_chromeos.cc | 272 EnrollmentStatus status) { in EnrollmentCompleted() 273 if (status.status() == EnrollmentStatus::STATUS_SUCCESS) { in EnrollmentCompleted()
|
D | enrollment_handler_chromeos.h | 143 void ReportResult(EnrollmentStatus status);
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
D | enrollment_screen.cc | 216 policy::EnrollmentStatus status) { in ReportEnrollmentStatus() 217 bool success = status.status() == policy::EnrollmentStatus::STATUS_SUCCESS; in ReportEnrollmentStatus() 222 case policy::EnrollmentStatus::STATUS_SUCCESS: in ReportEnrollmentStatus() 227 case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED: in ReportEnrollmentStatus() 228 case policy::EnrollmentStatus::STATUS_POLICY_FETCH_FAILED: in ReportEnrollmentStatus() 259 case policy::EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE: in ReportEnrollmentStatus() 262 case policy::EnrollmentStatus::STATUS_LOCK_TIMEOUT: in ReportEnrollmentStatus() 265 case policy::EnrollmentStatus::STATUS_LOCK_WRONG_USER: in ReportEnrollmentStatus() 268 case policy::EnrollmentStatus::STATUS_VALIDATION_FAILED: in ReportEnrollmentStatus() 269 case policy::EnrollmentStatus::STATUS_STORE_ERROR: in ReportEnrollmentStatus() [all …]
|
D | mock_enrollment_screen.h | 40 MOCK_METHOD1(ShowEnrollmentStatus, void(policy::EnrollmentStatus status));
|
D | enrollment_screen_actor.h | 86 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0;
|
D | enrollment_screen.h | 63 void ReportEnrollmentStatus(policy::EnrollmentStatus status);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | enrollment_screen_handler.cc | 215 policy::EnrollmentStatus status) { in ShowEnrollmentStatus() 217 case policy::EnrollmentStatus::STATUS_SUCCESS: in ShowEnrollmentStatus() 220 case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED: in ShowEnrollmentStatus() 240 case policy::EnrollmentStatus::STATUS_ROBOT_AUTH_FETCH_FAILED: in ShowEnrollmentStatus() 243 case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED: in ShowEnrollmentStatus() 246 case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED: in ShowEnrollmentStatus() 249 case policy::EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE: in ShowEnrollmentStatus() 252 case policy::EnrollmentStatus::STATUS_POLICY_FETCH_FAILED: in ShowEnrollmentStatus() 259 case policy::EnrollmentStatus::STATUS_VALIDATION_FAILED: in ShowEnrollmentStatus() 266 case policy::EnrollmentStatus::STATUS_LOCK_ERROR: in ShowEnrollmentStatus() [all …]
|
D | enrollment_screen_handler.h | 52 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) OVERRIDE;
|