/system/extras/libjsonpb/verify/ |
D | test.cpp | 51 std::string json = "{\"" + json_key + "\": \"test\"}"; in TestParseOkWithUnknownKey() local 52 auto object = JsonStringToMessage<T>(json); in TestParseOkWithUnknownKey() 59 ASSERT_FALSE(AllFieldsAreKnown(*object, json, &error)) in TestParseOkWithUnknownKey() 67 std::string json = in TEST_F() local 74 auto object = JsonStringToMessage<WithJsonName>(json); in TEST_F() 83 EXPECT_TRUE(AllFieldsAreKnown(*object, json, &error)) << error; in TEST_F() 106 std::string json = in TEST_F() local 113 auto object = JsonStringToMessage<NoJsonName>(json); in TEST_F() 122 EXPECT_TRUE(AllFieldsAreKnown(*object, json, &error)) << error; in TEST_F() 151 ErrorOr<Parent> TestEmbeddedError(const std::string& json, in TestEmbeddedError() argument [all …]
|
D | verify.cpp | 54 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown() argument 57 if (!json.isObject()) { in AllFieldsAreKnown() 63 auto json_members = json.getMemberNames(); in AllFieldsAreKnown() 101 const Json::Value& json_value = json[json_name]; in AllFieldsAreKnown() 146 const std::string& json, std::string* error) { in AllFieldsAreKnown() argument 149 if (!reader.parse(json, value)) { in AllFieldsAreKnown() 163 bool EqReformattedJson(const std::string& json, in EqReformattedJson() argument 168 if (!reader.parse(json, old_json)) { in EqReformattedJson() 173 auto new_json_string = internal::FormatJson(json, scratch_space); in EqReformattedJson() 210 ErrorOr<std::string> FormatJson(const std::string& json, in FormatJson() argument [all …]
|
/system/core/libprocessgroup/profiles/ |
D | Android.bp | 16 name: "cgroups.json", 17 src: "cgroups.json", 21 name: "cgroups.recovery.json", 22 filename: "cgroups.json", 24 src: "cgroups.recovery.json", 28 name: "task_profiles.json", 29 src: "task_profiles.json", 76 "cgroups.json", 77 "cgroups.recovery.json", 78 "task_profiles.json",
|
/system/extras/libjsonpb/verify/include/jsonpb/ |
D | verify.h | 68 const std::string& json, std::string* error); 81 bool EqReformattedJson(const std::string& json, 87 ErrorOr<std::string> FormatJson(const std::string& json,
|
/system/apex/apexer/ |
D | apex_manifest.py | 17 import json 29 manifest_json = json.loads(manifest_raw) 30 manifest_pb = Parse(json.dumps(manifest_json), apex_manifest_pb2.ApexManifest())
|
D | runtests.sh | 99 unzip ${output_file} apex_manifest.json -d ${output_dir} 106 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.json 107 sudo diff ${manifest_file} ${output_dir}/apex_manifest.json 119 [ `sudo stat -c '%u,%g,%A' ${output_dir}/mnt/apex_manifest.json` = "1000,1000,-rw-r--r--" ] 126 [ `sudo ls -Z ${output_dir}/mnt/apex_manifest.json | cut -d ' ' -f 1` = "u:object_r:root_file:s0" ]
|
D | Android.bp | 65 manifest: "etc/manifest.json",
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 27 manifest: "manifest.json", 36 manifest: "manifest_v2.json", 52 manifest: "manifest_preinstall.json", 69 manifest: "manifest_postinstall.json", 86 manifest: "manifest_prepostinstall.fail.json", 103 manifest: "manifest_no_inst_key.json", 119 manifest: "manifest_different_app.json",
|
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 47 std::string json; in MessageToJsonString() local 49 message.SerializeAsString(), &json, options); in MessageToJsonString() 54 return ErrorOr<std::string>(std::move(json)); in MessageToJsonString()
|
/system/apex/shim/build/ |
D | Android.bp | 53 manifest: "manifest_v3.json", 62 manifest: "manifest_v2.json", 86 manifest: "manifest_v2.json", 102 manifest: "manifest_v2.json", 119 manifest: "manifest_v2.json", 128 manifest: "manifest_v2_with_pre_install_hook.json", 137 manifest: "manifest_v2_with_post_install_hook.json", 167 manifest: "manifest.json", 197 manifest: "manifest_not_pre_installed.json",
|
/system/extras/libjsonpb/ |
D | README.md | 70 - Whether `json == convert_to_json(convert_to_pb(json))`, using `libprotobuf`. 78 Check [JSON Mapping](https://developers.google.com/protocol-buffers/docs/proto3#json) 106 ::testing::Values(MakeTestParam<Cgroups>("cgroups.json")));
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 58 "base/json/json_parser.cc", 59 "base/json/json_reader.cc", 60 "base/json/json_string_value_serializer.cc", 61 "base/json/json_writer.cc", 62 "base/json/string_escape.cc",
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_json2sqlite.py | 19 import json 159 data = json.load(fp)
|
D | perf_proto_stack.py | 26 import json 550 json.dump(json_data, json_file)
|
/system/bt/test/ |
D | gen_coverage.py | 20 import json 295 return json.loads(json_str) 304 json.dump(generate_coverage_json(test), json_file)
|
/system/apex/apexd/ |
D | Android.bp | 266 "sed -i -e 's/\"version\": 1/\"version\": 137/' $(genDir)/apex_manifest.json && " + 268 "-s apex_manifest.json -s apex_payload.img -s apex_pubkey " + 284 "-s apex_manifest.json -s apex_payload.img -s apex_pubkey " +
|
/system/apex/tests/ |
D | Android.bp | 112 manifest: "testdata/apex_manifest.json", 124 manifest: "testdata/apex_manifest.json",
|
/system/extras/partition_tools/ |
D | lpdump.cc | 283 bool json = false; in LpdumpMain() local 294 json = true; in LpdumpMain() 317 if (json) { in LpdumpMain()
|
/system/update_engine/ |
D | update_engine-client.gyp | 28 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
|
/system/timezone/testing/data/test1/apex/ |
D | Android.bp | 22 manifest: "manifest.json",
|
/system/netd/apex/ |
D | Android.bp | 18 manifest: "manifest.json",
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | build_and_run.sh | 60 CONTROLLER_PROPERTIES=controller_properties.json
|
/system/timezone/apex/ |
D | Android.bp | 51 manifest: "manifest.json",
|
/system/sepolicy/public/ |
D | file.te | 165 # Cgroups description file under /system/etc/cgroups.json 167 # Vendor cgroups description file under /vendor/etc/cgroups.json 169 # Task profiles file under /system/etc/task_profiles.json 171 # Vendor task profiles file under /vendor/etc/task_profiles.json
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | file.te | 165 # Cgroups description file under /system/etc/cgroups.json 167 # Vendor cgroups description file under /vendor/etc/cgroups.json 169 # Task profiles file under /system/etc/task_profiles.json 171 # Vendor task profiles file under /vendor/etc/task_profiles.json
|