Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/tests/
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 …]
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 …]
/tools/ndkports/
DDockerfile4 RUN apt-get install -y curl
5 RUN apt-get install -y ninja-build
6 RUN apt-get install -y python3-pip
/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/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/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/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()
/tools/test/connectivity/acts/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/components/
DChooseTrace.kt30 fd.setLocation(location.x + 100, location.y + 50) in selectFile()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py292 for x, y, hover in itertools.zip_longest(x_data, y_data, hover_text):
293 if not math.isnan(y):
295 y_data_filtered.append(y)
333 hover_text = ['y={}'.format(y) for y in y_data]
380 hover_text = ['y={}'.format(y) for y in y_data]
407 y=line['y_data'],
411 y='y',
432 y='y',
/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/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java277 for (int y = 0; y < postRuns; y++) { in probFalsePositive()
/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/acloud/internal/lib/
Dcheeps_compute_client_test.py60 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dgoldfish_compute_client_test.py66 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dcvd_compute_client_test.py69 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
/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
Dtest_finder_handler_unittest.py87 lambda x, y: [test_finder_base.Finder(
/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
Dtest_finder_handler_unittest.py83 lambda x, y: [test_finder_base.Finder(
/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/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:

12