/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 111 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()
|
D | SoundGenerator.java | 58 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/ |
D | UserDictionary_WordsTest.java | 69 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/ |
D | SensorParameterRangeTest.java | 160 double frequency = mustMeetHiFi ? hifiMaxFrequency : maxFrequency; in checkSensorRangeAndFrequency() local 170 sensor.getName(), actualMaxFrequency, frequency), actualMaxFrequency >= in checkSensorRangeAndFrequency() 171 frequency - 0.1); in checkSensorRangeAndFrequency()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerificationTest.java | 93 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/ |
D | AudioTrackTest.java | 1600 double frequency = 400; // frequency changes for each test in testPlayStaticData() local 1604 … TEST_LOOPS, TEST_FORMAT, frequency, TEST_SR, TEST_CONF, WAIT_MSEC, TEST_LOOP_DURATION); in testPlayStaticData() 1606 frequency += 70; // increment test tone frequency in testPlayStaticData() 1622 final double frequency = testFrequency / channelCount; in playOnceStaticData() local 1643 frequency, testSweep); in playOnceStaticData() 1651 frequency, testSweep); in playOnceStaticData() 1659 frequency, testSweep); in playOnceStaticData() 1744 double frequency = 400; // frequency changes for each test in testPlayStreamData() local 1748 TEST_IS_LOW_RAM_DEVICE, TEST_FORMAT, frequency, TEST_SR, TEST_CONF, in testPlayStreamData() 1750 frequency += 50; // increment test tone frequency in testPlayStreamData() [all …]
|
D | AudioHelper.java | 65 final double frequency, double sweep) { in createSoundDataInByteArray() argument 66 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInByteArray() 78 final double frequency, double sweep) { in createSoundDataInShortArray() argument 79 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInShortArray() 89 final double frequency, double sweep) { in createSoundDataInFloatArray() argument 90 final double rad = 2 * Math.PI * frequency / sampleRate; in createSoundDataInFloatArray()
|
D | AudioNativeTest.java | 98 double frequency = 400; // frequency changes for each test in testPlayStreamData() local 116 final double testFrequency = frequency / TEST_CHANNELS; in testPlayStreamData() 152 frequency += 50; // increment test tone frequency in testPlayStreamData()
|
D | DynamicsProcessingTest.java | 908 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 …]
|
D | MediaCodecTest.java | 2254 int samples, int sampleRate, double frequency, double sweep, boolean useFloat) { in PcmAudioBufferStream() argument 2262 samples, sampleRate, frequency, sweep); in PcmAudioBufferStream() 2271 samples, sampleRate, frequency, sweep)); in PcmAudioBufferStream()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 46 private void addByteNoise(byte[] data, int count, float frequency, int maxDelta) { in addByteNoise() argument 49 if (rand.nextFloat() < frequency) { in addByteNoise()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 147 public static <TValue extends Number> double getPeriod(TValue frequency, TimeUnit unit) { in getPeriod() argument 148 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | ScanResultTest.java | 231 assertEquals(wifiInfo.getFrequency(), currentNetwork.frequency);
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 401 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam() argument 403 mFrequency = frequency; in LayoutParam()
|
D | StaticLayoutTest.java | 1345 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { 1347 mFrequency = frequency;
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | TestUtils.java | 369 int frequency = entry.getValue(); in frequencyTableToValues() local 370 for (int i = 0; i < frequency; i++) { in frequencyTableToValues()
|