Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.

Class Index

These are the API classes. See all API packages.

C

CommandUtil Collection of utilities to help run commands on device via adb

F

FridaUtils AutoCloseable that downloads and push frida and scripts to device and cleans up when done

H

M

MallocDebug Utilities to setup malloc debug options on a process, check for malloc debug errors, and cleaning up afterwards.

N

NativePoc Setup and run a native PoC, asserting exit conditions
NativePoc.AfterFunction Lambda construct to run after PoC finished executing but before assertion and cleanup.
NativePocAsserter Interface for an asserter to use with NativePoc.asserter() .
NonRootSecurityTestCase Class of tests that runs on devices that don't have and should not have adb root.

O

OverlayFsUtils TestWatcher that enables writing to read-only partitions and reboots device when done.

P

PocPusher Utilities to help push a native PoC executable to the device
ProcessUtil Various helpers to find, wait, and kill processes on the device

R

RegexUtils Contains wrappers around JUnit assertions with regex matching in strings
RootcanalUtils TestWatcher that sets up a virtual bluetooth HAL and reboots the device once done.
RootcanalUtils.HciDevice Class that encapsulates a virtual HCI device that can be controlled by HCI commands.
RootSecurityTestCase Class of tests that need root on device to run.

S

SecurityTestCase Base test class for all STS tests.
StsExtraBusinessLogicHostTestBase The host-side implementation of StsLogic.
SystemUtil Various system-related helper functions

T

TombstoneParser Parses tombstones and from a tombstone file or logcat.
TombstoneUtils Contains helper functions and shared constants for crash parsing.
TombstoneUtils.Config.BacktraceFilterPattern A utility class that contains patterns to filter backtraces on.

U

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022年11月18日 UTC.