Searched refs:kJson (Results 1 – 10 of 10) sorted by relevance
/external/libbrillo/brillo/http/ |
D | http_utils.cc | 307 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()
|
D | http_transport_fake.cc | 177 brillo::mime::application::kJson) { in GetDataAsJson() 261 brillo::mime::AppendParameter(brillo::mime::application::kJson, in ReplyJson()
|
D | http_utils_unittest.cc | 200 EXPECT_EQ(brillo::mime::application::kJson, in TEST() 376 EXPECT_EQ(brillo::mime::application::kJson, mime_type); in TEST()
|
/external/libweave/src/ |
D | http_constants.h | 24 extern const char kJson[];
|
D | http_constants.cc | 16 const char kJson[] = "application/json"; variable
|
D | device_registration_info.cc | 198 if (content_type != http::kJson && content_type != http::kPlain) { in ParseJsonResponse()
|
/external/libweave/src/privet/ |
D | privet_manager.cc | 121 return PrivetRequestHandlerWithData(request, content_type == http::kJson in PrivetRequestHandler() 152 request->SendReply(status, data, http::kJson); in PrivetResponseHandler()
|
/external/libbrillo/brillo/ |
D | mime_utils.h | 56 BRILLO_EXPORT extern const char kJson[];
|
D | mime_utils_unittest.cc | 30 EXPECT_EQ(mime::application::kJson, mime::Combine(s1, s2)); in TEST()
|
D | mime_utils.cc | 37 const char mime::application::kJson[] = "application/json"; member in brillo::mime::application
|