Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 145) sorted by relevance

123456

/system/apex/proto/
DAndroid.bp20 proto: {
24 srcs: ["apex_manifest.proto"],
31 proto: {
35 srcs: ["apex_manifest.proto"],
49 "apex_manifest.proto",
51 proto: {
67 "apex_build_info.proto",
69 proto: {
78 proto: {
81 srcs: ["apex_manifest.proto"],
[all …]
/system/bt/proto/
DAndroid.bp4 proto: {
8 "bluetooth/metrics/bluetooth.proto",
9 "bluetooth/bluetoothKeystore/keystore.proto",
16 proto: {
21 "bluetooth/metrics/bluetooth.proto",
22 "bluetooth/bluetoothKeystore/keystore.proto",
/system/chre/apps/test/common/proto/
DAndroid.bp21 "./chre_cross_validation_sensor.proto",
23 proto: {
33 "./chre_cross_validation_wifi.proto",
35 proto: {
45 "./chre_settings_test.proto",
47 proto: {
57 "./chre_audio_concurrency_test.proto",
59 proto: {
73 "./chre_test_common.proto",
75 proto: {
/system/core/storaged/
Dstoraged.cpp189 StoragedProto proto; in load_proto() local
190 proto.ParseFromString(ss.str()); in load_proto()
192 const UidIOUsage& uid_io_usage = proto.uid_io_usage(); in load_proto()
196 if (proto.crc() != computed_crc) { in load_proto()
201 mUidm.load_uid_io_proto(user_id, proto.uid_io_usage()); in load_proto()
204 storage_info->load_perf_history_proto(proto.perf_history()); in load_proto()
208 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto() argument
209 proto->set_version(current_version); in prepare_proto()
211 const UidIOUsage& uid_io_usage = proto->uid_io_usage(); in prepare_proto()
212 proto->set_crc(crc32(current_version, in prepare_proto()
[all …]
/system/netd/server/
DSockDiag.h48 typedef std::function<bool(uint8_t proto, const inet_diag_msg *)> DestroyFilter;
66 int sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states);
67 int sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr);
68 int readDiagMsg(uint8_t proto, const DestroyFilter& callback);
71 int sockDestroy(uint8_t proto, const inet_diag_msg *);
75 int destroySockets(uint8_t proto, uid_t uid, bool excludeLoopback);
92 int sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states,
94 int destroySockets(uint8_t proto, int family, const char *addrstr);
DSockDiag.cpp108 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() argument
120 .sdiag_protocol = proto, in sendDumpRequest()
141 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument
145 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
148 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() argument
214 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
217 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
218 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
220 if (shouldDestroy(proto, msg)) { in readDiagMsg()
221 sockDestroy(proto, msg); in readDiagMsg()
[all …]
/system/chre/build/
Dnanopb.mk38 NANOPB_GEN_SRCS += $(patsubst %.proto, \
65 NANOPB_GENERATOR_SRCS = $(NANOPB_PREFIX)/generator/proto/nanopb_pb2.py
66 NANOPB_GENERATOR_SRCS += $(NANOPB_PREFIX)/generator/proto/plugin_pb2.py
69 cd $(NANOPB_PREFIX)/generator/proto && make
78 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
87 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
/system/apex/apexd/
Dapexd_session.h47 ::apex::proto::SessionState::State state);
53 ::apex::proto::SessionState::State GetState() const;
72 const ::apex::proto::SessionState::State& state);
77 ApexSession(::apex::proto::SessionState state);
78 ::apex::proto::SessionState state_;
/system/teeui/libteeui/include/teeui/
Dgeneric_messages.h62 template <uint32_t proto, typename CmdT, CmdT cmd>
63 inline WriteStream write(WriteStream out, Cmd<proto, CmdT, cmd>) { in write() argument
66 if (out) *protoptr = proto; in write()
81 template <Protocol proto, typename CmdT, CmdT cmd, typename... Fields>
82 std::tuple<ReadStream, Fields...> read(Message<Cmd<proto, CmdT, cmd>, Fields...>, ReadStream in) { in read() argument
86 template <Protocol proto, typename CmdT, CmdT cmd, typename... T>
87 struct msg2tuple<Message<Cmd<proto, CmdT, cmd>, T...>> {
/system/core/adb/crypto/include/adb/crypto/
Dkey.h31 explicit Key(bssl::UniquePtr<EVP_PKEY>&& pkey, adb::proto::KeyType type) in Key()
37 adb::proto::KeyType GetKeyType() const { return key_type_; } in GetKeyType()
42 adb::proto::KeyType key_type_;
/system/extras/partition_tools/
Dlpdump.cc137 DynamicPartitionsDeviceInfoProto* proto) { in MergeMetadata() argument
148 auto group_proto = proto->add_groups(); in MergeMetadata()
155 auto partition_proto = proto->add_partitions(); in MergeMetadata()
169 auto block_device_proto = proto->add_block_devices(); in MergeMetadata()
181 DynamicPartitionsDeviceInfoProto* proto, const std::string& partition) { in FindPartition() argument
182 for (DynamicPartitionsDeviceInfoProto::Partition& p : *proto->mutable_partitions()) { in FindPartition()
201 static bool MergeFsUsage(DynamicPartitionsDeviceInfoProto* proto, in MergeFsUsage() argument
225 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
227 partition_proto = proto->add_partitions(); in MergeFsUsage()
244 DynamicPartitionsDeviceInfoProto proto; in PrintJson() local
[all …]
/system/core/adb/proto/
DAndroid.bp26 proto: {
31 "adb_known_hosts.proto",
32 "key_type.proto",
33 "pairing.proto",
/system/iorap/src/serialize/
Dprotobuf_io.h39 static ArenaPtr<proto::TraceFile> Open(std::string file_path);
41 static ArenaPtr<proto::TraceFile> Open(int fd, const char* file_path = "<unknown>");
Dprotobuf_io.cc36 ArenaPtr<proto::TraceFile> ProtobufIO::Open(std::string file_path) { in Open()
48 ArenaPtr<proto::TraceFile> ProtobufIO::Open(int fd, const char* file_path) { in Open()
73 ArenaPtr<proto::TraceFile> protobuf_trace_file = ArenaPtr<proto::TraceFile>::Make(); in Open()
/system/netd/bpf_progs/
Dnetd.c141 uint8_t proto, ihl; in DEFINE_UPDATE_STATS() local
143 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
145 if (proto == IPPROTO_ESP) { in DEFINE_UPDATE_STATS()
147 } else if (proto == IPPROTO_TCP) { in DEFINE_UPDATE_STATS()
158 uint8_t proto; in DEFINE_UPDATE_STATS() local
159 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
161 if (proto == IPPROTO_ESP) { in DEFINE_UPDATE_STATS()
163 } else if (proto == IPPROTO_TCP) { in DEFINE_UPDATE_STATS()
/system/bt/gd/facade/
Drootservice.proto5 import "google/protobuf/empty.proto";
6 import "facade/common.proto";
/system/teeui/libteeui/src/
Dgeneric_messages.cpp43 auto [_, proto] = readProtocol(in); in peakProtocol()
44 return proto; in peakProtocol()
/system/timezone/input_tools/android/telephonylookup_generator/
DAndroid.bp18 proto: {
23 srcs: ["src/main/proto/**/*.proto"],
/system/timezone/input_tools/android/tzlookup_generator/
DAndroid.bp18 proto: {
23 srcs: ["src/main/proto/**/*.proto"],
/system/extras/simpleperf/
Dcmd_report_sample.cpp36 namespace proto = simpleperf_report_proto;
122 bool WriteRecordInProtobuf(proto::Record& proto_record);
329 proto::Record proto_record; in DumpProtobufReport()
345 const proto::Sample_CallChainEntry& callchain = sample.callchain(i); in DumpProtobufReport()
444 proto::Record proto_record; in PrintMetaInfo()
445 proto::MetaInfo* meta_info = proto_record.mutable_meta_info(); in PrintMetaInfo()
530 proto::Record proto_record; in PrintSampleRecordInProtobuf()
531 proto::Sample* sample = proto_record.mutable_sample(); in PrintSampleRecordInProtobuf()
538 proto::Sample_CallChainEntry* callchain = sample->add_callchain(); in PrintSampleRecordInProtobuf()
567 bool ReportSampleCommand::WriteRecordInProtobuf(proto::Record& proto_record) { in WriteRecordInProtobuf()
[all …]
/system/iorap/src/prefetcher/
Dread_ahead.cc304 serialize::ArenaPtr<serialize::proto::TraceFile> trace_file_ptr = in BeginTask()
327 const serialize::proto::TraceFileIndex& index = trace_file_ptr->index(); in BeginTask()
334 for (const serialize::proto::TraceFileIndexEntry& index_entry : index.entries()) { in BeginTask()
367 const serialize::proto::TraceFileList& file_list = trace_file_ptr->list(); in BeginTask()
368 for (const serialize::proto::TraceFileEntry& file_entry : file_list.entries()) { in BeginTask()
409 serialize::ArenaPtr<serialize::proto::TraceFile> trace_file_ptr = in PrefetchSizeInBytes()
418 const serialize::proto::TraceFileList& file_list = trace_file_ptr->list(); in PrefetchSizeInBytes()
419 for (const serialize::proto::TraceFileEntry& file_entry : file_list.entries()) { in PrefetchSizeInBytes()
/system/core/adb/fastdeploy/
DAndroid.bp21 "proto/**/*.proto",
23 proto: {
/system/core/adb/pairing_connection/
Dpairing_connection.cpp108 void CreateHeader(PairingPacketHeader* header, adb::proto::PairingPacket::Type type,
111 bool CheckHeaderType(adb::proto::PairingPacket::Type expected, uint8_t actual);
235 if (!adb::proto::PairingPacket::Type_IsValid(*p)) { in ReadHeader()
253 adb::proto::PairingPacket::Type type, in CreateHeader()
261 bool PairingConnectionCtx::CheckHeaderType(adb::proto::PairingPacket::Type expected_type, in CheckHeaderType()
301 CreateHeader(&header, adb::proto::PairingPacket::SPAKE2_MSG, payload); in DoExchangeMsgs()
315 if (!CheckHeaderType(adb::proto::PairingPacket::SPAKE2_MSG, header.type)) { in DoExchangeMsgs()
349 out_header.type = static_cast<uint8_t>(static_cast<int>(adb::proto::PairingPacket::PEER_INFO)); in DoExchangePeerInfo()
371 if (!CheckHeaderType(adb::proto::PairingPacket::PEER_INFO, header.type)) { in DoExchangePeerInfo()
/system/core/libprocessgroup/profiles/
DAndroid.bp48 "cgroups.proto",
49 "task_profiles.proto",
51 proto: {
/system/bt/gd/
DAndroid.bp364 "facade/common.proto",
365 "facade/rootservice.proto",
366 "hal/facade.proto",
367 "hci/facade/facade.proto",
368 "hci/facade/acl_manager_facade.proto",
369 "hci/facade/controller_facade.proto",
370 "hci/facade/le_acl_manager_facade.proto",
371 "hci/facade/le_advertising_manager_facade.proto",
372 "hci/facade/le_scanning_manager_facade.proto",
373 "neighbor/facade/facade.proto",
[all …]

123456