android_packages_modules_Co.../remoteauth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Krzysztof Kosiński 18c65ba7ca Merge "Clean up obsolete aliases for Truth." into main am: 22d08770af am: 0cf04025c8
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2776858

Change-Id: Ie859db27741c210d64506714136f8dc79ead8246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-10 00:16:25 +00:00
..
framework Removing SystemApi added in aosp/2685327 2023-08-30 21:17:28 +00:00
service Merge "Park RemoteAuth Manager and Service" into main am: f0afc53836 am: 2d8debe62c 2023-09-26 19:20:31 +00:00
tests/unit Merge "Clean up obsolete aliases for Truth." into main am: 22d08770af am: 0cf04025c8 2023-10-10 00:16:25 +00:00
OWNERS RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
README.md Initial commit for connectivity. 2023-08-21 18:49:51 +00:00
TEST_MAPPING Add RemoteAuthService 2023-08-24 17:50:11 +00:00

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