From 1d59325c3828f990a26b5b4c7bbbac438e519b24 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sun, 18 Feb 2018 16:45:22 +0200 Subject: Implement more libandroid --- src/libandroid.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 { @@ -383,6 +389,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) { -- cgit v1.2.3-70-g09d2