Home
last modified time | relevance | path

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

1234567

/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"],
49 "apex_manifest.proto",
51 proto: {
59 "apex_build_info.proto",
61 proto: {
70 proto: {
73 srcs: ["apex_manifest.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()
146 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument
150 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
153 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() argument
219 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
222 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
223 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
225 if (shouldDestroy(proto, msg)) { in readDiagMsg()
226 sockDestroy(proto, msg); in readDiagMsg()
[all …]
/system/core/storaged/
Dstoraged.cpp244 StoragedProto proto; in load_proto() local
245 proto.ParseFromString(ss.str()); in load_proto()
247 const UidIOUsage& uid_io_usage = proto.uid_io_usage(); in load_proto()
252 if (proto.crc() != computed_crc) { in load_proto()
257 mUidm.load_uid_io_proto(user_id, proto.uid_io_usage()); in load_proto()
260 storage_info->load_perf_history_proto(proto.perf_history()); in load_proto()
264 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto() argument
265 proto->set_version(current_version); in prepare_proto()
267 const UidIOUsage& uid_io_usage = proto->uid_io_usage(); in prepare_proto()
268 proto->set_crc(crc32(current_version, in prepare_proto()
[all …]
/system/extras/simpleperf/
Dcmd_report_sample.cpp42 namespace proto = simpleperf_report_proto;
69 static proto::Sample_CallChainEntry_ExecutionType ToProtoExecutionType( in ToProtoExecutionType()
73 return proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD; in ToProtoExecutionType()
75 return proto::Sample_CallChainEntry_ExecutionType_INTERPRETED_JVM_METHOD; in ToProtoExecutionType()
77 return proto::Sample_CallChainEntry_ExecutionType_JIT_JVM_METHOD; in ToProtoExecutionType()
79 return proto::Sample_CallChainEntry_ExecutionType_ART_METHOD; in ToProtoExecutionType()
82 return proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD; in ToProtoExecutionType()
85 static const char* ProtoExecutionTypeToString(proto::Sample_CallChainEntry_ExecutionType type) { in ProtoExecutionTypeToString()
87 case proto::Sample_CallChainEntry_ExecutionType_NATIVE_METHOD: in ProtoExecutionTypeToString()
89 case proto::Sample_CallChainEntry_ExecutionType_INTERPRETED_JVM_METHOD: in ProtoExecutionTypeToString()
[all …]
DETMBranchListFile.cpp47 static std::optional<proto::ETMBranchList_Binary::BinaryType> ToProtoBinaryType(DsoType dso_type) { in ToProtoBinaryType()
50 return proto::ETMBranchList_Binary::ELF_FILE; in ToProtoBinaryType()
52 return proto::ETMBranchList_Binary::KERNEL; in ToProtoBinaryType()
54 return proto::ETMBranchList_Binary::KERNEL_MODULE; in ToProtoBinaryType()
62 proto::ETMBranchList branch_list_proto; in BranchListBinaryMapToString()
105 static std::optional<DsoType> ToDsoType(proto::ETMBranchList_Binary::BinaryType binary_type) { in ToDsoType()
107 case proto::ETMBranchList_Binary::ELF_FILE: in ToDsoType()
109 case proto::ETMBranchList_Binary::KERNEL: in ToDsoType()
111 case proto::ETMBranchList_Binary::KERNEL_MODULE: in ToDsoType()
119 static UnorderedBranchMap BuildUnorderedBranchMap(const proto::ETMBranchList_Binary& binary_proto) { in BuildUnorderedBranchMap()
[all …]
/system/chre/build/
Dnanopb.mk50 NANOPB_GEN_SRCS += $(patsubst %.proto, \
77 NANOPB_GENERATOR_SRCS = $(NANOPB_PREFIX)/generator/proto/nanopb_pb2.py
78 NANOPB_GENERATOR_SRCS += $(NANOPB_PREFIX)/generator/proto/plugin_pb2.py
81 cd $(NANOPB_PREFIX)/generator/proto && make
98 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
110 $(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.h55 const ::apex::proto::ApexManifest& GetManifest() const { return manifest_; } in GetManifest()
67 ::apex::proto::ApexManifest manifest, const std::string& apex_pubkey, in ApexFile()
80 ::apex::proto::ApexManifest manifest_;
/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/security/fsverity/
DAndroid.bp27 "fsverity_digests.proto",
32 proto: {
48 "fsverity_digests.proto",
57 proto: {
63 srcs: ["fsverity_digests.proto"],
/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()
251 DynamicPartitionsDeviceInfoProto proto; in PrintJson() local
[all …]
/system/linkerconfig/modules/tests/
Dapex_test.cc41 using ::apex::proto::ApexManifest;
207 ::android::linkerconfig::proto::LinkerConfig two_slash; in TEST_F()
214 ::android::linkerconfig::proto::LinkerConfig invalid_char; in TEST_F()
221 ::android::linkerconfig::proto::LinkerConfig end_with_lib; in TEST_F()
229 ::android::linkerconfig::proto::LinkerConfig lib_plus_char; in TEST_F()
237 ::android::linkerconfig::proto::LinkerConfig char_plus_lib; in TEST_F()
245 ::android::linkerconfig::proto::LinkerConfig lib_and_lib64; in TEST_F()
/system/security/ondevice-signing/proto/
DAndroid.bp24 proto: {
28 srcs: ["odsign_info.proto"],
38 protos: ["odsign_info.proto"],
/system/linkerconfig/modules/include/linkerconfig/
Dbasecontext.h51 void SetSystemConfig(const android::linkerconfig::proto::LinkerConfig& config);
55 void SetVendorConfig(const android::linkerconfig::proto::LinkerConfig& config);
59 void SetProductConfig(const android::linkerconfig::proto::LinkerConfig& config);
/system/timezone/input_tools/android/tzids/
DAndroid.bp24 proto: {
29 srcs: ["src/main/proto/**/*.proto"],
/system/teeui/libteeui/src/
Dgeneric_messages.cpp43 auto [_, proto] = readProtocol(in); in peakProtocol()
44 return proto; in peakProtocol()
/system/timezone/input_tools/android/tzlookup_generator/
DAndroid.bp24 proto: {
29 srcs: ["src/main/proto/**/*.proto"],
/system/timezone/input_tools/android/telephonylookup_generator/
DAndroid.bp23 proto: {
28 srcs: ["src/main/proto/**/*.proto"],
/system/core/debuggerd/proto/
DAndroid.bp7 srcs: ["tombstone.proto"],
21 proto: {
/system/chre/external/pigweed/
Dpw_rpc.mk36 PW_RPC_GENERATOR_PROTO = $(PIGWEED_DIR)/pw_rpc/internal/packet.proto
38 PW_PROTOBUF_PROTOS = $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/common.proto \
39 $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/field_options.proto \
40 $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/status.proto
63 $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_codegen_protos/codegen_options.proto
76 PW_RPC_GEN_SRCS = $(patsubst %.proto, \
179 $(PW_RPC_GEN_PATH)/%.raw_rpc.pb.h: %.proto \
212 $(PW_RPC_GEN_PATH)/%.raw_rpc.pb.h: %.proto \

1234567