Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 50) sorted by relevance

12

/tools/test/connectivity/acts/framework/tests/
Daudio_quality_measurement_integrationtest.py88 self.y = []
92 self.y.append(float(self.amplitude) * sine_wave)
99 self.y[index] += noise
110 self.y[j] = 0
117 self.y[i] = 0
121 self.y[i] = 3 * self.amplitude
130 self.y[i] = 0
132 self.y[i] = self.amplitude
143 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1))
153 self.y[j] *= 1.4
[all …]
Daudio_analysis_integrationtest.py119 y = (coeff_1 * numpy.sin(freq_1 * 2.0 * numpy.pi * x) + coeff_2 *
121 results = audio_analysis.spectral_analysis(y, rate)
170 y = [1, 2, 3, 4, 5]
171 normalized_y = audio_analysis.normalize_signal(y, 10)
173 for i in range(len(y)):
190 self.y = numpy.sin(self.freq * 2.0 * numpy.pi * x)
195 noise = numpy.random.standard_normal(len(self.y)) * noise_amplitude
196 self.y = self.y + noise
206 self.y = numpy.insert(self.y,
217 self.y = numpy.append(self.y[:int(anomaly_start_index)],
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java394 for (int y = 0; y < height; y++) { in projectPixelsToXAxis()
396 final int color = img.getRGB(x, y); in projectPixelsToXAxis()
421 for (int y = 0; y < height; y++) { in projectPixelsToYAxis()
423 final int color = img.getRGB(x, y); in projectPixelsToYAxis()
426 vertical[y]++; in projectPixelsToYAxis()
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dui_utils.py16 return '{x},{y}'.format(x=self.x, y=self.y)
26 (self.start.y + self.end.y) // 2)
238 x, y = _find_point_in_bounds(button_node.attributes['bounds'].value)
241 args = 'input tap %s %s' % (str(x), str(y))
245 (str(x), str(y), str(x), str(y), str(duration_ms))
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py305 for x, y, hover in itertools.zip_longest(x_data, y_data, hover_text):
306 if not math.isnan(y):
308 y_data_filtered.append(y)
346 hover_text = ['y={}'.format(y) for y in y_data]
393 hover_text = ['y={}'.format(y) for y in y_data]
420 y=line['y_data'],
424 y='y',
445 y='y',
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java601 private static boolean isLessAndNotNull(Integer x, Integer y) { in isLessAndNotNull() argument
602 if ((x == null) || (y == null)) { in isLessAndNotNull()
605 return x < y; in isLessAndNotNull()
609 private static boolean isLessEqAndNotNull(Integer x, Integer y) { in isLessEqAndNotNull() argument
610 if ((x == null) || (y == null)) { in isLessEqAndNotNull()
613 return x <= y; in isLessEqAndNotNull()
DTestDevice.java730 for (int y = 0 ; y < rawImage.height ; y++) { in rawImageToBufferedImage()
734 image.setRGB(x, y, value); in rawImageToBufferedImage()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/pts/
DGATT_PTS_INSTRUCTIONS73 [Fuchsia interaction] Type 'y' on the bt-pairing-tool
96 [Fuchsia interaction] Type 'y' on the bt-pairing-tool
119 [Fuchsia interaction] Type 'y' on the bt-pairing-tool
162 [Fuchsia interaction] Type 'y' on the bt-pairing-tool
194 Fuchsia interaction] Type 'y' on the bt-pairing-tool
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt41 val y = 0 in paintComponent() constant
61 g.fillRect(x, y, width, height) in paintComponent()
70 open fun drawLabel(slice: T, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel()
80 g.drawString(slice.name.substring(0, strLimit), x, y) in drawLabel()
DSchedTrack.kt40 …override fun drawLabel(slice: SchedSlice, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width… in drawLabel()
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp189 float y; in update() local
191 position.Value(x, y, z); in update()
198 if (y + RADIUS >= egl.top || y - RADIUS <= egl.bottom) { in update()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java1623 StoredEntry y = zf.get("y");
1624 assertNotNull(y);
1625 assertNotSame(DataDescriptorType.NO_DATA_DESCRIPTOR, y.getDataDescriptorType());
1636 y = zf.get("y");
1637 assertNotNull(y);
1638 assertSame(DataDescriptorType.NO_DATA_DESCRIPTOR, y.getDataDescriptorType());
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java277 for (int y = 0; y < postRuns; y++) { in probFalsePositive()
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/
Dcellular_traffic_power_test.py523 for i, (x, y) in enumerate(zip(currents[::], currents[1::])):
524 measured_change = (y - x) / x * 100
528 "Tolerance range: -{}% to {}%".format(x, y, measured_change,
/tools/asuite/atest/
Dcli_translator_unittest.py107 find_method_return_module_info = lambda x, y: uc.MODULE_INFOS argument
112 find_method_return_nothing = lambda x, y: None argument
174 find_method_return_module_info2 = lambda x, y: uc.MODULE_INFOS2 argument
/tools/tradefederation/core/atest/
Dcli_translator_unittest.py106 find_method_return_module_info = lambda x, y: uc.MODULE_INFOS argument
111 find_method_return_nothing = lambda x, y: None argument
173 find_method_return_module_info2 = lambda x, y: uc.MODULE_INFOS2 argument
/tools/tradefederation/core/
Dtradefed_win.bat36 set RDBG_FLAG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=!TF_DEBUG_PORT!
Dpylintrc39 ignore-imports=y
/tools/asuite/aidegen/lib/
Dproject_file_gen.py307 {common_util.is_source_under_relative_path(x, y)
308 for y in module_relpaths})}
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAoaTargetPreparer.java190 private static Point parsePoint(String x, String y) { in parsePoint() argument
191 return new Point(Integer.decode(x), Integer.decode(y)); in parsePoint()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py362 for x, y in zip(cdf[0], cdf[1]):
363 while 100 * y >= next_decade:
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/components/
DChooseTrace.kt30 fd.setLocation(location.x + 100, location.y + 50) in selectFile()
/tools/acloud/internal/lib/
Dgoldfish_compute_client_test.py66 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dcheeps_compute_client_test.py61 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
/tools/test/connectivity/acts/framework/acts/test_utils/power/
Dplot_utils.py79 data=dict(x=time_relative, y=current_data, color=color))

12