diff options
| author | 2021-04-06 00:06:37 +0000 | |
|---|---|---|
| committer | 2021-04-06 00:06:37 +0000 | |
| commit | 361abe2a5dcb8f66ea5cb83668d35c5494b0d684 (patch) | |
| tree | a967854bab461f6aafda67f305de4c8e6b2b3a0d /libs | |
| parent | f549505e4668c74fc14388e19175c9b891729d1b (diff) | |
| parent | 8f3d2fa64dfc3f0514a1ae5b4db9cfd5deeb58a1 (diff) | |
Merge "libbinder_ndk: fix documentation errors" am: 7ed740c129 am: cddf80e843 am: 8f3d2fa64d
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1664340
Change-Id: I856e79621648b4f935d90533b121858cf575aa4c
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/binder/ndk/include_ndk/android/binder_ibinder.h | 11 | ||||
| -rw-r--r-- | libs/binder/ndk/include_ndk/android/binder_status.h | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/libs/binder/ndk/include_ndk/android/binder_ibinder.h b/libs/binder/ndk/include_ndk/android/binder_ibinder.h index 8941e4996c..b9adc9a025 100644 --- a/libs/binder/ndk/include_ndk/android/binder_ibinder.h +++ b/libs/binder/ndk/include_ndk/android/binder_ibinder.h @@ -36,6 +36,9 @@ __BEGIN_DECLS +/** + * Flags for AIBinder_transact. + */ typedef uint32_t binder_flags_t; enum { /** @@ -47,7 +50,10 @@ enum { FLAG_ONEWAY = 0x01, }; -// Also see IBinder.h in libbinder +/** + * Codes for AIBinder_transact. This defines the range of codes available for + * usage. Other codes are used or reserved by the Android system. + */ typedef uint32_t transaction_code_t; enum { /** @@ -202,7 +208,8 @@ typedef binder_status_t (*AIBinder_onDump)(AIBinder* binder, int fd, const char* * * Available since API level 29. * - * \param dump function to call when an instance of this binder class is being dumped. + * \param clazz class which should use this dump function + * \param onDump function to call when an instance of this binder class is being dumped. */ void AIBinder_Class_setOnDump(AIBinder_Class* clazz, AIBinder_onDump onDump) __INTRODUCED_IN(29); diff --git a/libs/binder/ndk/include_ndk/android/binder_status.h b/libs/binder/ndk/include_ndk/android/binder_status.h index b4dc08a49b..6f1fdfcd20 100644 --- a/libs/binder/ndk/include_ndk/android/binder_status.h +++ b/libs/binder/ndk/include_ndk/android/binder_status.h @@ -189,7 +189,7 @@ __attribute__((warn_unused_result)) AStatus* AStatus_fromServiceSpecificErrorWit * * Available since API level 29. * - * \param a low-level error to associate with this status object. + * \param status a low-level error to associate with this status object. * * \return a newly constructed status object that the caller owns. */ |