summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-04-16 16:53:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-04-16 16:53:02 +0000
commitfe46e48ea9298ef381cf6bf4f63c4919239b7940 (patch)
treefb1939de609414b95b19c1ab47252f421cf8b2ca
parentcde99346f49924a2c4444fcf4f15c9d38eddce5b (diff)
parenta97c5233472979d9dc5c33f19550142be4b647fa (diff)
Merge "libbinder_ndk: clarify descriptor encoding"
-rw-r--r--libs/binder/ndk/include_ndk/android/binder_ibinder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/binder/ndk/include_ndk/android/binder_ibinder.h b/libs/binder/ndk/include_ndk/android/binder_ibinder.h
index 787a24589f..9e2050b411 100644
--- a/libs/binder/ndk/include_ndk/android/binder_ibinder.h
+++ b/libs/binder/ndk/include_ndk/android/binder_ibinder.h
@@ -173,7 +173,7 @@ typedef binder_status_t (*AIBinder_Class_onTransact)(AIBinder* binder, transacti
* Available since API level 29.
*
* \param interfaceDescriptor this is a unique identifier for the class. This is used internally for
- * sanity checks on transactions.
+ * validity checks on transactions. This should be utf-8.
* \param onCreate see AIBinder_Class_onCreate.
* \param onDestroy see AIBinder_Class_onDestroy.
* \param onTransact see AIBinder_Class_onTransact.
@@ -645,7 +645,9 @@ binder_status_t AIBinder_setExtension(AIBinder* binder, AIBinder* ext) __INTRODU
*
* \return the class descriptor string. This pointer will never be null; a
* descriptor is required to define a class. The pointer is owned by the class
- * and will remain valid as long as the class does.
+ * and will remain valid as long as the class does. For a local class, this will
+ * be the same value (not necessarily pointer equal) as is passed into
+ * AIBinder_Class_define. Format is utf-8.
*/
const char* AIBinder_Class_getDescriptor(const AIBinder_Class* clazz) __INTRODUCED_IN(31);