compat: Provide shim with IPermissionController stubs

* All the IPermissionController related functions are guarded by
  `if !defined(__ANDROID_VNDK__)` [1], meaning they're not fully
  accessible to vendors.

* Since we know these are mainly used to check whether an app or
  process has a required permission, simply provide an stub that
  returns true no matter what the permission / caller are.

- [1]: https://github.com/LineageOS/android_frameworks_native/blob/lineage-20.0/libs/binder/IServiceManager.cpp#L170

Change-Id: I898bf8eb577faecb8bc0f007498b835816dddb93
3 files changed
tree: b710e170e4750a137aa5b151e25970699c9bea1d
  1. interfaces/
  2. libbase/
  3. libbinder/
  4. libcamera_metadata/
  5. libcutils/
  6. libgui/
  7. libmemset/
  8. libpiex/
  9. libtinyxml2/
  10. libui/
  11. Android.bp