Merge "Add methods to get properties of Buffer." into main am: 29d0e6dd36 am: b739439f65

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3285578

Change-Id: Icb44fe7258a5db13f4ec52687ab96bcef45b3815
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>