Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
apex/ | 03-May-2024 | - | 29 | 25 | ||
framework/ | 03-May-2024 | - | 7,316 | 3,613 | ||
halfsheet/ | 03-May-2024 | - | 4,599 | 2,617 | ||
service/ | 03-May-2024 | - | 27,627 | 17,390 | ||
tests/ | 03-May-2024 | - | 33,498 | 23,326 | ||
.gitignore | D | 03-May-2024 | 90 | 8 | 7 | |
OWNERS | D | 03-May-2024 | 73 | 5 | 4 | |
PREUPLOAD.cfg | D | 03-May-2024 | 297 | 10 | 8 | |
README.md | D | 03-May-2024 | 1 KiB | 43 | 31 | |
TEST_MAPPING | D | 03-May-2024 | 484 | 28 | 27 |
README.md
1# Nearby Mainline Module 2This directory contains code for the AOSP Nearby mainline module. 3 4##Directory Structure 5 6`apex` 7 - Files associated with the Nearby mainline module APEX. 8 9`framework` 10 - Contains client side APIs and AIDL files. 11 12`jni` 13 - JNI wrapper for invoking Android APIs from native code. 14 15`native` 16 - Native code implementation for nearby module services. 17 18`service` 19 - Server side implementation for nearby module services. 20 21`tests` 22 - Unit/Multi devices tests for Nearby module (both Java and native code). 23 24## IDE setup 25 26```sh 27$ source build/envsetup.sh && lunch <TARGET> 28$ cd packages/modules/Nearby 29$ aidegen . 30# This will launch Intellij project for Nearby module. 31``` 32 33## Build and Install 34 35```sh 36$ source build/envsetup.sh && lunch <TARGET> 37$ m com.google.android.tethering.next deapexer 38$ $ANDROID_BUILD_TOP/out/host/linux-x86/bin/deapexer decompress --input \ 39 ${ANDROID_PRODUCT_OUT}/system/apex/com.google.android.tethering.next.capex \ 40 --output /tmp/tethering.apex 41$ adb install -r /tmp/tethering.apex 42``` 43