Modify gralloc0 implementation

Add validateBufferSize and getTransportSize

Bug: 131089111
Test: build, boot
Change-Id: Ie5ce20010c8a00eebde239d149faa1fb0fc07195
diff --git a/include/Android/hardware/gralloc.h b/include/Android/hardware/gralloc.h
index 8446ba4..013e86a 100644
--- a/include/Android/hardware/gralloc.h
+++ b/include/Android/hardware/gralloc.h
@@ -42,5 +42,8 @@
     int (*unlockAsync)(gralloc_module_t const*, buffer_handle_t, int*);
     int (*lockAsync_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
                            android_ycbcr*, int);
-    void* reserved_proc[3];
+    int32_t (*getTransportSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t);
+    int32_t (*validateBufferSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t, int32_t, int, uint32_t);
+
+    void* reserved_proc[1];
 };