Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 18 of 18) 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/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/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.cpp332 size_t tocopy = min(size, b->mSize - b->mOffset); in read()
339 if (b->mOffset == b->mSize) { in read()
387 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in queueBuffers()
405 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
410 if (mReadBlob->mOffset == mReadBlob->mSize) { in bufferQueueCallback()
414 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/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/graphics/jni/
Dandroid_graphics_fonts_cts_SystemFonts.cpp38 mSize = 0; in ScopedUtfChars()
41 mSize = mEnv->GetStringUTFLength(mString); in ScopedUtfChars()
56 return mSize; in size()
63 size_t mSize; member in __anon591119570111::ScopedUtfChars
71 mSize = 0; in ScopedStringChars()
74 mSize = mEnv->GetStringLength(mString); in ScopedStringChars()
89 return mSize; in size()
97 size_t mSize; member in __anon591119570111::ScopedStringChars
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
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()
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()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java308 private int mSize; field in SpannableStringBuilderSpanTest.PositionSet
312 mSize = 0; in PositionSet()
316 if (mSize == 0 || position > mPositions[mSize - 1]) { in addPosition()
317 mPositions[mSize] = position; in addPosition()
318 mSize++; in addPosition()
323 mSize = 0; in clear()
327 return mSize; in size()
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java61 mSize = size; in MarshalCase()
66 private int mSize; field in HwBinderTest.MarshalCase
74 HwBlob blob = new HwBlob(mSize + deltaSize); in test()
/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/src/android/media/cts/
DMediaExtractorTest.java332 private final long mSize; field in MediaExtractorTest.ByteBufferDataSource
346 mSize = size; in ByteBufferDataSource()
351 return mSize; in getSize()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp87 mSize(size) { in FdDataSource()
95 if (offset >= mSize) { in readAt()
98 if (offset + ssize > mSize) { in readAt()
99 ssize = mSize - offset; in readAt()
108 return mSize; in getSize()
119 int64_t mSize; member
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java268 private Size mSize; field in CameraTestUtils.ImageVerifierListener
272 mSize = sz; in ImageVerifierListener()
286 checkImage(image, mSize.getWidth(), mSize.getHeight(), mFormat); in onImageAvailable()