Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 15 of 15) 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.cpp314 size_t tocopy = min(size, b->mSize - b->mOffset); in read()
321 if (b->mOffset == b->mSize) { in read()
364 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in queueBuffers()
382 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
387 if (mReadBlob->mOffset == mReadBlob->mSize) { in bufferQueueCallback()
391 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/tests/sensor/jni/
DSensorTest.cpp116 while (offset + kEventSize <= mSize) { in parseEvents()
138 : mType(type), mSize(0), mBuffer(nullptr), in TestSharedMemory()
149 mSize = size; in TestSharedMemory()
151 nullptr, mSize, PROT_READ | PROT_WRITE, in TestSharedMemory()
177 mSize = size; in TestSharedMemory()
201 ::munmap(mBuffer, mSize); in release()
208 mSize = 0; in release()
221 mSize = 0; in release()
227 if (mSharedMemoryFd > 0 || mSize != 0 || mBuffer != nullptr || mHardwareBuffer != nullptr) { in release()
230 this, static_cast<int>(mType), mSharedMemoryFd, mHardwareBuffer, mSize, mBuffer); in release()
[all …]
DSensorTest.h128 return mSize; in getSize()
135 size_t mSize; variable
/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/camera/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
238 private Size mSize; field in ScriptGraph.Builder
334 mSize = size; in configureInput()
453 mSize = builder.mSize; in ScriptGraph()
461 if (mSize == null) { in ScriptGraph()
472 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java307 private int mSize; field in SpannableStringBuilderSpanTest.PositionSet
311 mSize = 0; in PositionSet()
315 if (mSize == 0 || position > mPositions[mSize - 1]) { in addPosition()
316 mPositions[mSize] = position; in addPosition()
317 mSize++; in addPosition()
322 mSize = 0; in clear()
326 return mSize; in size()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java305 int mSize; field in CompressedTextureLoader.DDSHeader
350 header.mSize = headerBuffer.getInt(); in readDDSHeader()
376 if (header.mSize != DDS_HEADER_STRUCT_SIZE || in readDDSHeader()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp87 mSize(size) { in FdDataSource()
92 if (!data || offset < 0 || offset >= mSize || offset + ssize < offset) { in readAt()
95 if (offset + ssize > mSize) { in readAt()
96 ssize = mSize - offset; in readAt()
105 return mSize; in getSize()
116 int64_t mSize; member
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java260 private Size mSize; field in CameraTestUtils.ImageVerifierListener
264 mSize = sz; in ImageVerifierListener()
278 checkImage(image, mSize.getWidth(), mSize.getHeight(), mFormat); in onImageAvailable()