Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 9 of 9) sorted by relevance

/tools/test/connectivity/acts/framework/tests/
Daudio_analysis_unittest.py109 samples = length_in_secs * rate
110 noise = numpy.random.standard_normal(int(samples)) * 0.005
111 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples)
149 samples = length_in_secs * rate
151 noise = numpy.random.standard_normal(int(samples)) * noise_amplitude
180 self.samples = length_in_secs * self.rate
181 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate,
182 self.samples)
Daudio_quality_measurement_unittest.py82 self.samples = length_in_secs * self.rate
84 for index in range(self.samples):
92 for index in range(self.samples):
124 for i in range(silence_after_playback_start_time, self.samples):
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DIperfHelper.py100 samples = iperf_result.instantaneous_rates[self.start_meas_time:-1]
103 samples = [rate * 8 * (1.024**2) for rate in samples]
106 mean = statistics.mean(samples)
107 var = statistics.variance(samples)
109 for rate in samples:
/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt228 val samples : MutableMap<String, MutableList<Double>> = mutableMapOf() in printSampleSetPlainText() constant
232 samples.getOrPut(sliceName, ::mutableListOf).add(aggInfo.totalTime) in printSampleSetPlainText()
236 samples.forEach {sliceName, sliceSamples -> in printSampleSetPlainText()
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py52 if FLAGS.samples:
56 result = mon.take_samples(FLAGS.hz, FLAGS.samples,
/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py751 samples = self.mon.CollectData()
752 if not samples:
754 collected.extend(samples)
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2716 List<Long> samples = wifi.stopMonitor(); in disableNetworkMonitor() local
2717 if (!samples.isEmpty()) { in disableNetworkMonitor()
2720 for (Long sample : samples) { in disableNetworkMonitor()
2727 double failureRate = failures * 100.0 / samples.size(); in disableNetworkMonitor()
2729 if (failures < samples.size()) { in disableNetworkMonitor()
2730 avgLatency = totalLatency / (samples.size() - failures); in disableNetworkMonitor()
2733 mOptions.getConnCheckUrl(), samples.size() * NETWORK_MONITOR_INTERVAL / 1000, in disableNetworkMonitor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java903 List<Long> samples = new ArrayList<Long>(); in testDisableNetworkMonitor() local
904 samples.add(Long.valueOf(42)); in testDisableNetworkMonitor()
905 samples.add(Long.valueOf(256)); in testDisableNetworkMonitor()
906 samples.add(Long.valueOf(-1)); // failure to connect in testDisableNetworkMonitor()
907 EasyMock.expect(mMockWifi.stopMonitor()).andReturn(samples); in testDisableNetworkMonitor()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/_sponge/
Dsponge_client_lite.py486 self.samples = []