android_packages_modules_Co.../remoteauth
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
..
framework RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
service RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
tests/unit RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
OWNERS RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
README.md RemoteAuth Boilerplate 2023-07-31 21:41:26 +00:00
TEST_MAPPING RemoteAuth Boilerplate 2023-07-31 21:41:26 +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

AIDEGen is deprecated, prefer ASfP go/asfp

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

ASfP

See full instructions for ASfP at go/asfp-getting-started

Build and Install

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