Home
last modified time | relevance | path

Searched refs:json (Results 1 – 22 of 22) sorted by relevance

/system/weaved/common/
Dbinder_utils.cc41 std::string json; in ToString16() local
42 base::JSONWriter::Write(value, &json); in ToString16()
43 return ToString16(json); in ToString16()
47 const android::String16& json, in ParseDictionary() argument
52 base::JSONReader::ReadAndReturnError(ToString(json), base::JSON_PARSE_RFC, in ParseDictionary()
Dbinder_utils.h61 const android::String16& json,
/system/webservd/webservd/
Dconfig.cc123 brillo::errors::json::kDomain, in LoadConfigFromString()
124 brillo::errors::json::kParseError, in LoadConfigFromString()
134 brillo::errors::json::kDomain, in LoadConfigFromString()
135 brillo::errors::json::kObjectExpected, in LoadConfigFromString()
151 brillo::errors::json::kDomain, in LoadConfigFromString()
152 brillo::errors::json::kObjectExpected, in LoadConfigFromString()
DAndroid.mk42 dbus_bindings/dbus-service-config.json \
78 dbus_bindings/dbus-service-config.json \
Dconfig_unittest.cc170 EXPECT_EQ(brillo::errors::json::kDomain, error->GetDomain()); in TEST()
171 EXPECT_EQ(brillo::errors::json::kObjectExpected, error->GetCode()); in TEST()
/system/webservd/libwebserv/
Dresponse.cc69 void ResponseImpl::ReplyWithJson(int status_code, const base::Value* json) { in ReplyWithJson() argument
72 *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text); in ReplyWithJson()
81 int status_code, const std::map<std::string, std::string>& json) { in ReplyWithJson() argument
83 for (const auto& pair : json) { in ReplyWithJson()
Dresponse.h61 virtual void ReplyWithJson(int status_code, const base::Value* json) = 0;
66 int status_code, const std::map<std::string, std::string>& json) = 0;
Dresponse_impl.h46 void ReplyWithJson(int status_code, const base::Value* json) override;
48 const std::map<std::string, std::string>& json) override;
/system/weaved/buffet/
Dmanager.cc90 std::string json; in LoadTraitDefinitions() local
91 CHECK(LoadFile(path, &json, nullptr)); in LoadTraitDefinitions()
92 device->AddTraitDefinitionsFromJson(json); in LoadTraitDefinitions()
107 std::string json; in LoadCommandDefinitions() local
108 CHECK(LoadFile(path, &json, nullptr)); in LoadCommandDefinitions()
109 device->AddCommandDefinitionsFromJson(json); in LoadCommandDefinitions()
128 std::string json; in LoadStateDefinitions() local
129 CHECK(LoadFile(path, &json, nullptr)); in LoadStateDefinitions()
130 device->AddStateDefinitionsFromJson(json); in LoadStateDefinitions()
145 std::string json; in LoadStateDefaults() local
[all …]
Dbinder_command_proxy_unittest.cc45 MATCHER_P(EqualToJson, json, "") {
46 auto json_value = CreateDictionaryValue(json);
/system/firewalld/
DAndroid.mk39 dbus_bindings/dbus-service-config.json \
48 dbus_bindings/dbus-service-config.json \
Dfirewalld.gyp25 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
41 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
/system/webservd/
Dwebserver.gyp49 'dbus_service_config': 'webservd/dbus_bindings/dbus-service-config.json',
63 …dbus_service_config': '<(platform2_root)/permission_broker/dbus_bindings/dbus-service-config.json',
85 'dbus_service_config': 'webservd/dbus_bindings/dbus-service-config.json',
/system/bt/build/secondary/third_party/libchrome/
DBUILD.gn57 "base/json/json_parser.cc",
58 "base/json/json_reader.cc",
59 "base/json/json_string_value_serializer.cc",
60 "base/json/json_writer.cc",
61 "base/json/string_escape.cc",
/system/connectivity/apmanager/
DAndroid.mk50 dbus_bindings/dbus-service-config.json \
62 dbus_bindings/dbus-service-config.json \
Dapmanager.gyp122 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
/system/core/metricsd/
DAndroid.mk165 LOCAL_REQUIRED_MODULES := metrics.json
228 LOCAL_MODULE := metrics.json
/system/update_engine/
Dupdate_engine-client.gyp28 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
DAndroid.mk78 dbus_bindings/dbus-service-config.json \
425 LOCAL_REQUIRED_MODULES += updater.json
901 LOCAL_MODULE := updater.json
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dbuild_and_run.sh60 CONTROLLER_PROPERTIES=controller_properties.json
/system/connectivity/shill/
Dshill-client.gyp12 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
/system/connectivity/shill/doc/
Dservice-api.txt1212 An externalized json dictionary describing the proxy