Home
last modified time | relevance | path

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

1234

/tools/security/fuzzing/orphans/pppd/
Deap_fuzz.cc28 DEFINE_BINARY_PROTO_FUZZER(const eap_fuzz::proto::PacketSet &packets){ in DEFINE_BINARY_PROTO_FUZZER()
31 for(const eap_fuzz::proto::Packet& packet: packets.packets()){ in DEFINE_BINARY_PROTO_FUZZER()
37 case eap_fuzz::proto::Packet::kEapRequest: { in DEFINE_BINARY_PROTO_FUZZER()
42 case eap_fuzz::proto::EapRequest::kIdentity: { in DEFINE_BINARY_PROTO_FUZZER()
48 case eap_fuzz::proto::EapRequest::kNotification: { in DEFINE_BINARY_PROTO_FUZZER()
54 case eap_fuzz::proto::EapRequest::kMd5Chap: { in DEFINE_BINARY_PROTO_FUZZER()
60 case eap_fuzz::proto::EapRequest::kSrp: { in DEFINE_BINARY_PROTO_FUZZER()
65 case eap_fuzz::proto::EaptRequestSRP::kSrpChallenge:{ in DEFINE_BINARY_PROTO_FUZZER()
70 case eap_fuzz::proto::EaptRequestSRP::kSrpValidator:{ in DEFINE_BINARY_PROTO_FUZZER()
75 case eap_fuzz::proto::EaptRequestSRP::kSrpKey:{ in DEFINE_BINARY_PROTO_FUZZER()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/
Dpower_metric_logger.py36 self.proto = power_protos.PowerMetric()
39 self.proto.cellular_metric.avg_dl_tput = avg_dl_tput
42 self.proto.cellular_metric.avg_ul_tput = avg_ul_tput
45 self.proto.cellular_metric.avg_dl_tput_threshold = avg_dl_tput_threshold
48 self.proto.cellular_metric.avg_ul_tput_threshold = avg_ul_tput_threshold
51 self.proto.avg_power = avg_power
54 self.proto.avg_current = avg_current
57 self.proto.voltage = voltage
60 self.proto.testbed = testbed
63 self.proto.branch = branch
[all …]
/tools/carrier_settings/
DAndroid.bp24 "proto/*.proto",
26 proto: {
41 "proto/*.proto",
43 proto: {
57 "proto/*.proto",
58 ":telephonyprovider-proto-sources",
64 proto: {
86 "proto/*.proto",
89 proto: {
105 "proto/*.proto",
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/
Dbluetooth_metric_logger.py27 def recursive_assign(proto, dct): argument
29 for metric in dir(proto):
32 isinstance(getattr(proto, metric), message.Message)):
33 recursive_assign(getattr(proto, metric), dct[metric])
35 setattr(proto, metric, dct[metric])
103 def add_config_data_to_proto(self, proto, pri_device, conn_device=None): argument
112 pri_device_proto = proto.configuration_data.primary_device
113 conn_device_proto = proto.configuration_data.connected_device
114 proto.configuration_data.test_date_time = self.start_time
129 def get_proto_dict(self, test, proto): argument
[all …]
/tools/asuite/atest/
DAndroid.bp29 "proto/*.proto",
31 proto: {
101 "proto/*_pb2.py",
102 "proto/__init__.py",
128 "proto/*.proto",
130 proto: {
155 "proto/*.proto",
157 proto: {
204 "proto/*_pb2.py",
205 "proto/__init__.py",
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py136 proto = self.bt_logger.get_results(metrics,
143 extras=proto)
145 extras=proto)
171 proto = self.bt_logger.get_results(metrics,
178 extras=proto)
180 extras=proto)
206 proto = self.bt_logger.get_results(metrics,
213 extras=proto)
215 extras=proto)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/
Dapollo_log_decoder.py23 from acts.controllers.buds_lib.dev_utils.proto.gen import apollo_qa_pb2
24 from acts.controllers.buds_lib.dev_utils.proto.gen import audiowear_pb2
27 def to_dictionary(proto): argument
29 msg = [element.split(':') for element in str(proto).split('\n') if element]
74 proto = msgs[msg_type]()
75 proto.ParseFromString(serialized)
76 decoded = to_dictionary(proto)
/tools/asuite/atest-py2/
DAndroid.bp29 "proto/*_pb2.py",
30 "proto/__init__.py",
60 // "proto/*_pb2.py",
61 // "proto/__init__.py",
75 "proto/*.proto",
77 proto: {
/tools/test/graphicsbenchmark/performance_tests/helper/
DAndroid.bp23 "proto/**/*.proto",
26 proto: {
35 "proto/**/*.proto",
37 proto: {
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto35 // The messages in this file describe the definitions found in .proto files.
36 // A valid .proto file can be translated directly to a FileDescriptorProto
46 // descriptor.proto must be optimized for speed because reflection-based
50 // The protocol compiler can output a FileDescriptorSet containing the .proto
56 // Describes a complete .proto file.
83 // The syntax of the proto file.
259 // https://developers.google.com/protocol-buffers/docs/proto#options
266 // Sets the Java package where classes generated from this .proto will be
267 // placed. By default, the proto package is used, but this is often
268 // inappropriate because proto packages do not normally start with backwards
[all …]
/tools/test/connectivity/acts/framework/acts/libs/proto/
Dproto_utils.py31 def to_descriptor_proto(proto): argument
40 proto.DESCRIPTOR.CopyToProto(descriptor_proto)
44 def md5_proto(proto): argument
46 encoded = parse_proto_to_ascii(proto).encode()
/tools/asuite/atest/tf_proto/
DAndroid.bp15 // This is a copy of the proto from Tradefed at tools/tradefederation/core/proto
23 srcs: ["*.proto"],
30 proto: {
Dinvocation_context.proto20 option java_package = "com.android.tradefed.invoker.proto";
23 import public "tools/asuite/atest/tf_proto/configuration_description.proto";
24 import public "tools/asuite/atest/tf_proto/build_info.proto";
26 // Representation of a Tradefed Invocation Context in proto.
/tools/acloud/
Drun_tests_py2.sh107 $protoc_cmd internal/proto/*.proto --python_out=./
108 touch internal/proto/__init__.py
117 find $ACLOUD_DIR/internal/proto -name "*.py" -exec rm -f {} \;
Drun_tests.sh109 $protoc_cmd internal/proto/*.proto --python_out=./
110 touch internal/proto/__init__.py
119 find $ACLOUD_DIR/internal/proto -name "*.py" -exec rm -f {} \;
/tools/test/connectivity/acts/framework/acts/libs/testtracker/
Dtesttracker_results_writer.py20 from acts.libs.proto.proto_utils import parse_proto_to_ascii
74 proto = self._create_result_proto(record)
75 proto_dir = self._create_results_dir(proto.uuid)
77 f.write(parse_proto_to_ascii(proto))
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtCodecSweepTest.py84 proto = self.run_analysis_and_generate_proto(
89 self.raise_pass_fail(proto)
94 proto = inst.run_analysis_and_generate_proto(**codec_config)
95 inst.raise_pass_fail(proto)
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DLoopSummary.java7 import com.android.tradefed.metrics.proto.MetricMeasurement;
8 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
9 import com.android.tradefed.metrics.proto.MetricMeasurement.Directionality;
10 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
11 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/loggers/
Dtelephony_stress_metric_logger.py40 self.proto = TelephonyStressTestResult()
43 self.proto.results_dict = result_dict
47 data=self.proto)
Dtelephony_metric_logger.py40 self.proto = TelephonyVoiceTestResult()
43 self.proto.result = result_type
47 data=self.proto)
/tools/asuite/atest/tools/
DAndroid.bp15 // This is a copy of the proto from Tradefed at tools/tradefederation/core/proto
24 proto: {
/tools/asuite/atest-py2/metrics/
Dmetrics_base.py31 from proto import clientanalytics_pb2
32 from proto import external_user_log_pb2
33 from proto import internal_user_log_pb2
/tools/asuite/atest/metrics/
Dmetrics_base.py31 from proto import clientanalytics_pb2
32 from proto import external_user_log_pb2
33 from proto import internal_user_log_pb2
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DMemoryTests.java22 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
23 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/tools/dexter/dexter/
Ddissasembler.cc26 static std::string MethodDeclaration(const ir::Proto* proto) { in MethodDeclaration() argument
29 if (proto->param_types != nullptr) { in MethodDeclaration()
31 for (auto type : proto->param_types->types) { in MethodDeclaration()
37 ss << proto->return_type->Decl(); in MethodDeclaration()

1234