Home
last modified time | relevance | path

Searched refs:written (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java47 int written = mMaxValues - rear; in write() local
48 if (written > count) { in write()
49 written = count; in write()
51 System.arraycopy(buffer, offset, mBuffer, rear, written); in write()
52 if (rear + written == mMaxValues) { in write()
53 if ((count -= written) > rear) { in write()
57 System.arraycopy(buffer, offset + written, mBuffer, 0, count); in write()
58 written += count; in write()
61 mRear += written; in write()
63 return written; in write()
/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java156 int written = mAudioTrack.write(element.data, element.size, in process() local
158 if (written < 0) { in process()
162 mNumBytesQueued -= written; in process()
163 element.size -= written; in process()
DAudioTrackOffloadTest.java171 int written = 0; in testAudioTrackOffload() local
172 while (written < read) { in testAudioTrackOffload()
173 int wrote = track.write(data, written, read - written, in testAudioTrackOffload()
175 Log.i(TAG, String.format("wrote %d bytes (%d out of %d)", wrote, written, read)); in testAudioTrackOffload()
177 fail("Unable to write all read data, wrote " + written + " bytes"); in testAudioTrackOffload()
179 written += wrote; in testAudioTrackOffload()
DAudioPlaybackCaptureTest.java193 int written = audioRecord.read(buffer, buffer.remaining()); in readToBuffer() local
194 assertThat("audioRecord did not read frames", written, greaterThan(0)); in readToBuffer()
195 for (int i = 0; i < written; i++) { in readToBuffer()
DAudioTrackTest.java1799 int written = 0; in playOnceStreamData() local
1822 while (written < data.length) { in playOnceStreamData()
1823 int samples = Math.min(data.length - written, samplesPerWrite); in playOnceStreamData()
1824 int ret = track.write(data, written, samples); in playOnceStreamData()
1826 written += ret; in playOnceStreamData()
1837 while (written < data.length) { in playOnceStreamData()
1838 int samples = Math.min(data.length - written, samplesPerWrite); in playOnceStreamData()
1839 int ret = track.write(data, written, samples); in playOnceStreamData()
1841 written += ret; in playOnceStreamData()
1852 while (written < data.length) { in playOnceStreamData()
[all …]
DMediaCodecBlockModelTest.java339 int written = mExtractor.readSampleData(input.buffer, input.offset); in onInputSlot() local
351 input.block, input.offset, written, mCryptoInfo); in onInputSlot()
353 request.setLinearBlock(input.block, input.offset, written); in onInputSlot()
366 input.offset += written; in onInputSlot()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT35 prior written permission.
48 The LLVM software contains code written by third parties. Such software will
DRationale245 As mentioned in [1], Dhrystone was written to reflect actual
/cts/apps/CtsVerifier/libs/
Dopencv-android_LICENSE22 without specific prior written permission.
/cts/apps/CtsVerifier/res/raw/
Dopencv_library_license30 without specific prior written permission.
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rscript259 // because these pixels will be over-written later and hence we don't need
278 // because these pixels will be over-written later and hence we don't need
Dlayered_filter_fast_f32.rscript218 // because these pixels will be over-written later and hence we don't need
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile83 # written in a file name "pylint_global.[txt|html]".