Searched refs:unflatten (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/include/utils/
H A DFlattenable.h53 // don't need to be dupped(). ie: the caller of unflatten doesn't
54 // keep ownership. If a fd is not retained by unflatten() it must be
56 virtual status_t unflatten(void const* buffer, size_t size,
86 inline status_t unflatten(void const* buffer, size_t size);
102 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { function in class:android::LightFlattenable
103 return static_cast<T*>(this)->T::unflatten(buffer, size);
124 inline status_t unflatten(void const* buffer, size_t) { function in class:android::LightFlattenablePod
H A DBlobCache.h92 // loaded into a BlobCache object using the unflatten method. The contents
101 // unflatten replaces the contents of the cache with the serialized cache
109 virtual status_t unflatten(void const* buffer, size_t size, int fds[],
/frameworks/native/include/gui/
H A DSensor.h75 status_t unflatten(void const* buffer, size_t size);
H A DISurfaceTexture.h111 virtual status_t unflatten(void const* buffer, size_t size,
/frameworks/native/include/ui/
H A DFence.h93 status_t unflatten(void const* buffer, size_t size,
H A DGraphicBuffer.h143 status_t unflatten(void const* buffer, size_t size,
H A DRegion.h135 status_t unflatten(void const* buffer, size_t size);
/frameworks/av/include/camera/
H A DCameraParameters.h44 CameraParameters(const String8 &params) { unflatten(params); }
48 void unflatten(const String8 &params);
/frameworks/native/libs/ui/
H A DFence.cpp107 status_t Fence::unflatten(void const* buffer, size_t size, int fds[], function in class:android::Fence
113 // Don't unflatten if we already have a valid fd.
H A DGraphicBuffer.cpp221 status_t GraphicBuffer::unflatten(void const* buffer, size_t size, function in class:android::GraphicBuffer
263 ALOGE("unflatten: registerBuffer failed: %s (%d)",
H A DRegion.cpp597 status_t Region::unflatten(void const* buffer, size_t size) { function in class:android::Region
612 validate(result, "Region::unflatten");
615 if (!result.validate(result, "Region::unflatten", true)) {
616 ALOGE("Region::unflatten() failed, invalid region");
/frameworks/native/libs/utils/tests/
H A DBlobCache_test.cpp277 ASSERT_EQ(OK, mBC2->unflatten(flat, size, NULL, 0));
360 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size, NULL, 0));
363 // The error should cause the unflatten to result in an empty cache
378 ASSERT_EQ(OK, mBC2->unflatten(flat, size, NULL, 0));
381 // The version mismatch should cause the unflatten to result in an empty
397 ASSERT_EQ(OK, mBC2->unflatten(flat, size, NULL, 0));
400 // The version mismatch should cause the unflatten to result in an empty
414 ASSERT_EQ(BAD_VALUE, mBC2->unflatten(flat, size-1, NULL, 0));
417 // The error should cause the unflatten to result in an empty cache
/frameworks/native/libs/gui/
H A DISurfaceTexture.cpp332 status_t ISurfaceTexture::QueueBufferInput::unflatten(void const* buffer, function in class:android::ISurfaceTexture::QueueBufferInput
345 err = fence->unflatten(p, size - (p - (const char*)buffer), fds, count);
H A DSensor.cpp164 status_t Sensor::unflatten(void const* buffer, size_t size) function in class:android::Sensor
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp180 region->unflatten(p->readInplace(size));
/frameworks/native/include/binder/
H A DParcel.h312 val.unflatten(buffer, size);
/frameworks/native/libs/utils/
H A DBlobCache.cpp231 status_t BlobCache::unflatten(void const* buffer, size_t size, int fds[], function in class:android::BlobCache
237 ALOGE("unflatten: nonzero fd count: %zu", count);
243 ALOGE("unflatten: not enough room for cache header");
248 ALOGE("unflatten: bad magic number: %d", header->mMagicNumber);
264 ALOGE("unflatten: not enough room for cache entry headers");
276 ALOGE("unflatten: not enough room for cache entry headers");
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp340 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL,
/frameworks/av/camera/
H A DCameraParameters.cpp199 void CameraParameters::unflatten(const String8 &params) function in class:android::CameraParameters
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h401 parms.unflatten(str_parms);
/frameworks/base/core/java/android/hardware/
H A DCamera.java1503 p.unflatten(s);
2014 * <p>The {@link #unflatten(String)} method does the reverse.</p>
2040 public void unflatten(String flattened) { method in class:Camera.Parameters
/frameworks/native/libs/binder/
H A DParcel.cpp216 ALOGE("Unable to unflatten Binder weak reference!");
1156 err = val.unflatten(buf, len, fds, fd_count);

Completed in 255 milliseconds