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

/frameworks/native/include/utils/
H A DFlattenable.h48 // don't need to be dupped(). ie: the caller of unflatten doesn't
49 // keep ownership. If a fd is not retained by unflatten() it must be
51 virtual status_t unflatten(void const* buffer, size_t size,
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.h76 virtual 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/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/include/ui/
H A DGraphicBuffer.h143 status_t unflatten(void const* buffer, size_t size,
/frameworks/native/libs/gui/
H A DSensor.cpp174 status_t Sensor::unflatten(void const* buffer, size_t size, function in class:android::Sensor
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp221 status_t GraphicBuffer::unflatten(void const* buffer, size_t size, function in class:android::GraphicBuffer
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp180 region->unflatten(p->readInplace(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.cpp335 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL,
/frameworks/av/camera/
H A DCameraParameters.cpp197 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.java1423 p.unflatten(s);
1926 * <p>The {@link #unflatten(String)} method does the reverse.</p>
1952 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!");
1155 err = val.unflatten(buf, len, fds, fd_count);

Completed in 1042 milliseconds