Home
last modified time | relevance | path

Searched refs:unflatten (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/native/libs/ui/include_private/ui/
DFlattenableHelpers.h55 static status_t unflatten(const void** buffer, size_t* size, T* value) { in unflatten() function
74 static status_t unflatten(const void** buffer, size_t* size, std::string* str) { in unflatten() function
76 RETURN_IF_ERROR(unflatten(buffer, size, &length)); in unflatten()
97 static status_t unflatten(const void** buffer, size_t* size, LightFlattenable<T>* value) { in unflatten() function
98 RETURN_IF_ERROR(value->unflatten(*buffer, *size)); in unflatten()
121 static status_t unflatten(const void** buffer, size_t* size, std::optional<T>* value) { in unflatten() function
123 RETURN_IF_ERROR(unflatten(buffer, size, &isPresent)); in unflatten()
126 RETURN_IF_ERROR(unflatten(buffer, size, &(**value))); in unflatten()
152 static status_t unflatten(const void** buffer, size_t* size, std::vector<T>* value) { in unflatten() function
154 RETURN_IF_ERROR(unflatten(buffer, size, &numElements)); in unflatten()
[all …]
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp79 status_t IGraphicBufferProducer::QueueBufferInput::unflatten( in unflatten() function in android::IGraphicBufferProducer::QueueBufferInput
96 status_t result = fence->unflatten(buffer, size, fds, count); in unflatten()
100 result = surfaceDamage.unflatten(buffer, size); in unflatten()
105 result = hdrMetadata.unflatten(buffer, size); in unflatten()
151 status_t IGraphicBufferProducer::QueueBufferOutput::unflatten( in unflatten() function in android::IGraphicBufferProducer::QueueBufferOutput
166 status_t result = frameTimestamps.unflatten(buffer, size, fds, count); in unflatten()
207 status_t IGraphicBufferProducer::RequestBufferOutput::unflatten( in unflatten() function in android::IGraphicBufferProducer::RequestBufferOutput
218 status_t status = buffer->unflatten(fBuffer, size, fds, count); in unflatten()
247 status_t IGraphicBufferProducer::DequeueBufferInput::unflatten(void const* buffer, size_t size) { in unflatten() function in android::IGraphicBufferProducer::DequeueBufferInput
301 status_t IGraphicBufferProducer::DequeueBufferOutput::unflatten( in unflatten() function in android::IGraphicBufferProducer::DequeueBufferOutput
[all …]
DBufferItem.cpp193 status_t BufferItem::unflatten( in unflatten() function in android::BufferItem
205 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); in unflatten()
212 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
219 status_t err = mSurfaceDamage.unflatten(buffer, size); in unflatten()
223 err = mHdrMetadata.unflatten(buffer, size); in unflatten()
/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp44 status_t unflatten(void const* buffer, size_t size) { in unflatten() function
64 ASSERT_EQ(OK, FlattenableHelpers::unflatten(&rawReadBuffer, &size, &valueRead)); in testWriteThenRead()
113 ASSERT_EQ(OK, FlattenableHelpers::unflatten(&rawReadBuffer, &size, &valueRead)); in TEST_F()
131 ASSERT_EQ(OK, FlattenableHelpers::unflatten(&rawReadBuffer, &size, &valueRead)); in TEST_F()
154 status_t unflatten(void const*, size_t) { in TEST_F() function
176 FlattenableHelpers::unflatten(&rawReadBuffer, &size, &value); in TEST_F()
191 FlattenableHelpers::unflatten(&rawReadBuffer, &size, &foo); in TEST_F()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h360 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
397 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
700 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
721 status_t unflatten(void const* buffer, size_t size);
738 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
770 status_t unflatten(void const* buffer, size_t size);
801 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
821 status_t unflatten(void const* buffer, size_t size);
DHdrMetadata.h46 status_t unflatten(void const* buffer, size_t size);
DBufferItem.h42 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
DFrameTimestamps.h256 status_t unflatten(void const*& buffer, size_t& size, int const*& fds,
320 status_t unflatten(void const*& buffer, size_t& size, int const*& fds,
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h407 status_t unflatten(
446 status_t unflatten(HGraphicBufferProducer::FrameEventsDelta* t,
504 status_t unflatten(
574 status_t unflatten(Region* t, void const*& buffer, size_t& size);
657 status_t unflatten(
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp236 status_t status = l->unflatten(constBuffer, size, constFds, numFds); in convertTo()
523 if (l->unflatten(constBuffer, size, constFds, numFds) != NO_ERROR) { in convertTo()
620 status_t unflatten( in unflatten() function
717 status_t unflatten(HGraphicBufferProducer::FrameEventsDelta* t, in unflatten() function
751 status_t status = unflatten( in unflatten()
872 status_t unflatten( in unflatten() function
890 status_t status = unflatten( in unflatten()
978 if (unflatten(t, nh, constBuffer, size, constFds, numFds) != NO_ERROR) { in wrapAs()
1024 if (l->unflatten(constBuffer, size, constFds, numFds) != NO_ERROR) { in convertTo()
1051 status_t unflatten(Region* t, void const*& buffer, size_t& size) { in unflatten() function
[all …]
DH2BGraphicBufferProducer.cpp185 status_t status = l->unflatten(constBuffer, size, constFds, numFds); in convertTo()
399 if (l->unflatten(constBuffer, size, constFds, numFds) != NO_ERROR) { in convertTo()
416 inline status_t unflatten(HRegion* t, void const*& buffer, size_t& size) { in unflatten() function
433 status_t status = rect.unflatten(buffer, size); in unflatten()
485 inline status_t unflatten( in unflatten() function
518 return unflatten(&(t->surfaceDamage), buffer, size); in unflatten()
566 if (unflatten(t, nh, constBuffer, size, constFds, numFds) != NO_ERROR) { in wrapAs()
902 if (l->unflatten(constBuffer, size, constFds, numFds) != NO_ERROR) { in convertTo()
/frameworks/av/camera/include/camera/
DCameraParameters2.h35 CameraParameters2(const String8 &params) { unflatten(params); } in CameraParameters2()
39 void unflatten(const String8 &params);
DCameraParameters.h44 CameraParameters(const String8 &params) { unflatten(params); } in CameraParameters()
48 void unflatten(const String8 &params);
/frameworks/native/libs/ui/include/ui/
DFrameStats.h59 status_t unflatten(void const* buffer, size_t size);
DFence.h146 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
/frameworks/native/libs/ui/include_vndk/ui/
DFrameStats.h59 status_t unflatten(void const* buffer, size_t size);
DFence.h146 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp321 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in roundTrip()
406 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size)); in TEST_F()
424 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_F()
443 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_F()
489 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size - 10)); in TEST_F()
DBlobCache.h116 int unflatten(void const* buffer, size_t size);
/frameworks/base/services/core/java/com/android/server/am/
DComponentAliasResolver.java293 final ComponentName to = unflatten(ci.metaData.getString(META_DATA_ALIAS_TARGET)); in extractAliasesLocked()
315 final ComponentName from = unflatten(fields[0]); in loadOverridesLocked()
324 final ComponentName to = unflatten(fields[1]); in loadOverridesLocked()
334 private static ComponentName unflatten(String name) { in unflatten() method in ComponentAliasResolver
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/
Dsensor_fuzzer.cpp50 auto ab = sensor1.unflatten(buffer1.data(), buffer1.size()); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/ui/
DFrameStats.cpp57 status_t FrameStats::unflatten(void const* buffer, size_t size) { in unflatten() function in android::FrameStats
DFenceTime.cpp263 status_t FenceTime::Snapshot::unflatten( in unflatten() function in android::FenceTime::Snapshot
275 return fence->unflatten(buffer, size, fds, count); in unflatten()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h111 status_t unflatten(void const* buffer, size_t size);
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp83 ASSERT_EQ(OK, sensor2.unflatten(buffer.data(), buffer.size())); in TEST()

123