Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 28) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py76 def __init__(self, value, unit_type, unit, name=None): argument
82 self.unit = unit
105 return self.value == other.to_unit(self.unit).value
108 return self.value < other.to_unit(self.unit).value
119 return Metric(self.value + other.to_unit(self.unit).value,
120 self._unit_type, self.unit, name=self.name)
126 return Metric(self.value - other.to_unit(self.unit).value,
127 self._unit_type, self.unit, name=self.name)
132 return '%g%s' % (self.value, self.unit)
148 CONVERSION_TABLES[self._unit_type][self.unit] /
[all …]
Dbits.py81 prefix, unit = bits_metric_name.split(':')
84 if 'mW' == unit:
86 elif 'mA' == unit:
88 elif 'mV' == unit:
91 logging.warning('unknown unit type for unit %s' % unit)
106 unit = sample['unit']
107 if 'Msg' == unit:
109 elif 'mW' == unit:
111 elif 'mA' == unit:
113 elif 'mV' == unit:
[all …]
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dbounded_metrics_test.py61 unit='towels')
69 self.assertEqual(result.unit, 'towels')
84 logger.add('limitless_metric', 123, unit='skies')
91 self.assertEqual(result.unit, 'skies')
113 logger.add('limitless_metric', 123, unit='skies')
133 logger.add('limitless_metric', 123, unit='skies')
208 upper_limit=15, unit='towels')
226 self.assertEqual(published.data.bounded_metrics[0].unit, 'towels')
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dbounded_metrics.py40 def add(self, metric, value, lower_limit=None, upper_limit=None, unit=None): argument
63 if unit:
64 bounded_metric.unit = unit
/tools/test/connectivity/acts/framework/tests/controllers/
Dpower_metrics_test.py48 self.assertEqual(measurement.unit, MILLIAMP)
96 self.assertEqual(sum_.unit, HOUR)
100 self.assertEqual(sum_reversed.unit, MINUTE)
104 self.assertEqual(diff.unit, HOUR)
108 self.assertEqual(diff_reversed.unit, MINUTE)
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DPackageItem.kt107 for (unit in topLevelClasses()) { in <lambda>() method
108 unit.acceptTypes(visitor) in <lambda>()
/tools/asuite/atest/bazel/
Datest_bazel_mode.md10 Currently it is able to run all host unit tests only. Capability to run tests
31 To run all host unit tests from the current directory:
33 >```$ atest --bazel-mode --host --host-unit-test-only```
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmg3710a.py415 def set_output_level_unit(self, unit, sg=1): argument
426 cmd = "UNIT{}:POW {}".format(sg, unit)
/tools/security/fuzzing/example_fuzzer/
DREADME.md107 …yte-PersAutoDict-CMP- DE: "\x18\x00\x00\x00\x00\x00\x00\x00"-"Hi!"-; base unit: adc83b19e793491b1c…
110 artifact_prefix='./'; Test unit written to ./crash-8a4daff3931e139b7dfff19e7e47dc75c29c3a5e
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt865 for (unit in codebase.units) { in <lambda>() constant
866 unit.toUElement()?.accept(object : AbstractUastVisitor() { in <lambda>()
/tools/security/fuzzing/orphans/pppd/
Deap_fuzz_Cproxy.h53 void output (int unit, unsigned char *p, int len) in output() argument
/tools/metalava/stub-annotations/src/main/java/androidx/annotation/
DPx.java30 @Dimension(unit = Dimension.PX)
DDimension.java33 int unit() default PX; in unit() method
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dmetrics.proto18 optional string unit = 7; field
/tools/test/graphicsbenchmark/
DREADME32 To run unit tests:
/tools/asuite/atest/tf_proto/
Dmetric_measurement.proto76 string unit = 2; field
Dtest_record.proto44 // The result status (Pass, Fail, etc) of this test unit.
/tools/asuite/atest-py2/
DINTEGRATION_TESTS11 # packages/apps/Bluetooth/tests/unit/Android.mk
/tools/asuite/atest/test_plans/
DINTEGRATION_TESTS11 # packages/apps/Bluetooth/tests/unit/Android.mk
/tools/test/connectivity/acts/
DREADME.md32 To run unit tests:
/tools/asuite/atest/docs/
Ddeveloper_workflow.md70 You can use atest to run all unit tests via:<br>
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt164 link MTU - the maximum transmission unit, i.e., maximum packet
/tools/dexter/testdata/expected/
Dmedium.rewrite22122 .params "unit"
Dmedium.wrap_invoke22122 .params "unit"
Dmedium.compact_cfg26536 .params "unit"

12