Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dtransformers.py57 for sample in buffer:
58 if sample.sample_time < self.measure_after_seconds:
61 (sample.sample_time - self.measure_after_seconds,
62 sample.main_current))
89 for sample in buffer:
90 if sample.sample_time < self.start_after_seconds:
93 self._sum_currents += sample.main_current
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py190 time, sample = line.split()
191 yield float(time[:-1]), float(sample)
193 def update_metrics(self, sample): argument
200 self._sum_currents += sample
201 self._sum_squares += sample ** 2
202 if self._max_current is None or sample > self._max_current:
203 self._max_current = sample
204 if self._min_current is None or sample < self._min_current:
205 self._min_current = sample
244 for timestamp, sample in raw_data:
[all …]
/tools/test/connectivity/acts/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/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)
349 measurements = np.array([sample.values for sample in buffer.samples])
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py524 for sample in s_items:
525 if sample not in r_items:
526 yield msg.format(sample, module_name)
545 for sample in s_items:
546 if sample not in r_items:
547 lnew = sample
548 if constant.LINUX_GLIBC_COMMON in sample:
549 lnew = sample.replace(constant.LINUX_GLIBC_COMMON,
552 lnew = sample.replace(constant.ANDROID_COMMON,
555 yield msg.format(sample, module_name)
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dcalibrations.py43 def add_calibration_sample(self, sample): argument
57 sample_type = sample.get_sample_type()
72 sample[channel, granularity])
Dtransformers.py278 for sample in packet:
279 sample_type = sample.get_sample_type()
282 self._stored_raw_samples.append(sample)
286 self.calibration_data.add_calibration_sample(sample)
425 measurements = np.array([sample.values for sample in buffer.samples])
/tools/asuite/aidegen/lib/
Dproject_info_unittest.py246 sample = [['1', '22', '333'], ['4444'], ['55555', '1'], ['7777777']]
250 self.assertEqual(targets, sample)
255 sample = [['1']]
260 self.assertEqual(targets, sample)
/tools/carrier_settings/
DREADME4 and APNs in device/sample/etc/apns-full-conf.xml.
/tools/tradefederation/core/atest/
DINTEGRATION_TESTS26 CtsSampleDeviceTestCases:android.sample.cts.SampleDeviceReportLogTest
37 CtsSampleDeviceTestCases:android.sample.cts
/tools/asuite/atest/
DINTEGRATION_TESTS26 CtsSampleDeviceTestCases:android.sample.cts.SampleDeviceReportLogTest
37 CtsSampleDeviceTestCases:android.sample.cts
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/
DAndroid.bp15 // Makefile to build sample static library that has native tests.
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md23 A sample suite configuration file looks like this:
71 --branch, --build-id etc. A sample command is as follows:
/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/tradefederation/core/tests/test-apps/NativeTestSampleApp/tests/
DAndroid.mk.bak17 # TODO: build of this sample is disabled since it dependent on the platform
/tools/test/connectivity/acts/tests/google/net/
DApfCountersTest.py174 rtt_list = random.sample(range(10, 10000), pkt_num)
/tools/test/connectivity/acts/
DREADME.md106 contents of a sample configuration file:
118 "testpaths": ["../tests/sample"],
/tools/test/connectivity/acts/framework/acts/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/metalava/
DAPI-LINT.md23 here's a sample error message:
DREADME.md139 looks for various common typos and fixes those; here's a sample error
/tools/repohooks/
DREADME.md123 Consider this sample config file.
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2823 for (Long sample : samples) { in disableNetworkMonitor()
2824 if (sample < 0) { in disableNetworkMonitor()
2827 totalLatency += sample; in disableNetworkMonitor()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...