android_packages_modules_Co.../remoteauth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Igor Zaslavsky 79bb3ca10f Implement Discovery PLATFORM logic in Rust
This commit introduces NativeRemoteAuthService used by ReamoteAuth as an
interface toward Rust platform and protocol implementation

Design doc: go/remote-auth-manager-fishfood-design

Test: built successfully.
Bug: : 291333048
Change-Id: If2fcfee1c637d17bbc417a26ea39dc97062e6bc3
2023-08-30 19:11:29 +00:00
..
framework Add RemoteAuthService 2023-08-24 17:50:11 +00:00
service Implement Discovery PLATFORM logic in Rust 2023-08-30 19:11:29 +00:00
tests/unit [remoteauth] Add RangingManager interfaces 2023-08-25 12:42:30 -07: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