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()
75 ASSERT_LT(layer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
78 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
121 EXPECT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
131 EXPECT_GT(hugeLayer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java287 mSizeInBytes -= page.getSizeInBytes(); in removeRenderedPage()
299 final int contentSizeInBytes = renderedPage.getSizeInBytes(); in putRenderedPage()
327 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
335 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
339 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.PageContentLruCache
427 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.RenderedPage
842 if (mPageContentCache.getSizeInBytes() <= 0 in onPreExecute()
843 || mPageContentCache.getSizeInBytes() + bitmapSizeInBytes in onPreExecute()
863 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
872 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.cpp155 mSize -= layer->getSizeInBytes(); in get()
187 const uint32_t size = layer->getSizeInBytes(); in putOrDelete()
193 mSize -= victim->getSizeInBytes(); in putOrDelete()
DOffscreenBufferPool.h63 uint32_t getSizeInBytes() { return texture.objectSize(); } in getSizeInBytes() function
/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.h60 int32_t getSizeInBytes();
DSharedMemoryParcelable.cpp129 int32_t SharedMemoryParcelable::getSizeInBytes() { in getSizeInBytes() function in SharedMemoryParcelable
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp68 EXPECT_EQ(sharedMemoryA.getSizeInBytes(), sharedMemoryB.getSizeInBytes()); in TEST()
/frameworks/compile/slang/
Dslang_backend.cpp879 slangAssert(SL->getSizeInBytes() >= fieldPrePaddingOffset); in PadHelperFunctionStruct()
880 if (const size_t tailPadding = SL->getSizeInBytes() - fieldPrePaddingOffset) { in PadHelperFunctionStruct()