Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/tests/
Daudio_analysis_unittest.py112 y = (coeff_1 * numpy.sin(freq_1 * 2.0 * numpy.pi * x) + coeff_2 *
114 results = audio_analysis.spectral_analysis(y, rate)
163 y = [1, 2, 3, 4, 5]
164 normalized_y = audio_analysis.normalize_signal(y, 10)
166 for i in range(len(y)):
183 self.y = numpy.sin(self.freq * 2.0 * numpy.pi * x)
188 noise = numpy.random.standard_normal(len(self.y)) * noise_amplitude
189 self.y = self.y + noise
199 self.y = numpy.insert(self.y,
210 self.y = numpy.append(self.y[:int(anomaly_start_index)],
[all …]
Daudio_quality_measurement_unittest.py83 self.y = []
87 self.y.append(float(self.amplitude) * sine_wave)
94 self.y[index] += noise
105 self.y[j] = 0
112 self.y[i] = 0
116 self.y[i] = 3 * self.amplitude
125 self.y[i] = 0
127 self.y[i] = self.amplitude
138 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1))
148 self.y[j] *= 1.4
[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/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/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java591 private static boolean isLessAndNotNull(Integer x, Integer y) { in isLessAndNotNull() argument
592 if ((x == null) || (y == null)) { in isLessAndNotNull()
595 return x < y; in isLessAndNotNull()
599 private static boolean isLessEqAndNotNull(Integer x, Integer y) { in isLessEqAndNotNull() argument
600 if ((x == null) || (y == null)) { in isLessEqAndNotNull()
603 return x <= y; in isLessEqAndNotNull()
DTestDevice.java651 for (int y = 0 ; y < rawImage.height ; y++) { in rawImageToBufferedImage()
655 image.setRGB(x, y, value); in rawImageToBufferedImage()
/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/contrib/src/com/android/regression/tests/
DDetectRegression.java277 for (int y = 0; y < postRuns; y++) { in probFalsePositive()
/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/core/src/com/android/tradefed/targetprep/
DAoaTargetPreparer.java201 private static Point parsePoint(String x, String y) { in parsePoint() argument
202 return new Point(Integer.decode(x), Integer.decode(y)); in parsePoint()
/tools/tradefederation/core/atest/
Dcli_translator_unittest.py102 find_method_return_module_info = lambda x, y: uc.MODULE_INFO argument
107 find_method_return_nothing = lambda x, y: None 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/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/
Dcheeps_compute_client_test.py57 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dgoldfish_compute_client_test.py61 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dcvd_compute_client_test.py67 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
/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/test/connectivity/acts/tests/google/power/tel/lab/temp/
DAnritsu_SIM_Bo.wnssp1y/ghNhIv/fII1D0PR8DbKopwbA9t3kdEmJ/e+H/RXBg7/nr3GKI6qR8lJRlhIGXKOwj6XD1jm26bTjKGigqYCv191dD5nsqJIt…
DAnritsu_SIM_cell_config3_ca.wnscp1y+GDGnQPXC04UFzEmJrVAE1rPpvbB1/os/tGNMuohj4EwHz6mWs8V6aSfaE3noukCoNb66invaLjeUzJ2XczjsUF/dgCBx0A2O…
DAnritsu_SIM_cell_config3.wnscp1y+GDGnQPXC04UFzEmJrVAE1rPpvbB1/os/tGNMuohj4EwHz6mWs8V6aSfaE3noukCoNb66invaLjeUzJ2XczjsUF/dgCBx0A2O…
DAnritsu_SIM_Bo_ca.wnssp1y+CQ5igtgAiK4Brv6LsFmdkjHVEvFmvnNvDs1TDDSA7c0yXiqpdVzRsNsymtRhNquhj9YF8WMsJ9ECADh5qzG3NYMf95URIUvW…
/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py314 seq, _type, x, y = struct.unpack("BBBB", _bytes[:4])

12