Home
last modified time | relevance | path

Searched refs:hidlCb (Results 1 – 3 of 3) sorted by relevance

/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc40 createDescriptor_cb hidlCb) { in createDescriptor() argument
45 hidlCb(Error::BAD_VALUE, descriptor); in createDescriptor()
51 hidlCb(Error::BAD_VALUE, descriptor); in createDescriptor()
57 hidlCb(Error::BAD_VALUE, descriptor); in createDescriptor()
64 hidlCb(Error::BAD_VALUE, descriptor); in createDescriptor()
68 hidlCb(Error::NONE, descriptor); in createDescriptor()
72 Return<void> CrosGralloc4Mapper::importBuffer(const hidl_handle& handle, importBuffer_cb hidlCb) { in importBuffer() argument
75 hidlCb(Error::NO_RESOURCES, nullptr); in importBuffer()
82 hidlCb(Error::BAD_BUFFER, nullptr); in importBuffer()
89 hidlCb(Error::NO_RESOURCES, nullptr); in importBuffer()
[all …]
DCrosGralloc4Mapper.h17 createDescriptor_cb hidlCb) override;
20 importBuffer_cb hidlCb) override;
29 getTransportSize_cb hidlCb) override;
34 lock_cb hidlCb) override;
36 android::hardware::Return<void> unlock(void* rawHandle, unlock_cb hidlCb) override;
39 flushLockedBuffer_cb hidlCb) override;
45 isSupported_cb hidlCb) override;
48 get_cb hidlCb) override;
56 getFromBufferDescriptorInfo_cb hidlCb) override;
59 listSupportedMetadataTypes_cb hidlCb) override;
[all …]
DCrosGralloc4Allocator.cc82 allocate_cb hidlCb) { in allocate() argument
87 hidlCb(Error::NO_RESOURCES, 0, handles); in allocate()
96 hidlCb(Error::BAD_DESCRIPTOR, 0, handles); in allocate()
110 hidlCb(err, 0, handles); in allocate()
115 hidlCb(Error::NONE, stride, handles); in allocate()