Home
last modified time | relevance | path

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

12345678

/system/chre/apps/test/common/proto/
DAndroid.bp30 "./chre_cross_validation_sensor.proto",
32 proto: {
42 "./chre_cross_validation_wifi.proto",
44 proto: {
54 "./chre_settings_test.proto",
56 proto: {
66 "./chre_audio_concurrency_test.proto",
68 proto: {
82 "./permission_test.proto",
84 proto: {
[all …]
/system/apex/proto/
DAndroid.bp24 proto: {
28 srcs: ["apex_manifest.proto"],
35 proto: {
39 srcs: ["apex_manifest.proto"],
57 "apex_manifest.proto",
59 proto: {
75 "apex_build_info.proto",
77 proto: {
86 proto: {
89 srcs: ["apex_manifest.proto"],
[all …]
/system/bt/gd/proto/
DAndroid.bp13 proto: {
17 "bluetooth/metrics/bluetooth.proto",
18 "bluetooth/bluetoothKeystore/keystore.proto",
29 proto: {
34 "bluetooth/metrics/bluetooth.proto",
35 "bluetooth/bluetoothKeystore/keystore.proto",
46 proto: {
52 "bluetooth/metrics/bluetooth.proto",
53 "bluetooth/bluetoothKeystore/keystore.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, int ifindex);
DSockDiag.cpp110 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() argument
122 .sdiag_protocol = proto, in sendDumpRequest()
143 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument
147 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
150 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() argument
216 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
219 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
220 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
222 if (shouldDestroy(proto, msg)) { in readDiagMsg()
223 sockDestroy(proto, msg); in readDiagMsg()
[all …]
/system/extras/simpleperf/
Dcmd_report_sample.cpp41 namespace proto = simpleperf_report_proto;
68 static proto::Sample_CallChainEntry_ExecutionType ToProtoExecutionType( in ToProtoExecutionType()
72 return proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD; in ToProtoExecutionType()
74 return proto::Sample_CallChainEntry_ExecutionType_INTERPRETED_JVM_METHOD; in ToProtoExecutionType()
76 return proto::Sample_CallChainEntry_ExecutionType_JIT_JVM_METHOD; in ToProtoExecutionType()
78 return proto::Sample_CallChainEntry_ExecutionType_ART_METHOD; in ToProtoExecutionType()
81 return proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD; in ToProtoExecutionType()
84 static const char* ProtoExecutionTypeToString(proto::Sample_CallChainEntry_ExecutionType type) { in ProtoExecutionTypeToString()
86 case proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD: in ProtoExecutionTypeToString()
88 case proto::Sample_CallChainEntry_ExecutionType_INTERPRETED_JVM_METHOD: in ProtoExecutionTypeToString()
[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 \
88 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
/system/apex/apexd/
Dapex_manifest.h29 android::base::Result<::apex::proto::ApexManifest> ParseManifest(
32 std::string GetPackageId(const ::apex::proto::ApexManifest& apex_manifest);
34 android::base::Result<::apex::proto::ApexManifest> ReadManifest(
Dapexd_session.h47 ::apex::proto::SessionState::State state);
53 ::apex::proto::SessionState::State GetState() const;
74 const ::apex::proto::SessionState::State& state);
80 explicit ApexSession(::apex::proto::SessionState state);
81 ::apex::proto::SessionState state_;
Dapexd_private.h36 std::string GetPackageMountPoint(const ::apex::proto::ApexManifest& manifest);
38 const ::apex::proto::ApexManifest& manifest);
39 std::string GetActiveMountPoint(const ::apex::proto::ApexManifest& manifest);
Dapex_file.h52 const ::apex::proto::ApexManifest& GetManifest() const { return manifest_; } in GetManifest()
64 ::apex::proto::ApexManifest manifest, const std::string& apex_pubkey, in ApexFile()
77 ::apex::proto::ApexManifest manifest_;
/system/linkerconfig/modules/tests/
Dapex_test.cc41 using ::apex::proto::ApexManifest;
178 ::android::linkerconfig::proto::LinkerConfig two_slash; in TEST_F()
185 ::android::linkerconfig::proto::LinkerConfig invalid_char; in TEST_F()
192 ::android::linkerconfig::proto::LinkerConfig end_with_lib; in TEST_F()
200 ::android::linkerconfig::proto::LinkerConfig lib_plus_char; in TEST_F()
208 ::android::linkerconfig::proto::LinkerConfig char_plus_lib; in TEST_F()
216 ::android::linkerconfig::proto::LinkerConfig lib_and_lib64; in TEST_F()
/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/debuggerd/tombstoned/
Dtombstoned.cpp75 std::optional<std::string> proto; member
80 std::optional<CrashArtifact> proto; member
176 result.proto = create_temporary_file(); in get_output()
200 result.proto = StringPrintf("%s%02d.pb", file_name_prefix_.c_str(), next_artifact_); in get_next_artifact_paths()
290 crash->output.proto = CrashArtifact::devnull(); in perform_request()
305 if (crash->output.proto) { in perform_request()
307 crash->output.proto->fd.get()); in perform_request()
469 if (crash->output.proto && crash->output.proto->fd != -1) { in crash_completed()
470 if (!paths.proto) { in crash_completed()
473 rename_tombstone_fd(crash->output.proto->fd, queue->dir_fd(), *paths.proto); in crash_completed()
[all …]
/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/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/core/debuggerd/proto/
DAndroid.bp7 srcs: ["tombstone.proto"],
21 proto: {
/system/bt/gd/hci/facade/
Dle_initiator_address_facade.proto5 import "google/protobuf/empty.proto";
6 import "facade/common.proto";
/system/timezone/input_tools/android/tzids/
DAndroid.bp27 proto: {
32 srcs: ["src/main/proto/**/*.proto"],
/system/linkerconfig/testdata/
Dprepare_root.sh97 …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
115 conv_linker_config proto -s $dst/etc/linker.config.json -o $dst/etc/linker.config.pb

12345678