summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-02-18 16:45:22 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-02-18 16:45:22 +0200
commit1d59325c3828f990a26b5b4c7bbbac438e519b24 (patch)
tree1f41430bd7dd750a0ffbb21187187dc2a98889a4
parentb1090c6c7ec455e2104dd4205ee48139009a0927 (diff)
Implement more libandroid
-rw-r--r--src/libandroid.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libandroid.c b/src/libandroid.c
index fb58bd7..68774b6 100644
--- a/src/libandroid.c
+++ b/src/libandroid.c
@@ -70,6 +70,12 @@ ALooper_pollAll(int timeoutMillis, int *outFd, int *outEvents, void **outData)
return 0;
}
+int
+ALooper_pollOnce(int timeoutMillis, int *outFd, int *outEvents, void **outData)
+{
+ return 0;
+}
+
// ASensor
struct ASensor {
@@ -384,6 +390,12 @@ AInputQueue_detachLooper(struct AInputQueue *queue)
}
int32_t
+AInputQueue_hasEvents(struct AInputQueue *queue)
+{
+ return 0;
+}
+
+int32_t
AInputQueue_getEvent(struct AInputQueue *queue, struct AInputEvent **outEvent)
{
return 0;