android_packages_modules_Co.../nearby
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Casey Borders 13a35ea213 RemoteAuth Boilerplate
Stub out code and test directories

BUG: 290094832
Test: atest FrameworksNetTests RemoteAuthUnitTests
Change-Id: I850242640f32bea3d46febcde5f3719619b1ea07
2023-07-31 21:41:26 +00:00
..
apex Move nearby apex to tethering 2022-01-26 18:08:14 +09:00
framework Add androidx.annotation_annotation library 2023-03-24 05:40:37 +00:00
halfsheet Import translations. DO NOT MERGE ANYWHERE 2023-04-22 00:42:51 -07:00
service RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
tests Merge "Update the instructions for configuring Fast Pair provider simulator." 2023-04-25 09:05:35 +00:00
.gitignore Add upload check hook and propose code structure. 2021-06-01 16:14:28 -07:00
OWNERS Add more owners for Nearby code. 2022-07-20 19:30:36 -07:00
PREUPLOAD.cfg Add upload check hook and propose code structure. 2021-06-01 16:14:28 -07:00
README.md Create a Mobly snippet for Nearby Mainline Fast Pair multidevice tests. 2022-02-18 19:16:44 +00:00
TEST_MAPPING Move UI tests used in snippet to part of integration tests. 2022-05-09 11:17:49 +00:00

Nearby Mainline Module

This directory contains code for the AOSP Nearby mainline module.

##Directory Structure

apex

  • Files associated with the Nearby mainline module APEX.

framework

  • Contains client side APIs and AIDL files.

jni

  • JNI wrapper for invoking Android APIs from native code.

native

  • Native code implementation for nearby module services.

service

  • Server side implementation for nearby module services.

tests

  • Unit/Multi devices tests for Nearby module (both Java and native code).

IDE setup

$ source build/envsetup.sh && lunch <TARGET>
$ cd packages/modules/Nearby
$ aidegen .
# This will launch Intellij project for Nearby module.

Build and Install

$ source build/envsetup.sh && lunch <TARGET>
$ m com.google.android.tethering.next deapexer
$ $ANDROID_BUILD_TOP/out/host/linux-x86/bin/deapexer decompress --input \
    ${ANDROID_PRODUCT_OUT}/system/apex/com.google.android.tethering.next.capex \
    --output /tmp/tethering.apex
$ adb install -r /tmp/tethering.apex