Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f3d2fa6 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder_ndk: fix documentation errors" am: 7ed740c1 am: cddf80e8

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

Change-Id: Ie21a44556bdfffdeefa8f2ccf4827192689a99f6
parents 2c16c9a0 cddf80e8
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -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);

+1 −1
Original line number Diff line number Diff line
@@ -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.
 */