Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 29) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dtransformers.py59 for sample in buffer:
61 self._start_time = sample.sample_time
62 if (sample.sample_time - self._start_time <
66 (sample.sample_time, sample.main_current))
118 for sample in buffer:
120 self._start_time = sample.sample_time
121 if (sample.sample_time - self._start_time <
126 (sample.sample_time * 1e9, sample.main_current,
127 sample.main_voltage))
156 for sample in buffer:
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabNeighborCellTest.py428 for sample in info_list:
429 rssi = self._get_rssi_from_cell_info(sample)
430 unique_id = self._unique_cell_id(sample)
437 expected_cell_info_stats[unique_id], sample):
443 self._get_rssi_from_cell_info(sample),
448 " in expected range".format(sample))
859 for sample in expected_cell_info_list:
860 expected_cell_info_stats[self._unique_cell_id(sample)] = sample
926 for sample in expected_cell_info_list:
927 expected_cell_info_stats[self._unique_cell_id(sample)] = sample
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py166 time, sample = line.split()
167 yield float(time[:-1]), float(sample)
288 def update_metrics(self, sample): argument
295 self._sum_currents += sample
296 self._sum_squares += sample ** 2
297 if self._max_current is None or sample > self._max_current:
298 self._max_current = sample
299 if self._min_current is None or sample < self._min_current:
300 self._min_current = sample
Dbits.py105 for sample in data:
106 unit = sample['unit']
119 name = _transform_name(sample['name'])
120 avg = sample['avg']
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiroamingTest.py107 average_current = sum([sample[1] * 1000
108 for sample in joint_result]) / len(joint_result)
111 sum([sample[1] for sample in result]) / len(result)
159 average_current = sum([sample[1] * 1000
160 for sample in joint_result]) / len(joint_result)
163 sum([sample[1] for sample in result]) / len(result)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
Dplot_utils.py54 current_data = [sample[1] * 1000 for sample in samples]
58 datetime.datetime.fromtimestamp(sample[0]) for sample in samples
160 milli_amps = [sample[1] * 1000 for sample in samples]
DPowerGnssBaseTest.py73 time_relative = [sample[0] for sample in samples]
75 current_data = [sample[1] * 1000 for sample in samples]
DPowerGTWGnssBaseTest.py125 sample[1] * 1000 for sample in samples
126 if sample[1] * 1000 < self.calibrate_target
DPowerBaseTest.py364 current = [sample[1] for sample in samples]
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py541 for sample in s_items:
542 if sample not in r_items:
543 yield msg.format(sample, module_name)
562 for sample in s_items:
563 if sample not in r_items:
564 lnew = sample
565 if constant.LINUX_GLIBC_COMMON in sample:
566 lnew = sample.replace(constant.LINUX_GLIBC_COMMON,
569 lnew = sample.replace(constant.ANDROID_COMMON,
572 yield msg.format(sample, module_name)
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dcalibrations.py52 def add_calibration_sample(self, sample): argument
65 sample_type = sample.get_sample_type()
73 granularity = sample.get_calibration_granularity()
75 self.add(channel, origin, granularity, sample[channel])
Dstock_transformers.py228 for sample in packet:
229 sample_type = sample.get_sample_type()
232 self._stored_raw_samples.append(sample)
236 self.calibration_data.add_calibration_sample(sample)
356 measurements = np.array([sample.values for sample in buffer.samples])
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py284 for sample in packet:
285 sample_type = sample.get_sample_type()
288 self._stored_raw_samples.append(sample)
292 self.calibration_data.add_calibration_sample(sample)
431 measurements = np.array([sample.values for sample in buffer.samples])
Dcalibrations.py43 def add_calibration_sample(self, sample): argument
57 sample_type = sample.get_sample_type()
72 sample[channel, granularity])
/tools/asuite/atest/test_plans/
DINTEGRATION_TESTS26 CtsSampleDeviceTestCases:android.sample.cts.SampleDeviceReportLogTest
32 android.sample.cts.SampleDeviceReportLogTest
33 android.sample.cts.SampleDeviceTest#testSharedPreferences
41 CtsSampleDeviceTestCases:android.sample.cts
/tools/asuite/aidegen/lib/
Dproject_info_unittest.py251 sample = [['1', '22', '333'], ['4444'], ['55555', '1'], ['7777777']]
255 self.assertEqual(targets, sample)
260 sample = [['1']]
265 self.assertEqual(targets, sample)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_idle_power_test.py68 milli_amps = [sample[1] * 1000 for sample in samples]
/tools/asuite/atest-py2/
DINTEGRATION_TESTS26 CtsSampleDeviceTestCases:android.sample.cts.SampleDeviceReportLogTest
37 CtsSampleDeviceTestCases:android.sample.cts
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java160 if (sample(Long.parseLong(parts[2]), Long.parseLong(parts[1]))) { in processRawData()
181 private boolean sample(long readyTimeStamp, long presentTimeStamp) { in sample() method in GameQualificationFpsCollector
/tools/test/connectivity/acts/
DREADME.md106 contents of a sample configuration file:
118 "testpaths": ["../tests/sample"],
/tools/carrier_settings/
DREADME4 and APNs in device/sample/etc/apns-full-conf.xml.
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py202 sample = 2.0 * math.pi * frequency * float(index) / float(rate)
203 sine_wave = math.sin(sample)
/tools/test/connectivity/acts/framework/acts/libs/testtracker/protos/
Dtesttracker_result.proto11 // description: "This is sample test case"
/tools/test/connectivity/acts_tests/tests/google/net/
DApfCountersTest.py203 rtt_list = random.sample(range(10, 10000), pkt_num)
/tools/treble/split/
DREADME.md45 # Create the split manifest using a sample config XML specific to aosp_arm64.

12