Home
last modified time | relevance | path

Searched refs:flatten (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/native/libs/ui/
DDisplayMode.cpp40 status_t DisplayMode::flatten(void* buffer, size_t size) const { in flatten() function in android::ui::DisplayMode
44 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, id)); in flatten()
45 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, resolution)); in flatten()
46 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, xDpi)); in flatten()
47 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, yDpi)); in flatten()
48 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, refreshRate)); in flatten()
49 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, appVsyncOffset)); in flatten()
50 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, sfVsyncOffset)); in flatten()
51 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, presentationDeadline)); in flatten()
52 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, group)); in flatten()
DDynamicDisplayInfo.cpp47 status_t DynamicDisplayInfo::flatten(void* buffer, size_t size) const { in flatten() function in android::ui::DynamicDisplayInfo
51 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, supportedDisplayModes)); in flatten()
52 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, activeDisplayModeId)); in flatten()
53 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, supportedColorModes)); in flatten()
54 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, activeColorMode)); in flatten()
55 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, hdrCapabilities)); in flatten()
56 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, autoLowLatencyModeSupported)); in flatten()
57 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, gameContentTypeSupported)); in flatten()
DStaticDisplayInfo.cpp35 status_t StaticDisplayInfo::flatten(void* buffer, size_t size) const { in flatten() function in android::ui::StaticDisplayInfo
39 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, connectionType)); in flatten()
40 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, density)); in flatten()
41 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, secure)); in flatten()
42 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, deviceProductInfo)); in flatten()
DDeviceProductInfo.cpp38 status_t DeviceProductInfo::flatten(void* buffer, size_t size) const { in flatten() function in android::DeviceProductInfo
42 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, name)); in flatten()
43 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, manufacturerPnpId)); in flatten()
44 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, productId)); in flatten()
45 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, manufactureOrModelDate)); in flatten()
46 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, relativeAddress)); in flatten()
/frameworks/native/libs/ui/include_private/ui/
DFlattenableHelpers.h45 static status_t flatten(void** buffer, size_t* size, const T& value) { in flatten() function
66 static status_t flatten(void** buffer, size_t* size, const std::string& str) { in flatten() function
68 flatten(buffer, size, (uint64_t)str.length()); in flatten()
90 static status_t flatten(void** buffer, size_t* size, const LightFlattenable<T>& value) { in flatten() function
91 RETURN_IF_ERROR(value.flatten(*buffer, *size)); in flatten()
110 static status_t flatten(void** buffer, size_t* size, const std::optional<T>& value) { in flatten() function
112 RETURN_IF_ERROR(flatten(buffer, size, true)); in flatten()
113 RETURN_IF_ERROR(flatten(buffer, size, *value)); in flatten()
115 RETURN_IF_ERROR(flatten(buffer, size, false)); in flatten()
143 static status_t flatten(void** buffer, size_t* size, const std::vector<T>& value) { in flatten() function
[all …]
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp45 status_t IGraphicBufferProducer::QueueBufferInput::flatten( in flatten() function in android::IGraphicBufferProducer::QueueBufferInput
61 status_t result = fence->flatten(buffer, size, fds, count); in flatten()
65 result = surfaceDamage.flatten(buffer, size); in flatten()
70 result = hdrMetadata.flatten(buffer, size); in flatten()
128 status_t IGraphicBufferProducer::QueueBufferOutput::flatten( in flatten() function in android::IGraphicBufferProducer::QueueBufferOutput
143 status_t result = frameTimestamps.flatten(buffer, size, fds, count); in flatten()
188 status_t IGraphicBufferProducer::RequestBufferOutput::flatten( in flatten() function in android::IGraphicBufferProducer::RequestBufferOutput
199 status_t status = buffer->flatten(fBuffer, size, fds, count); in flatten()
233 status_t IGraphicBufferProducer::DequeueBufferInput::flatten(void* buffer, size_t size) const { in flatten() function in android::IGraphicBufferProducer::DequeueBufferInput
280 status_t IGraphicBufferProducer::DequeueBufferOutput::flatten( in flatten() function in android::IGraphicBufferProducer::DequeueBufferOutput
[all …]
DBufferItem.cpp125 status_t BufferItem::flatten( in flatten() function in android::BufferItem
141 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); in flatten()
147 status_t err = mFence->flatten(buffer, size, fds, count); in flatten()
153 status_t err = mSurfaceDamage.flatten(buffer, size); in flatten()
157 err = mHdrMetadata.flatten(buffer, size); in flatten()
/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java43 public static List<? extends Test> getTests(Test test, boolean flatten) { in getTests() argument
44 return getTests(test, flatten, new HashSet<Class<?>>()); in getTests()
47 private static List<? extends Test> getTests(Test test, boolean flatten, in getTests() argument
72 if (flatten) { in getTests()
73 testCases.addAll(getTests(childTest, flatten, seen)); in getTests()
/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp39 status_t flatten(void* buffer, size_t size) const { in flatten() function
59 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, value)); in testWriteThenRead()
107 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, value)); in TEST_F()
125 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, value)); in TEST_F()
149 status_t flatten(void* buffer, size_t size) const { in TEST_F() function
172 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, foo)); in TEST_F()
186 ASSERT_EQ(OK, FlattenableHelpers::flatten(&rawBuffer, &size, value)); in TEST_F()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h356 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
393 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
686 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
707 status_t flatten(void* buffer, size_t size) const;
724 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
756 status_t flatten(void* buffer, size_t size) const;
787 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
807 status_t flatten(void* buffer, size_t size) const;
DHdrMetadata.h43 status_t flatten(void* buffer, size_t size) const;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h389 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t,
464 status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t,
521 status_t flatten(
584 status_t flatten(Region const& t, void*& buffer, size_t& size);
637 status_t flatten(HGraphicBufferProducer::QueueBufferInput const& t,
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp451 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
581 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t, in flatten() function
786 status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t, in flatten() function
819 status_t status = flatten( in flatten()
919 status_t flatten( in flatten() function
933 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); in flatten()
977 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
1023 if (flatten(t, buffer, size, fds, numFds) != NO_ERROR) { in convertTo()
1097 status_t flatten(Region const& t, void*& buffer, size_t& size) { in flatten() function
1109 status_t status = rect.flatten(buffer, size); in flatten()
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp279 ASSERT_EQ(OK, mBC->flatten(flat, size)); in roundTrip()
327 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
361 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
378 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
397 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
416 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
/frameworks/native/libs/ui/include_vndk/ui/
DStaticDisplayInfo.h37 status_t flatten(void* buffer, size_t size) const;
DFrameStats.h58 status_t flatten(void* buffer, size_t size) const;
DDisplayMode.h46 status_t flatten(void* buffer, size_t size) const;
DDeviceProductInfo.h69 status_t flatten(void* buffer, size_t size) const;
/frameworks/native/include/ui/
DStaticDisplayInfo.h37 status_t flatten(void* buffer, size_t size) const;
/frameworks/native/libs/ui/include/ui/
DStaticDisplayInfo.h37 status_t flatten(void* buffer, size_t size) const;
DFrameStats.h58 status_t flatten(void* buffer, size_t size) const;
DDisplayMode.h46 status_t flatten(void* buffer, size_t size) const;
DDynamicDisplayInfo.h56 status_t flatten(void* buffer, size_t size) const;
DDeviceProductInfo.h69 status_t flatten(void* buffer, size_t size) const;
DHdrCapabilities.h55 status_t flatten(void* buffer, size_t size) const;

1234