Lines Matching refs:gralloc
65 using gralloc::BufferManager;
124 out.resize(gralloc::kBufferDescriptorSizeV4 + sizeof(name_size) + name_size); in Encode()
127 uint32_t magic_version = gralloc::kMagicVersion; in Encode()
156 static gralloc::Error Decode(const hidl_vec<uint8_t> &in, in Decode()
157 gralloc::BufferDescriptor *buf_descriptor) { in Decode()
159 if (in.size() < gralloc::kBufferDescriptorSizeV4) { in Decode()
160 return gralloc::Error::BAD_DESCRIPTOR; in Decode()
173 if (in.size() != (gralloc::kBufferDescriptorSizeV4 + name_size + sizeof(name_size)) || in Decode()
174 magic_version != gralloc::kMagicVersion) { in Decode()
175 return gralloc::Error::BAD_DESCRIPTOR; in Decode()
213 return gralloc::Error::NONE; in Decode()