OSDN Git Service

Replace JNI code with Java HIDL at ContextHubService
authorArthur Ishiguro <arthuri@google.com>
Wed, 1 Nov 2017 17:52:28 +0000 (10:52 -0700)
committerArthur Ishiguro <arthuri@google.com>
Mon, 20 Nov 2017 16:59:58 +0000 (08:59 -0800)
commit7a23a96871bc9f258117d2b720c475d605ad249e
treea8d0962200c0471d0e12f0a3de0f74f437393cb1
parent28306600e6769ce708897d2a2c6b852228e2a9de
Replace JNI code with Java HIDL at ContextHubService

This CL does the following:
- Use Java HIDL to communicate with the Context Hub
- Reimplement required JNI functionality in Java

Bug: 67734082
Test: Flash device and run CHQTS, verify pass on walleye-userdebug
Change-Id: I8b7563d04e9e3a22295b81af283fd3168e179957
services/core/Android.mk
services/core/java/com/android/server/location/ContextHubService.java
services/core/java/com/android/server/location/ContextHubServiceTransaction.java [new file with mode: 0644]
services/core/java/com/android/server/location/ContextHubServiceUtil.java [new file with mode: 0644]
services/core/java/com/android/server/location/ContextHubTransactionManager.java [new file with mode: 0644]
services/core/jni/Android.mk
services/core/jni/com_android_server_location_ContextHubService.cpp [deleted file]
services/core/jni/onload.cpp