Home
last modified time | relevance | path

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

1234567

/system/chre/apps/test/common/proto/
DAndroid.bp31 "./chre_cross_validation_sensor.proto",
33 proto: {
43 "./chre_cross_validation_wifi.proto",
45 proto: {
55 "./chre_settings_test.proto",
57 proto: {
67 "./chre_audio_concurrency_test.proto",
69 proto: {
83 "./permission_test.proto",
85 proto: {
[all …]
/system/apex/proto/
DAndroid.bp24 proto: {
28 srcs: ["apex_manifest.proto"],
35 proto: {
39 srcs: ["apex_manifest.proto"],
48 protos: ["apex_manifest.proto"],
56 "apex_manifest.proto",
58 proto: {
66 "apex_build_info.proto",
68 proto: {
77 proto: {
[all …]
/system/server_configurable_flags/aconfigd/srcs/
DAconfigdJavaUtils.java24 import android.util.proto.ProtoInputStream;
25 import android.util.proto.ProtoOutputStream;
49 public static void writeResetStorageRequest(ProtoOutputStream proto) { in writeResetStorageRequest() argument
50 long msgsToken = proto.start(StorageRequestMessages.MSGS); in writeResetStorageRequest()
51 long msgToken = proto.start(StorageRequestMessage.RESET_STORAGE_MESSAGE); in writeResetStorageRequest()
52 proto.write(StorageRequestMessage.ResetStorageMessage.ALL, true); in writeResetStorageRequest()
53 proto.end(msgToken); in writeResetStorageRequest()
54 proto.end(msgsToken); in writeResetStorageRequest()
64 ProtoOutputStream proto, in writeFlagOverrideRequest() argument
69 long msgsToken = proto.start(StorageRequestMessages.MSGS); in writeFlagOverrideRequest()
[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.cpp112 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() argument
124 .sdiag_protocol = proto, in sendDumpRequest()
148 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument
152 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
155 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() argument
221 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest()
224 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
225 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
227 if (shouldDestroy(proto, msg)) { in readDiagMsg()
228 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 …]
/system/tools/aidl/build/
Dgo.mod13 prebuilts/bazel/common/proto/analysis_v2 v0.0.0 // indirect
14 prebuilts/bazel/common/proto/build v0.0.0 // indirect
31 replace prebuilts/bazel/common/proto/analysis_v2 v0.0.0 => ../../../../prebuilts/bazel/common/proto
33 replace prebuilts/bazel/common/proto/build v0.0.0 => ../../../../prebuilts/bazel/common/proto/build
/system/server_configurable_flags/aconfigd/
DAndroid.bp5 "aconfigd.proto",
47 srcs: ["aconfigd.proto"],
53 srcs: ["aconfigd.proto"],
54 proto: {
74 "aconfigd.proto",
108 "aconfigd.proto",
/system/core/debuggerd/proto/
DAndroid.bp7 srcs: ["tombstone.proto"],
21 proto: {
45 proto: {
49 "tombstone.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.h56 ::apex::proto::SessionState::State state);
60 ::apex::proto::SessionState::State GetState() const;
82 const ::apex::proto::SessionState::State& state);
94 ApexSession(::apex::proto::SessionState state, std::string session_dir);
95 ::apex::proto::SessionState state_;
114 const ::apex::proto::SessionState::State& state) const;
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/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()
177 auto super_device_proto = proto->mutable_super_device(); in MergeMetadata()
187 DynamicPartitionsDeviceInfoProto* proto, const std::string& partition) { in FindPartition() argument
188 for (DynamicPartitionsDeviceInfoProto::Partition& p : *proto->mutable_partitions()) { in FindPartition()
207 static bool MergeFsUsage(DynamicPartitionsDeviceInfoProto* proto, in MergeFsUsage() argument
231 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
233 partition_proto = proto->add_partitions(); in MergeFsUsage()
[all …]
/system/chre/build/
Dnanopb.mk68 NANOPB_GEN_SRCS += $(patsubst %.proto, \
109 NANOPB_GENERATOR_SRCS = $(NANOPB_PREFIX)/generator/proto/nanopb_pb2.py
110 NANOPB_GENERATOR_SRCS += $(NANOPB_PREFIX)/generator/proto/plugin_pb2.py
113 cd $(NANOPB_PREFIX)/generator/proto && $(MAKE)
130 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
144 $(NANOPB_GEN_PATH)/%.$(NANOPB_EXTENSION).h: %.proto \
175 PW_RPC_GENERATOR_PROTO = $(PIGWEED_DIR)/pw_rpc/internal/packet.proto
177 PW_PROTOBUF_PROTOS = $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/common.proto \
178 $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/field_options.proto \
179 $(PIGWEED_DIR)/pw_protobuf/pw_protobuf_protos/status.proto
[all …]
/system/nfc/tools/casimir/
D.gitignore1 src/proto/casimir.rs
2 src/proto/casimir_grpc.rs
/system/logging/logcat/
Dlogcat.cpp65 using com::android::logcat::proto::LogcatEntryProto;
66 using com::android::logcat::proto::LogcatPriorityProto;
272 return com::android::logcat::proto::UNKNOWN; in GetProtoPriority()
274 return com::android::logcat::proto::DEFAULT; in GetProtoPriority()
276 return com::android::logcat::proto::VERBOSE; in GetProtoPriority()
278 return com::android::logcat::proto::DEBUG; in GetProtoPriority()
280 return com::android::logcat::proto::INFO; in GetProtoPriority()
282 return com::android::logcat::proto::WARN; in GetProtoPriority()
284 return com::android::logcat::proto::ERROR; in GetProtoPriority()
286 return com::android::logcat::proto::FATAL; in GetProtoPriority()
[all …]
/system/linkerconfig/modules/tests/
Dapex_test.cc41 using ::apex::proto::ApexManifest;
203 ::android::linkerconfig::proto::LinkerConfig two_slash; in TEST_F()
210 ::android::linkerconfig::proto::LinkerConfig invalid_char; in TEST_F()
217 ::android::linkerconfig::proto::LinkerConfig end_with_lib; in TEST_F()
225 ::android::linkerconfig::proto::LinkerConfig lib_plus_char; in TEST_F()
233 ::android::linkerconfig::proto::LinkerConfig char_plus_lib; in TEST_F()
241 ::android::linkerconfig::proto::LinkerConfig lib_and_lib64; in TEST_F()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp74 std::optional<std::string> proto; member
79 std::optional<CrashArtifact> proto; member
177 result.proto = create_temporary_file(); in get_output()
201 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()
459 if (crash->output.proto && crash->output.proto->fd != -1) { in crash_completed()
460 if (!paths.proto) { in crash_completed()
463 rename_tombstone_fd(crash->output.proto->fd, queue->dir_fd(), *paths.proto); in crash_completed()
/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.bp25 proto: {
30 srcs: ["src/main/proto/**/*.proto"],

1234567