platform_packages_modules_C.../nearby
Xinyi Zhou fcd2b7ccb0 [nearby][clean up] Delete all Fast Pair AOSP and HalfSheetUX code
Test: -m
Fix: 292812342
Fix: 297413048
Fix: 214879640
Ignore-AOSP-First: merge conflicts, need to be merged in downstream first
Change-Id: I7efa92469f0c061a972a7dadf6a38686b78c61b4
Merged-In: I7efa92469f0c061a972a7dadf6a38686b78c61b4
2023-09-07 16:03:09 -07:00
..
apex
framework [nearby][clean up] Delete all Fast Pair AOSP and HalfSheetUX code 2023-09-07 16:03:09 -07:00
service [nearby][clean up] Delete all Fast Pair AOSP and HalfSheetUX code 2023-09-07 16:03:09 -07:00
tests [nearby][clean up] Delete all Fast Pair AOSP and HalfSheetUX code 2023-09-07 16:03:09 -07:00
.gitignore
OWNERS Add more owners for Nearby code. 2022-07-20 19:30:36 -07:00
PREUPLOAD.cfg
README.md Create a Mobly snippet for Nearby Mainline Fast Pair multidevice tests. 2022-02-18 19:16:44 +00:00
TEST_MAPPING [nearby] Move NearbyIntegrationUntrustedTests and NearbyIntegrationPrivilegedTests from presubmit to postsubmit 2023-09-01 19:30:18 +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