No description
Find a file
R0rt1z2 895a614971 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
2023-07-18 18:10:41 +00:00
interfaces compat: Add some HIDL interfaces types shims 2023-07-17 21:53:55 +02:00
libbase compat: Keep only one copy of clang-format style 2023-07-17 20:51:56 +02:00
libbinder compat: Provide shim with IPermissionController stubs 2023-07-18 18:10:41 +00:00
libcamera_metadata compat: Keep only one copy of clang-format style 2023-07-17 20:51:56 +02:00
libcutils libcutils_shim: jstring: Import strcpy8to16 definition 2022-09-21 13:10:09 -04:00
libgui compat: Keep only one copy of clang-format style 2023-07-17 20:51:56 +02:00
libmemset Provide shim for android_memset32 2022-09-21 16:26:12 +01:00
libpiex compat: libpiex_shim: Improve shim 2022-11-01 10:35:17 +00:00
libtinyxml2 compat: Add libtinyxml2 shim 2023-07-18 12:10:42 +02:00
libui compat: Keep only one copy of clang-format style 2023-07-17 20:51:56 +02:00
.clang-format compat: Keep only one copy of clang-format style 2023-07-17 20:51:56 +02:00
Android.bp compat: Provide shim with IPermissionController stubs 2023-07-18 18:10:41 +00:00