Home
last modified time | relevance | path

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

/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/audio/jni/
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/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/tests/tests/os/src/android/os/cts/
DSharedMemoryFileDescriptorTest.java104 private final int mSize; field in SharedMemoryFileDescriptorTest.ByteBufferSession
109 mSize = length; in ByteBufferSession()
119 for (int i = 0; i < mSize; i++) { in clearMemory()
125 for (int i = 0; i < mSize; i++) { in hasCleanMemory()
134 for (int fillPos = 0; fillPos < mSize; fillPos++) { in fillSequentialPattern()
140 for (int fillPos = 0; fillPos < mSize; fillPos++) { in checkSequentialPattern()
DHwBinderTest.java64 mSize = size; in MarshalCase()
69 private int mSize; field in HwBinderTest.MarshalCase
77 HwBlob blob = new HwBlob(mSize + deltaSize); in test()
/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 __anon6417662e0111::ScopedUtfChars
71 mSize = 0; in ScopedStringChars()
74 mSize = mEnv->GetStringLength(mString); in ScopedStringChars()
89 return mSize; in size()
97 size_t mSize; member in __anon6417662e0111::ScopedStringChars
/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/media/decoder/jni/
Dnative-media-jni.cpp81 mSize(size) { in FdDataSource()
89 if (offset >= mSize) { in readAt()
92 if (offset + ssize > mSize) { in readAt()
93 ssize = mSize - offset; in readAt()
102 return mSize; in getSize()
113 int64_t mSize; member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21276/
Dpoc.cpp50 window->mSize = kSize; in main()
/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderProfileLevelTestBase.java261 this.mSize = size; in getMinLevelVP9()
268 private final int mSize; in getMinLevelVP9() field in EncoderProfileLevelTestBase.LevelLimitVP9
292 if (pixelsPerSec <= levelLimitsVP9.mPixelsPerSec && size <= levelLimitsVP9.mSize in getMinLevelVP9()
418 this.mSize = size; in getMinLevelAV1()
426 private final int mSize; in getMinLevelAV1() field in EncoderProfileLevelTestBase.LevelLimitAV1
452 if (size <= levelLimitsAV1.mSize && width <= levelLimitsAV1.mWidth in getMinLevelAV1()
/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/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java577 private final long mSize; field in MediaExtractorTest.ByteBufferDataSource
591 mSize = size; in ByteBufferDataSource()
596 return mSize; in getSize()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java571 private Size mSize; field in CameraTestUtils.ImageVerifierListener
578 mSize = sz; in ImageVerifierListener()
597 checkImage(image, mSize.getWidth(), mSize.getHeight(), mFormat); in onImageAvailable()