android_packages_modules_Co.../remoteauth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Adrian Roos 133f347e80 packages/modules/Connectivity: remove usages of Mockito.verifyZeroInteractions
The method has been replaced by verifyNo(More)Interactions
in later Mockito versions.

Test: m checkbuild
Flag: TEST_ONLY
Bug: 310268946
Change-Id: I57faa43a5f158bb131f64c19d93de99e04f257ca
2025-03-09 23:32:11 +01:00
..
framework Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
service Remove apex_available from libremoteauth_jni_rust_defaults 2025-02-10 16:25:24 +00:00
tests/unit packages/modules/Connectivity: remove usages of Mockito.verifyZeroInteractions 2025-03-09 23:32:11 +01:00
OWNERS Remove casbor@google.com from remoteauth/OWNERS 2024-09-11 17:54:57 +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