Home
last modified time | relevance | path

Searched refs:HTTP_OK (Results 1 – 25 of 162) sorted by relevance

1234567

/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_oauth2_token_service_unittest.cc230 net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), in PerformURLFetches()
231 net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), in PerformURLFetches()
232 net::HTTP_OK, GetValidTokenResponse("scoped_access_token", 3600)); in PerformURLFetches()
331 net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), in TEST_F()
332 net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); in TEST_F()
343 net::HTTP_OK, "invalid response", in TEST_F()
344 net::HTTP_OK, GetValidTokenInfoResponse("service_acct@g.com"), in TEST_F()
345 net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); in TEST_F()
356 net::HTTP_OK, GetValidTokenResponse("tokeninfo_access_token", 3600), in TEST_F()
358 net::HTTP_OK, GetValidTokenResponse("ignored", 3600)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Denrollment_status_chromeos.cc13 return EnrollmentStatus(status, DM_STATUS_SUCCESS, net::HTTP_OK, in ForStatus()
22 net::HTTP_OK, CloudPolicyStore::STATUS_OK, in ForRegistrationError()
30 net::HTTP_OK, CloudPolicyStore::STATUS_OK, in ForRobotAuthFetchError()
45 net::HTTP_OK, CloudPolicyStore::STATUS_OK, in ForFetchError()
53 net::HTTP_OK, CloudPolicyStore::STATUS_OK, in ForValidationError()
62 net::HTTP_OK, store_error, validation_status); in ForStoreError()
Dblocking_login_browsertest.cc302 PushResponse(net::HTTP_OK).set_content(GetPolicyResponse()); in IN_PROC_BROWSER_TEST_P()
305 PushResponse(net::HTTP_OK).set_content(GetRegisterResponse()); in IN_PROC_BROWSER_TEST_P()
308 PushResponse(net::HTTP_OK).set_content(kOAuth2AccessTokenData); in IN_PROC_BROWSER_TEST_P()
311 PushResponse(net::HTTP_OK).set_content(kOAuth2TokenPairData); in IN_PROC_BROWSER_TEST_P()
314 PushResponse(net::HTTP_OK) in IN_PROC_BROWSER_TEST_P()
/external/chromium_org/google_apis/gcm/engine/
Dunregistration_request_unittest.cc175 SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); in TEST_F()
197 SetResponseStatusAndString(net::HTTP_OK, ""); in TEST_F()
202 SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); in TEST_F()
213 SetResponseStatusAndString(net::HTTP_OK, "Error=INVALID_PARAMETERS"); in TEST_F()
224 SetResponseStatusAndString(net::HTTP_OK, "Error=XXX"); in TEST_F()
240 SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); in TEST_F()
256 SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); in TEST_F()
267 SetResponseStatusAndString(net::HTTP_OK, "deleted=OtherTestAppId"); in TEST_F()
272 SetResponseStatusAndString(net::HTTP_OK, kDeletedAppId); in TEST_F()
283 SetResponseStatusAndString(net::HTTP_OK, "some malformed response"); in TEST_F()
[all …]
Dregistration_request_unittest.cc149 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
230 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
247 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
259 SetResponseStatusAndString(net::HTTP_OK, ""); in TEST_F()
264 SetResponseStatusAndString(net::HTTP_OK, "some error in response"); in TEST_F()
270 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
282 SetResponseStatusAndString(net::HTTP_OK, "Error=PHONE_REGISTRATION_ERROR"); in TEST_F()
288 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
307 SetResponseStatusAndString(net::HTTP_OK, "token=2501"); in TEST_F()
319 SetResponseStatusAndString(net::HTTP_OK, "Error=INVALID_PARAMETERS"); in TEST_F()
[all …]
/external/chromium_org/chrome/service/cloud_print/
Dprinter_job_handler_unittest.cc507 JobListResponse(0), net::HTTP_OK, in MakeJobFetchReturnNoJobs()
510 JobListResponse(0), net::HTTP_OK, in MakeJobFetchReturnNoJobs()
513 JobListResponse(0), net::HTTP_OK, in MakeJobFetchReturnNoJobs()
563 kExamplePrintTicket, net::HTTP_OK, in SetUpJobSuccessTest()
566 kExamplePrintData, net::HTTP_OK, in SetUpJobSuccessTest()
571 net::HTTP_OK, in SetUpJobSuccessTest()
575 net::HTTP_OK, in SetUpJobSuccessTest()
681 JobListResponse(1), net::HTTP_OK, in TEST_F()
684 JobListResponse(0), net::HTTP_OK, in TEST_F()
700 JobListResponse(2), net::HTTP_OK, in TEST_F()
[all …]
/external/chromium_org/components/precache/core/
Dprecache_fetcher_unittest.cc39 if (response_code == net::HTTP_OK) { in CreateURLFetcher()
130 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
134 factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, in TEST_F()
137 good_manifest.SerializeAsString(), net::HTTP_OK, in TEST_F()
142 factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, in TEST_F()
145 PrecacheManifest().SerializeAsString(), net::HTTP_OK, in TEST_F()
197 factory_.SetFakeResponse(GURL(kConfigURL), "bad protobuf", net::HTTP_OK, in TEST_F()
223 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
253 config.SerializeAsString(), net::HTTP_OK, in TEST_F()
288 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
[all …]
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_client_unittest.cc1076 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1095 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1117 net::HTTP_OK, in TEST_F()
1141 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1169 VerifyAndFinishRequest(net::HTTP_OK, in TEST_F()
1183 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1198 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1217 VerifyAndFinishFormEncodedRequest(net::HTTP_OK, in TEST_F()
1232 VerifyAndFinishRequest(net::HTTP_OK, in TEST_F()
1246 VerifyAndFinishRequest(net::HTTP_OK, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dclient_side_detection_service_unittest.cc273 SetModelFetchResponse(std::string(), net::HTTP_OK, in TEST_F()
284 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
293 SetModelFetchResponse("Invalid model file", net::HTTP_OK, in TEST_F()
305 SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, in TEST_F()
318 SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, in TEST_F()
330 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
341 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
354 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
365 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
376 SetModelFetchResponse("bogus model", net::HTTP_OK, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/webui/local_discovery/
Dlocal_discovery_ui_browsertest.cc376 net::HTTP_OK, in SetUpOnMainThread()
382 net::HTTP_OK, in SetUpOnMainThread()
388 net::HTTP_OK, in SetUpOnMainThread()
394 net::HTTP_OK, in SetUpOnMainThread()
400 net::HTTP_OK, in SetUpOnMainThread()
406 net::HTTP_OK, in SetUpOnMainThread()
416 net::HTTP_OK, in SetUpOnMainThread()
537 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
543 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/signin/
Daccount_reconcilor_unittest.cc243 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
283 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
318 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
344 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
368 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
399 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
431 net::HTTP_OK, in TEST_P()
458 net::HTTP_OK, in TEST_P()
500 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
534 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_P()
[all …]
Daccount_service_flag_fetcher_unittest.cc71 fetcher->set_response_code(net::HTTP_OK); in SendValidLoginResponse()
80 fetcher->set_response_code(net::HTTP_OK); in SendFailedLoginResponse()
89 fetcher->set_response_code(net::HTTP_OK); in SendValidGetUserInfoResponse()
98 fetcher->set_response_code(net::HTTP_OK); in SendInvalidGetUserInfoResponse()
107 fetcher->set_response_code(net::HTTP_OK); in SendFailedGetUserInfoResponse()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_ca_client_unittest.cc68 SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); in TEST_F()
81 SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); in TEST_F()
94 SendResponse(net::URLRequestStatus::FAILED, net::HTTP_OK); in TEST_F()
121 SendResponse(net::URLRequestStatus::SUCCESS, net::HTTP_OK); in TEST_F()
/external/chromium_org/net/test/embedded_test_server/
Dembedded_test_server_unittest.cc131 HTTP_OK)); in TEST_F()
142 EXPECT_EQ(HTTP_OK, fetcher->GetResponseCode()); in TEST_F()
164 EXPECT_EQ(HTTP_OK, fetcher->GetResponseCode()); in TEST_F()
189 HTTP_OK)); in TEST_F()
196 HTTP_OK)); in TEST_F()
228 EXPECT_EQ(HTTP_OK, fetcher1->GetResponseCode()); in TEST_F()
233 EXPECT_EQ(HTTP_OK, fetcher2->GetResponseCode()); in TEST_F()
/external/chromium_org/net/http/
Dhttp_status_code_unittest.cc14 EXPECT_EQ(200, HTTP_OK); in TEST()
15 EXPECT_STREQ("OK", GetHttpReasonPhrase(HTTP_OK)); in TEST()
/external/chromium_org/google_apis/gaia/
Doauth2_token_service_unittest.cc158 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
187 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
213 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
234 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
273 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
291 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
314 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
329 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
358 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
373 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
[all …]
Dgaia_auth_fetcher_unittest.cc59 set_response_code(net::HTTP_OK); in MockFetcher()
322 client_login_source_, status, net::HTTP_OK, cookies_, data, in TEST_F()
335 issue_auth_token_source_, status, net::HTTP_OK, cookies_, "token", in TEST_F()
482 net::HTTP_OK, cookies_, "SID=sid\nLSID=lsid\nAuth=auth\n", in TEST_F()
501 net::HTTP_OK, cookies_, "token", in TEST_F()
549 net::HTTP_OK, in TEST_F()
559 net::HTTP_OK, cookies_, kGetTokenPairValidResponse, in TEST_F()
632 net::HTTP_OK, in TEST_F()
665 net::HTTP_OK, cookies_, "<html></html>", net::URLFetcher::GET, in TEST_F()
692 test_fetcher->set_response_code(net::HTTP_OK); in TEST_F()
[all …]
Dfake_gaia.cc283 http_response->set_code(net::HTTP_OK); in HandleMergeSession()
327 http_response->set_code(net::HTTP_OK); in HandleProgramaticAuth()
336 http_response->set_code(net::HTTP_OK); in FormatJSONResponse()
365 http_response->set_code(net::HTTP_OK); in HandleServiceLogin()
399 http_response->set_code(net::HTTP_OK); in HandleOAuthLogin()
405 http_response->set_code(net::HTTP_OK); in HandleOAuthLogin()
572 http_response->set_code(net::HTTP_OK); in HandleListAccounts()
581 http_response->set_code(net::HTTP_OK); in HandleGetUserInfo()
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_apitest.cc61 response->set_code(net::HTTP_OK); in HandleRequest()
69 response->set_code(net::HTTP_OK); in HandleRequest()
81 response->set_code(net::HTTP_OK); in HandleRequest()
92 response->set_code(net::HTTP_OK); in HandleRequest()
100 response->set_code(net::HTTP_OK); in HandleRequest()
109 response->set_code(net::HTTP_OK); in HandleRequest()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_auth_test.cc126 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
186 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
279 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
300 net::HTTP_OK, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/sync/internal_api/attachments/
Dattachment_downloader_impl_unittest.cc210 if (response_code == net::HTTP_OK) { in CompleteDownload()
265 CompleteDownload(net::HTTP_OK); in TEST_F()
283 CompleteDownload(net::HTTP_OK); in TEST_F()
298 CompleteDownload(net::HTTP_OK); in TEST_F()
324 CompleteDownload(net::HTTP_OK); in TEST_F()
/external/chromium_org/components/suggestions/
Dsuggestions_service_unittest.cc60 if (response_code == net::HTTP_OK) { in CreateURLFetcher()
230 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in FetchSuggestionsDataNoTimeoutHelper()
315 factory_.SetFakeResponse(GURL(expected_url), "irrelevant", net::HTTP_OK, in TEST_F()
447 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
492 factory_.SetFakeResponse(GURL(request_url), "irrelevant", net::HTTP_OK, in TEST_F()
528 net::HTTP_OK, net::URLRequestStatus::SUCCESS); in TEST_F()
551 fetcher = CreateURLFetcher(*request_url, NULL, "", net::HTTP_OK, in TEST_F()
564 fetcher = CreateURLFetcher(*request_url, NULL, "", net::HTTP_OK, in TEST_F()
/external/chromium_org/chromeos/login/auth/
Dmock_url_fetchers.cc73 set_response_code(net::HTTP_OK); in SuccessFetcher()
91 set_response_code(net::HTTP_OK); in FailFetcher()
160 set_response_code(net::HTTP_OK); in HostedFetcher()
/external/chromium_org/third_party/libevent/test/
Dregress_http.c239 evhttp_send_reply(req, HTTP_OK, "Everything is fine", in http_basic_cb()
287 evhttp_send_reply_start(req, HTTP_OK, "Everything is fine"); in http_chunked_cb()
387 evhttp_send_reply(req, HTTP_OK, "Everything is fine", NULL); in http_delay_reply()
505 if (req->response_code != HTTP_OK) { in http_request_done()
534 if (req->response_code != HTTP_OK) { in http_request_empty_done()
577 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_dispatcher_cb()
587 if (req->response_code != HTTP_OK) { in http_dispatcher_test_done()
753 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_post_cb()
768 if (req->response_code != HTTP_OK) { in http_postrequest_done()
850 if (req == NULL || req->response_code != HTTP_OK) { in close_detect_done()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c246 case HTTP_OK: in http_put_reply_code()
461 return HTTP_OK; in web_process_get_device_info()
499 return HTTP_OK; in web_process_put_message()
601 return HTTP_OK; in web_process_put_wlan_response()
661 return HTTP_OK; in web_process_set_selected_registrar()
723 if (ret == HTTP_OK) { in web_connection_send_reply()
748 if (ret == HTTP_OK) { in web_connection_send_reply()
886 if (ret != HTTP_OK) in web_connection_parse_post()
1069 http_put_reply_code(buf, HTTP_OK); in web_connection_parse_subscribe()
1239 ret = HTTP_OK; in web_connection_parse_unsubscribe()

1234567