Home
last modified time | relevance | path

Searched refs:kJson (Results 1 – 10 of 10) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_utils.cc307 std::string mime_type = AppendParameter(brillo::mime::application::kJson, in PostJsonAndBlock()
323 std::string mime_type = AppendParameter(brillo::mime::application::kJson, in PostJson()
345 std::string mime_type = AppendParameter(brillo::mime::application::kJson, in PatchJsonAndBlock()
368 AppendParameter(brillo::mime::application::kJson, in PatchJson()
388 if (content_type != brillo::mime::application::kJson && in ParseJsonResponse()
Dhttp_transport_fake.cc177 brillo::mime::application::kJson) { in GetDataAsJson()
261 brillo::mime::AppendParameter(brillo::mime::application::kJson, in ReplyJson()
Dhttp_utils_unittest.cc200 EXPECT_EQ(brillo::mime::application::kJson, in TEST()
376 EXPECT_EQ(brillo::mime::application::kJson, mime_type); in TEST()
/external/libweave/src/
Dhttp_constants.h24 extern const char kJson[];
Dhttp_constants.cc16 const char kJson[] = "application/json"; variable
Ddevice_registration_info.cc198 if (content_type != http::kJson && content_type != http::kPlain) { in ParseJsonResponse()
/external/libweave/src/privet/
Dprivet_manager.cc121 return PrivetRequestHandlerWithData(request, content_type == http::kJson in PrivetRequestHandler()
152 request->SendReply(status, data, http::kJson); in PrivetResponseHandler()
/external/libbrillo/brillo/
Dmime_utils.h56 BRILLO_EXPORT extern const char kJson[];
Dmime_utils_unittest.cc30 EXPECT_EQ(mime::application::kJson, mime::Combine(s1, s2)); in TEST()
Dmime_utils.cc37 const char mime::application::kJson[] = "application/json"; member in brillo::mime::application