Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 14 of 14) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java111 double frequency = Common.MIN_FREQUENCY_HZ; in originalFrequencies() local
112 while (frequency <= Common.MAX_FREQUENCY_HZ) { in originalFrequencies()
113 frequencies.add(new Double(frequency)); in originalFrequencies()
114 if ((frequency >= 18500) && (frequency < 20000)) { in originalFrequencies()
115 frequency += Common.FREQUENCY_STEP_HZ; in originalFrequencies()
117 frequency += Common.FREQUENCY_STEP_HZ * 10; in originalFrequencies()
DSoundGenerator.java58 private static double[] getPip(double[] window, double frequency) { in getPip() argument
61 double radPerSample = 2 * Math.PI / (Common.PLAYING_SAMPLE_RATE_HZ / frequency); in getPip()
/cts/tests/tests/provider/src/android/provider/cts/
DUserDictionary_WordsTest.java69 int frequency = 1; in testAddWord_deprecated() local
70 UserDictionary.Words.addWord(getContext(), word, frequency, in testAddWord_deprecated() local
86 private void assertWord(String word, int frequency, String shortcut, Locale locale, in assertWord() argument
89 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in assertWord()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DFrequencyVerificationTest.java93 private void verifyStats(SensorStats stats, boolean passed, double frequency) { in verifyStats() argument
95 assertEquals(frequency, stats.getValue(SensorStats.FREQUENCY_KEY)); in verifyStats()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java93 double frequency = 400; // frequency changes for each test in testPlayStreamData() local
111 final double testFrequency = frequency / TEST_CHANNELS; in testPlayStreamData()
147 frequency += 50; // increment test tone frequency in testPlayStreamData()
DAudioHelper.java36 final double frequency, double sweep) { in createSoundDataInByteArray() argument
37 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInByteArray()
49 final double frequency, double sweep) { in createSoundDataInShortArray() argument
50 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInShortArray()
60 final double frequency, double sweep) { in createSoundDataInFloatArray() argument
61 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInFloatArray()
DAudioTrackTest.java1524 double frequency = 400; // frequency changes for each test in testPlayStaticData() local
1528 … TEST_LOOPS, TEST_FORMAT, frequency, TEST_SR, TEST_CONF, WAIT_MSEC, TEST_LOOP_DURATION); in testPlayStaticData()
1530 frequency += 70; // increment test tone frequency in testPlayStaticData()
1546 final double frequency = testFrequency / channelCount; in playOnceStaticData() local
1567 frequency, testSweep); in playOnceStaticData()
1575 frequency, testSweep); in playOnceStaticData()
1583 frequency, testSweep); in playOnceStaticData()
1666 double frequency = 400; // frequency changes for each test in testPlayStreamData() local
1670 TEST_IS_LOW_RAM_DEVICE, TEST_FORMAT, frequency, TEST_SR, TEST_CONF, in testPlayStreamData()
1672 frequency += 50; // increment test tone frequency in testPlayStreamData()
[all …]
DDynamicsProcessingTest.java908 final float frequency = (i + 1) * 100.3f; in test2_6Eq() local
913 eqBand.setCutoffFrequency(frequency); in test2_6Eq()
922 frequency, eq.getBand(i).getCutoffFrequency(), EPSILON); in test2_6Eq()
927 EqBand eqBand2 = new EqBand(enabled, frequency, gain); in test2_6Eq()
932 frequency, eqBand2.getCutoffFrequency(), EPSILON); in test2_6Eq()
959 final float frequency = index * 100.3f; in test2_7Mbc() local
972 mbcBand.setCutoffFrequency(frequency); in test2_7Mbc()
988 frequency, mbc.getBand(i).getCutoffFrequency(), EPSILON); in test2_7Mbc()
1009 MbcBand mbcBand2 = new MbcBand(enabled, frequency, attackTime, releaseTime, ratio, in test2_7Mbc()
1014 frequency, mbcBand2.getCutoffFrequency(), EPSILON); in test2_7Mbc()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java146 public static <TValue extends Number> double getPeriod(TValue frequency, TimeUnit unit) { in getPeriod() argument
147 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java46 private void addByteNoise(byte[] data, int count, float frequency, int maxDelta) { in addByteNoise() argument
49 if (rand.nextFloat() < frequency) { in addByteNoise()
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java400 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam() argument
402 mFrequency = frequency; in LayoutParam()
DStaticLayoutTest.java1346 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) {
1348 mFrequency = frequency;
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java367 int frequency = entry.getValue(); in frequencyTableToValues() local
368 for (int i = 0; i < frequency; i++) { in frequencyTableToValues()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...