Home
last modified time | relevance | path

Searched refs:protobuf (Results 1 – 25 of 59) sorted by relevance

123

/system/extras/libjsonpb/parse/
Djsonpb.cpp28 using google::protobuf::DescriptorPool;
29 using google::protobuf::Message;
30 using google::protobuf::scoped_ptr;
31 using google::protobuf::util::NewTypeResolverForDescriptorPool;
32 using google::protobuf::util::TypeResolver;
44 google::protobuf::util::JsonOptions options; in MessageToJsonString()
/system/apex/apexd/
Dapex_manifest.cpp26 using google::protobuf::DescriptorPool;
27 using google::protobuf::scoped_ptr;
28 using google::protobuf::util::NewTypeResolverForDescriptorPool;
29 using google::protobuf::util::TypeResolver;
37 const google::protobuf::Descriptor* message = apex_manifest.GetDescriptor(); in GetTypeUrl()
Dapexd_session.h43 const google::protobuf::RepeatedField<int> GetChildSessionIds() const;
/system/update_engine/payload_consumer/
Dextent_writer.h42 const google::protobuf::RepeatedPtrField<Extent>& extents,
58 const google::protobuf::RepeatedPtrField<Extent>& extents, in Init()
74 google::protobuf::RepeatedPtrField<Extent> extents_;
76 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_;
Dextent_reader.h35 const google::protobuf::RepeatedPtrField<Extent>& extents,
53 const google::protobuf::RepeatedPtrField<Extent>& extents,
60 google::protobuf::RepeatedPtrField<Extent> extents_;
64 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_;
Dfile_descriptor_utils.h39 const google::protobuf::RepeatedPtrField<Extent>& src_extents,
41 const google::protobuf::RepeatedPtrField<Extent>& tgt_extents,
51 const google::protobuf::RepeatedPtrField<Extent>& extents,
Dfake_extent_writer.h37 const google::protobuf::RepeatedPtrField<Extent>& /* extents */, in Init()
Dxz_extent_writer.h43 const google::protobuf::RepeatedPtrField<Extent>& extents,
Dbzip_extent_writer.h44 const google::protobuf::RepeatedPtrField<Extent>& extents,
Dbzip_extent_writer.cc19 using google::protobuf::RepeatedPtrField;
/system/extras/libjsonpb/verify/include/jsonpb/
Dverify.h67 bool AllFieldsAreKnown(const google::protobuf::Message& message,
82 google::protobuf::Message* scratch_space,
88 google::protobuf::Message* scratch_space);
Djson_schema_test.h44 virtual std::unique_ptr<google::protobuf::Message> CreateMessage() const = 0;
60 std::unique_ptr<google::protobuf::Message> CreateMessage() const override { in CreateMessage()
98 google::protobuf::Message* message() const { in message()
103 std::unique_ptr<google::protobuf::Message> object_;
/system/update_engine/payload_generator/
Dextent_utils.h56 google::protobuf::RepeatedPtrField<Extent>* out);
59 void ExtentsToVector(const google::protobuf::RepeatedPtrField<Extent>& extents,
68 google::protobuf::RepeatedPtrField<Extent>* extents,
69 const google::protobuf::RepeatedPtrField<Extent>& extents_to_add);
Dextent_utils.cc58 google::protobuf::RepeatedPtrField<Extent>* extents, in ExtendExtents()
59 const google::protobuf::RepeatedPtrField<Extent>& extents_to_add) { in ExtendExtents()
74 google::protobuf::RepeatedPtrField<Extent>* out) { in StoreExtents()
82 void ExtentsToVector(const google::protobuf::RepeatedPtrField<Extent>& extents, in ExtentsToVector()
Dextent_ranges.h60 const ::google::protobuf::RepeatedPtrField<Extent>& exts);
62 const ::google::protobuf::RepeatedPtrField<Extent>& exts);
Dannotated_operation.cc32 const google::protobuf::RepeatedPtrField<Extent>& extents) { in OutputExtents()
/system/extras/libjsonpb/verify/
Dverify.cpp37 using google::protobuf::FieldDescriptor;
38 using google::protobuf::FieldDescriptorProto;
39 using google::protobuf::Message;
145 bool AllFieldsAreKnown(const google::protobuf::Message& message, in AllFieldsAreKnown()
164 google::protobuf::Message* scratch_space, in EqReformattedJson()
211 google::protobuf::Message* scratch_space) { in FormatJson()
/system/apex/apexer/
Dapex_manifest.py19 from google.protobuf.json_format import Parse
20 from google.protobuf.json_format import ParseError
/system/extras/libjsonpb/parse/include/jsonpb/
Djsonpb.h31 google::protobuf::Message* message);
57 ErrorOr<std::string> MessageToJsonString(const google::protobuf::Message& message);
/system/iorap/tests/src/binder/
Dapp_launch_event_test.cc33 inline bool ProtosEqual(const ::google::protobuf::Message& lhs, in ProtosEqual()
34 const ::google::protobuf::Message& rhs) { in ProtosEqual()
35 return ::google::protobuf::util::MessageDifferencer::Equals(lhs, rhs); in ProtosEqual()
38 inline bool ProtosEqual(const ::google::protobuf::MessageLite& lhs, in ProtosEqual()
39 const ::google::protobuf::MessageLite& rhs) { in ProtosEqual()
/system/security/keystore/
Dkeystore_client_impl.cpp110 EncryptedData protobuf; in encryptWithAuthentication() local
111 protobuf.set_init_vector(init_vector); in encryptWithAuthentication()
112 protobuf.set_authentication_data(raw_authentication_data); in encryptWithAuthentication()
113 protobuf.set_encrypted_data(raw_encrypted_data); in encryptWithAuthentication()
114 if (!protobuf.SerializeToString(encrypted_data)) { in encryptWithAuthentication()
124 EncryptedData protobuf; in decryptWithAuthentication() local
125 if (!protobuf.ParseFromString(encrypted_data)) { in decryptWithAuthentication()
135 protobuf.init_vector() + protobuf.encrypted_data(), in decryptWithAuthentication()
136 protobuf.authentication_data(), &output_params, &output_data)) { in decryptWithAuthentication()
144 encrypt_params.Authorization(TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication()
[all …]
/system/extras/perfprofd/
Dperfprofd_io.cc44 class FileCopyingOutputStream : public ::google::protobuf::io::CopyingOutputStream {
56 using google::protobuf::io::ZeroCopyOutputStream;
70 google::protobuf::int64 ByteCount() const override;
121 google::protobuf::int64 GzipOutputStream::ByteCount() const { in ByteCount()
264 google::protobuf::io::CopyingOutputStreamAdaptor cosa(&fcos); in SerializeProtobuf()
/system/extras/simpleperf/
Dcmd_report_sample.cpp42 class ProtobufFileWriter : public google::protobuf::io::CopyingOutputStream {
54 class ProtobufFileReader : public google::protobuf::io::CopyingInputStream {
135 google::protobuf::io::CodedOutputStream* coded_os_;
183 std::unique_ptr<google::protobuf::io::CopyingOutputStreamAdaptor> protobuf_os; in Run()
184 std::unique_ptr<google::protobuf::io::CodedOutputStream> protobuf_coded_os; in Run()
192 protobuf_os.reset(new google::protobuf::io::CopyingOutputStreamAdaptor( in Run()
195 new google::protobuf::io::CodedOutputStream(protobuf_os.get())); in Run()
303 google::protobuf::io::CopyingInputStreamAdaptor adaptor(&protobuf_reader); in DumpProtobufReport()
304 google::protobuf::io::CodedInputStream coded_is(&adaptor); in DumpProtobufReport()
/system/core/libprocessgroup/profiles/
Dtest_vendor.cpp37 std::unique_ptr<google::protobuf::Message> CreateMessage() const override { in CreateMessage()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DCountryZonesFileSupport.java19 import com.google.protobuf.TextFormat;

123