Home
last modified time | relevance | path

Searched refs:AidlAllocator (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gchips/gralloc4/src/aidl/
DGrallocAllocator2.h15 namespace AidlAllocator = aidl::android::hardware::graphics::allocator; variable
17 class GrallocAllocator : public AidlAllocator::BnAllocator {
24 AidlAllocator::AllocationResult* result) override;
26 virtual ndk::ScopedAStatus allocate2(const AidlAllocator::BufferDescriptorInfo& descriptor,
28 AidlAllocator::AllocationResult* result) override;
30 virtual ndk::ScopedAStatus isSupported(const AidlAllocator::BufferDescriptorInfo& descriptor,
DGrallocAllocator2.cpp13 namespace AidlAllocator = aidl::android::hardware::graphics::allocator;
32 AidlAllocator::AllocationResult* result) { in allocate()
39 static_cast<int32_t>(AidlAllocator::AllocationError::BAD_DESCRIPTOR)); in allocate()
71 static_cast<int32_t>(AidlAllocator::AllocationError::BAD_DESCRIPTOR)); in allocate()
75 static_cast<int32_t>(AidlAllocator::AllocationError::NO_RESOURCES)); in allocate()
79 static_cast<int32_t>(AidlAllocator::AllocationError::UNSUPPORTED)); in allocate()
89 const AidlAllocator::BufferDescriptorInfo& descriptor) { in toInternalDescriptor()
106 const AidlAllocator::BufferDescriptorInfo& descriptor, int32_t count, in allocate2()
107 AidlAllocator::AllocationResult* result) { in allocate2()
138 static_cast<int32_t>(AidlAllocator::AllocationError::BAD_DESCRIPTOR)); in allocate2()
[all …]
DGrallocAllocator.cpp15 namespace AidlAllocator = aidl::android::hardware::graphics::allocator;
35 AidlAllocator::AllocationResult* result) { in allocate()
42 static_cast<int32_t>(AidlAllocator::AllocationError::BAD_DESCRIPTOR)); in allocate()
74 static_cast<int32_t>(AidlAllocator::AllocationError::BAD_DESCRIPTOR)); in allocate()
78 static_cast<int32_t>(AidlAllocator::AllocationError::NO_RESOURCES)); in allocate()
82 static_cast<int32_t>(AidlAllocator::AllocationError::UNSUPPORTED)); in allocate()
DGrallocAllocator.h13 namespace AidlAllocator = aidl::android::hardware::graphics::allocator; variable
15 class GrallocAllocator : public AidlAllocator::BnAllocator {
22 AidlAllocator::AllocationResult* result) override;