Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts_tests/acts_contrib/test_utils_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/test/connectivity/acts_tests/acts_contrib/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/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/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/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/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp190 float y; in update() local
192 position.Value(x, y, z); in update()
199 if (y + RADIUS >= egl.top || y - RADIUS <= egl.bottom) { in update()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py232 for x, y, hover in itertools.zip_longest(x_data, y_data, hover_text):
233 if not math.isnan(y):
235 y_data_filtered.append(y)
273 hover_text = ['y={}'.format(y) for y in y_data]
320 hover_text = ['y={}'.format(y) for y in y_data]
347 y=line['y_data'],
351 y='y',
372 y='y',
/tools/security/gdb/gdb_json_printer/test_examples/
Dobjects2.cpp74 Foo *y = new Foo2(); in main() local
87 delete y; in main()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_traffic_power_test.py529 for i, (x, y) in enumerate(zip(currents[::], currents[1::])):
530 measured_change = (y - x) / x * 100
534 "Tolerance range: -{}% to {}%".format(x, y, measured_change,
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed_win.bat36 set RDBG_FLAG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=!TF_DEBUG_PORT!
/tools/asuite/atest-py2/
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/asuite/atest/
Dcli_translator_unittest.py116 find_method_return_module_info = lambda x, y: uc.MODULE_INFOS argument
121 find_method_return_nothing = lambda x, y: None argument
183 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/asuite/aidegen/lib/
Dproject_file_gen.py306 {common_util.is_source_under_relative_path(x, y)
307 for y in module_relpaths})}
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiPasspointTest.py166 x, y = eval(node.attributes["bounds"].value.split("][")[0][1:])
167 self.dut.adb.shell("input tap %s %s" % (x, y))
/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/
Dgoldfish_compute_client_test.py68 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dcheeps_compute_client_test.py62 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
Dcvd_compute_client_test.py70 x=self.X_RES, y=self.Y_RES, dpi=self.DPI)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
Dplot_utils.py60 data=dict(x=time_relative, y=current_data, color=color))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
Daware_test_utils.py364 for x, y in zip(cdf[0], cdf[1]):
365 while 100 * y >= next_decade:

12