Home
last modified time | relevance | path

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

1234

/system/extras/perfprofd/
Dquipper_helper.h85 explicit CommEventIterator(const ::quipper::PerfDataProto& proto) in CommEventIterator()
86 : EventFilteredIterator<CommEventPredicate>(proto.events().begin(), in CommEventIterator()
87 proto.events().end(), in CommEventIterator()
98 explicit MmapEventIterator(const ::quipper::PerfDataProto& proto) in MmapEventIterator()
99 : EventFilteredIterator<MmapEventPredicate>(proto.events().begin(), in MmapEventIterator()
100 proto.events().end(), in MmapEventIterator()
111 explicit SampleEventIterator(const ::quipper::PerfDataProto& proto) in SampleEventIterator()
112 : EventFilteredIterator<SampleEventPredicate>(proto.events().begin(), in SampleEventIterator()
113 proto.events().end(), in SampleEventIterator()
124 explicit ForkEventIterator(const ::quipper::PerfDataProto& proto) in ForkEventIterator()
[all …]
DAndroid.bp79 "perfprofd_record.proto",
83 // Static library for the record proto and its I/O.
103 proto: {
116 "perfprofd_config.proto",
134 proto: {
Dperfprofd_cmdline.cc227 auto handler = [&seq](android::perfprofd::PerfprofdRecord* proto, Config* handler_config) { in perfprofd_main() argument
228 if (proto == nullptr) { in perfprofd_main()
233 if (!android::perfprofd::dropbox::SendToDropbox(proto, in perfprofd_main()
244 if (!android::perfprofd::SerializeProtobuf(proto, path.c_str(), handler_config->compress)) { in perfprofd_main()
Dperfprofd_record.proto4 import "perf_data.proto";
35 // Stats inherited from old perf_profile.proto.
/system/core/storaged/
Dstoraged.cpp185 StoragedProto proto; in load_proto() local
186 proto.ParseFromString(ss.str()); in load_proto()
188 const UidIOUsage& uid_io_usage = proto.uid_io_usage(); in load_proto()
192 if (proto.crc() != computed_crc) { in load_proto()
197 mUidm.load_uid_io_proto(user_id, proto.uid_io_usage()); in load_proto()
200 storage_info->load_perf_history_proto(proto.perf_history()); in load_proto()
204 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto() argument
205 proto->set_version(current_version); in prepare_proto()
207 const UidIOUsage& uid_io_usage = proto->uid_io_usage(); in prepare_proto()
208 proto->set_crc(crc32(current_version, in prepare_proto()
[all …]
/system/netd/server/
DSockDiag.h49 typedef std::function<bool(uint8_t proto, const inet_diag_msg *)> DestroyFilter;
67 int sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states);
68 int sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr);
69 int readDiagMsg(uint8_t proto, const DestroyFilter& callback);
72 int sockDestroy(uint8_t proto, const inet_diag_msg *);
76 int destroySockets(uint8_t proto, uid_t uid, bool excludeLoopback);
93 int sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states,
95 int destroySockets(uint8_t proto, int family, const char *addrstr);
DSockDiag.cpp95 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() argument
107 .sdiag_protocol = proto, in sendDumpRequest()
128 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument
132 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
135 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() argument
203 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
206 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
209 if (shouldDestroy(proto, msg)) { in readDiagMsg()
210 sockDestroy(proto, msg); in readDiagMsg()
[all …]
/system/bt/proto/
DAndroid.bp4 proto: {
7 srcs: ["bluetooth/metrics/bluetooth.proto"],
13 proto: {
17 srcs: ["bluetooth/metrics/bluetooth.proto"],
/system/apex/proto/
DAndroid.bp20 proto: {
24 srcs: ["apex_manifest.proto"],
38 "apex_manifest.proto",
40 proto: {
48 proto: {
52 srcs: ["session_state.proto"],
/system/core/adb/fastdeploy/
DAndroid.bp20 srcs: ["deployagent/src/**/*.java", "deploylib/src/**/*.java", "proto/**/*.proto"],
23 proto: {
33 srcs: ["deploypatchgenerator/src/**/*.java", "deploylib/src/**/*.java", "proto/**/*.proto"],
36 proto: {
/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.h39 ::apex::proto::SessionState::State state);
44 ::apex::proto::SessionState::State GetState() const;
49 Status UpdateStateAndCommit(const ::apex::proto::SessionState::State& state);
54 ApexSession(const ::apex::proto::SessionState& state);
55 ::apex::proto::SessionState state_;
Dapex_manifest.h25 using ::apex::proto::ApexManifest;
/system/extras/partition_tools/
Dlpdump.cc115 DynamicPartitionsDeviceInfoProto* proto) { in MergeMetadata() argument
126 auto group_proto = proto->add_groups(); in MergeMetadata()
133 auto partition_proto = proto->add_partitions(); in MergeMetadata()
147 auto block_device_proto = proto->add_block_devices(); in MergeMetadata()
159 DynamicPartitionsDeviceInfoProto* proto, const std::string& partition) { in FindPartition() argument
160 for (DynamicPartitionsDeviceInfoProto::Partition& p : *proto->mutable_partitions()) { in FindPartition()
179 static bool MergeFsUsage(DynamicPartitionsDeviceInfoProto* proto, in MergeFsUsage() argument
203 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
205 partition_proto = proto->add_partitions(); in MergeFsUsage()
222 DynamicPartitionsDeviceInfoProto proto; in PrintJson() local
[all …]
/system/netd/bpf_progs/
Dnetd.h122 uint8_t proto, ihl; in DEFINE_UPDATE_STATS() local
124 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
126 if (proto == IPPROTO_ESP) { in DEFINE_UPDATE_STATS()
128 } else if (proto == IPPROTO_TCP) { in DEFINE_UPDATE_STATS()
139 uint8_t proto; in DEFINE_UPDATE_STATS() local
140 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
142 if (proto == IPPROTO_ESP) { in DEFINE_UPDATE_STATS()
144 } else if (proto == IPPROTO_TCP) { in DEFINE_UPDATE_STATS()
/system/extras/perfprofd/scripts/
DAndroid.bp42 // filegroup contains .proto files. So add it here explicitly.
45 proto: {
83 // filegroup contains .proto files. So add it here explicitly.
86 proto: {
/system/timezone/tzlookup_generator/
DAndroid.bp18 proto: {
23 srcs: ["src/main/proto/**/*.proto"],
/system/extras/simpleperf/
Dcmd_report_sample.cpp35 namespace proto = simpleperf_report_proto;
120 bool WriteRecordInProtobuf(proto::Record& proto_record);
327 proto::Record proto_record; in DumpProtobufReport()
343 const proto::Sample_CallChainEntry& callchain = sample.callchain(i); in DumpProtobufReport()
451 proto::Record proto_record; in PrintMetaInfo()
452 proto::MetaInfo* meta_info = proto_record.mutable_meta_info(); in PrintMetaInfo()
535 proto::Record proto_record; in PrintSampleRecordInProtobuf()
536 proto::Sample* sample = proto_record.mutable_sample(); in PrintSampleRecordInProtobuf()
543 proto::Sample_CallChainEntry* callchain = sample->add_callchain(); in PrintSampleRecordInProtobuf()
572 bool ReportSampleCommand::WriteRecordInProtobuf(proto::Record& proto_record) { in WriteRecordInProtobuf()
[all …]
/system/core/libprocessgroup/profiles/
DAndroid.bp48 "cgroups.proto",
49 "task_profiles.proto",
51 proto: {
/system/core/init/
DAndroid.bp121 "persistent_properties.proto",
131 "subcontext.proto",
142 proto: {
263 "subcontext.proto",
266 proto: {
/system/tools/sysprop/
DAndroid.bp19 srcs: ["sysprop.proto", "Common.cpp", "CodeWriter.cpp"],
21 proto: {
/system/extras/boottime_tools/bootio/
DAndroid.bp43 proto: {
48 "protos.proto",
/system/timezone/tzlookup_generator/src/main/proto/
Dcountry_zones_file.proto19 option java_package = "com.android.libcore.timezone.tzlookup.proto";
22 package com.android.libcore.timezone.tzlookup.proto;
/system/security/keystore/
DAndroid.bp38 "key_config.proto",
49 "operation_config.proto",
187 "keystore_client.proto",
204 proto: {
/system/bt/
DAndroid.bp27 "proto",

1234