Home
last modified time | relevance | path

Searched refs:mMemory (Results 1 – 6 of 6) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryInfoTest.java25 protected ActivityManager.MemoryInfo mMemory; field in ActivityManagerMemoryInfoTest
30 mMemory = new ActivityManager.MemoryInfo(); in setUp()
34 assertEquals(0, mMemory.describeContents()); in testDescribeContents()
39 mMemory.advertisedMem = advertisedMem; in testWriteToParcel()
41 mMemory.availMem = availMem; in testWriteToParcel()
43 mMemory.threshold = threshold; in testWriteToParcel()
45 mMemory.lowMemory = lowMemory; in testWriteToParcel()
47 mMemory.writeToParcel(parcel, 0); in testWriteToParcel()
58 mMemory.writeToParcel(null, 0); in testWriteToParcel()
67 mMemory.advertisedMem = advertisedMem; in testReadFromParcel()
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputManager.java58 private byte[] mMemory; field in OutputManager
77 mMemory = new byte[1024]; in OutputManager()
338 if (mMemIndex + info.size >= mMemory.length) { in saveToMemory()
339 mMemory = Arrays.copyOf(mMemory, mMemIndex + info.size); in saveToMemory()
343 buf.get(mMemory, mMemIndex, info.size); in saveToMemory()
349 if (index < 0 || index >= mMemory.length) index = 0; in position()
354 return ByteBuffer.wrap(mMemory); in getBuffer()
393 ByteBuffer.wrap(mMemory, 0, mMemIndex).order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer() in getRmsError()
407 intData[j] = mMemory[j] | (mMemory[j + 1] << 8) | (mMemory[j + 2] << 16); in getRmsError()
412 ByteBuffer.wrap(mMemory, 0, mMemIndex).order(ByteOrder.LITTLE_ENDIAN).asIntBuffer() in getRmsError()
[all …]
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java252 private byte[] mMemory = new byte[1024]; field in VideoDecodeEditEncodeTest.VideoChunks
290 mMemory = new byte[bufferSize]; in splitMediaToMuxerParameters()
319 byteBuffer.get(mMemory, 0, byteBuffer.limit()); in splitMediaToMuxerParameters()
329 if (mMemIndex + info.size >= mMemory.length) { in addChunkData()
330 mMemory = Arrays.copyOf(mMemory, mMemIndex + info.size); in addChunkData()
333 buf.get(mMemory, mMemIndex, info.size); in addChunkData()
364 dest.put(mMemory, offset, size); in getChunkData()
386 return ByteBuffer.wrap(mMemory); in getBuffer()
393 outputStream.write(mMemory, 0, mMemIndex); in dumpBuffer()
/cts/hostsidetests/securitybulletin/securityPatch/includes/
DomxUtils.h65 sp<IMemory> mMemory; member
/cts/tests/tests/graphics/jni/
DVulkanTestHelpers.h74 VkDeviceMemory mMemory = VK_NULL_HANDLE; variable
DVulkanTestHelpers.cpp352 VK_CALL(vkAllocateMemory(mInit->device(), &allocateInfo, nullptr, &mMemory)); in init()
357 bindImageInfo.memory = mMemory; in init()
478 if (mMemory != VK_NULL_HANDLE) { in ~VkAHardwareBufferImage()
479 vkFreeMemory(mInit->device(), mMemory, nullptr); in ~VkAHardwareBufferImage()
480 mMemory = VK_NULL_HANDLE; in ~VkAHardwareBufferImage()