/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/linkerconfig/ |
D | rundiff.sh | 45 for json in $2/**/linker.config.json; do 46 conv_linker_config proto -s $json -o ${json%.json}.pb 47 rm $json 49 for json in $2/**/apex_manifest.json; do 50 conv_apex_manifest proto $json -o ${json%.json}.pb 51 rm $json
|
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/extras/simpleperf/scripts/test/ |
D | gecko_profile_generator_test.py | 17 import json 36 return json.loads(output) 40 got = json.loads(output) 43 want = json.load(f) 49 json.dumps(got, sort_keys=True, indent=2), 50 json.dumps(want, sort_keys=True, indent=2)) 54 got = json.loads(output) 57 want = json.load(f) 63 json.dumps(got, sort_keys=True, indent=2), 64 json.dumps(want, sort_keys=True, indent=2)) [all …]
|
D | report_html_test.py | 18 import json 80 self.assertNotIn(original_methodname, json.dumps(record_data)) 84 self.assertIn(original_methodname, json.dumps(record_data)) 88 return json.loads(json_data)
|
/system/tools/aidl/scripts/redundancy_check/ |
D | Android.bp | 10 // --installed-files-json $OUT/installed-files.json \ 11 … --aidl-metadata-json $ANDROID_BUILD_TOP/out/soong/.intermediates/system/tools/aidl/build/aidl…
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 38 manifest: "manifest.json", 48 manifest: "manifest_compressed.json", 59 manifest: "manifest_compressed.json", 187 manifest: "manifest_compressed.json", 198 manifest: "manifest_compressed_v2.json", 209 manifest: "manifest_compressed_v2.json", 220 manifest: "manifest.json", 232 manifest: "manifest.json", 244 manifest: "manifest.json", 258 manifest: "manifest.json", [all …]
|
/system/apex/tests/testdata/vendorapex/ |
D | Android.bp | 32 manifest: "manifest_v1.json", 53 manifest: "manifest_v2.json", 61 manifest: "manifest_v2.json", 126 manifest: "manifest_v1.json", 140 manifest: "manifest_v2.json", 154 manifest: ":manifest_v2_with_wrong_vndk_version.json", 158 name: "manifest_v2_with_wrong_vndk_version.json", 159 out: ["manifest_v2_with_wrong_vndk_version.json"], 160 srcs: ["manifest_v2.json"], 170 manifest: "manifest_v2.json", [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/chre/api_parser/ |
D | api_parser.py | 38 self.json = json_obj 53 for struct_info in self.json['struct_info']: 68 self.json['includes'] + [self.json['filename']] 76 structs_and_unions_to_parse = self.json['root_structs'].copy()
|
D | chre_api_to_chpp.py | 20 import json 30 js = json.load(f)
|
D | chpp_code_generator.py | 40 self.json = api.json 42 self.service_name = self.json['filename'].split('/')[-1].split('.')[0] 57 '// Source: {} @ commit {}\n\n'.format(self.json['filename'], self.commit_hash)) 172 includes.extend(self.json['output_includes']) 217 sorted_structs = self._sorted_structs(self.json['root_structs']) 221 for chre_type in self.json['root_structs']: 335 for struct in self.json['root_structs']: 636 for struct in self.json['root_structs']: 736 for chre_type in self.json['root_structs']: 742 for chre_type in self.json['root_structs']: [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)
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 114 string json; in TEST_F() local 116 PayloadProperties(payload_file_.path()).GetPropertiesAsJson(&json)); in TEST_F() 117 EXPECT_EQ(kJsonProperties, json) << "JSON contents:\n" << json; in TEST_F()
|
/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/linkerconfig/testdata/ |
D | README.md | 17 apex_manifest.json # copied from intermediate apex_manifest_full.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/apex/shim/build/ |
D | Android.bp | 78 manifest: "manifest_v3.json", 94 manifest: "manifest_v2.json", 111 manifest: "manifest_v2_rebootless.json", 123 manifest: "manifest_v2.json", 135 manifest: "manifest_v2.json", 153 manifest: "manifest_v2_rebootless.json", 193 manifest: "manifest_v2_rebootless.json", 212 manifest: "manifest_v2_rebootless.json", 235 manifest: "manifest_v2_rebootless.json", 249 manifest: "manifest_v2_with_pre_install_hook.json", [all …]
|
/system/sepolicy/tools/ |
D | fuzzer_bindings_check.py | 18 import json 30 bindings = json.loads(jsonFile.read())
|
/system/update_engine/liburing_cpp/ |
D | .gitignore | 5 compile_commands.json
|
/system/teeui/tools/framebufferizer/ |
D | Android.bp | 13 "json-prebuilt",
|
/system/security/provisioner/ |
D | rkp_factory_extraction_tool.cpp | 65 auto [json, error] = jsonEncodeCsrWithBuild(instance_name, csr, FLAGS_serialno_prop); in writeOutput() 70 std::cout << json << std::endl; in writeOutput()
|
/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")));
|