platform_packages_modules_C.../remoteauth/README.md
Salil Rajadhyaksha 67b9284de0 Initial commit for connectivity.
Bug: 290265761
Bug: 291146480
Bug: 290275468
Test: None
Change-Id: Iaba64415cf81454b6e999f10bad54810884fc3da
2023-08-21 18:49:51 +00:00

982 B

RemoteAuth Mainline Module

This directory contains code for the RemoteAuth module.

Directory Structure

framework

  • Contains client side APIs and AIDL files.

jni

  • JNI wrapper for invoking Android APIs from native code.

native

  • Native code implementation for RemoteAuth module services.

service

  • Server side implementation for RemoteAuth module services.

tests

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

IDE setup

AIDEGen

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

Build and Install

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