summaryrefslogtreecommitdiff
path: root/libs/binder/ndk/include_platform/android/binder_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/ndk/include_platform/android/binder_process.h')
-rw-r--r--libs/binder/ndk/include_platform/android/binder_process.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/libs/binder/ndk/include_platform/android/binder_process.h b/libs/binder/ndk/include_platform/android/binder_process.h
index f408fadee0..fdefbb4b8a 100644
--- a/libs/binder/ndk/include_platform/android/binder_process.h
+++ b/libs/binder/ndk/include_platform/android/binder_process.h
@@ -19,15 +19,10 @@
#include <stdint.h>
#include <sys/cdefs.h>
-#include <android/binder_status.h>
-
__BEGIN_DECLS
/**
* This creates a threadpool for incoming binder transactions if it has not already been created.
- *
- * When using this, it is expected that ABinderProcess_setupPolling and
- * ABinderProcess_handlePolledCommands are not used.
*/
void ABinderProcess_startThreadPool();
/**
@@ -42,27 +37,4 @@ bool ABinderProcess_setThreadPoolMaxThreadCount(uint32_t numThreads);
*/
void ABinderProcess_joinThreadPool();
-/**
- * This gives you an fd to wait on. Whenever data is available on the fd,
- * ABinderProcess_handlePolledCommands can be called to handle binder queries.
- * This is expected to be used in a single threaded process which waits on
- * events from multiple different fds.
- *
- * When using this, it is expected ABinderProcess_startThreadPool and
- * ABinderProcess_joinThreadPool are not used.
- *
- * \param fd out param corresponding to the binder domain opened in this
- * process.
- * \return STATUS_OK on success
- */
-__attribute__((weak)) binder_status_t ABinderProcess_setupPolling(int* fd) __INTRODUCED_IN(31);
-
-/**
- * This will handle all queued binder commands in this process and then return.
- * It is expected to be called whenever there is data on the fd.
- *
- * \return STATUS_OK on success
- */
-__attribute__((weak)) binder_status_t ABinderProcess_handlePolledCommands() __INTRODUCED_IN(31);
-
__END_DECLS