Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 12 of 12) sorted by relevance

/cts/suite/audio_quality/lib/include/audio/
DBuffer.h44 return mSize; in getSize()
52 mSize = size; in setSize()
56 mSize += size; in increaseSize()
65 mSize = len; in setData()
73 return mSize <= mHandled; in bufferHandled()
93 return mSize - mHandled; in amountToHandle()
125 size_t mSize; variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspBufferBase.java20 private int mSize; field in DspBufferBase
31 return mSize; in getSize()
35 mSize = size; in setSize()
44 return String.format("Size: %d", mSize); in toString()
DDspWindow.java22 private int mSize; field in DspWindow
45 mSize = size; in init()
47 if (mOverlap > mSize / 2) { in init()
48 mOverlap = mSize / 2; in init()
51 mBuffer = new DspBufferDouble(mSize); in init()
/cts/tests/tests/media/libaudiojni/
DBlob.h33 mSize(size) { in BlobReadOnly()
47 const size_t mSize; variable
57 mSize(size), in Blob()
64 mSize(size), in Blob()
73 const size_t mSize; variable
Daudio-record-native.cpp310 size_t tocopy = min(size, b->mSize - b->mOffset); in read()
317 if (b->mOffset == b->mSize) { in read()
359 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in queueBuffers()
377 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
382 if (mReadBlob->mOffset == mReadBlob->mSize) { in bufferQueueCallback()
386 if (b->mOffset == b->mSize) { in bufferQueueCallback()
Daudio-track-native.cpp293 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in write()
306 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in write()
/cts/suite/audio_quality/lib/src/audio/
DBuffer.cpp26 mSize(size), in Buffer()
47 size_t newSize = mSize/2; in changeToMono()
67 mSize = newSize; in changeToMono()
123 file.write(mData, mSize); in saveToFile()
139 if (mSize != b.mSize) { in operator ==()
140 LOGD("size mismatch %d %d", mSize, b.mSize); in operator ==()
143 for (size_t i = 0; i < mSize; i++) { in operator ==()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java44 private final Size mSize; field in AllocationInfo
177 return new AllocationInfo(mElement, mSize, mUsage | usage); in addExtraUsage()
231 mSize = size; in AllocationInfo()
272 return mSize; in getSize()
358 return String.format("Size: %s, Element: %s, Usage: %x", mSize, in toString()
DScriptGraph.java69 private final Size mSize; field in ScriptGraph
207 private Size mSize; field in ScriptGraph.Builder
303 mSize = size; in configureInput()
422 mSize = builder.mSize; in ScriptGraph()
430 if (mSize == null) { in ScriptGraph()
441 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java289 private int mSize; field in SpannableStringBuilderSpanTest.PositionSet
293 mSize = 0; in PositionSet()
297 if (mSize == 0 || position > mPositions[mSize - 1]) { in addPosition()
298 mPositions[mSize] = position; in addPosition()
299 mSize++; in addPosition()
304 mSize = 0; in clear()
308 return mSize; in size()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java317 int mSize; field in CompressedTextureLoader.DDSHeader
362 header.mSize = headerBuffer.getInt(); in readDDSHeader()
388 if (header.mSize != DDS_HEADER_STRUCT_SIZE || in readDDSHeader()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java245 private Size mSize; field in CameraTestUtils.ImageVerifierListener
249 mSize = sz; in ImageVerifierListener()
260 validateImage(image, mSize.getWidth(), mSize.getHeight(), mFormat, null); in onImageAvailable()