Home
last modified time | relevance | path

Searched refs:flattenedSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp101 size_t flattenedSize = gb1->getFlattenedSize(); in TEST_F() local
102 EXPECT_EQ(flattenedSize, 48); in TEST_F()
106 int data[flattenedSize]; in TEST_F()
110 size_t flattenedSizeCopy = flattenedSize; in TEST_F()
119 size_t unflattenSize = flattenedSize; in TEST_F()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp245 size_t flattenedSize = gBuffer->getFlattenedSize(); in AHardwareBuffer_sendHandleToUnixSocket() local
248 std::unique_ptr<uint8_t[]> data(new uint8_t[flattenedSize]); in AHardwareBuffer_sendHandleToUnixSocket()
253 size_t flattenedSizeCopy = flattenedSize; in AHardwareBuffer_sendHandleToUnixSocket()
265 iov[0].iov_len = flattenedSize; in AHardwareBuffer_sendHandleToUnixSocket()