Home
last modified time | relevance | path

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

12345678910>>...14

/tools/carrier_settings/
DAndroid.bp20 "proto/*.proto",
22 proto: {
37 "proto/*.proto",
39 proto: {
53 "proto/*.proto",
54 ":telephonyprovider-proto-sources",
60 proto: {
80 "proto/*.proto",
83 proto: {
99 "proto/*.proto",
[all …]
/tools/test/connectivity/acts/framework/acts/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/test/connectivity/acts/framework/acts/test_utils/power/loggers/
Dpower_metric_logger.py37 self.proto = power_protos.PowerMetric()
40 self.proto.cellular_metric.avg_dl_tput = avg_dl_tput
43 self.proto.cellular_metric.avg_ul_tput = avg_ul_tput
46 self.proto.avg_power = avg_power
49 self.proto.testbed = testbed
52 self.proto.branch = branch
55 self.proto.build_id = build_id
58 self.proto.target = target
61 metric = ProtoMetric(name='spanner_power_metric', data=self.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/tradefederation/core/atest/
DAndroid.bp56 "proto/*_pb2.py",
57 "proto/__init__.py",
128 "proto/*_pb2.py",
129 "proto/__init__.py",
145 "proto/*.proto",
147 proto: {
155 "proto/*.proto",
157 proto: {
168 "proto/*.proto",
170 proto: {
/tools/test/graphicsbenchmark/performance_tests/helper/
DAndroid.bp19 "proto/**/*.proto",
22 proto: {
31 "proto/**/*.proto",
33 proto: {
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/
DTfMetricProtoUtil.java16 package com.android.tradefed.util.proto;
19 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
20 import com.android.tradefed.metrics.proto.MetricMeasurement.Directionality;
21 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
22 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements.MeasurementCase;
23 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric.Builder;
DTestRecordProtoUtil.java16 package com.android.tradefed.util.proto;
18 import com.android.tradefed.result.proto.TestRecordProto.TestRecord;
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DAveragePostProcessor.java18 import com.android.tradefed.metrics.proto.MetricMeasurement.DoubleValues;
19 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
20 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements.MeasurementCase;
21 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
22 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric.Builder;
23 import com.android.tradefed.metrics.proto.MetricMeasurement.NumericValues;
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTfMetricProtoUtilTest.java16 package com.android.tradefed.util.proto;
20 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
21 import com.android.tradefed.metrics.proto.MetricMeasurement.DoubleValues;
22 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
23 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
24 import com.android.tradefed.metrics.proto.MetricMeasurement.StringValues;
DTestRecordProtoUtilTest.java16 package com.android.tradefed.util.proto;
21 import com.android.tradefed.result.proto.TestRecordProto.TestRecord;
22 import com.android.tradefed.result.proto.TestRecordProto.TestStatus;
/tools/test/connectivity/acts/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/tradefederation/core/proto/
Dinvocation_context.proto20 option java_package = "com.android.tradefed.invoker.proto";
23 import public "tools/tradefederation/core/proto/configuration_description.proto";
24 import public "tools/tradefederation/core/proto/build_info.proto";
26 // Representation of a Tradefed Invocation Context in proto.
/tools/asuite/atest/
DAndroid.bp53 "proto/*_pb2.py",
54 "proto/__init__.py",
75 "proto/*.proto",
77 proto: {
98 "proto/*_pb2.py",
99 "proto/__init__.py",
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultReporterTest.java16 package com.android.tradefed.result.proto;
24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
29 import com.android.tradefed.result.proto.TestRecordProto.ChildReference;
30 import com.android.tradefed.result.proto.TestRecordProto.DebugInfo;
31 import com.android.tradefed.result.proto.TestRecordProto.DebugInfoContext;
32 import com.android.tradefed.result.proto.TestRecordProto.FailureStatus;
33 import com.android.tradefed.result.proto.TestRecordProto.TestRecord;
34 import com.android.tradefed.result.proto.TestRecordProto.TestStatus;
37 import com.android.tradefed.util.proto.TfMetricProtoUtil;
/tools/test/connectivity/acts/framework/acts/test_utils/tel/loggers/
Dtelephony_metric_logger.py40 self.proto = TelephonyVoiceTestResult()
43 self.proto.result = result_type
47 data=self.proto)
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java26 import com.android.tradefed.build.proto.BuildInformation;
195 BuildInformation.BuildInfo proto = mBuildInfo.toProto(); in testProtoSerialization() local
197 assertEquals("1", proto.getBuildId()); in testProtoSerialization()
198 assertEquals(BuildInfo.class.getCanonicalName(), proto.getBuildInfoClass()); in testProtoSerialization()
199 assertEquals("value", proto.getAttributesMap().get("attribute")); in testProtoSerialization()
200 assertEquals(3, proto.getVersionedFileList().size()); in testProtoSerialization()
201 assertNotNull(proto.getVersionedFileList().get(0)); in testProtoSerialization()
203 IBuildInfo deserialized = BuildInfo.fromProto(proto); in testProtoSerialization()
DDeviceBuildInfoTest.java26 import com.android.tradefed.build.proto.BuildInformation;
144 BuildInformation.BuildInfo proto = mBuildInfo.toProto(); in testProtoSerialization() local
145 assertEquals("2", proto.getBuildId()); in testProtoSerialization()
146 assertEquals(DeviceBuildInfo.class.getCanonicalName(), proto.getBuildInfoClass()); in testProtoSerialization()
/tools/acloud/
Drun_tests.sh103 $protoc_cmd internal/proto/*.proto --python_out=./
104 touch internal/proto/__init__.py
113 find $ACLOUD_DIR/internal/proto -name "*.py" -exec rm -f {} \;
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DAveragePostProcessorTest.java21 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
22 import com.android.tradefed.metrics.proto.MetricMeasurement.DoubleValues;
23 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
25 import com.android.tradefed.metrics.proto.MetricMeasurement.NumericValues;
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestRecordInterpreter.java19 import com.android.tradefed.result.proto.ProtoResultParser;
20 import com.android.tradefed.result.proto.TestRecordProto.TestRecord;
/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/tradefederation/core/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/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DTemperatureCollector.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.DataType;
25 import com.android.tradefed.metrics.proto.MetricMeasurement.DoubleValues;
26 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
27 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java16 package com.android.tradefed.result.proto;
24 import com.android.tradefed.invoker.proto.InvocationContext.Context;
26 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
37 import com.android.tradefed.result.proto.LogFileProto.LogFileInfo;
38 import com.android.tradefed.result.proto.TestRecordProto.ChildReference;
39 import com.android.tradefed.result.proto.TestRecordProto.DebugInfo;
40 import com.android.tradefed.result.proto.TestRecordProto.DebugInfoContext;
41 import com.android.tradefed.result.proto.TestRecordProto.FailureStatus;
42 import com.android.tradefed.result.proto.TestRecordProto.TestRecord;
46 import com.android.tradefed.util.proto.TestRecordProtoUtil;
[all …]

12345678910>>...14