Home
last modified time | relevance | path

Searched refs:getSizeInBytes (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DOffscreenBufferPoolTests.cpp41 EXPECT_EQ(64u * 192u * 4u, layer.getSizeInBytes()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
54 EXPECT_EQ(64u * 192u * 8u, layer.getSizeInBytes()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
86 ASSERT_LT(layer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
89 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
110 ASSERT_LT(layer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
113 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
173 EXPECT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
191 EXPECT_EQ(64u * 64u * 8u, layer->getSizeInBytes()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
210 EXPECT_EQ(128u * 128u * 8u, layer2->getSizeInBytes()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
220 EXPECT_GT(hugeLayer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java290 mSizeInBytes -= page.getSizeInBytes(); in removeRenderedPage()
302 final int contentSizeInBytes = renderedPage.getSizeInBytes(); in putRenderedPage()
330 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
338 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
342 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.PageContentLruCache
430 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.RenderedPage
845 if (mPageContentCache.getSizeInBytes() <= 0 in onPreExecute()
846 || mPageContentCache.getSizeInBytes() + bitmapSizeInBytes in onPreExecute()
866 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
875 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.cpp159 mSize -= layer->getSizeInBytes(); in get()
193 const uint32_t size = layer->getSizeInBytes(); in putOrDelete()
199 mSize -= victim->getSizeInBytes(); in putOrDelete()
DOffscreenBufferPool.h63 uint32_t getSizeInBytes() { return texture.objectSize(); } in getSizeInBytes() function
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp70 EXPECT_EQ(sharedMemoryA.getSizeInBytes(), sharedMemoryB.getSizeInBytes()); in TEST()
/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.h62 int32_t getSizeInBytes();
DSharedMemoryParcelable.cpp144 int32_t SharedMemoryParcelable::getSizeInBytes() { in getSizeInBytes() function in SharedMemoryParcelable
/frameworks/compile/slang/
Dslang_backend.cpp879 slangAssert(SL->getSizeInBytes() >= fieldPrePaddingOffset); in PadHelperFunctionStruct()
880 if (const size_t tailPadding = SL->getSizeInBytes() - fieldPrePaddingOffset) { in PadHelperFunctionStruct()