Home
last modified time | relevance | path

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

1234

/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.h45 status_t flatten(void* buffer, size_t size) const;
DBufferItem.h41 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
DFrameTimestamps.h254 status_t flatten(void*& buffer, size_t& size, int*& fds,
318 status_t flatten(void*& buffer, size_t& size, int*& fds,
/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
781 status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t, in flatten() function
813 status_t status = flatten( in flatten()
912 status_t flatten( in flatten() function
926 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); in flatten()
970 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
1016 if (flatten(t, buffer, size, fds, numFds) != NO_ERROR) { in convertTo()
1090 status_t flatten(Region const& t, void*& buffer, size_t& size) { in flatten() function
1102 status_t status = rect.flatten(buffer, size); in flatten()
[all …]
DH2BGraphicBufferProducer.cpp327 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
558 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
625 inline status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t, in flatten() function
724 inline status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t, in flatten() function
758 status_t status = flatten( in flatten()
827 inline status_t flatten( in flatten() function
843 status_t status = flatten( in flatten()
894 if (flatten(t, &nhAA, buffer, size, fds, numFds) != NO_ERROR) { in convertTo()
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp320 ASSERT_EQ(OK, mBC->flatten(flat, size)); in roundTrip()
368 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
402 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
419 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
438 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
457 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
487 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
DBlobCache.h108 int flatten(void* buffer, size_t size) const;
/frameworks/native/libs/ui/include_vndk/ui/
DFrameStats.h58 status_t flatten(void* buffer, size_t size) const;
DFence.h145 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
/frameworks/native/libs/ui/include/ui/
DFrameStats.h58 status_t flatten(void* buffer, size_t size) const;
DFence.h145 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceLegacySettingSyncer.kt132 .map { it.values.flatten().toSet() } in <lambda>()
150 .flatten() // List<String> in <lambda>()
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/
Dsensor_fuzzer.cpp48 sensor1.flatten(buffer, size); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/ui/
DFrameStats.cpp34 status_t FrameStats::flatten(void* buffer, size_t size) const { in flatten() function in android::FrameStats
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListViewModel.kt123 combine(userSubGraphList.map { it.recordListFlow }) { it.toList().flatten() } in userSubGraphList()
132 combine(userSubGraphList.map { it.listModelFilteredFlow }) { it.toList().flatten() } in userSubGraphList()
/frameworks/av/camera/tests/
DCameraZSLTests.cpp246 ASSERT_EQ(NO_ERROR, cameraDevice->setParameters(params.flatten())); in TEST_F()
281 ASSERT_EQ(NO_ERROR, cameraDevice->setParameters(params.flatten())); in TEST_F()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h110 status_t flatten(void* buffer, size_t size) const;
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp82 ASSERT_EQ(OK, sensor1.flatten(buffer.data(), buffer.size())); in TEST()

1234