/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/apexd/apexd_testdata/ |
D | Android.bp | 27 manifest: "manifest.json", 37 manifest: "manifest.json", 50 manifest: "manifest.json", 63 manifest: "manifest_v2.json", 72 manifest: "manifest_v2.json", 77 min_sdk_version: "29", // add apex_manifest.json as well 90 manifest: "manifest_v3.json", 106 manifest: "manifest_preinstall.json", 123 manifest: "manifest_postinstall.json", 140 manifest: "manifest_prepostinstall.fail.json", [all …]
|
/system/apex/apexer/ |
D | conv_apex_manifest.py | 30 import json 42 obj = json.load(f, object_pairs_hook=collections.OrderedDict) 51 json.dump(obj, f, indent=2) 53 print(json.dumps(obj, indent=2)) 57 obj = json.load(f, object_pairs_hook=collections.OrderedDict)
|
D | runtests.sh | 57 echo '{"name": "com.android.example.apex", "version": 1}' > ${manifest_dir}/apex_manifest.json 58 …/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${manifest_file}
|
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 46 std::string json; in MessageToJsonString() local 48 message.SerializeAsString(), &json, options); in MessageToJsonString() 53 return ErrorOr<std::string>(std::move(json)); in MessageToJsonString()
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 124 string json; in TEST_F() local 126 PayloadProperties(payload_file.path()).GetPropertiesAsJson(&json)); in TEST_F() 127 EXPECT_EQ(kJsonProperties, json) << "JSON contents:\n" << json; in TEST_F()
|
/system/linkerconfig/testdata/ |
D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.json
|
D | prepare_root.sh | 109 conv_apex_manifest proto $dst/apex_manifest.json -o $dst/apex_manifest.pb
|
/system/bt/gd/cert/ |
D | set_up_and_run_device_cert.sh | 149 git checkout android_devices_config.json 151 $DRY_RUN sed -i "s/\"DUT\"/\"${DUT_SERIAL}\"/g" ${DIR}/android_devices_config.json 152 $DRY_RUN sed -i "s/\"CERT\"/\"${CERT_SERIAL}\"/g" ${DIR}/android_devices_config.json
|
D | run_pts_l2cap.sh | 4 --test_config=$ANDROID_BUILD_TOP/system/bt/gd/cert/pts.json \
|
D | run | 137 TEST_CONFIG=$ANDROID_BUILD_TOP/system/bt/gd/cert/host_config.json 256 TEMP_CONFIG=/tmp/temp_acts_config.json
|
/system/apex/apexer/testdata/ |
D | Android.bp | 30 manifest: "manifest.json", 40 manifest: "manifest.json", 51 manifest: "manifest.json", 62 manifest: "manifest.json",
|
/system/core/adb/apex/ |
D | Android.bp | 27 manifest: "apex_manifest.json", 34 manifest: "test_apex_manifest.json",
|
/system/teeui/tools/framebufferizer/ |
D | Android.bp | 9 "json-prebuilt",
|
/system/apex/shim/build/ |
D | Android.bp | 53 manifest: "manifest_v3.json", 65 manifest: "manifest_v2.json", 77 manifest: "manifest_v2.json", 105 manifest: "manifest_v2.json", 122 manifest: "manifest_v2.json", 140 manifest: "manifest_v2.json", 150 manifest: "manifest_v2_with_pre_install_hook.json", 160 manifest: "manifest_v2_with_post_install_hook.json", 199 manifest: "manifest.json", 231 manifest: "manifest_not_pre_installed.json", [all …]
|
/system/bt/apex/ |
D | Android.bp | 4 manifest: "apex_manifest.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/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | Config.java | 24 import org.json.JSONObject; 28 import org.json.JSONException;
|
/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/bt/test/ |
D | gen_coverage.py | 20 import json 293 return json.loads(json_str) 302 json.dump(generate_coverage_json(test), json_file)
|
/system/extras/partition_tools/ |
D | lpdump.cc | 408 bool json = false; in LpdumpMain() local 436 json = true; in LpdumpMain() 449 if (json) { in LpdumpMain() 490 if (json) { in LpdumpMain()
|
/system/timezone/testing/data/test1/apex/ |
D | Android.bp | 22 manifest: "manifest.json",
|