Home
last modified time | relevance | path

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

/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/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java488 private static boolean isLessAndNotNull(Integer x, Integer y) { in isLessAndNotNull() argument
489 if ((x == null) || (y == null)) { in isLessAndNotNull()
492 return x < y; in isLessAndNotNull()
496 private static boolean isLessEqAndNotNull(Integer x, Integer y) { in isLessEqAndNotNull() argument
497 if ((x == null) || (y == null)) { in isLessEqAndNotNull()
500 return x <= y; in isLessEqAndNotNull()
DTestDevice.java414 for (int y = 0 ; y < rawImage.height ; y++) { in rawImageToBufferedImage()
418 image.setRGB(x, y, value); in rawImageToBufferedImage()
/tools/tradefederation/core/
Dpylintrc27 ignore-imports=y
Dtradefed_win.bat36 set RDBG_FLAG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=!TF_DEBUG_PORT!
/tools/tradefederation/core/atest/
Dcli_translator_unittest.py64 find_method_return_module_info = lambda x, y: uc.MODULE_INFO argument
69 find_method_return_nothing = lambda x, y: None argument
Dtest_finder_handler_unittest.py83 lambda x, y: [test_finder_base.Finder(
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DDetectRegression.java278 for (int y = 0; y < postRuns; y++) { in probFalsePositive()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py346 for x, y in zip(cdf[0], cdf[1]):
347 while 100*y >= next_decade:
/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/controllers/
Dmonsoon.py314 seq, _type, x, y = struct.unpack("BBBB", _bytes[:4])
/tools/dexter/testdata/expected/
Dentry_hooks.rewrite220 .local v2, "y", int
Dentry_hooks.compact_cfg237 .local v2, "y", int
Dentry_hooks.mi220 .local v2, "y", int
Dentry_hooks.entry_hook229 .local v2, "y", int
Dentry_hooks.scratch_regs265 .local v9, "y", int
Dentry_hooks.verbose_cfg311 .local v2, "y", int
Dentry_hooks.code_coverage410 .local v3, "y", int
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt532 specified using the notation xn+y, meaning the Option Type must
534 header, plus y octets. For example: