android_packages_modules_Co.../nearby
Paul Duffin 5118a52424 Remove system_server_current related work arounds
(cherry picked from db3ad82810)

Previously, a library that set sdk_version: "system_server_current"
could only access system-server or public APIs from other libraries.
After change r.android.com/2238635 they will be able to access the
following (in order):
* system-server
* module-lib
* system
* public

Bug: 204176972
Test: m com.android.tethering
      # Without change r.android.com/2238635 the affected libraries
      # fail to compile due to missing symbols that are not in the
      # public API. With that change it compiles correctly.
Change-Id: Id6aad00aed0af6b724afec663a7be287058e625e
Merged-In: Id6aad00aed0af6b724afec663a7be287058e625e
2022-10-14 12:23:45 +01:00
..
apex
framework Fix NearbyDeviceParcelable read and write bug 2022-05-14 02:15:52 +00:00
halfsheet Import translations. DO NOT MERGE ANYWHERE 2022-09-23 12:09:08 -07:00
service Remove system_server_current related work arounds 2022-10-14 12:23:45 +01:00
tests [CTS] Fix CTS failure in mainline train 2/2 am: b0b4fa9c10 2022-09-22 16:59:35 +00:00
.gitignore
OWNERS Add more owners for Nearby code. 2022-07-20 19:30:36 -07:00
PREUPLOAD.cfg
README.md
TEST_MAPPING

README.md

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