A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Índice de classe
Estas são as classes da API. Veja todos os pacotes de API .
C
CommandUtil | Coleção de utilitários para ajudar a executar comandos no dispositivo via adb |
F
FridaUtils | AutoCloseable que baixa e envia frida e scripts para o dispositivo e limpa quando terminar |
H
M
MallocDebug | Utilitários para configurar opções de depuração do malloc em um processo, verificar se há erros de depuração do malloc e limpar posteriormente. |
N
Ó
SobreposiçãoFsUtils | TestWatcher que permite gravar em partições somente leitura e reinicializar o dispositivo quando terminar. |
P
R
S
T
você
,
Índice de classe
Estas são as classes da API. Veja todos os pacotes de API .
C
CommandUtil | Coleção de utilitários para ajudar a executar comandos no dispositivo via adb |
F
FridaUtils | AutoCloseable que baixa e envia frida e scripts para o dispositivo e limpa quando terminar |
H
M
MallocDebug | Utilitários para configurar opções de depuração do malloc em um processo, verificar se há erros de depuração do malloc e limpar posteriormente. |
N
Ó
SobreposiçãoFsUtils | TestWatcher que permite gravar em partições somente leitura e reinicializar o dispositivo quando terminar. |
P
R
S
T
você
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2023-12-01 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2023-12-01 UTC."],[],[],null,["# Class Index\n===========\n\nThese are the API classes. See all\n[API packages](/reference/sts/packages).\n\nC\n---\n\n|----------------------------------------------------------------------------|----------------------------------------------------------------|\n| [CommandUtil](../../reference/sts/com/android/sts/common/CommandUtil.html) | Collection of utilities to help run commands on device via adb |\n\nF\n---\n\n|--------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [FridaUtils](../../reference/sts/com/android/sts/common/FridaUtils.html) | AutoCloseable that downloads and push frida and scripts to device and cleans up when done |\n\nH\n---\n\n|------------------------------------------------------------------------------------------------------------------|---|\n| [HostsideMainlineModuleDetector](../../reference/sts/com/android/sts/common/HostsideMainlineModuleDetector.html) | |\n\nM\n---\n\n|----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [MallocDebug](../../reference/sts/com/android/sts/common/MallocDebug.html) | Utilities to setup malloc debug options on a process, check for malloc debug errors, and cleaning up afterwards. |\n\nN\n---\n\n|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [NativePoc](../../reference/sts/com/android/sts/common/NativePoc.html) | Setup and run a native PoC, asserting exit conditions |\n| [NativePoc.AfterFunction](../../reference/sts/com/android/sts/common/NativePoc.AfterFunction.html) | Lambda construct to run after PoC finished executing but before assertion and cleanup. |\n| [NativePoc.Builder](../../reference/sts/com/android/sts/common/NativePoc.Builder.html) | |\n| [NativePocAsserter](../../reference/sts/com/android/sts/common/NativePocAsserter.html) | Interface for an asserter to use with [NativePoc.asserter()](../../reference/sts/com/android/sts/common/NativePoc.html#asserter()). |\n| [NativePocCrashAsserter](../../reference/sts/com/android/sts/common/NativePocCrashAsserter.html) | |\n| [NativePocMallocDebugAsserter](../../reference/sts/com/android/sts/common/NativePocMallocDebugAsserter.html) | |\n| [NativePocStatusAsserter](../../reference/sts/com/android/sts/common/NativePocStatusAsserter.html) | |\n| [NonRootSecurityTestCase](../../reference/sts/com/android/sts/common/tradefed/testtype/NonRootSecurityTestCase.html) | Class of tests that runs on devices that don't have and should not have adb root. |\n\nO\n---\n\n|----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| [OverlayFsUtils](../../reference/sts/com/android/sts/common/OverlayFsUtils.html) | TestWatcher that enables writing to read-only partitions and reboots device when done. |\n\nP\n---\n\n|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|\n| [PocPusher](../../reference/sts/com/android/sts/common/PocPusher.html) | Utilities to help push a native PoC executable to the device |\n| [ProcessUtil](../../reference/sts/com/android/sts/common/ProcessUtil.html) | Various helpers to find, wait, and kill processes on the device |\n| [ProcessUtil.KillException](../../reference/sts/com/android/sts/common/ProcessUtil.KillException.html) | |\n| [ProcessUtil.KillException.Reason](../../reference/sts/com/android/sts/common/ProcessUtil.KillException.Reason.html) | |\n\nR\n---\n\n|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [RegexUtils](../../reference/sts/com/android/sts/common/RegexUtils.html) | Contains wrappers around JUnit assertions with regex matching in strings |\n| [RootcanalUtils](../../reference/sts/com/android/sts/common/RootcanalUtils.html) | TestWatcher that sets up a virtual bluetooth HAL and reboots the device once done. |\n| [RootcanalUtils.HciDevice](../../reference/sts/com/android/sts/common/RootcanalUtils.HciDevice.html) | Class that encapsulates a virtual HCI device that can be controlled by HCI commands. |\n| [RootcanalUtils.RootcanalController](../../reference/sts/com/android/sts/common/RootcanalUtils.RootcanalController.html) | |\n| [RootSecurityTestCase](../../reference/sts/com/android/sts/common/tradefed/testtype/RootSecurityTestCase.html) | Class of tests that need root on device to run. |\n\nS\n---\n\n|------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| [SecurityTestCase](../../reference/sts/com/android/sts/common/tradefed/testtype/SecurityTestCase.html) | Base test class for all STS tests. |\n| [StsExtraBusinessLogicHostTestBase](../../reference/sts/com/android/sts/common/tradefed/testtype/StsExtraBusinessLogicHostTestBase.html) | The host-side implementation of StsLogic. |\n| [SystemUtil](../../reference/sts/com/android/sts/common/SystemUtil.html) | Various system-related helper functions |\n\nT\n---\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| [TombstoneParser](../../reference/sts/com/android/sts/common/util/TombstoneParser.html) | Parses tombstones and from a tombstone file or logcat. |\n| [TombstoneUtils](../../reference/sts/com/android/sts/common/util/TombstoneUtils.html) | Contains helper functions and shared constants for crash parsing. |\n| [TombstoneUtils.Config](../../reference/sts/com/android/sts/common/util/TombstoneUtils.Config.html) | |\n| [TombstoneUtils.Config.BacktraceFilterPattern](../../reference/sts/com/android/sts/common/util/TombstoneUtils.Config.BacktraceFilterPattern.html) | A utility class that contains patterns to filter backtraces on. |\n| [TombstoneUtils.Signals](../../reference/sts/com/android/sts/common/util/TombstoneUtils.Signals.html) | |\n\nU\n---\n\n|-------------------------------------------------------------------------------------------|---|\n| [UnameVersionHost](../../reference/sts/com/android/sts/common/util/UnameVersionHost.html) | |"]]