Home
last modified time | relevance | path

Searched refs:mOffset (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioBandSpecs.java28 double mOffset; field in AudioBandSpecs
51 mOffset = offset; in setOffset()
68 double vTop = (e / d) * (mRippleStopTop - mRippleStartTop) + mRippleStartTop + mOffset; in isInBounds()
74 + mOffset; in isInBounds()
87 sb.append(String.format("offset %.1f", mOffset)); in toString()
/cts/tests/tests/media/libaudiojni/
DBlob.h56 mOffset(0), in Blob()
63 mOffset(0), in Blob()
72 size_t mOffset; variable
Daudio-record-native.cpp332 size_t tocopy = min(size, b->mSize - b->mOffset); in read()
335 memcpy(buffer, (char *)b->mData + b->mOffset, tocopy); in read()
338 b->mOffset += tocopy; in read()
339 if (b->mOffset == b->mSize) { in read()
355 copied += blob->mOffset; in read()
405 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
406 memcpy((char *)mReadBlob->mData + mReadBlob->mOffset, in bufferQueueCallback()
407 (char *)b->mData + b->mOffset, tocopy); in bufferQueueCallback()
408 b->mOffset += tocopy; in bufferQueueCallback()
409 mReadBlob->mOffset += tocopy; in bufferQueueCallback()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java322 protected int mOffset = 0; field in AudioTrackSurroundTest.SamplePlayerBase
412 mOffset = primeBuffer(); // prime the buffer in playAndMeasureRate()
413 assertTrue(TEST_NAME + ": priming offset = " + mOffset + getPcmWarning(), in playAndMeasureRate()
414 mOffset > 0); in playAndMeasureRate()
415 bytesWritten += mOffset; in playAndMeasureRate()
477 int shortsLeft = mData.length - mOffset; in writeBlock()
482 result = mTrack.write(mData, mOffset, shortsToWrite); in writeBlock()
483 mOffset += result; in writeBlock()
485 mOffset = 0; // rewind in writeBlock()
511 int bytesLeft = mData.length - mOffset; in writeBlock()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp86 mOffset(offset), in FdDataSource()
101 if (lseek(mFd, mOffset + offset, SEEK_SET) < 0) { in readAt()
118 off64_t mOffset; member