/system/core/libprocessgroup/profiles/ |
D | Android.bp | 20 name: "cgroups.json", 21 src: "cgroups.json", 23 "cgroups_28.json", 24 "cgroups_29.json", 25 "cgroups_30.json", 30 name: "cgroups.recovery.json", 31 filename: "cgroups.json", 33 src: "cgroups.recovery.json", 37 name: "cgroups_28.json", 38 src: "cgroups_28.json", [all …]
|
/system/extras/libjsonpb/verify/ |
D | test.cpp | 49 std::string json = "{\"" + json_key + "\": \"test\"}"; in TestParseOkWithUnknownKey() local 50 auto object = JsonStringToMessage<T>(json); in TestParseOkWithUnknownKey() 55 ASSERT_FALSE(AllFieldsAreKnown(*object, json, &error)) in TestParseOkWithUnknownKey() 63 std::string json = in TEST_F() local 70 auto object = JsonStringToMessage<WithJsonName>(json); in TEST_F() 79 EXPECT_TRUE(AllFieldsAreKnown(*object, json, &error)) << error; in TEST_F() 102 std::string json = in TEST_F() local 109 auto object = JsonStringToMessage<NoJsonName>(json); in TEST_F() 118 EXPECT_TRUE(AllFieldsAreKnown(*object, json, &error)) << error; in TEST_F() 147 ErrorOr<Parent> TestEmbeddedError(const std::string& json, const std::string& unknown_key) { in TestEmbeddedError() argument [all …]
|
D | verify.cpp | 52 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown() argument 54 if (!json.isObject()) { in AllFieldsAreKnown() 60 auto json_members = json.getMemberNames(); in AllFieldsAreKnown() 95 const Json::Value& json_value = json[json_name]; in AllFieldsAreKnown() 136 bool AllFieldsAreKnown(const google::protobuf::Message& message, const std::string& json, in AllFieldsAreKnown() argument 141 if (!reader->parse(&*json.begin(), &*json.end(), &value, error)) { in AllFieldsAreKnown() 154 bool EqReformattedJson(const std::string& json, google::protobuf::Message* scratch_space, in EqReformattedJson() argument 159 if (!reader->parse(&*json.begin(), &*json.end(), &old_json, error)) { in EqReformattedJson() 163 auto new_json_string = internal::FormatJson(json, scratch_space); in EqReformattedJson() 201 ErrorOr<std::string> FormatJson(const std::string& json, google::protobuf::Message* scratch_space) { in FormatJson() argument [all …]
|
/system/extras/libjsonpb/verify/include/jsonpb/ |
D | verify.h | 66 bool AllFieldsAreKnown(const google::protobuf::Message& message, const std::string& json, 80 bool EqReformattedJson(const std::string& json, google::protobuf::Message* scratch_space, 85 ErrorOr<std::string> FormatJson(const std::string& json, google::protobuf::Message* scratch_space);
|
/system/linkerconfig/testdata/ |
D | prepare_root.sh | 96 if test -f $ROOT_OUT/system/etc/linker.config.json; then 97 …conv_linker_config proto -s $ROOT_OUT/system/etc/linker.config.json -o $ROOT_OUT/system/etc/linker… 113 conv_apex_manifest proto $dst/apex_manifest.json -o $dst/apex_manifest.pb 114 if test -f $dst/etc/linker.config.json; then 115 conv_linker_config proto -s $dst/etc/linker.config.json -o $dst/etc/linker.config.pb
|
D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.json
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 38 manifest: "manifest.json", 48 manifest: "manifest_compressed.json", 59 manifest: "manifest_compressed.json", 152 manifest: "manifest_compressed.json", 163 manifest: "manifest_compressed.json", 174 manifest: "manifest_compressed_v2.json", 185 manifest: "manifest_compressed_v2.json", 196 manifest: "manifest.json", 207 manifest: "manifest.json", 221 manifest: "manifest.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 | 59 echo '{"name": "com.android.example.apex", "version": 1}' > ${manifest_dir}/apex_manifest.json 60 …/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${manifest_file}
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 112 string json; in TEST_F() local 114 PayloadProperties(payload_file_.path()).GetPropertiesAsJson(&json)); in TEST_F() 115 EXPECT_EQ(kJsonProperties, json) << "JSON contents:\n" << json; in TEST_F()
|
/system/bt/vendor_libs/test_vendor_lib/data/ |
D | Android.bp | 11 name: "controller_properties.json", 12 src: "controller_properties.json",
|
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 46 std::string json; in MessageToJsonString() local 48 &json, options); in MessageToJsonString() 53 return ErrorOr<std::string>(std::move(json)); in MessageToJsonString()
|
/system/update_engine/cros/ |
D | requisition_util_unittest.cc | 64 void WriteJsonToFile(const string& json) { in WriteJsonToFile() argument 68 ASSERT_TRUE(WriteFileString(path_.value(), json)); in WriteJsonToFile()
|
/system/chre/chpp/api_parser/ |
D | chre_api_to_chpp.py | 19 import json 66 self.json = api.json 68 self.service_name = self.json['filename'].split('/')[-1].split('.')[0] 81 out.append("// Source: {} @ commit {}\n\n".format(self.json['filename'], self.commit_hash)) 188 includes.extend(self.json['output_includes']) 227 sorted_structs = self._sorted_structs(self.json['root_structs']) 231 for chre_type in self.json['root_structs']: 333 for struct in self.json['root_structs']: 580 for struct in self.json['root_structs']: 674 for chre_type in self.json['root_structs']: [all …]
|
/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 | 179 sed -i "s/\"DUT\"/\"${DUT_SERIAL}\"/g" ${CONFIG_DIR}/devices_config.json 180 sed -i "s/\"CERT\"/\"${CERT_SERIAL}\"/g" ${CONFIG_DIR}/devices_config.json 200 TEST_CONFIG=$ANDROID_BUILD_TOP/system/bt/gd/cert/rust_android_devices_config.json 206 TEST_CONFIG=$ANDROID_BUILD_TOP/system/bt/gd/cert/rust_host_config.json 362 TEMP_CONFIG=/tmp/temp_acts_config.json
|
D | run_pts_l2cap.sh | 4 --test_config=$ANDROID_BUILD_TOP/system/bt/gd/cert/pts.json \
|
/system/apex/apexer/testdata/ |
D | Android.bp | 34 manifest: "manifest.json", 46 manifest: "manifest.json", 58 manifest: "manifest.json", 70 manifest: "manifest.json",
|
/system/extras/simpleperf/scripts/test/ |
D | report_html_test.py | 18 import json 78 self.assertNotIn(original_methodname, json.dumps(record_data)) 82 self.assertIn(original_methodname, json.dumps(record_data)) 101 return json.loads(json_data)
|
D | inferno_test.py | 18 import json
|
D | purgatorio_test.py | 18 import json
|
/system/apex/shim/build/ |
D | Android.bp | 78 manifest: "manifest_v3.json", 91 manifest: "manifest_v2.json", 105 manifest: "manifest_v2_rebootless.json", 117 manifest: "manifest_v2.json", 129 manifest: "manifest_v2.json", 144 manifest: "manifest_v2_rebootless.json", 181 manifest: "manifest_v2_rebootless.json", 200 manifest: "manifest_v2_rebootless.json", 220 manifest: "manifest_v2_rebootless.json", 231 manifest: "manifest_v2_with_pre_install_hook.json", [all …]
|
/system/linkerconfig/ |
D | README.md | 16 ### linker.config.json 23 A linker configuration file(linker.config.json) is compiled into a protobuf at build time 33 linker.config.json file is in json format which can contain properties as below.
|
/system/teeui/tools/framebufferizer/ |
D | Android.bp | 13 "json-prebuilt",
|
/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")));
|