/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioBandSpecs.java | 28 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/audio/jni/ |
D | Blob.h | 56 mOffset(0), in Blob() 63 mOffset(0), in Blob() 72 size_t mOffset; variable
|
D | audio-record-native.cpp | 332 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/audio/src/android/media/audio/cts/ |
D | AudioTrackSurroundTest.java | 322 protected int mOffset = 0; field in AudioTrackSurroundTest.SamplePlayerBase 373 mOffset = primeBuffer(); // prime the buffer in playAndMeasureRate() 374 assertTrue(TEST_NAME + ": priming offset = " + mOffset + ", " + getPcmWarning(), in playAndMeasureRate() 375 mOffset > 0); in playAndMeasureRate() 376 bytesWritten += mOffset; in playAndMeasureRate() 439 int shortsLeft = mData.length - mOffset; in writeBlock() 444 result = mTrack.write(mData, mOffset, shortsToWrite); in writeBlock() 445 mOffset += result; in writeBlock() 447 mOffset = 0; // rewind in writeBlock() 473 int bytesLeft = mData.length - mOffset; in writeBlock() [all …]
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderBlockModelTestBase.java | 50 private int mOffset; field in CodecDecoderBlockModelTestBase.LinearBlockWrapper 65 return mOffset; in getOffset() 69 mOffset = size; in setOffset() 79 mOffset = 0; in allocateBlock() 88 mOffset = 0; in recycle()
|
D | BitStreamUtils.java | 55 protected final int mOffset; field in BitStreamUtils.ParsableBitArray 62 mOffset = offset; in ParsableBitArray() 117 if (mCurrBitOffset == 0 && (mCurrByteOffset - 2 > mOffset) in readBit() 170 protected int mOffset; field in BitStreamUtils.ParserBase 175 mOffset = offset; in set() 197 ParsableBitArray bitArray = new ParsableBitArray(mData, mOffset, mLimit); in getProfileLevel() 228 ParsableBitArray bitArray = new ParsableBitArray(mData, mOffset, mLimit); in getProfileLevel() 325 for (int pos = mOffset; pos < mLimit; ) { in getFrameType() 352 for (int pos = mOffset; pos < mLimit; ) { in getProfileLevel() 477 for (int pos = mOffset; pos < mLimit; ) { in getFrameType() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewClippingTests.java | 175 int mOffset = 0; in testAntiAliasedOutlineClip() 184 int index = indexFromXAndY(x, y, mStride, mOffset); in testAntiAliasedOutlineClip() 244 mOffset = offset; in testAntiAliasedOutlineClip()
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 80 mOffset(offset), in FdDataSource() 95 if (lseek(mFd, mOffset + offset, SEEK_SET) < 0) { in readAt() 112 off64_t mOffset; member
|