Searched refs:amount (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 580 final int amount = samplesRead == 0 ? numChannels : in testTimestamp() local 582 final int ret = record.read(shortData, 0, amount); in testTimestamp() 583 assertEquals("read incorrect amount", amount, ret); in testTimestamp() 795 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord() local 797 int ret = record.read(shortData, 0, amount); in testSynchronizedRecord() 798 assertEquals(TEST_NAME, amount, ret); in testSynchronizedRecord() 1181 int amount = samplesRead == 0 ? numChannels : in doTest() local 1183 amount *= bytesPerSample; // in bytes in doTest() 1191 int ret = blocking ? record.read(byteBuffer, amount) : in doTest() 1192 record.read(byteBuffer, amount, AudioRecord.READ_NON_BLOCKING); in doTest() [all …]
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 222 RWAmount amount = new RWAmount(); in getRWAmount() local 228 amount.mRd = Double.parseDouble(line.split(" ")[1]); in getRWAmount() 230 amount.mWr = Double.parseDouble(line.split(" ")[1]); in getRWAmount() 234 return amount; in getRWAmount()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-record-native.cpp | 486 ssize_t amount = record.read((char *)buffer + offset, size -offset); in Java_android_media_cts_AudioRecordNative_nativeTest() local 488 if (amount < 0) break; in Java_android_media_cts_AudioRecordNative_nativeTest() 489 offset += amount; in Java_android_media_cts_AudioRecordNative_nativeTest()
|