Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 11 of 11) 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.java65 int frequency = 1; in testAddWord_deprecated() local
66 UserDictionary.Words.addWord(getContext(), word, frequency, in testAddWord_deprecated() local
77 assertEquals(frequency, cursor.getInt(FREQUENCY_INDEX)); in testAddWord_deprecated()
88 private void assertWord(String word, int frequency, String shortcut, Locale locale, in assertWord() argument
91 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in assertWord()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java82 double frequency = 400; // frequency changes for each test in testPlayStreamData() local
97 final double testFrequency = frequency / TEST_CHANNELS; in testPlayStreamData()
132 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.java1455 double frequency = 400; // frequency changes for each test in testPlayStaticData() local
1465 final double testFrequency = frequency / channelCount; in testPlayStaticData()
1531 frequency += 70; // increment test tone frequency in testPlayStaticData()
1569 double frequency = 400; // frequency changes for each test in testPlayStreamData() local
1589 final double testFrequency = frequency / channelCount; in testPlayStreamData()
1649 frequency += 50; // increment test tone frequency in testPlayStreamData()
1678 double frequency = 800; // frequency changes for each test in testPlayStreamByteBuffer() local
1712 frequency, TEST_SWEEP); in testPlayStreamByteBuffer()
1719 frequency, TEST_SWEEP); in testPlayStreamByteBuffer()
1727 frequency, TEST_SWEEP); in testPlayStreamByteBuffer()
[all …]
/cts/tests/tests/hardware/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/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java128 public static <TValue extends Number> double getPeriod(TValue frequency, TimeUnit unit) { in getPeriod() argument
129 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
/cts/tests/tests/renderscript/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/keystore/src/android/keystore/cts/
DTestUtils.java348 int frequency = entry.getValue(); in frequencyTableToValues() local
349 for (int i = 0; i < frequency; i++) { in frequencyTableToValues()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex43444 public static int frequency(