Home
last modified time | relevance | path

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

123

/frameworks/native/libs/ui/
DDisplayMode.cpp56 status_t DisplayMode::unflatten(const void* buffer, size_t size) { in unflatten() function in android::ui::DisplayMode
57 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &id)); in unflatten()
58 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &resolution)); in unflatten()
59 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &xDpi)); in unflatten()
60 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &yDpi)); in unflatten()
61 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &refreshRate)); in unflatten()
62 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &appVsyncOffset)); in unflatten()
63 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &sfVsyncOffset)); in unflatten()
64 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &presentationDeadline)); in unflatten()
65 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &group)); in unflatten()
DDynamicDisplayInfo.cpp63 status_t DynamicDisplayInfo::unflatten(const void* buffer, size_t size) { in unflatten() function in android::ui::DynamicDisplayInfo
64 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &supportedDisplayModes)); in unflatten()
65 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &activeDisplayModeId)); in unflatten()
66 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &supportedColorModes)); in unflatten()
67 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &activeColorMode)); in unflatten()
68 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &hdrCapabilities)); in unflatten()
69 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &autoLowLatencyModeSupported)); in unflatten()
70 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &gameContentTypeSupported)); in unflatten()
71 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &preferredBootDisplayMode)); in unflatten()
DStaticDisplayInfo.cpp48 status_t StaticDisplayInfo::unflatten(void const* buffer, size_t size) { in unflatten() function in android::ui::StaticDisplayInfo
49 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &connectionType)); in unflatten()
50 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &density)); in unflatten()
51 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &secure)); in unflatten()
52 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &deviceProductInfo)); in unflatten()
53 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &installOrientation)); in unflatten()
DDeviceProductInfo.cpp50 status_t DeviceProductInfo::unflatten(void const* buffer, size_t size) { in unflatten() function in android::DeviceProductInfo
51 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &name)); in unflatten()
52 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &manufacturerPnpId)); in unflatten()
53 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &productId)); in unflatten()
54 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &manufactureOrModelDate)); in unflatten()
55 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &relativeAddress)); in unflatten()
/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.h357 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
394 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
687 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
708 status_t unflatten(void const* buffer, size_t size);
725 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
757 status_t unflatten(void const* buffer, size_t size);
788 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
808 status_t unflatten(void const* buffer, size_t size);
/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
756 status_t status = unflatten( in unflatten()
878 status_t unflatten( in unflatten() function
897 status_t status = unflatten( in unflatten()
985 if (unflatten(t, nh, constBuffer, size, constFds, numFds) != NO_ERROR) { in wrapAs()
1031 if (l->unflatten(constBuffer, size, constFds, numFds) != NO_ERROR) { in convertTo()
1058 status_t unflatten(Region* t, void const*& buffer, size_t& size) { in unflatten() function
[all …]
/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_vndk/ui/
DFrameStats.h59 status_t unflatten(void const* buffer, size_t size);
DStaticDisplayInfo.h40 status_t unflatten(void const* buffer, size_t size);
DDisplayMode.h47 status_t unflatten(const void* buffer, size_t size);
DDeviceProductInfo.h70 status_t unflatten(void const* buffer, size_t size);
/frameworks/native/libs/ui/include/ui/
DFrameStats.h59 status_t unflatten(void const* buffer, size_t size);
DStaticDisplayInfo.h40 status_t unflatten(void const* buffer, size_t size);
DDisplayMode.h47 status_t unflatten(const void* buffer, size_t size);
DDynamicDisplayInfo.h60 status_t unflatten(const void* buffer, size_t size);
DDeviceProductInfo.h70 status_t unflatten(void const* buffer, size_t size);
DHdrCapabilities.h56 status_t unflatten(void const* buffer, size_t size);
/frameworks/native/include/ui/
DStaticDisplayInfo.h40 status_t unflatten(void const* buffer, size_t size);
/frameworks/base/services/core/java/com/android/server/am/
DComponentAliasResolver.java319 final ComponentName to = unflatten(ci.metaData.getString(META_DATA_ALIAS_TARGET)); in extractAliasesLocked()
341 final ComponentName from = unflatten(fields[0]); in loadOverridesLocked()
350 final ComponentName to = unflatten(fields[1]); in loadOverridesLocked()
360 private static ComponentName unflatten(String name) { in unflatten() method in ComponentAliasResolver

123