índice de classe

Estas são as classes de API. Veja todos os pacotes de API .

A

AaptParser Classe que extrai informações do apk analisando a saída de 'aapt dump badging'.
AaptParser.AaptVersion Enum de opções para a versão AAPT usada para analisar arquivos APK.
Abi Uma classe que representa uma ABI.
AbiFormatterGenericName Classe utilitária para abi.
AbiUtilsGenericName Classe de utilitário para lidar com ABIs de dispositivos
AbstractConnection Representação de conexão abstrata.
AbstractHostMonitor Classe típica para monitoramento de integridade do host.
ResumoXmlParser Classe base auxiliar para analisar arquivos xml
AbstractXmlParser.ParseException Lançado se a entrada XML não puder ser analisada
AcloudConfigParser Classe auxiliar que analisa uma configuração Acloud (usada para iniciar uma instância de dispositivo Cloud).
AcloudConfigParser.AcloudKeys Conjuntos de chaves que podem ser pesquisados ​​na configuração.
Ação em progresso A ação geral em andamento.
ActiveTrace Classe principal ajudando a descrever e gerenciar um rastreamento ativo.
ActivityStatusChecker Verificador de status para atividades restantes em execução no final de um módulo.
AdbRootElevator Um AutoCloseable que ativa adb root quando construído, se necessário, e restaura o estado root quando concluído.
AdbSshConnection Conexão adb através de uma ponte ssh.
AdbStopServerPreparer Preparador de destino para parar o servidor adb no host antes e depois de executar testes adb.
AdbTcpConnection Representação de conexão padrão de um dispositivo, considerada uma conexão adb padrão do dispositivo.
AdbUtils Uma classe utilitária para operações adb.
AfterClassWithInfo Garantias semelhantes a AfterClass , mas o método anotado deve exigir um parâmetro TestInformation .
AggregatePostProcessor Um agregador de métrica que fornece o mínimo, máximo, média, variância, desvio padrão, total, contagem e, opcionalmente, percentis para métricas numéricas coletadas durante execuções de teste de várias iterações, tratando-as como duplas.
AllTestAppsInstallSetup Um ITargetPreparer que instala todos os aplicativos de uma pasta IDeviceBuildInfo#getTestsDir() no dispositivo.
AltDirBehavior Uma enumeração para definir comportamentos alternativos de diretório para vários instaladores/enviadores de artefatos de teste

AndroidJUnitTest Um teste que executa um pacote de teste de instrumentação em determinado dispositivo usando o android.support.test.runner.AndroidJUnitRunner.
AoaTargetPreparer ITargetPreparer que executa uma série de ações (por exemplo, cliques e furtos) usando o protocolo Android Open Accessory (AOAv2).
AppBuildInfo Um IBuildInfo que representa um aplicativo Android e seus pacotes de teste.
AppDeviceBuildInfo Esta classe está obsoleta. Use IDeviceBuildInfo diretamente.
AppSetup Um ITargetPreparer que instala um apk e seus testes.
AppVersionFetcher Classe de utilitário para obter a string da versão do aplicativo do dispositivo.
AppVersionFetcher.AppVersionInfo Tipos de informações da versão do aplicativo.
ArchModuleController O controlador do módulo não executa testes quando não corresponde a nenhuma arquitetura fornecida.
ArgsOptionParser Preenche campos Option de argumentos de linha de comando analisados.
ArrayUtil Métodos utilitários para arrays
ArtChrootPreparerName Crie o diretório chroot para testes ART.
ArtGTest
ArtRunTest Um executor de testes para executar testes de execução de ART.
ArtRunTest.AdbShellCommandException Uma classe de exceção para relatar um erro que ocorreu durante a execução de um comando shell ADB.
ATestFileSystemLogSaver Essa classe LogSaver é usada pelo ATest para salvar logs em um caminho específico.
AtestRunner Implementação do ITestSuite
AtraceCollectorName Um IMetricCollector que executa um rastreamento durante um teste e coleta o resultado e os registra na invocação.
AtraceRunMetricCollectorName Coleta os rastreamentos de todo o diretório de teste no diretório fornecido do dispositivo de teste, registra o diretório de teste e pós-processa os arquivos de rastreamento no diretório de teste e agrega as métricas.
AutoLogCollector Enumeração descrevendo qual coletor pode ser tratado automaticamente pelo chicote.
Relatórios Automatizados Classe que define o mapeamento de repórteres automatizados Tradefed.
AveragePostProcessor Implementação de pós-processador que calcula a média da lista de métricas.

B

BackgroundDeviceAction Executa um comando em um determinado dispositivo repetindo conforme necessário até que a ação seja cancelada.
BaseDeviceMetricCollector Implementação base do IMetricCollector que permite iniciar e parar a coleta em onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) e ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) .
BaseEmulatorPreparer Preparador comum para iniciar um emulador local.
BaseHostJUnit4Test Classe de teste base para executar testes de estilo JUnit4 do host.
BaseLeveledLogOutput Uma implementação base para ILeveledLogOutput que permite filtrar algumas tags com base em seu nome ou componentes.
BaseModuleController Implementação básica do IModuleController que deve ser implementada para verificar se um módulo deve ser executado ou não.
BaseMultiTargetPreparer Implementação base de IMultiTargetPreparer que permite desabilitar o objeto.
BasePostProcessor O IPostProcessor base que toda implementação deve estender.
BaseRetryDecision Implementação básica de IRetryDecision .
BaseStreamLogger <SO estende OutputStream> Um ILeveledLogOutput que direciona mensagens de log para um fluxo de saída e para stdout.
BaseTargetPreparer Classe de implementação base para ITargetPreparer que permite controlar se o objeto está desabilitado ou não.
BaseTestSuite Um teste para executar o Compatibility Test Suite com o novo sistema de suíte.
Controlador de bateria Classe de utilitário que permite controlar o estado de carregamento da bateria de um dispositivo.
BatteryRechargeDeviceRecovery Permitir acionar um comando quando o nível da bateria do dispositivo estiver abaixo de um determinado limite.
Temperatura da bateria
BateriaIndisponívelDeviceRecovery Verificador de recuperação que acionará uma configuração se o nível da bateria não estiver disponível.
BeforeClassWithInfo Garantias semelhantes às de BeforeClass , mas o método anotado deve exigir um parâmetro TestInformation .
BinaryState Enum usado para registrar o estado ON/OFF com um estado IGNORE no-op.
BluetoothConnectionLatencyCollector O coletor enviará uma configuração de métrica de duração estatística predefinida aos dispositivos e coletará a duração da conexão Bluetooth para cada perfil.
BluetoothConnectionStateCollector Esse coletor coletará métricas BluetoothConnectionStateChanged e registrará o número do estado da conexão para cada perfil.
BluetoothConnectionSuccessRatePostProcessor Implementação de pós-processador que calcula taxa de sucesso para um perfil bluetooth

Use "metric-key-match" para especificar as métricas que contêm estados de conexão bluetooth no array numérico Exemplo [0, 1, 2, 3, 0, 1, 2, 3].

BluetoothHciSnoopLogCollector Coletor para habilitar o registro de espionagem Bluetooth HCI no DUT e para coletar o log para cada teste.
BluetoothUtils Funções utilitárias para chamar BluetoothInstrumentação no dispositivo

O código de instrumentação Bluetooth do lado do dispositivo pode ser encontrado no AOSP em: frameworks/base/core/tests/bluetoothtests

BootstrapBuildProvider Um IDeviceBuildProvider que inicializa as informações de compilação do dispositivo de teste

Isso é normalmente usado para dispositivos com uma compilação fornecida externamente, ou seja,

BootstrapServiceFileResolverLoader Carrega resolvedores usando o recurso de carregamento de serviço.
Relatório de erro Objeto contendo as referências dos arquivos de bugreport, compatível com bugreport simples e bugreport compactado (bugreportz).
BugreportCollector Um ITestInvocationListener de passagem que coleta relatórios de bug quando ocorrem eventos configuráveis ​​e, em seguida, chama ITestInvocationListener#testLog em seus filhos após a coleta de cada relatório de bug.
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.Noun
BugreportCollector.Predicate Um predicado completo descrevendo quando capturar um relatório de bug.
BugreportCollector.Relation
BugreportCollector.SubPredicate
BugreportzOnFailureCollector Colete um relatório de bug quando um caso de teste falhar.
BugreportzOnTestCaseFailureCollector Colete um bugreportz quando um caso de teste em uma execução falhar.
BuildError Lançado se a compilação fornecida falhar ao executar.
BuildInfo Implementação genérica de um IBuildInfo que deve ser associado a um ITestDevice .
BuildInfoKey Enumeração de retenção de classe relacionada a consultas de informações de construção.
BuildInfoKey.BuildInfoFileKey Enum descrevendo todos os tipos de arquivo conhecidos que podem ser consultados por meio de IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) .
BuildInfoRecorder Um ITargetPreparer que grava metadados de informações de compilação em um arquivo especificado.
BuildInfoUtil Uma classe util para ajudar a manipular IBuildInfo
BuildRetrievalError Ocorreu um erro fatal ao recuperar a compilação para teste.
BuildSerializedVersion Classe que contém a versão de serialização atual de todos os IBuildInfo .
BuildTestsZipUtils Uma classe auxiliar para operações relacionadas a testes zip gerados pelo sistema de compilação do Android
BulkEmailer Um utilitário de envio de e-mail que permite a seguinte configuração: intervalo de envio, tamanho do burst inicial, destinatários e o número total de mensagens.
BundletoolUtil Classe de utilitário que usa a linha de comando bundletool para instalar o .apks no dispositivo.
ByteArrayInputStreamSource
ByteArrayList Uma classe para representar uma matriz de bytes leve.
ByteArrayUtil Utilitários para operar na matriz de bytes, por exemplo, converter bytes em inteiros.

C

CarModuleController Este controlador impede a execução de casos de teste em dispositivos não automotivos.
CarryDnaeError RuntimeException interna para transportar DeviceNotAvailableException por meio da estrutura JUnit4.
CarryInterruptedException Lançado quando o tempo limite da fase de teste é acionado e uma InterruptedException precisa ser transportada do encadeamento de execução de teste para o encadeamento de execução de invocação.
CdmaDeviceFlasher Uma classe que exibe uma imagem em um dispositivo Android físico com um rádio CDMA.
CecControllerTokenProvider Provedor de token para tokens relacionados ao Consumer Electronics Control (CEC).
CentralDirectoryInfo CentralDirectoryInfo é uma classe que contém as informações de um arquivo/pasta dentro de um arquivo zip.
CheckPairingPreparer Um CompanionAwarePreparer que verifica a ligação BT entre dispositivos primários e complementares
CircularAtraceUtil Um utilitário de rastreamento desenvolvido principalmente para identificar as causas principais de ANRs durante o teste Monkey.
CircularByteArray Estrutura de dados para manter uma matriz de tamanho fixo que opera como um buffer circular e rastreia a soma total de todos os valores na matriz.
ClangCodeCoverageCollector Um BaseDeviceMetricCollector que extrairá as medições de cobertura Clang do dispositivo e as registrará como artefatos de teste.
ClassNotFoundConfigurationException ConfigurationException para quando a classe de um objeto não for encontrada.
ClassPathScannerName Localiza entradas no classpath.
ClassPathScanner.ClassNameFilter Um IClassPathFilter que filtra e transforma nomes de classe java.
ClassPathScanner.ExternalClassNameFilter Um ClassNameFilter que rejeita classes internas
ClassPathScanner.IClassPathFilter Um filtro para caminhos de entrada de caminho de classe

Padronizado após FileFilter

ClockworkUtils Um utilitário de relógio para compartilhar a lógica de vários dispositivos
CloseableTraceScope Uma classe com escopo que permite relatar a seção de rastreamento via try-with-resources
ClusterBuildInfo Uma classe IBuildInfo para compilações canalizadas do TFC.
ClusterBuildProvider Um IBuildProvider para baixar recursos de teste do TFC.
ClusterClient Uma implementação IClusterClient para interagir com o back-end do TFC.
ClusterCommand Uma classe que representa uma tarefa buscada no TF Cluster.
ClusterCommand.RequestType
ClusterCommand.State Status do comando no cluster TF.
ClusterCommandConfigBuilder Uma classe para criar um arquivo de configuração para um comando de cluster.
ClusterCommandEvent Uma classe para encapsular eventos de comando de cluster a serem carregados.
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
ClusterCommandLauncher Uma classe IRemoteTest para iniciar um comando do TFC por meio de um subprocesso TF.
ClusterCommandScheduler Um ICommandScheduler para dar suporte a TFC (Cluster Tradefed).
ClusterCommandStatus Uma classe que representa o estado e o motivo do cancelamento de um comando do TF Cluster.
ClusterDeviceInfo Uma classe para encapsular as informações do dispositivo de cluster a serem carregadas.
ClusterDeviceInfo.Builder
ClusterDeviceMonitor Uma implementação IDeviceMonitor que relata os resultados para o serviço Tradefed Cluster.
ClusterEventUploader <T estende IClusterEvent > Classe ClusterEventUploader, que carrega IClusterEvent para TFC.
ClusterHostEvent Uma classe para encapsular eventos de host de cluster a serem carregados.
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType Enums dos diferentes tipos de eventos de host.
ClusterHostUtil Funções utilitárias estáticas para TF Cluster para obter instâncias de configuração global, informações de host, etc.
ClusterLogSaver Uma classe ILogSaver para carregar as saídas de teste no TFC.
ClusterLogSaver.FilePickingStrategy Estratégias de separação de arquivos.
ClusterOptions
CodeCoverageTest Um Teste que executa um pacote de teste de instrumentação em um determinado dispositivo e gera o relatório de cobertura de código.
CollectingByteOutputReceiver Um IShellOutputReceiver que coleta toda a saída do shell em um byte[] .
CollectingOutputReceiver Um IShellOutputReceiver que coleta toda a saída do shell em uma String .
CollectingTestListener Um ITestInvocationListener que coletará todos os resultados do teste.
CollectorHelper Auxiliar para fazer algumas operações IMetricCollector necessárias em vários lugares.
CommandFileParser Analisador de arquivo que contém um conjunto de linhas de comando.
CommandFileParser.CommandLine
Comando Interruptor Serviço que permite que os comandos da TradeFederation sejam interrompidos ou marcados como ininterruptos.
CommandLineBuildInfoBuilder Utilitário destinado a capturar os argumentos de informações de construção usuais de uma linha de comando e criar um IBuildInfo a partir deles.
CommandOptions Implementação de ICommandOptions .
CommandOptionsGetter Implementação de serviço que retorna o valor das opções de comando de uma determinada chamada.
ComandoResultado Contém o resultado de um comando.
CommandRunner Um ponto de entrada TradeFederation alternativo que executará o comando especificado nos argumentos da linha de comando e, em seguida, sairá.
CommandRunner.ExitCode Códigos de erro com os quais é possível sair.
CommandScheduler Um agendador para executar comandos TradeFederation em todos os dispositivos disponíveis.
CommandScheduler.HostState Enums de diferentes status de host
CommandStatus Representa o status de uma operação cronometrada.
CommandStatusHandler Manipulador que ajuda a monitorar e atualizar o status de uma invocação.
CommonLogRemoteFileUtil Este utilitário permite evitar a duplicação de código em diferentes representações de dispositivos remotos para a lógica de busca de log remoto de arquivos comuns.
CommonLogRemoteFileUtil.KnownLogFileEntry Uma representação de uma entrada de log conhecida para dispositivos remotos.
CompanionAllocator Classe base que cuida da alocação e liberação do dispositivo complementar

getCompanionDeviceSelectionOptions() deve ser implementado para descrever os critérios necessários para alocar o dispositivo complementar

CompanionAwarePreparer Um ITargetPreparer que encapsula a lógica de obtenção de um dispositivo complementar já alocado.
CompanionAwareTest Classe de teste base que encapsula o boilerpate de obter e verificar o dispositivo complementar

A subclasse pode chamar getCompanion() para recuperar o companheiro alocado.

CompanionDeviceTracker Uma classe para alocar e liberar dispositivos complementares
CompanionRunCommandTargetPreparer Um ITargetPreparer que executa comandos especificados no dispositivo complementar alocado
CompanionTestAppInstallSetup Um ITargetPreparer que instala um ou mais aplicativos de uma pasta IDeviceBuildInfo#getTestsDir() em um dispositivo complementar alocado.
CompileBootImageWithSpeedTargetPreparer Recompila o classpath de inicialização e o servidor do sistema com o filtro de compilador 'speed'.
ConditionFailureMonitor Monitore quaisquer falhas da invocação.
CondiçãoPrioridadeBlockingQueue <T> Uma classe thread-safe com operações semelhantes ERROR(/PriorityBlockingQueue) que podem recuperar objetos que correspondem a uma determinada condição.
ConditionPriorityBlockingQueue.AlwaysMatch <T> Um ConditionPriorityBlockingQueue.IMatcher que corresponde a qualquer objeto.
ConditionPriorityBlockingQueue.IMatcher <T> Uma interface para determinar se os elementos correspondem a algum tipo de condição.
ConfigCompleter Implementação do Completer para nossas configurações de TF.
Configuração Uma implementação concreta IConfiguration que armazena os objetos de configuração carregados em um mapa.
ConfiguraçãoDef Mantém um registro de uma configuração, seus objetos associados e suas opções.
ConfiguraçãoDef.ConfigObjectDef Objeto para manter as informações de um className e o número de aparência que ele possui (por exemplo, se uma configuração tiver o mesmo objeto duas vezes, o primeiro terá o primeiro número de aparência).
Descritor de configuração Objeto de configuração que descreve algum aspecto da própria configuração.
ConfigurationDescriptor.LocalTestRunner Enum usado para indicar o executor de teste local.
ConfigurationException Lançado se a configuração não puder ser carregada.
ConfiguraçãoFábrica Fábrica para criar IConfiguration .
ConfigurationFactory.ConfigLoader Implementação de IConfigDefLoader que rastreia as configurações incluídas de uma configuração raiz e lança uma exceção em inclusões circulares.
ConfigurationFactory.ExceptionLoader
ConfigurationUtil Funções utilitárias para lidar com arquivos de configuração.
ConfiguraçãoXmlParserSettings Uma classe simples para aceitar configurações para o ConfigurationXmlParser

Para passar as configurações para esta classe, o alias é obrigatório.

ConfiguraçãoYamlParser Analisador para configurações Tradefed de estilo YAML
ConfigUtil Classe de utilitário para criar, interagir e enviar arquivos de configuração statsd.
ConfigUtil.LogSource
Console Console principal da TradeFederation fornecendo ao usuário a interface para interagir

Atualmente suporta operações como

  • adicione um comando para testar
  • listar dispositivos e seu estado
  • listar invocações em andamento
  • listar comandos na fila
  • despejar log de invocação para arquivo/stdout
  • desligar
Console.ArgRunnable <T> Um Runnable com um método run que pode receber um argumento
Console.CaptureList Um tipo de conveniência para List<List<String>>
ConsoleReaderOutputStream Um OutputStream que pode ser usado para fazer System.out.print() funcionar bem com o LineReader unfinishedLine do usuário.
ConsoleResultReporter Reporter de resultados para imprimir os resultados do teste no console.
ContentProviderHandler Manipulador que abstrai as interações do provedor de conteúdo e permite usar o provedor de conteúdo do lado do dispositivo para diferentes operações.
CountingTestResultListener Um TestResultListener que rastreia o número total de testes por TestStatus
CountTestCasesCollector Conte e relate o número de casos de teste para um determinado IRemoteTest .
CoverageMeasurementForwarder Um teste de espaço reservado que encaminha as medições de cobertura do provedor de compilação para o registrador.
Opções de Cobertura Objeto negociado para manter as opções de cobertura.
CoverageOptions.Toolchain
CpuThrottlingWaiter Um ITargetPreparer que espera até que a frequência máxima em todos os núcleos seja restaurada para o nível mais alto disponível
CreateAvdPreparer
CreateUserPreparer Preparador de destino para criar o usuário e limpá-lo no final.
Invocação atual Uma classe que rastreia e fornece as informações de invocação atuais úteis em qualquer lugar dentro da invocação.
CurrentInvocation.InvocationInfo Alguma chave nomeada especial que sempre preencheremos para a invocação.
CurrentInvocation.IsolationGrade Descreve o nível de isolamento

D

DebugHostLogOnFailureCollector Coletor que reunirá e registrará os logs do lado do host quando ocorrer uma falha de caso de teste.
DefaultConnection Representação de conexão padrão de um dispositivo, considerada uma conexão adb padrão do dispositivo.
DefaultConnection.ConnectionBuilder O construtor costumava descrever a conexão.
DefaultRemoteAndroidTestRunner Extensão do ddmlib RemoteAndroidTestRunner para definir alguns padrões para casos de uso Tradefed.
DefaultTestsZipInstaller Uma implementação padrão do instalador zip de testes.
Execução de Invocação Delegada InvocationExecution que delega a execução para outro binário Tradefed.
DependenciesResolver Um novo tipo de provedor que permite obter todas as dependências para um teste.
DeviceAllocationResult Representa os resultados de uma tentativa de alocação para um comando.
DeviceAllocationState Representa o estado de alocação do dispositivo da perspectiva IDeviceManager
DeviceAvailableChecker Verificador para garantir que um módulo não deixe o dispositivo em estado offline.
DeviceBaselineChecker Defina as configurações de linha de base do dispositivo antes de cada módulo.
DeviceBaselineSetter Classe abstrata usada para criar uma configuração de linha de base do dispositivo.
DeviceBatteryLevelChecker Um IRemoteTest que verifica a carga mínima da bateria e aguarda a bateria atingir um segundo limite de carga se a carga mínima não estiver presente.
DeviceBatteryResourceMetricCollector Este coletor coleta métricas de bateria do dispositivo.
DeviceBuildDescriptor Uma classe wrapper para um IBuildInfo , que contém métodos auxiliares para recuperar informações de compilação da plataforma do dispositivo.
DeviceBuildInfo Um IBuildInfo que representa uma compilação de dispositivo Android completa e (opcionalmente) seus testes.
DeviceBuildInfoBootStrapper Um ITargetPreparer que substitui campos de informações de compilação por atributos lidos do dispositivo

Isso é útil para testar dispositivos com compilações geradas de uma fonte externa (por exemplo,

DeviceBuildInfoInjector Um ITargetPreparer que insere metadados DeviceBuildDescriptor no IBuildInfo .
DeviceCleaner Executa reinicialização ou formatação como ação de limpeza após o teste e, opcionalmente, desliga a tela
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
DeviceConcurrentUtil Contém métodos utilitários e classes para execução simultânea de comandos do lado do dispositivo

Use ERROR(/ExecutorService) para executar comandos implementados como ShellCommandCallable e use ERROR(/#joinFuture(String,Future,long)) para sincronização com ERROR(/Future) conforme retornado por ERROR(/ExecutorService) para a execução do comando.

DeviceConcurrentUtil.ShellCommandCallable <V> Um ERROR(/Callable) que agrupa os detalhes da execução do comando shell em um ITestDevice .
DeviceConfigurationHolder Uma implementação IDeviceConfiguration concreta que armazena os objetos de configuração de dispositivo carregados em seus atributos.
DeviceDescriptor Uma classe que contém informações que descrevem um dispositivo em teste.
DeviceDisconnectedException Lançado quando um dispositivo não está mais acessível por meio de seu tipo de transporte, por exemplo, se o dispositivo não estiver mais visível via USB ou conexão TCP/IP
DeviceErrorIdentifier Identificadores de erro de erros do dispositivo e erros relatados pelo dispositivo.
DeviceFailedToBootError Lançado se um dispositivo falhar ao inicializar após ser atualizado com uma compilação.
DeviceFeatureModuleController Um controlador de módulo para não executar testes quando não suporta determinado recurso.
DeviceFileReporter Uma classe de utilitário que verifica o dispositivo em busca de arquivos e os envia para ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) se encontrado.
DeviceFlashPreparer Um ITargetPreparer que exibe uma imagem no hardware Android físico.
DeviceFoldableState Representação do estado dobrável do dispositivo conforme retornado por "cmd device_state print-states".
DeviceFolderBuildInfo Um IDeviceBuildInfo que também contém outros artefatos de compilação contidos em um diretório no sistema de arquivos local.
DeviceImageZipFlashingTargetPreparer Um preparador de destino que atualiza o dispositivo com imagens do dispositivo fornecidas por meio de um formato específico.
DeviceInternetAccessibilityResourceMetricCollector O coletor executa um ping no google.com para verificar se o dispositivo tem acesso à Internet ou não.
DeviceJUnit4ClassRunner Executador de teste JUnit4 que também acomoda IDeviceTest .
DeviceJUnit4ClassRunner.LogAnnotation Anotação falsa destinada a levar logs aos repórteres.
DeviceJUnit4ClassRunner.MetricAnnotation Anotação falsa destinada a levar métricas aos repórteres.
DeviceJUnit4ClassRunner.TestLogData Implementação de ExternalResource e TestRule .
DeviceJUnit4ClassRunner.TestMetrics Implementação de ExternalResource e TestRule .
DeviceManagementGrpcServer Servidor GRPC que permite reservar um dispositivo da Tradefed.
Gerenciador de Dispositivos
DeviceManager.FastbootDevice Representação de um dispositivo no modo Fastboot.
DeviceMetricData Objeto para conter todos os dados coletados pelos coletores de métricas.
DeviceMonitorMultiplexer Uma classe de proxy para propagar solicitações para vários IDeviceMonitor s.
DeviceNotAvailableException Lançado quando um dispositivo não está mais disponível para teste.
DeviceOwnerTargetPreparer Um ITargetPreparer que configura um componente proprietário do dispositivo.
DeviceParameterizedRunner Corredor parametrizado estilo JUnit4 para testes parametrizados acionados pelo host.
Propriedades do dispositivo Definições comuns de constantes para nomes de propriedades do lado do dispositivo
DeviceRecoveryModeUtil
DeviceReleaseReporter Reporter de liberação de dispositivo que lida com a comunicação com o processo pai do(s) dispositivo(s) a ser(em) liberado(s).
Recurso DeviceReset Implementação do lado do servidor da redefinição do dispositivo.
DeviceResetHandler Utilitário que lida genericamente com a redefinição do dispositivo.
DeviceRuntimeException Lançado quando uma ação do dispositivo não resulta nos resultados esperados.
DeviceSelectionOptions Contêiner para os critérios de seleção do dispositivo.
DeviceSelectionOptions.DeviceRequestedType Os diferentes tipos possíveis de dispositivos de espaço reservado suportados.
DeviceSettingChecker Verifique se as configurações do dispositivo foram alteradas durante a execução de um módulo.
Configuração do dispositivo Um ITargetPreparer que configura um dispositivo para teste com base nas Option fornecidas.
DeviceStateMonitor Classe auxiliar para monitorar o estado de um IDevice .
DeviceStorageAgeResourceMetricCollector Analisar a idade de armazenamento do logcat.
DeviceStorageFiller Preparador de destino para preencher o armazenamento para que alguma quantidade de espaço livre esteja disponível.
DeviceStorageStatusChecker Verifique se o dispositivo possui espaço em disco suficiente para as partições fornecidas.
DeviceStringPusher Preparador de destino para gravar uma string em um arquivo.
DeviceSuite Estende o JUnit4 container Suite para fornecer um ITestDevice para os testes que o requeiram.
DeviceSyncHelper Helper que ajuda a sincronizar uma nova imagem de dispositivo com o dispositivo.
DeviceTestCase Caso de teste JUnit auxiliar que fornece os serviços IRemoteTest e IDeviceTest .
DeviceTestResult Uma especialização de TestResult que será interrompida quando ocorrer uma DeviceNotAvailableException
DeviceTestResult.RuntimeDeviceNotAvailableException
DeviceTestRunOptions Uma classe de construtor para opções relacionadas à execução de testes de dispositivo por meio de BaseHostJUnit4Test.
DeviceTestSuite Suite auxiliar de testes JUnit que fornece os serviços IRemoteTest e IDeviceTest .
DeviceTraceCollector Coletor que iniciará o rastreamento perfeito quando uma execução de teste for iniciada e o arquivo de rastreamento de log no final.
DispositivoIndisponivelMonitor Este ouvinte tenta capturar apenas um DNAE de nível de caso de teste.
DeviceUnresponsiveException Uma especialização de DeviceNotAvailableException que indica que o dispositivo está visível para adb, mas não responde (ou seja, comandos expiram, não inicializam etc.)
DeviceUpdateTargetPreparer Um ITargetPreparer abstrato que cuida das etapas comuns relacionadas à atualização de dispositivos com um arquivo de imagem de dispositivo de uma fonte externa (em oposição a um serviço de compilação).
DeviceWifiResourceMetricCollector O coletor coleta a força do sinal wi-fi conectado atual e as métricas de velocidade do link.
DeviceWiper Um ITargetPreparer que limpa os dados do usuário
DirectedGraph <V> Uma implementação de gráficos não ponderados direcionados.
DisableSELinuxTargetPreparer Preparador de destino que desativa o SELinux, se ativado.
DryRunKeyStore Um armazenamento de chave para simulação em que qualquer valor de armazenamento de chave é sempre substituído e encontrado corretamente.
DryRunner Testes de execuções a seco transparentes em vez de realmente executá-los.
DynamicFileStubTest Este é um teste de tradefed para testar que o tradefed pode resolver o arquivo dinâmico corretamente.
DynamicRemoteFileResolver Classe que ajuda a resolver o caminho para arquivos remotos.
DynamicRemoteFileResolver.FileResolverLoader Carrega implementações de IRemoteFileResolver .
DynamicShardHelperGenericName Estratégia de sharding para permitir o enfileiramento de trabalhos remotos entre várias instâncias de TF
DynamicSystemPreparer Um ITargetPreparer que configura uma imagem do sistema sobre um dispositivo criado com a atualização dinâmica do sistema.

E

EarlyDeviceReleaseFeature Implementação de servidor de recursos para lançamento antecipado de dispositivos.
E-mail Uma classe auxiliar para enviar um e-mail.
EmailHostHealthAgent Uma implementação IHostHealthAgent para enviar e-mail de relatórios do monitor Host
EmmaXmlConstants Constantes usadas ao analisar o relatório emma xml.
EmuladorMemoryCpuCapturer
EndCentralDirectoryInfo EndCentralDirectoryInfo é uma classe que contém as informações gerais de um arquivo zip.
EnforcedSeLinuxChecker Verificador de status que garante o status do Selinux.
EraseUserDataPreparer Um ITargetPreparer que limpa os dados do usuário no dispositivo.
ErrorIdentifier Essa interface descreve um erro específico e suas propriedades.
ErrorStorageUtil Classe auxiliar para manipular os erros para alinhar com o armazenamento comum.
EventsLoggerListener Ouvinte que registra todos os eventos que recebe em um arquivo
ExceptionThrowingRunnerWrapper
ExecutávelBaseTest Classe base para estilo executável de testes.
ExecutávelHostTest Executor de teste para execução executável no host.
ExecutávelTargetTest Executor de teste para execução executável no destino.
Arquivos de Execução Dependências de arquivos geradas durante a execução de um teste ou chamada que precisam ser realizadas para teste.
ExecutionFiles.FilesKey Enumeração de chave padrão conhecida para o mapa.
Propriedades de Execução Propriedades geradas durante a execução de um teste ou chamada.
ExistingBuildProvider Um IBuildProvider que retorna um IBuildInfo já construído.
Arquivo Estendido Uma extensão do arquivo padrão para transportar metadados relacionados à compilação.

F

Falha na Descrição A classe que descreve uma informação de falha na Federação de Comércio.
FakeTest Um teste falso cuja finalidade é facilitar a geração de resultados de teste repetíveis.
FakeTestsZipFolder Um acessório de teste que cria uma pasta falsa de testes descompactada com base em uma lista de conteúdo.
FakeTestsZipFolder.ItemType
FastbootCommandPreparer Preparador de destino que aciona o fastboot e envia comandos de fastboot.
FastbootDeviceFlasher Uma classe que depende do fastboot para exibir uma imagem no hardware Android físico.
FastbootHelper Uma classe auxiliar para operações de inicialização rápida.
FastbootUpdateBootstrapPreparer Um ITargetPreparer que organiza arquivos especificados (carregador de inicialização, rádio, zip de imagem do dispositivo) em IDeviceBuildInfo para obter dispositivos atualizados com FastbootDeviceFlasher e, em seguida, injeta atributos de dispositivo pós-inicialização nas informações de compilação para fins de relatório de resultados.
FatalHostError Uma exceção que indica que ocorreu um erro irrecuperável fatal na máquina host executando TradeFederation e que a instância TradeFederation deve ser encerrada.
FeatureFlagTargetPreparer Atualiza o DeviceConfig (sinalizadores de recursos ajustados por um serviço remoto).
ArquivoDownloadCache Uma classe auxiliar que mantém um cache LRU do sistema de arquivos local de arquivos baixados.
ArquivoDownloadCacheFactory Uma fábrica para criar FileDownloadCache
ArquivoDownloadCacheWrapper Uma classe wrapper que fornece recursos FileDownloadCache ao implementar a interface IFileDownloader .
FileIdleMonitor Monitora arquivos e executa um retorno de chamada se eles estiverem ociosos (ou seja,
FileInputStreamSource Um InputStreamSource que usa um arquivo de entrada.
FileLogger Um ILeveledLogOutput que direciona mensagens de log para um arquivo e para stdout.
ArquivoProtoResultReporter Proto repórter que despeja o TestRecord em um arquivo.
FilePullerDeviceMetricCollector Um BaseDeviceMetricCollector que detecta a chave de métricas vinda do dispositivo e as extrai como um arquivo do dispositivo.
FilePullerLogCollectorName Logger do arquivo reportado pelo device-side.
FileSystemLogSaver Salvar logs em um sistema de arquivos.
FileUtil Uma classe auxiliar para operações relacionadas a arquivos
FileUtil.HarnessIOException Exceção de arnês que ajuda a carregar problemas de arquivo.
FileUtil.LowDiskSpaceException Lançado se o espaço em disco utilizável estiver abaixo do limite mínimo.
FilteredResultForwarder Variante de ResultForwarder que permite apenas que uma lista de permissões de TestDescription seja relatada.
FixedByteArrayOutputStream Um ERROR(/OutputStream) que mantém apenas uma quantidade máxima de dados.
FlashingMethod Uma enumeração para descrever o método usado para atualizar o dispositivo em teste
FlashingResourcesParser Uma classe que analisa as versões necessárias de arquivos de imagem auxiliares necessários para atualizar um dispositivo.
FlashingResourcesParser.AndroidInfo Um typedef para Map&lt;String, MultiMap&lt;String, String&gt;&gt; .
FlashingResourcesParser.Constraint Uma interface de filtragem, destinada a permitir que FlashingResourcesParser ignore alguns recursos que, de outra forma, poderia usar
FlashingResourceUtil Esse utilitário ajuda a definir a versão apropriada dos artefatos para que possam ser atualizados por meio do DeviceFlashPreparer .
FoldableExpandingHandler Um IModuleParameterHandler se expandindo para cada configuração dobrável não primária.
FoldableHandler Manipulador dobrável genérico que pode usar os parâmetros dobráveis ​​para criar um módulo especializado.
FoldableModePreparer Um preparador de destino que pode alternar o estado dobrável de um dispositivo.
FolderBuildInfo Implementação concreta de um IFolderBuildInfo .
Folder Saver Um ITargetPreparer que extrai diretórios do dispositivo, os compacta e os salva no back-end de registro.
GeradorReporter Formatado Reporter que permite gerar relatórios em um formato particular.
FreeDeviceState
FuseUtil Uma classe auxiliar para operações FUSE.

G

GceAvdInfo Estrutura para armazenar dados relevantes para uma determinada instância GCE AVD.
GceAvdInfo.GceStatus
GceAvdInfo.LogFileEntry
GceManager Helper que gerencia as chamadas do GCE para iniciar/parar e coletar logs do GCE.
GceRemoteCmdFormatter Classe utilitária para formatar comandos para acessar um dispositivo gce remoto.
GceRemoteCmdFormatter.ScpMode O SCP pode ser usado para enviar ou receber arquivos, dependendo da estrutura dos args.
GceSshTunnelMonitorName Thread Monitor para o túnel Gce ssh.
GcovCodeCoverageCollector Um BaseDeviceMetricCollector que extrairá as medições de cobertura gcov do dispositivo e as registrará como artefatos de teste.
GcovKernelCodeCoverageCollector Um BaseDeviceMetricCollector que extrairá as medições de cobertura do kernel gcov dos debugfs e do dispositivo e, finalmente, as registrará como artefatos de teste.
GCSBucketUtil Gerenciador de arquivos para baixar e fazer upload de arquivos do Google Cloud Storage (GCS).
GCSBucketUtil.GCSFileMetadata Wrapper simples para informações de arquivo no GCS.
GCSCommon Classe base para operação Gcs como download e upload.
GCSConfigurationFactory Um ConfigurationFactory carrega configurações do Google Cloud Storage.
GCSConfigurationFactory.GCSConfigLoader Extensão de ConfigurationFactory.ConfigLoader que carrega a configuração do GCS, rastreia as configurações incluídas de uma configuração raiz e lança uma exceção em inclusões circulares.
GCSConfigurationServer O servidor de configuração carrega configurações do Google Cloud Storage (GCS).
GCSDownloaderHelper Downloader para balde GCS que cuida do cache e resolve a configuração global.
GCSFileDownloader Downloader de arquivos para baixar arquivos do Google Cloud Storage (GCS).
GCSFileUploader Uploader de arquivos para fazer upload de dados de arquivo para armazenamento em nuvem do Google (GCS).
GCSHostResourceManager Baixe o recurso de host do GCS (armazenamento em nuvem do Google).
GcsRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading from a GCS bucket.
GenericLogcatEventParser <LogcatEventType> Parse logcat input for events.
GenericLogcatEventParser.LogcatEvent Struct to hold a logcat event with the event type and triggering logcat message
GetPreviousPassedHelper Helper to get the previous passed test filters.
GkiDeviceFlashPreparer A target preparer that flash the device with android common kernel generic image.
GlobalConfiguration Uma implementação IGlobalConfiguration que armazena os objetos de configuração carregados em um mapa
GlobalFilterGetter Service implementation that returns the filters of a given invocation.
GlobalTestFilter Filter options applied to the invocation.
GoogleApiClientUtil Utils for create Google API client.
GoogleBenchmarkResultParser Parses the results of Google Benchmark that run from shell, and return a map with all the results.
GoogleBenchmarkTest A Test that runs a Google benchmark test package on given device.
GranularRetriableTestWrapper A wrapper class works on the IRemoteTest to granulate the IRemoteTest in testcase level.
GranularRetriableTestWrapper.StartEndCollector Auxiliar de classe para capturar o início e o fim da execução ausente.
GsiDeviceFlashPreparer A target preparer that flashes the device with android generic system image.
GTest Um teste que executa um pacote de teste nativo em determinado dispositivo.
GTestBase A classe base do gTest
GTestListTestParser A result parser for gtest dry run mode with "--gtest_list_tests" parameter.
GTestResultParser Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestInvocationListener of the results.
GTestXmlResultParser Parses the 'xml output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results.

H

HarnessException Base exception class for exception thrown within the harness.
HarnessRuntimeException
HeapHostMonitor AbstractHostMonitor implementation that monitors the heap memory on the host and log it periodically to the history log.
HelloWorldMultiTargetPreparer An example implementation of a IMultiTargetPreparer .
HistoryLogger TF History Logger, special log that contains only some specific events.
HostGTest Um teste que executa um pacote de teste nativo.
HostMetric This class represents a host metric sample to be reported.
HostOptions Host options holder class.
HostStatsdMetricCollector A IMetricCollector that collects statsd metrics from host side using statsd utility commands.
HostTest A test runner for JUnit host based tests.
HostUtils Implements some useful utility methods for running host tests.
HprofAllocSiteParser Helper class to parse info from an Allocation Sites section of hprof reports.
HttpHelper Contains helper methods for making http requests
HttpHelper.RequestRunnable Runnable for making requests with IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) .
HttpMultipartPost Helper class for making multipart HTTP post requests.
HttpRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading remote file via http
HttpsRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading remote file via https

I

IAbi Interface representing the ABI under test.
IAbiReceiver A test that needs the ABI under test.
IAndroidDebugBridge Interface definition for AndroidDebugBridge methods used in this package.
IAppBuildInfo This interface is deprecated. Use IBuildInfo directly.
IAutoRetriableTest Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry.
IBatteryInfo The interface defining the interaction with a battery of a device.
IBatteryInfo.BatteryState Describes the current battery charging state.
IBuildInfo Holds information about the build under test.
IBuildInfo.BuildInfoProperties Some properties that a IBuildInfo can have to tweak some handling of it.
IBuildProvider Responsible for providing info regarding the build under test.
IBuildReceiver A test that needs reference to the build under test.
IClusterClient An interface for interacting with the TFC backend.
IClusterEvent Interface for any cluster event to be uploaded to TFC.
IClusterEventUploader <T extends IClusterEvent > Interface for ClusterEventUploader
IClusterOptions An interface for getting cluster-related options.
ICommandOptions Container for execution options for commands.
ICommandScheduler A scheduler for running TradeFederation commands.
ICommandScheduler.IScheduledInvocationListener Listener for invocation events when invocation completes.
ICompressionStrategy An interface representing a compression algorithm that can be selected at runtime.
IConfigOptionValueTransformer Uma interface para manipular o valor da opção de configuração
IConfigurableVirtualDevice An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.).
IConfiguration Informações de configuração para uma chamada de TradeFederation.
IConfigurationFactory Fábrica para criar IConfiguration s
IConfigurationReceiver Interface simples para representar objeto que aceita uma IConfiguration .
IConfigurationServer Uma interface para o servidor de configuração.
ICredentialFactory An interface for credential factory to create oauth2 Credential .
IDefaultObjectLoader Interface for loading the default objects that should be part of our YAML configuration.
IDefaultObjectLoader.LoaderConfiguration The loading configuration object to pass information to the loader.
IDeviceActionReceiver Provides an API to receive device events.
IDeviceBuildInfo A IBuildInfo that represents a complete Android device build and (optionally) its tests.
IDeviceBuildProvider A IBuildProvider that uses information from a ITestDevice to retrieve a build.
IDeviceConfiguration Interface do suporte de configuração do dispositivo.
IDeviceFlasher Flashes a device image on a device.
IDeviceFlasher.UserDataFlashOption Enum of options for handling the userdata image
IDeviceManager Interface for managing the set of available devices for testing.
IDeviceManager.IFastbootListener A listener for fastboot state changes.
IDeviceMonitor Interface for monitoring state of devices.
IDeviceMonitor.DeviceLister A Runnable -like class that should return the known devices and their states.
IDeviceRecovery Interface for recovering a device that has gone offline.
IDeviceSelection Interface for device selection criteria.
IDeviceSelection.BaseDeviceType
IDeviceStateMonitor Provides facilities for monitoring the state of a IDevice .
IDeviceTest Interface for object that needs a reference to a ITestDevice .
IDisableable Interface that describes a Tradefed object that can be disabled.
IDynamicShardingClient Wrapper interface for the sharding client

This exists so that we can swap in an HTTP one or testing one if needed.

IEmail Interface for sending email.
IEmail.Message Container for email message data.
IFileDownloader Interface for downloading a remote file.
IFileEntry Interface definition that provides simpler, mockable contract to FileEntry methods.
IFileResolverLoader Carrega implementações de IRemoteFileResolver .
IFileResolverLoader.ResolverLoadingException Exceção lançada se um resolvedor não puder ser carregado ou inicializado.
IFlashingResourcesParser Interface for providing required versions of auxiliary image files needed to flash a device.
IFlashingResourcesRetriever Interface for retrieving auxiliary image files needed to flash a device.
IFolderBuildInfo A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory.
IFormatterGenerator Interface describing a formatter for SuiteResultHolder .
IGlobalConfiguration Uma classe para abranger informações de configuração global para uma única instância da Federação de Comércio (abrangendo qualquer número de invocações de configurações reais).
IHarnessException Description of the harness exception interface that will be implemented by harness exceptions.
IHostCleaner Cleans up the host after the test run has finished.
IHostHealthAgent An interface to emit host or device metrics.
IHostMonitor Interface to dispatch host data
IHostMonitor.HostDataPoint Generic class for data to be reported.
IHostMonitor.HostMetricType
IHostOptions Host options holder interface.
IHostOptions.PermitLimitType Enum describing the possible permit limiters
IHostResourceManager Interface to manager host resource.
IHttpHelper Helper methods for performing http requests.
IHttpHelper.DataSizeException
IInvocationContext Holds information about the Invocation for the tests to access if needed.
IInvocationContext.TimingEvent
IInvocationContextReceiver A test that needs reference to the context of the invocation.
IInvocationExecution Interface describing the actions that will be done as part of an invocation.
IKeyStoreClient Interface to access a key store for password or sensitive data.
IKeyStoreFactory Factory for creating IKeyStoreClient .
ILabPreparer Marker interface for lab preparers

See ITargetPreparer for a description of what these interfaces are intended.

ILeveledLogOutput Classes which implement this interface provides methods that deal with outputting log messages.
ILogcatReceiver A class that provides the output of a device's logcat as an InputStreamSource .
ILogRegistry An interface for a ILogOutput singleton logger that multiplexes and manages different loggers.
ILogRegistry.EventType Events that are useful to be logged
ILogSaver Classes which implement this interface provide methods for storing logs to a central location.
ILogSaverListener Allows for ITestInvocationListener s to listen for when log files are saved.
IManagedTestDevice A ITestDevice whose lifecycle is managed.
IManagedTestDevice.DeviceEventResponse Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call
IManagedTestDeviceFactory Creator interface for IManagedTestDevice s
IMetricCollector This interface will be added as a decorator when reporting tests results in order to collect matching metrics.
IMetricCollectorReceiver Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run.
IMoblyYamlResultHandler Interface of mobly yaml result handler.
IMoblyYamlResultHandler.ITestResult Interface of mobly yaml result
IModuleController Interface for controlling if a module should be executed or not.
IModuleController.RunStrategy Enum describing how the module should be executed.
IModuleParameterHandler The interface for parameters of suites modules.
IMultiDeviceRecovery Interface for recovering multiple offline devices.
IMultiDeviceTest This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it.
IMultiTargetPreparer Prepares the test environment for several devices together.
INativeDevice Provides an reliable and slightly higher level API to a ddmlib IDevice .
INativeDeviceTest Interface for object that needs a reference to a INativeDevice .
InfraErrorIdentifier Error Identifiers from Trade Federation infra, and dependent infra (like Build infra).
InputStreamSource This interface basically wraps an ERROR(/InputStream) to make it clonable.
InstallAllTestZipAppsSetup A ITargetPreparer that installs all apps in a test zip.
InstallApexModuleTargetPreparer
InstallApkSetup A ITargetPreparer that installs one or more apks located on the filesystem.
InstallBuildEnvApkSetup A ITargetPreparer that installs one or more test apks from an Android platform build env.
InstalledInstrumentationsTest Runs all instrumentation found on current device.
InstantAppHandler Handler for ModuleParameters#INSTANT_APP .
InstrumentationPreparer A ITargetPreparer that runs instrumentation
InstrumentationTest A Test that runs an instrumentation test package on given device.
InvocationContext Generic implementation of a IInvocationContext .
InvocationExecution Class that describes all the invocation steps: build download, target_prep, run tests, clean up.
InvocationLocal <T> This class provides invocation-scope variables.
InvocationMetricLogger A utility class for an invocation to log some metrics.
InvocationMetricLogger.InvocationGroupMetricKey Grouping allows to log several groups under a same key.
InvocationMetricLogger.InvocationMetricKey Some special named key that we will always populate for the invocation.
InvocationStatus A class to store invocation status.
InvocationStatus A helper enum to represent the invocation status
InvocationSummaryHelper Helper class for gathering and reporting TestSummary for set of listeners
InvocationToJUnitResultForwarder A class that listens to ITestInvocationListener events and forwards them to a TestListener .
IPostProcessor Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting.
IRemoteFeature Interface describing a feature in Tradefed that can be executed based on the request.
IRemoteFileResolver Interface for objects that can resolve a remote file into a local one.
IRemoteFileResolver.RemoteFileResolverArgs The args passed to the resolvers
IRemoteFileResolver.ResolvedFile Class holding information about the resolved file and some metadata.
IRemoteScheduledListenersFeature Extension of IRemoteFeature to support passing in IScheduledInvocationListener s.
IRemoteTest A test that reports results directly to a ITestInvocationListener .
IReportNotExecuted In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting.
IRescheduler Interface for rescheduling a config for future execution.
IResourceMetricCollector The interface for user to implement customized resource collectors.
IRestApiHelper A helper interface for performing REST API calls.
IResumableTest This interface is deprecated. No need for this anymore
IRetryDecision Interface driving the retry decision and applying the filter on the class for more targeted retry.
IRuntimeHintProvider
IRunUtil Interface for running timed operations and system commands.
IRunUtil.EnvPriority Enum that defines whether setting or unsetting a particular env.
IRunUtil.IRunnableResult An interface for asynchronously executing an operation that returns a boolean status.
ISandbox Interface defining a sandbox that can be used to run an invocation.
ISandboxFactory Factory for creating ISandbox .
ISetOptionReceiver Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME .
IShardableListener A ITestInvocationListener that can be sharded.
IShardableTest A IRemoteTest that can be split into separately executable sub-tests.
IShardHelper Interface of an object that describes the sharding strategy to adopt for a configuration.
IsolatedHostTest Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process.
ISupportGranularResults Interface specifying whether a ITestInvocationListener supports receiving the granular results or not.
ISystemStatusChecker An checker that performs checks on system status and returns a boolean to indicate if the system is in an expected state.
ISystemStatusCheckerReceiver A IRemoteTest that requires access to the ISystemStatusChecker from the configuration.
ITargetCleaner This interface is deprecated. tearDown has been moved to the base ITargetPreparer interface.
ITargetPreparer Prepares the test environment for the test run.
ITerribleFailureHandler An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable)
ITestAnnotationFilterReceiver A runner that can filter which tests to run based on annotations.
ITestCollector Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them.
ITestDevice Provides an reliable and slightly higher level API to a ddmlib IDevice .
ITestDevice.ApexInfo A simple struct class to store information about a single APEX
ITestDevice.MountPointInfo A simple struct class to store information about a single mountpoint
ITestDevice.RecoveryMode
ITestFileFilterReceiver A runner that can receive a file specifying which tests to run and/or not to run.
ITestFilterReceiver A runner that can filter which tests to run.
ITestInformationReceiver Interface to receive the TestInformation for some classes.
ITestInvocation Handles one TradeFederation test invocation.
ITestInvocation.ExitInformation Represents some exit information for an invocation.
ITestInvocationListener Listener for test results from the test invocation.
ITestLifeCycleReceiver Receives event notifications during instrumentation test runs.
ITestLogger An entity that can perform logging of data streams of various types.
ITestLoggerReceiver An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes.
ITestsPool Interface describing a pool of tests that we can access and run
ITestSuite Classe abstrata usada para executar o Test Suite.
ITestSuite.MultiDeviceModuleStrategy
ITestSuiteResultLoader Interface describing an helper to load previous results in a way that can be re-run.
ITestSummaryListener Interface that allows ITestInvocationListener to exchange some limited information via summaries.
ITestsZipInstaller Installs tests from a tests zip file (as outputted by the build system) on a device.
ITokenProvider Interface describing an object that can provide the tokens of a particular device.
ITokenRequest Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token.

J

JarHostTest Test runner for host-side JUnit tests.
JarHostTest.HostTestListener Wrapper listener that forwards all events except testRunStarted() and testRunEnded() to the embedded listener.
JavaCodeCoverageCollector A BaseDeviceMetricCollector that will pull Java coverage measurements off of the device and log them as test artifacts.
JavaCodeCoverageFlusher A utility class that resets and forces a flush of Java code coverage measurements from processes running on the device.
JSONFileKeyStoreClient A sample implementation where a local JSON file acts a key store.
JSONFileKeyStoreFactory Implementation of a JSON KeyStore Factory, which provides a JSONFileKeyStoreClient for accessing a JSON Key Store File.
JsonHttpTestResultReporter A result reporter that encode test metrics results and branch, device info into JSON and POST into an HTTP service endpoint
JUnit4ResultForwarder Reencaminhador de resultados do JUnit4 Runner.
JUnit4TestFilter Helper Class that provides the filtering for JUnit4 runner by extending the Filter .
JUnitRunUtil A helper class for directing a IRemoteTest#run(TestInformation, ITestInvocationListener) call to a Test#run(TestResult) call.
JUnitToInvocationResultForwarder A class that listens to TestListener events and forwards them to an ITestInvocationListener .
JUnitXmlParser Parser that extracts test result data from JUnit results stored in ant's XMLJUnitResultFormatter and forwards it to a ITestInvocationListener.

K

KeyguardControllerState A container for the keyguard states.
KeyguardStatusChecker Checks the keyguard status after module execution.
KeyStoreException Thrown when a fatal key store error happens.
KillExistingEmulatorPreparer A ITargetPreparer that shuts down a running emulator.
KnownFailurePreparer Target preparer to skip retrying known failure.

L

LabResourceDeviceMonitor The lab resource monitor which initializes/manages the gRPC server for LabResourceService.
LargeOutputReceiver A class designed to help run long running commands collect output.
LastShardDetector When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) .
LaunchCvdHelper Utility helper to control Launch_cvd in the Cuttlefish VM.
LeakedThreadStatusChecker Status checker to ensure a module does not leak a running Thread.
LegacySubprocessResultsReporter A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass.
ListInstrumentationParser A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query
ListInstrumentationParser.InstrumentationTarget
LocalAndroidVirtualDevice A classe para dispositivos virtuais locais em execução no host TradeFed.
LocalAppBuildProvider A IBuildProvider that constructs a IBuildInfo based on a provided local path
LocalDeveloper Detects and returns whether this is a local developer running Tradefed.
LocalDeviceBuildProvider A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path.
LocalEmulatorLaunch A TargetPreparer that launches an emulator locally from an android build environment.
LocalEmulatorSnapshot A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment
LocalFileHeader LocalFileHeader is a class containing the information of a file/folder inside a zip file.
LocalFileResolver Implementation of IRemoteFileResolver that allows linking local files
LocalFolderBuildProvider A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path
LocalHostResourceManager Manager host resource.
LocalPool Implementation of a pool of local tests
LocalRunInstructionBuilder Utility to compile the instruction to run test locally.
LockSettingsBaselineSetter A setter to remove screen lock settings.
LogcatCrashResultForwarder Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test.
LogcatEventParser
LogcatEventType Event types for LogcatEventParser .
LogcatOnFailureCollector Collector that will capture and log a logcat when a test case fails.
LogcatReceiver Class that collects logcat in background.
LogcatTimingMetricCollector A metric collector that collects timing information (eg user switch time) from logcat during one or multiple repeated tests by using given regex patterns to parse start and end signals of an event from logcat lines.
LogDataType Represents the data type of log data.
LogFile Class to hold the metadata for a saved log file.
LogFileSaver A helper for ITestInvocationListener 's that will save log data to a file
LogReceiver
LogRegistry A ILogRegistry implementation that multiplexes and manages different loggers, using the appropriate one based on the ThreadGroup of the thread making the call.
LogSaverResultForwarder A ResultForwarder for saving logs with the global file saver.
LogUtil A logging utility class.
LogUtil.CLog A shim class for Log that automatically uses the simple classname of the caller as the log tag

M

MainlineModuleHandler A simple handler class for Mainline Modules that creates a InstallApexModuleTargetPreparer and injects the dynamic link into it based on the given mainline modules to automatically retrieve those modules.
MainlineTestModuleController Base class for a module controller to run tests based on the preloaded mainline modules on the device under test.
ManagedRemoteDevice Um dispositivo rodando dentro de uma máquina virtual que gerenciamos remotamente por meio de uma instância Tradefed dentro da VM.
ManagedTestDeviceFactory Factory to create the different kind of devices that can be monitored by Tf
MaxSdkModuleController Base class for a module controller to not run tests on versions above a specified SDK version number.
MergedZipEntryCollection Merge individual zip entries in a large zip file into blocks to minimize the download attempts.
MergeMultiBuildTargetPreparer A IMultiTargetPreparer that allows to pass information from one build to another by naming them and the file key to copy to the other build.
MergeStrategy Describes how the results should be aggregated when multiple attempts are present.
MetricFilePostProcessor Used for uploading the metrics log file collected during the test and run level.
MetricOption Annotation for test methods annotated with @Test , or if the annotation is part of the annotation list of TestDescription that allows to specify some extra parameters useful for: Tuning the behavior of the collectors, filtering some methods.
MetricsXMLResultReporter MetricsXMLResultReporter writes test metrics and run metrics to an XML file in a folder specified by metrics-folder parameter at the invocationEnded phase of the test.
MetricTestCase Extension of TestCase that allows to log metrics when running as part of TradeFed.
MetricTestCase.LogHolder Structure to hold a log file to be reported.
MetricUtil Utility class for pulling metrics from pushed statsd configurations.
MetricUtility Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file.
MinApiLevelModuleController Base class for a module controller to not run tests when it below a specified API Level.
MinSdkModuleController Base class for a module controller to not run tests on versions below a specified SDK version number.
MixImageZipPreparer An IMultiTargetPreparer that mixes a system build's images in a device build.
MixKernelTargetPreparer A ITargetPreparer that allows to mix a kernel image with the device image.
MoblyBinaryHostTest Host test meant to run a mobly python binary file from the Android Build system (Soong)
MoblyYamlResultControllerInfoHandler Mobly yaml result 'Controller Info' element handler.
MoblyYamlResultControllerInfoHandler.ControllerInfo
MoblyYamlResultControllerInfoHandler.ControllerInfo.Builder
MoblyYamlResultHandlerFactory Mobly yaml result handler factory which generates appropriate handler based on result type.
MoblyYamlResultHandlerFactory.InvalidResultTypeException
MoblyYamlResultHandlerFactory.Type
MoblyYamlResultParser Mobly yaml test results parser.
MoblyYamlResultRecordHandler Mobly yaml result 'Record' element handler.
MoblyYamlResultRecordHandler.Record
MoblyYamlResultRecordHandler.Record.Builder
MoblyYamlResultRecordHandler.RecordResult
MoblyYamlResultSummaryHandler Mobly yaml result 'Summary' element handler.
MoblyYamlResultSummaryHandler.Summary
MoblyYamlResultSummaryHandler.Summary.Builder
MoblyYamlResultTestNameListHandler Mobly yaml result 'Test Name List' element handler.
MoblyYamlResultTestNameListHandler.TestNameList
MoblyYamlResultTestNameListHandler.TestNameList.Builder
MoblyYamlResultUserDataHandler Mobly yaml result 'User Data' element handler.
MoblyYamlResultUserDataHandler.UserData
MoblyYamlResultUserDataHandler.UserData.Builder
ModifiedFilesParser Class responsible to parse and extract information from modified_files.json.
ModuleDefinition Container for the test run configuration.
ModuleListener Listener attached to each IRemoteTest of each module in order to collect the list of results.
ModuleLogcatCollector Version of logcat collector but for module.
ModuleMerger Helper class for operation related to merging ITestSuite and ModuleDefinition after a split.
ModuleOemTargetPreparer
ModuleParameters Special values associated with the suite "parameter" keys in the metadata of each module.
ModuleParametersHelper Helper to get the IModuleParameterHandler associated with the parameter.
ModulePusher
ModulePusher.ModulePushError Fatal error during Mainline module push.
ModuleSplitter Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition .
MultiFailureDescription Collect multiple FailureDescription in one holder.
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.

N

NameMangleListener A proxy listener to translate test method, class, and package names as results are reported.
NativeBenchmarkTest A Test that runs a native benchmark test executable on given device.
NativeBenchmarkTestParser A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation.
NativeBridgeModuleController A module controller to check if a device support native bridge.
NativeCodeCoverageFlusher A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device.
NativeDevice Default implementation of a ITestDevice Non-full stack android devices.
NativeDevice.AdbAction A ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for running a OS 'adb ....' command.
NativeDevice.AdbShellAction
NativeDevice.RebootDeviceAction ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for rebooting a device.
NativeDevice.RebootMode A mode of a reboot.
NativeDeviceStateMonitor Helper class for monitoring the state of a IDevice with no framework support.
NativeLeakCollector A ITargetPreparer that runs 'dumpsys meminfo --unreachable -a' to identify the unreachable native memory currently held by each process.
NativeStressTest A Test that runs a native stress test executable on given device.
NativeStressTestParser A IShellOutputReceiver that parses the stress test data output, collecting metrics on number of iterations complete and average time per iteration.
NegativeHandler Handler that specify that nothing should be done and the parameter should not create any extra module.
NestedDeviceStateMonitor Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment.
NestedRemoteDevice Representação do dispositivo rodando dentro de uma VM Cuttlefish remota.
NetworkNotAvailableException Lançado quando um dispositivo não consegue se conectar à rede para teste.
NoApkTestSkipper Special preparer that allows to skip an invocation completely (preparation and tests) if there are no apks to tests.
NoDeviceException Thrown when there's no device to execute a given command.
NoisyDryRunTest Run noisy dry run on a command file.
NoOpConfigOptionValueTransformer Um IConfigOptionValueTransformer não operacional
NotMultiAbiHandler Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module.
NullDevice A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection#nullDeviceRequested() is true

O

OpenObjectLoader Loader for the default objects available in AOSP.
Opção Anota um campo como representando uma opção IConfiguration .
Opção.Importância
OptionClass Anota uma classe como representando um objeto IConfiguration .
OptionCopier Uma classe auxiliar que pode copiar valores de campo Option com os mesmos nomes de um objeto para outro.
OptionDef Contém os detalhes de uma Option .
OptionFetcher Helper to get the test options from the parent process.
OptionNotAllowedException ConfigurationException específico quando uma opção não pode ser passada na linha de comando.
OptionSetter Preenche campos Option .
OptionSetter.OptionFieldsForName Contêiner para a lista de campos de opções com o nome fornecido.
OptionUpdateRule Controla o comportamento quando uma opção é especificada várias vezes.
OtaDeviceBuildInfo A IDeviceBuildInfo used for over-the-air update testing.
OtatoolsBuildInfo An IBuildInfo that contains otatools artifacts.
OtaZipfileBuildProvider Provides a IBuildInfo based on a local OTA zip file.
OxygenClient A class that manages the use of Oxygen client binary to lease or release Oxygen device.
OxygenUtil Utility to interact with Oxygen service.

P

PackageInfo Container for an application's package info parsed from device.
PackageInstalledModuleController Module controller to not run tests when the device has not got the given packages installed.
Pair <A, B> Define our own Pair class which contains two objects.
PairingMultiTargetPreparer A multi-target preparer helps make Bluetooth pairing (and connection) between two devices.
ParallelDeviceExecutor <V> Wrapper of ERROR(/ExecutorService) to execute a function in parallel.
ParentSandboxInvocationExecution Version of InvocationExecution for the parent invocation special actions when running a sandbox.
ParentShardReplicate Replicate a setup for one device to all other devices that will be part of sharding.
PartialZipDownloadCache Utility to cache partial download files based on their content.
PassingTestFileReporter A ITestInvocationListener that saves the list of passing test cases to a test file
PerfettoGenericPostProcessor A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered.
PerfettoGenericPostProcessor.AlternativeParseFormat
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT
PerfettoPreparer Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to.
PerfettoPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it.
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT
PerfettoTraceRecorder A utility class for recording perfetto trace on a ITestDevice .
PrettyPrintDelimiter Helper utility that helps to print delimited message that stands out.
PrettyTestEventLogger Logger matching the events and logging them in order to make it easier to debug.
ProcessInfo Used to store process related(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) information.
ProfileParameterHandler Base parameter handler for any profile user.
ProfileTargetPreparer Base class for setting up target preparer for any profile user android.os.usertype.profile.XXX .
PropertyChanger A utility class for changing (or adding) items in an Android property file
ProtoResultParser Parser for the Tradefed results proto format.
ProtoResultParser.TestLevel Enumeration representing the current level of the proto being processed.
ProtoResultReporter Result reporter build a TestRecord protobuf with all the results inside.
ProtoUtil Utility methods for dealing with protobuf messages type-agnostically.
ProxyConfiguration Object that allows pointing to a remote configuration to execute.
PsParser Utility used to parse(USER,PID and NAME) from the "ps" command output
PtsBotTest Run PTS-bot tests.
PushFileInvoker This class is deprecated. Use PushFilePreparer instead
PushFilePreparer A ITargetPreparer that attempts to push any number of files from any host path to any device path.
PythonBinaryHostTest Host test meant to run a python binary file from the Android Build system (Soong)

The test runner supports include-filter and exclude-filter.

PythonBinaryHostTest.PythonForwarder Result forwarder to replace the run name by the binary name.
PythonUnitTestResultParser Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s.
PythonUnitTestRunner This class is deprecated. Use PythonBinaryHostTest instead.
PythonVirtualenvHelper A helper class for activating Python 3 virtual environment.
PythonVirtualenvPreparer Sets up a Python virtualenv on the host and installs packages.

Q

QuotationAwareTokenizer

R

RebootReasonCollector Collector that collects device reboot during the test run and report them by reason and counts.
RebootTargetPreparer Target preparer that reboots the device.
RecoveryLogPreparer A target preparer used to collect logs before recovery.
RegexTrie <V> The RegexTrie is a trie where each stored segment of the key is a regex ERROR(/Pattern) .
RemoteAndroidDevice Implementação de um ITestDevice para um dispositivo android full stack conectado via adb connect.
RemoteAndroidVirtualDevice Estende o comportamento RemoteAndroidDevice para um dispositivo Android de pilha completa em execução no Google Compute Engine (Gce).
RemoteAvdIDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true
RemoteDynamicPool Implementation of a pool of remote work queued tests
RemoteFileResolver Uma classe simples que permite carregar arquivos de vários locais usando URIs e a funcionalidade do provedor de serviços.
RemoteFileUtil Utility class to handle file from a remote instance
RemoteInvocationExecution Implementation of InvocationExecution that drives a remote execution.
RemoteInvocationExecution.FileOptionValueTransformer
RemoteSshUtil Utility to execute ssh commands on remote instances.
RemoteTestTimeOutEnforcer Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout.
RemoteZip Utilities to unzip individual files inside a remote zip file.
RemoveSystemAppPreparer A ITargetPreparer for removing an apk from the system partition before a test run.
ReportPassedTests Report in a file possible filters to exclude passed test.
ResolvePartialDownload Resolve a partial download request.
ResourceMetricUtil Utility functions for composing metrics.
ResourceUtil Utility for reading configuration resources.
RestApiHelper A helper class for performing REST API calls.
RestartSystemServerTargetPreparer Target preparer that restarts the system server without rebooting the device.
ResultAggregator Special forwarder that aggregates the results when needed, based on the retry strategy that was taken.
ResultAndLogForwarder Encaminhador para resultados e eventos de logs.
ResultForwarder A ITestInvocationListener that forwards invocation results to a list of other listeners.
ResultsPlayer Special runner that replays the results given to it.
RetentionFileSaver Helper class for creating a .retention file in a directory.
RetryConfigurationFactory Fábrica que lida com a repetição de um comando.
RetryLogSaverResultForwarder Forwarder that also handles passing the current attempt we are at.
RetryPreparationDecision A Class to describe the decisions about whether or not to retry preparation and to fail the module run.
RetryRescheduler A special runner that allows to reschedule a previous run tests that failed or where not executed.
RetryRescheduler.RetryType The types of the tests that can be retried.
RetryResultForwarder An Extension of ResultForwarder that always push to a given attempt number.
RetryResultHelper Helper class to determine which module or test should run or not.
RetryStatistics Structure holding the statistics for a retry session of one IRemoteTest .
RetryStrategy The Retry Strategy to be used when re-running some tests.
RootTargetPreparer Target preparer that performs "adb root" or "adb unroot" based on option "force-root".
RunAftersWithInfo
RunBeforesWithInfo
RunCommandTargetPreparer
RunConfigDeviceRecovery Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step.
RunHostCommandTargetPreparer Target preparer to run arbitrary host commands before and after running the test.
RunHostScriptTargetPreparer Target preparer which executes a script before running a test.
RunInterruptedException Thrown when a run operation is interrupted by an external request.
RunNotifierWrapper Wrapper de RunNotifier para que possamos carregar o DeviceNotAvailableException .
RunOnCloneProfileParameterHandler
RunOnCloneProfileTargetPreparer
RunOnSdkSandboxHandler Handler for ModuleParameters#RUN_ON_SDK_SANDBOX .
RunOnSdkSandboxTargetPreparer An ITargetPreparer to marks that tests should run in the sdk sandbox.
RunOnSecondaryUserParameterHandler
RunOnSecondaryUserTargetPreparer An ITargetPreparer that creates a secondary user in setup, and marks that tests should be run in that user.
RunOnSystemUserTargetPreparer An ITargetPreparer that marks that tests should be run on the user (rather than the current user).
RunOnWorkProfileParameterHandler
RunOnWorkProfileTargetPreparer An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user.
RuntimeRestartCollector Collector that collects timestamps of runtime restarts (system server crashes) during the test run, if any.
RunUtil A collection of helper methods for executing operations.
RustBenchmarkResultParser Interprets the output of tests run with Criterion benchmarking framework and translates it into calls on a series of ITestInvocationListener s.
RustBinaryHostTest Host test meant to run a rust binary file from the Android Build system (Soong)
RustBinaryTest A Test that runs a rust binary on given device.
RustTestBase Base class of RustBinaryHostTest and RustBinaryTest
RustTestBase.EnvPair
RustTestBase.Invocation
RustTestResultParser Interprets the output of tests run with Rust's unittest framework and translates it into calls on a series of ITestInvocationListener s.

S

SandboxConfigDump Runner class that creates a IConfiguration based on a command line and dump it to a file.
SandboxConfigDump.DumpCmd
SandboxConfigurationException Special Configuration Exception coming from the Sandbox setup.
SandboxConfigurationFactory Fábrica de configuração especial para lidar com a criação de configurações para fins de sandbox.
SandboxConfigUtil A utility class for managing IConfiguration when doing sandboxing.
SandboxedInvocationExecution Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command.
SandboxInvocationRunner Run the tests associated with the invocation in the sandbox.
SandboxOptions Class that can receive and provide options to a ISandbox .
ScreenshotOnFailureCollector Collector that will capture and log a screenshot when a test case fails.
Sdk28ModuleController A module controller to check if a device is on SDK 28 (Android 9) or above.
Sdk29ModuleController Only run tests if the device under test is SDK version 29 or above.
Sdk30ModuleController Only run tests if the device under test is SDK version 30 or above.
Sdk31ModuleController Only run tests if the device under test is SDK version 31 or above.
Sdk32ModuleController Only run tests if the device under test is SDK version 32 or above.
Sdk33ModuleController Only run tests if the device under test is SDK version 33 or above.
Sdk34ModuleController Only run tests if the device under test is SDK version 34 or above.
SecondaryUserHandler Handler for ModuleParameters#SECONDARY_USER .
SecondaryUserOnDefaultDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY .
SecondaryUserOnSecondaryDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY .
SemaphoreTokenTargetPreparer This is a preparer used to use token to serialize test excution in tradefed host.
SerializationUtil Utility to serialize/deserialize an object that implements ERROR(/Serializable) .
ServiceAccountKeyCredentialFactory A credential factory to create service account key based oauth Credential .
SettingsBaselineSetter A common setter to handle device baseline settings via ITestDevice.setSetting.
ShardBuildCloner Helper class that handles cloning a build info from the command line.
ShardHelper Helper class that handles creating the shards and scheduling them for an invocation.
ShardListener A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener.
ShardMainResultForwarder A ResultForwarder that combines the results of a sharded test invocations.
ShellOutputReceiverStream Utility subclass of OutputStream that writes into an IShellOutputReceiver.
ShellStatusChecker Check if the shell status is as expected before and after a module run.
ShippingApiLevelModuleController Run tests if the device meets the following conditions:
  • If min-api-level is defined:
    • The device shipped with the min-api-level or later.
ShowmapPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it.
SideloadOtaTargetPreparer A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info

This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied.

SimpleFileLogger A ILeveledLogOutput that directs log messages to stdout and to a single log file.
SimplePerfResult Object to hold all simpleperf test results
SimplePerfStatResultParser A utility class to parse simpleperf result.
SimplePerfUtil Utility class to dispatch simple command and collect results
SimplePerfUtil.SimplePerfType Enum of simpleperf command options
SimpleStats A small utility class that calculates a few statistical measures given a numerical dataset.
SizeLimitedOutputStream A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written.
SkipHWASanModuleController Base class for a module controller to not run tests on HWASan builds.
Sl4aBluetoothUtil A utility class provides Bluetooth operations on one or two devices using SL4A
Sl4aBluetoothUtil.BluetoothAccessLevel Enums for Bluetooth device access level which are based on BluetoothDevice.java
Sl4aBluetoothUtil.BluetoothConnectionState Enums for Bluetooth connection states which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothPriorityLevel Enums for Bluetooth profile priority level which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothProfile Enums for Bluetooth profiles which are based on BluetoothProfile.java
Sl4aClient Sl4A client to interact via RPC with SL4A scripting layer.
Sl4aEventDispatcher Event dispatcher polls for event and queue them by name to be queried.
Sl4aEventDispatcher.EventSl4aObject Object returned by the event poller.
SnapshotInputStreamSource A File-backed InputStreamSource.
SparseImageUtil Utility to unsparse sparse images.
SparseImageUtil.SparseInputStream SparseInputStream read from upstream and detects the data format.
StatsdBeforeAfterGaugeMetricPostProcessor A post processor that processes gauge metrics collected in a "before/after" approach, ie
StatsdEventMetricPostProcessor A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor.
StatsdGenericPostProcessor A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure.
StatusCheckerResult Contains the result of a ISystemStatusChecker execution.
StatusCheckerResult.CheckStatus
StdoutLogger A ILeveledLogOutput that directs log messages to stdout.
StopServicesSetup A ITargetPreparer that stops services on the device.
StreamProtoReceiver A receiver that translates proto TestRecord received into Tradefed events.
StreamProtoResultReporter An implementation of ProtoResultReporter
StreamUtil Utility class for managing input streams.
StrictShardHelper Sharding strategy to create strict shards that do not report together,
StringEscapeUtils Utility class for escaping strings for specific formats.
StringUtil Utility class for escaping strings for common string manipulation.
StubBuildProvider No-op empty implementation of a IBuildProvider .
StubDevice Stub placeholder implementation of a IDevice .
StubKeyStoreClient Default stub implementation for KeyStore Client.
StubKeyStoreFactory Default stub implementation for KeyStore Factory
StubLocalAndroidVirtualDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true
StubMultiTargetPreparer Placeholder empty implementation of a IMultiTargetPreparer .
StubTargetPreparer Placeholder empty implementation of a ITargetPreparer .
StubTest No-op empty test implementation.
StubTestRunListener Stub implementation of ITestRunListener
SubprocessCommandException A subprocess command failed to run.
SubprocessConfigBuilder Build a wrapper TF config XML for an existing TF config.
SubprocessEventHelper Helper to serialize/deserialize the events to be passed to the log.
SubprocessEventHelper.BaseTestEventInfo Base Helper for TestIgnored information.
SubprocessEventHelper.FailedTestEventInfo Helper for testFailed information.
SubprocessEventHelper.InvocationEndedEventInfo Helper for invocation ended information.
SubprocessEventHelper.InvocationFailedEventInfo Helper for InvocationFailed information.
SubprocessEventHelper.InvocationStartedEventInfo Helper for invocation started information.
SubprocessEventHelper.LogAssociationEventInfo Helper for logAssociation information.
SubprocessEventHelper.TestEndedEventInfo Helper for testEnded information.
SubprocessEventHelper.TestLogEventInfo Helper for testLog information.
SubprocessEventHelper.TestModuleStartedEventInfo Helper for test module started information.
SubprocessEventHelper.TestRunEndedEventInfo Helper for testRunEnded Information.
SubprocessEventHelper.TestRunFailedEventInfo Helper for testRunFailed information
SubprocessEventHelper.TestRunStartedEventInfo Helper for testRunStarted information
SubprocessEventHelper.TestStartedEventInfo Helper for testStarted information
SubprocessExceptionParser Helper to handle the exception output from standard Tradefed command runners.
SubprocessReportingHelper A class to build a wrapper configuration file to use subprocess results reporter for a cluster command.
SubprocessResultsReporter Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations.
SubprocessTestResultsParser Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side.
SubprocessTestResultsParser.StatusKeys Relevant test status keys.
SubprocessTfLauncher A IRemoteTest for running tests against a separate TF installation.
SuiteApkInstaller Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info.
SuiteModuleLoader Retrieves Compatibility test module definitions from the repository.
SuiteModuleLoader.ConfigFilter A ERROR(/FilenameFilter) to find all the config files in a directory.
SuiteResultHolder Helper object to ease up serializing and deserializing the invocation results.
SuiteResultReporter Collect test results for an entire suite invocation and output the final results.
SuiteResultReporter.ModulePrepTimes Object holder for the preparation and tear down time of one module.
SuiteTestFilter Represents a filter for including and excluding tests.
SwitchUserTargetPreparer A ITargetPreparer that switches to the specified user kind in setUp.
SystemServerFileDescriptorChecker Checks if system server appears to be running out of FDs.
SystemServerStatusChecker Check if the pid of system_server has changed from before and after a module run.
SystemUpdaterDeviceFlasher A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package.
SystemUtil Utility class for making system calls.
SystemUtil.EnvVariable

T

TableBuilder Helper class to display a matrix of String elements in a table.
TableFormatter Helper class to display a matrix of String elements so each element column is lined up
TargetFileUtils
TargetFileUtils.FilePermission
TargetSetupError Ocorreu um erro fatal ao preparar o alvo para teste.
TarUtil Utility to manipulate a tar file.
TcpDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true
TearDownPassThroughPreparer Allows for running tearDown on preparers that are included in a config as an object.
TelephonyHelper A utility to use and get information related to the telephony.
TelephonyHelper.SimCardInformation An information holder for the sim card related information.
TelephonyTokenProvider Token provider for telephony related tokens.
TemperatureThrottlingWaiter An ITargetPreparer that waits until device's temperature gets down to target
TemplateResolutionError Classe estendendo ConfigurationException para erro relacionado ao modelo durante a análise da configuração.
TerribleFailureEmailHandler A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance.
TestAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestContext A class to model a TestContext message of TFC API.
TestDependencyResolver Helper to resolve dependencies if needed.
TestDescription Class representing information about a test case.
TestDescriptionsFile A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file.
TestDevice Implementação de um ITestDevice para um dispositivo android full stack
TestDevice.MicrodroidBuilder Um construtor usado para criar um Microdroid TestDevice.
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
TestEnvironment A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Ouvinte usado para executar ações como captura de tela, relatório de bug, coleta de logcat após uma falha de teste quando solicitado.
TestFailureModuleController Controller for module that simply want to tune how the tests failures log collected are behaving.
TestFilePushSetup A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestFilterHelper Helper class for filtering tests
TestGroupStatus A class to store status of a test group.
TestInfo Stores the test information set in a TEST_MAPPING file.
TestInformation Holder object that contains all the information and dependencies a test runner or test might need to execute properly.
TestInformation.Builder Builder to create a TestInformation instance.
TestInvocation Default implementation of ITestInvocation .
TestInvocation.RunMode The different mode an invocation can run into.
TestInvocation.Stage
TestInvocationManagementServer GRPC server helping to management test invocation and their lifecycle.
TestInvocationManagementServer.InvocationInformation
TestMapping A class for loading a TEST_MAPPING file.
TestMappingSuiteRunner Implementação de BaseTestSuite para executar testes especificados pela opção include-filter ou arquivos TEST_MAPPING de build, como um conjunto.
TestOption Stores the test option details set in a TEST_MAPPING file.
TestOutputUploader Uploads test output files to local file system, GCS, or an HTTP(S) endpoint.
TestRecordInterpreter Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed.
TestRecordProtoUtil Utility to read the TestRecord proto from a file.
TestResource A class to model a TestResource message returned by TFC API.
TestResourceDownloader A class to download test resource files from file system/GCS/HTTP.
TestResult Container for a result of a single test.
TestResultListener A simplification of ITestLifecycleListener for implementers that only care about individual test results.
TestRunnerUtil A utility class to help various test runners.
TestRunResult Holds results from a single test run.
TestRunToTestInvocationForwarder Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver .
TestsPoolPoller Tests wrapper that allow to execute all the tests of a pool of tests.
TestSuiteInfo A class that resolves loading of build related metadata for test suite

To properly expose related info, a test suite must include a test-suite-info.properties file in its jar resources

TestSummary A class to represent a test summary.
TestSummary.Type
TestSummary.TypedString
TestSystemAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device.
TestTimeoutEnforcer Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout.
TextResultReporter A test result reporter that forwards results to the JUnit text result printer.
TfMetricProtoUtil Utility class to help with the Map to Map transition.
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfSuiteRunner Implementação de ITestSuite que carregará testes da pasta TF jars res/config/suite/.
TfTestLauncher A IRemoteTest for running unit or functional tests against a separate TF installation.
TimeStatusChecker Status checker to ensure that the device and host time are kept in sync.
TimeUtil Contains time related utility methods.
TimeVal This is a sentinel type which wraps a Long .
TimeWaster A simple target preparer to waste time and potentially restart the device.
TokenProperty Supported token with dynamic sharding.
TokenProviderHelper Helper that gives the provider associated to a particular token, in order to find out if a device supports the token.
TraceCmdCollector A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation.
TracePropagatingExecutorService An executor service that forwards tasks to an underlying implementation while propagating the tracing context.
TracingLogger Class that helps to manage tracing for each test invocation.
TradefedConfigObject A class to model a TradefedConfigObject message of TFC API.
TradefedConfigObject.Type A list of configuration object types which can be injected to a cluster command config.
TradefedDelegator Objects that helps delegating the invocation to another Tradefed binary.
TradefedFeatureClient A grpc client to request feature execution from the server.
TradefedFeatureServer A server that responds to requests for triggering features.
TradefedSandbox Sandbox container that can run a Trade Federation invocation.
TradefedSandboxFactory Default implementation for SandboxFactory
TradefedSandboxRunner Runner associated with a TradefedSandbox that will allow executing the sandbox.
TradefedSandboxRunner.StubScheduledInvocationListener A stub IScheduledInvocationListener that does nothing.

U

UiAutomatorRunner Runs UI Automator test on device and reports results.
UiAutomatorTest
UiAutomatorTest.LoggingOption
UiAutomatorTest.TestFailureAction
UnexecutedTestReporterThread Threads that takes care of reporting all unexecuted tests.
UniqueMultiMap <K, V> A MultiMap that ensures unique values for each key.
UsbResetMultiDeviceRecovery A IMultiDeviceRecovery which resets USB buses for offline devices.
UsbResetRunConfigRecovery Allow to trigger a command to reset the USB of a device
UsbResetTest An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards.
UserChecker Checks if users have changed during the test.
UserCleaner A ITargetPreparer that removes secondary users on teardown.
UserHelper
UserInfo Similar to UserInfo class from platform.
UserInfo.UserType Supported variants of a user's type in external APIs.

V

ValidateSuiteConfigHelper This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters
VersionedFile Data structure representing a file that has an associated version.
VersionParser Fetch the version of the running tradefed artifacts.
VisibleBackgroundUserPreparer Target preparer for running tests in a user that is started in the visible in the background.
VmRemoteDevice A Remote virtual device that we will manage from inside the Virtual Machine.

W

WaitDeviceRecovery A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands.
WaitForDeviceDatetimePreparer A ITargetPreparer that waits for datetime to be set on device

Optionally this preparer can force a TargetSetupError if datetime is not set within timeout, or force host datetime onto device,

WifiHelper Helper class for manipulating wifi services on device.
WifiPreparer A ITargetPreparer that configures wifi on the device if necessary.

X

XmlFormattedGeneratorReporter Implementation of the FormattedGeneratorReporter which format the suite results in an xml format.
XmlResultReporter Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter.
XmlSuiteResultFormatter Utility class to save a suite run as an XML.
XmlSuiteResultFormatter.RunHistory Helper object for JSON conversion.

Y

YamlClassOptionsParser Helper to parse test runner information from the YAML Tradefed Configuration.

Z

ZipCompressionStrategy An ICompressionStrategy for creating zip archives.
ZipUtil A helper class for compression-related operations
ZipUtil2 A helper class for zip extraction that takes POSIX file permissions into account