Indice delle classi

Queste sono le classi API. Visualizza tutti i pacchetti API .

UN

AaptParser Classe che estrae informazioni dall'apk analizzando l'output di "aapt dump badging".
AaptParser.AaptVersion Enumerazione di opzioni per la versione AAPT utilizzata per analizzare i file APK.
Abi Una classe che rappresenta un ABI.
AbiFormatter Classe di utilità per abi.
AbiUtils Classe di utilità per la gestione degli ABI del dispositivo
Connessione astratta Rappresentazione astratta della connessione.
AbstractHostMonitor Classe tipica per il monitoraggio dell'integrità dell'host.
AbstractTunnelMonitor Monitor tunnel astratto per GCE AVD.
AbstractXmlParser Classe base helper per l'analisi di file XML
AbstractXmlParser.ParseException Emesso se non è stato possibile analizzare l'input XML
AcloudConfigParser Classe helper che analizza una configurazione Acloud (utilizzata per avviare un'istanza del dispositivo cloud).
AcloudConfigParser.AcloudKeys Set di chiavi ricercabili dalla configurazione.
Azione in corso L'azione generale in corso.
ActiveTrace Classe principale che aiuta a descrivere e gestire una traccia attiva.
Controllo stato attività Controllo dello stato per le attività rimanenti in esecuzione alla fine di un modulo.
AdbRootElevator Un AutoCloseable che abilita adb root quando viene costruito, se necessario, e ripristina lo stato root una volta completato.
AdbSshConnection Connessione adb su bridge ssh.
AdbStopServerPreparer Preparatore del target per arrestare il server adb sull'host prima e dopo l'esecuzione dei test adb.
Connessione AdbTcp Rappresentazione della connessione predefinita di un dispositivo, presunta come una connessione adb standard del dispositivo.
AdbUtils Una classe di utilità per le operazioni adb.
AfterClassWithInfo Garanzie simili a AfterClass ma il metodo annotato deve richiedere un parametro TestInformation .
AggregatePostProcessor Un aggregatore di metriche che fornisce i valori minimo, massimo, media, varianza, deviazione standard, totale, conteggio e facoltativamente percentili per le metriche numeriche raccolte durante esecuzioni di test a iterazioni multiple, trattandole come doppie.
AllTestAppsInstallSetup Un ITargetPreparer che installa tutte le app da una cartella IDeviceBuildInfo#getTestsDir() sul dispositivo.
AltDirBehavior Un'enumerazione per definire comportamenti di directory alternativi per vari installatori/pusher di artefatti di test

AndroidJUnitTest Un test che esegue un pacchetto di test della strumentazione su un determinato dispositivo utilizzando android.support.test.runner.AndroidJUnitRunner.
AndroidTestOrchestratorRemoteTestRunner Esegue un test Android strumentato utilizzando il comando adb e AndroidTestOrchestrator.
AoaTargetPreparer ITargetPreparer che esegue una serie di azioni (es. clic e scorrimenti) utilizzando il protocollo Android Open Accessorio (AOAv2).
AppBuildInfo Oggetto IBuildInfo che rappresenta un'applicazione Android e i relativi pacchetti di test.
AppDeviceBuildInfo Questa classe è deprecata. Utilizza direttamente IDeviceBuildInfo .
Configurazione dell'app Un ITargetPreparer che installa un apk e i relativi test.
AppVersionFetcher Classe di utilità per ottenere la stringa della versione dell'app dal dispositivo.
AppVersionFetcher.AppVersionInfo Tipi di informazioni sulla versione dell'app.
ArchModuleController Il controller del modulo non esegue test quando non corrisponde a nessuna delle architetture specificate.
ArgsOptionParser Popola i campi Option da argomenti della riga di comando analizzati.
ArrayUtil Metodi di utilità per gli array
ArtChrootPreparer Crea la directory chroot per i test ART.
ArtGTest
Dettagli artefatto Questo descrive la struttura del contenuto e il suo descrittore come generato dallo strumento CAS
ArtifactDetails.ArtifactFileDescriptor
ArtifactsAnalyzer Un'utilità che aiuta ad analizzare gli artefatti della build per ottenere informazioni dettagliate.
ArtRunTest Un test runner per eseguire test di esecuzione ART.
ArtRunTest.AdbShellCommandException Una classe di eccezione per segnalare un errore verificatosi durante l'esecuzione di un comando della shell ADB.
ATestFileSystemLogSaver Questa classe LogSaver viene utilizzata da ATest per salvare i registri in un percorso specifico.
AtestRunner Implementazione di ITestSuite
AtraceCollector Un IMetricCollector che esegue atrace durante un test e raccoglie i risultati e li registra nell'invocazione.
AtraceRunMetricCollector Raccoglie le tracce da tutta la directory di test nella directory specificata dal dispositivo di test, registra la directory di test e post-elabora i file di traccia nella directory di test e aggrega i parametri.
AutoLogCollector Enumerazione che descrive quale raccoglitore può essere gestito automaticamente dal cablaggio.
Reporter automatizzati Classe che definisce la mappatura dai reporter automatizzati Tradefed.
MediaPostProcessore Implementazione di post processore che calcolano la media dell'elenco di metriche.

B

BackgroundDeviceAction Esegue un comando su un determinato dispositivo ripetendolo secondo necessità finché l'azione non viene annullata.
BaseDeviceMetricCollector Implementazione di base di IMetricCollector che consente di avviare e interrompere la raccolta su onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) e ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) .
BaseEmulatorPreparer Preparatore comune per il lancio di un emulatore locale.
BaseHostJUnit4Test Classe di test di base per l'esecuzione di test di stile JUnit4 dell'host.
BaseLeveledLogOutput Un'implementazione di base per ILeveledLogOutput che consente di filtrare alcuni tag in base al loro nome o componenti.
BaseModuleController Implementazione di base di IModuleController che dovrebbe essere implementata per verificare se un modulo deve essere eseguito o meno.
BaseMultiTargetPreparer Implementazione base di IMultiTargetPreparer che consente di disabilitare l'oggetto.
BasePostProcessor L' IPostProcessor di base che ogni implementazione dovrebbe estendere.
BaseRetryDecision Implementazione di base di IRetryDecision .
BaseStreamLogger <il sistema operativo estende OutputStream> Oggetto ILeveledLogOutput che indirizza i messaggi di log a un flusso di output e a stdout.
BaseTargetPreparer Classe di implementazione di base per ITargetPreparer che consente di controllare se l'oggetto è disabilitato o meno.
BaseTestSuite Un test per eseguire la Compatibility Test Suite con il nuovo sistema della suite.
Controller della batteria Classe di utilità che consente di controllare lo stato di carica della batteria di un dispositivo.
BatteryRechargeDeviceRecovery Permette di attivare un comando quando il livello della batteria del dispositivo scende sotto una determinata soglia.
Temperatura della batteria
BatteriaUnavailableDeviceRecovery Controllo del ripristino che attiverà una configurazione se il livello della batteria non è disponibile.
PrimaClasseConInfo Garanzie simili a BeforeClass ma il metodo annotato deve richiedere un parametro TestInformation .
Stato binario Enum utilizzata per registrare lo stato ON/OFF con uno stato no-op IGNORA.
BluetoothConnectionLatencyCollector Il raccoglitore invierà una configurazione metrica di durata statistica predefinita ai dispositivi e raccoglierà la durata della connessione Bluetooth per ciascun profilo.
BluetoothConnectionStateCollector Questo agente di raccolta raccoglierà i parametri BluetoothConnectionStateChanged e registrerà il numero dello stato di connessione per ciascun profilo.
BluetoothConnectionSuccessRatePostProcessor Implementazione del postprocessore che calcola il tasso di successo per un profilo Bluetooth

Utilizzare "metric-key-match" per specificare le metriche che contengono gli stati della connessione Bluetooth nell'array numerico Esempio [0, 1, 2, 3, 0, 1, 2, 3].

BluetoothHciSnoopLogCollector Collector per abilitare lo snoop logging Bluetooth HCI sul DUT e raccogliere il registro per ciascun test.
Utilità Bluetooth Funzioni di utilità per richiamare la strumentazione Bluetooth sul dispositivo

Il codice della strumentazione Bluetooth lato dispositivo è reperibile in AOSP all'indirizzo: frameworks/base/core/tests/bluetoothtests

BootstrapBuildProvider Un IDeviceBuildProvider che esegue il bootstrap delle informazioni sulla build dal dispositivo di test

Questo viene in genere utilizzato per dispositivi con una build fornita esternamente, ad es

BootstrapServiceFileResolverLoader Carica i risolutori utilizzando la funzione di caricamento del servizio.
Riportare un errore Oggetto che contiene i riferimenti ai file della segnalazione di bug, compatibile con la segnalazione di bug piatta e la segnalazione di bug compressa (bugreportz).
BugreportCollector Un ITestInvocationListener pass-through che raccoglie segnalazioni di bug quando si verificano eventi configurabili e quindi richiama ITestInvocationListener#testLog sui relativi elementi secondari dopo la raccolta di ciascuna segnalazione di bug.
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.Noun
BugreportCollector.Predicate Un predicato completo che descrive quando acquisire una segnalazione di bug.
BugreportCollector.Relation
BugreportCollector.SubPredicate
Segnalazione bugOnFailureCollector Raccogli una segnalazione di bug quando un test case fallisce.
BugreportzOnTestCaseFailureCollector Raccogli un bugreportz quando un test case in un'esecuzione fallisce.
CostruisciAnalisi Rappresenta i risultati di un'analisi di singola build.
Errore di compilazione Emesso se la build fornita non riesce a essere eseguita.
BuildInfo Implementazione generica di un IBuildInfo che deve essere associato a un ITestDevice .
BuildInfoKey Classe che contiene l'enumerazione relativa alle query di informazioni sulla creazione.
BuildInfoKey.BuildInfoFileKey Enum che descrive tutti i tipi di file conosciuti che possono essere interrogati tramite IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) .
BuildInfoRecorder Un ITargetPreparer che scrive i metadati delle informazioni di build in un file specificato.
BuildInfoUtil Una classe util per aiutare a manipolare IBuildInfo
Errore di recupero build Si è verificato un errore irreversibile durante il recupero della build per il test.
BuildSerializedVersion Classe che contiene la versione di serializzazione corrente di tutti IBuildInfo .
BuildTestsZipUtils Una classe helper per le operazioni relative ai test zip generati dal sistema di build Android
BulkEmailer Un'utilità per il mittente della posta elettronica che consente la seguente configurazione: intervallo di invio, dimensione del burst iniziale, destinatari e numero totale di messaggi.
BundletoolUtil Classe di utilità che utilizza la riga di comando bundletool per installare .apks sul deivce.
ByteArrayInputStreamSource
ByteArrayList Una classe per rappresentare un array di byte leggero.
ByteArrayUtil Utilità per operare su array di byte, ad esempio, convertire byte in numeri interi.

C

CarModuleController Questo controller impedisce l'esecuzione di casi di test su dispositivi non automobilistici.
CarryDnaeError RuntimeException interna per trasportare DeviceNotAvailableException attraverso il framework JUnit4.
CarryInterruptedException Emesso quando viene attivato il timeout della fase di test ed è necessario trasportare un'InterruptedException dal thread di esecuzione del test al thread di esecuzione della chiamata.
CdmaDeviceFlasher Una classe che esegue il flashing di un'immagine su un dispositivo Android fisico con una radio CDMA.
CecControllerTokenProvider Fornitore di token per token relativi al Consumer Electronics Control (CEC).
InformazioniDirectoryCentrale CentralDirectoryInfo è una classe contenente le informazioni di un file/cartella all'interno di un file zip.
ControllaPairingPreparer Un CompanionAwarePreparer che verifica il collegamento BT tra i dispositivi primari e associati
CircularAtraceUtil Un'utilità atrace sviluppata principalmente per identificare le cause profonde degli ANR durante i test di Monkey.
CircularByteArray Struttura dati per contenere un array di dimensioni fisse che funziona come un buffer circolare e tiene traccia della somma totale di tutti i valori nell'array.
ClangCodeCoverageCollector Un BaseDeviceMetricCollector che estrarrà le misurazioni della copertura Clang dal dispositivo e le registrerà come artefatti di test.
ClangProfileIndexer Una classe di utilità che indicizza le misurazioni della copertura del codice Clang.
ClassNotFoundConfigurationException ConfigurationException per quando la classe di un oggetto non viene trovata.
ClassPathScanner Trova le voci sul classpath.
ClassPathScanner.ClassNameFilter Un IClassPathFilter che filtra e trasforma i nomi delle classi Java.
ClassPathScanner.ExternalClassNameFilter Un ClassNameFilter che rifiuta le classi interne
ClassPathScanner.IClassPathFilter Un filtro per i percorsi di ingresso del percorso di classe

Modellato secondo FileFilter

ClockworkUtils Un'utilità a orologeria per la condivisione della logica multi-dispositivo
CloseableTraceScope Una classe con ambito che consente di segnalare la sezione di traccia tramite try-with-resources
ClusterBuildInfo Una classe IBuildInfo per le build inviate da TFC.
ClusterBuildProvider Un IBuildProvider per scaricare le risorse di test TFC.
ClusterClient Un'implementazione IClusterClient per interagire con il backend TFC.
ClusterCommand Una classe che rappresenta un'attività recuperata da TF Cluster.
ClusterCommand.RequestType
ClusterCommand.State Stato del comando nel cluster TF.
ClusterCommandConfigBuilder Una classe per creare un file di configurazione per un comando cluster.
ClusterCommandEvent Una classe per incapsulare gli eventi dei comandi del cluster da caricare.
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
ClusterCommandLauncher Una classe IRemoteTest per avviare un comando da TFC tramite un sottoprocesso TF.
ClusterCommandScheduler Un ICommandScheduler per supportare TFC (Tradefed Cluster).
ClusterCommandStatus Una classe che rappresenta lo stato e il motivo dell'annullamento per un comando da TF Cluster.
ClusterDeviceInfo Una classe per incapsulare le informazioni sul dispositivo cluster da caricare.
ClusterDeviceInfo.Builder
ClusterDeviceMonitor Un'implementazione IDeviceMonitor che segnala i risultati al servizio Tradefed Cluster.
ClusterEventUploader <T estende IClusterEvent > Classe ClusterEventUploader, che carica IClusterEvent su TFC.
ClusterHostEvent Una classe per incapsulare gli eventi dell'host del cluster da caricare.
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType Enumerazioni dei diversi tipi di eventi host.
ClusterHostUtil Funzioni di utilità statiche per TF Cluster per ottenere istanze di configurazione globali, informazioni sull'host, ecc.
ClusterLogSaver Una classe ILogSaver per caricare gli output dei test su TFC.
ClusterLogSaver.FilePickingStrategy Strategie di raccolta dei file.
Opzioni cluster
Test di copertura del codice Un test che esegue un pacchetto di test della strumentazione su un determinato dispositivo e genera il report sulla copertura del codice.
CollectingByteOutputReceiver Un IShellOutputReceiver che raccoglie l'intero output della shell in un byte[] .
RaccoltaOutputReceiver Un IShellOutputReceiver che raccoglie l'intero output della shell in un unico String .
RaccoltaTestListener Un ITestInvocationListener che raccoglierà tutti i risultati dei test.
CollectorHelper Aiutante per eseguire alcune operazioni IMetricCollector necessarie in diversi punti.
CommandFileParser Parser per file che contiene un set di righe di comando.
CommandFileParser.CommandLine
CommandInterrupter Servizio che consente di interrompere o contrassegnare come non interrompibili i comandi della TradeFederation.
CommandLineBuildInfoBuilder Utilità pensata per acquisire i soliti argomenti delle informazioni di compilazione da una riga di comando e creare un IBuildInfo da essi.
Opzionicomando Implementazione di ICommandOptions .
ComandoOpzioniGetter Implementazione del servizio che restituisce il valore delle opzioni di comando di una determinata invocazione.
Risultato comando Contiene il risultato di un comando.
CommandRunner Un punto di ingresso alternativo di TradeFederation che eseguirà il comando specificato negli argomenti della riga di comando e quindi verrà chiuso.
CommandRunner.ExitCode Codici di errore con cui è possibile uscire.
CommandScheduler Uno scheduler per l'esecuzione dei comandi TradeFederation su tutti i dispositivi disponibili.
CommandScheduler.HostState Enumerazioni di diverso stato dell'host
Stato comando Rappresenta lo stato di un'operazione temporizzata.
CommandStatusHandler Gestore che aiuta a monitorare e aggiornare lo stato di un'invocazione.
CommandSuccessModuleController Classe base per un controller del modulo per saltare il modulo di test in base all'errore del comando shell.
CommonLogRemoteFileUtil Questa utilità consente di evitare la duplicazione del codice tra le diverse rappresentazioni del dispositivo remoto per la logica di recupero del registro remoto dei file comuni.
CommonLogRemoteFileUtil.KnownLogFileEntry Una rappresentazione di una voce di registro nota per i dispositivi remoti.
CompanionAllocator Classe base che si occupa dell'allocazione e della liberazione del dispositivo associato

getCompanionDeviceSelectionOptions() dovrebbe essere implementato per descrivere i criteri necessari per allocare il dispositivo associato

CompanionAwarePreparer Un ITargetPreparer che incapsula la logica per ottenere un dispositivo complementare già allocato.
CompanionAwareTest Classe di test di base che incapsula il boilerpate per ottenere e controllare il dispositivo associato

La sottoclasse può chiamare getCompanion() per recuperare il compagno allocato.

CompanionDeviceTracker Una classe per l'allocazione e la liberazione dei dispositivi associati
CompanionRunCommandTargetPreparer Un ITargetPreparer che esegue i comandi specificati sul dispositivo complementare allocato
CompanionTestAppInstallSetup Un ITargetPreparer che installa una o più app da una cartella IDeviceBuildInfo#getTestsDir() su un dispositivo complementare allocato.
CompileBootImageWithSpeedTargetPreparer Ricompila il classpath di avvio e il server di sistema con il filtro del compilatore "velocità".
ConditionFailureMonitor Monitorare eventuali errori derivanti dall'invocazione.
ConditionPriorityBlockingQueue <T> Una classe thread-safe con operazioni simili a ERROR(/PriorityBlockingQueue) in grado di recuperare oggetti che soddisfano una determinata condizione.
ConditionPriorityBlockingQueue.AlwaysMatch <T> Oggetto ConditionPriorityBlockingQueue.IMatcher che corrisponde a qualsiasi oggetto.
ConditionPriorityBlockingQueue.IMatcher <T> Un'interfaccia per determinare se gli elementi corrispondono a qualche tipo di condizione.
ConfigCompleter Implementazione del Completer per le nostre configurazioni TF.
ConfigurableGrpcDynamicShardingClient
Configurazione Un'implementazione concreta IConfiguration che archivia gli oggetti di configurazione caricati in una mappa.
ConfigurazioneDef Contiene un record di una configurazione, dei suoi oggetti associati e delle relative opzioni.
ConfigurazioneDef.ConfigObjectDef Oggetto per contenere informazioni per un className e il numero di apparizione che ha (ad esempio, se una configurazione ha lo stesso oggetto due volte, il primo avrà il primo numero di apparizione).
Descrizione della configurazione Configurazione Oggetto che descrive alcuni aspetti della configurazione stessa.
ConfigurationDescriptor.LocalTestRunner Enum utilizzata per indicare il test runner locale.
ConfigurationException Emesso se non è stato possibile caricare la configurazione.
ConfigurazioneFactory Factory per la creazione IConfiguration .
ConfigurationFactory.ConfigLoader Implementazione di IConfigDefLoader che tiene traccia delle configurazioni incluse da una configurazione root e genera un'eccezione sulle inclusioni circolari.
ConfigurationFactory.ExceptionLoader
ConfigurazioneUtil Funzioni di utilità per gestire i file di configurazione.
ConfigurazioneXmlParserSettings Una classe semplice per accettare le impostazioni per ConfigurationXmlParser

Per passare le impostazioni a questa classe, l'alias è obbligatorio.

ConfigurazioneYamlParser Parser per configurazioni Tradefed in stile YAML
ConfigUtil Classe di utilità per creare, interagire e inviare file di configurazione statsd.
ConfigUtil.LogSource
Consolle Console principale della TradeFederation che fornisce all'utente l'interfaccia per interagire

Attualmente supporta operazioni come

  • aggiungi un comando da testare
  • elencare i dispositivi e il loro stato
  • elenca le invocazioni in corso
  • elenca i comandi in coda
  • scarica il registro delle chiamate su file/stdout
  • fermare
Console.ArgRunnable <T> Un Runnable con un metodo run che può accettare un argomento
Console.CaptureList Un tipo pratico per List<List<String>>
ConsoleReaderOutputStream Un OutputStream che può essere utilizzato per far sì che System.out.print() funzioni correttamente con LineReader unfinishedLine dell'utente.
ConsoleResultReporter Reporter dei risultati per stampare i risultati del test sulla console.
ContenutoAnalisiContesto Fornire il contesto che circonda un contenuto per analizzarlo correttamente.
ContentAnalysisContext.AnalysisMethod Questo descrive cosa aspettarsi dalla struttura del contenuto per un'analisi corretta.
Risultati dell'analisi del contenuto Sintesi dell'analisi del contenuto.
Informazioni sul contenuto Rappresenta il contenuto per una determinata destinazione di build della versione di base e corrente.
ContentProviderHandler Gestore che astrae le interazioni del fornitore di contenuti e consente di utilizzare il fornitore di contenuti lato dispositivo per diverse operazioni.
CountingTestResultListener Un TestResultListener che tiene traccia del numero totale di test in base a TestStatus
CountTestCasesCollector Contare e segnalare il numero di casi di test per un determinato IRemoteTest .
CoverageMeasurementForwarder Un test segnaposto che inoltra le misurazioni di copertura dal provider di build al logger.
Opzioni di copertura Tradefed si oppone al mantenimento delle opzioni di copertura.
CoverageOptions.Toolchain
CpuThrottlingCameriere Un ITargetPreparer che attende finché la frequenza massima su tutti i core non viene ripristinata al livello più alto disponibile
CreaAvdPreparer
CreateUserPreparer Preparatore del target per creare l'utente e ripulirlo alla fine.
Invocazione corrente Una classe che tiene traccia e fornisce le informazioni sull'invocazione corrente utili ovunque all'interno dell'invocazione.
CurrentInvocation.InvocationInfo Una chiave con nome speciale che popoleremo sempre per l'invocazione.
CurrentInvocation.IsolationGrade Descrive il livello di isolamento

D

DebugHostLogOnFailureCollector Collector che raccoglierà e registrerà i log lato host quando si verifica un errore del test case.
Connessione predefinita Rappresentazione della connessione predefinita di un dispositivo, presunta come una connessione adb standard del dispositivo.
DefaultConnection.ConnectionBuilder Il costruttore descriveva la connessione.
PredefinitoRemoteAndroidTestRunner Estensione di ddmlib RemoteAndroidTestRunner per impostare alcuni valori predefiniti per i casi d'uso Tradefed.
DefaultTestsZipInstaller Un'implementazione predefinita del programma di installazione zip dei test.
DelegateInvocationExecution InvocationExecution che delega l'esecuzione a un altro binario Tradefed.
DipendenzeResolver Un nuovo tipo di provider che consente di ottenere tutte le dipendenze per un test.
DeviceActionTargetPreparer Un ITargetPreparer per eseguire azioni del dispositivo.
DeviceActionUtil Una classe Utility per eseguire azioni del dispositivo.
DeviceActionUtil.Command Comandi per l'azione del dispositivo.
DeviceActionUtil.DeviceActionConfigError Eccezione per errore di configurazione.
Risultato allocazione dispositivo Rappresenta i risultati di un tentativo di allocazione per un comando.
Stato di allocazione dispositivo Rappresenta lo stato di allocazione del dispositivo dal punto di vista IDeviceManager
DispositivoAvailableChecker Controllo per garantire che un modulo non lasci il dispositivo in uno stato offline.
DispositivoBaselineChecker Configurare le impostazioni di base del dispositivo prima di ciascun modulo.
DispositivoBaselineSetter Classe astratta utilizzata per creare un'impostazione di base del dispositivo.
DispositivoBatteryLevelChecker Un IRemoteTest che verifica la carica minima della batteria e attende che la batteria raggiunga una seconda soglia di carica se la carica minima non è presente.
DeviceBatteryResourceMetricCollector Questo raccoglitore raccoglie i parametri relativi alla batteria del dispositivo.
DeviceBuildDescriptor Una classe wrapper per un IBuildInfo , che contiene metodi di supporto per recuperare informazioni sulla build della piattaforma del dispositivo.
DeviceBuildInfo Un IBuildInfo che rappresenta una build completa del dispositivo Android e (facoltativamente) i relativi test.
DeviceBuildInfoBootStrapper Un ITargetPreparer che sostituisce i campi delle informazioni sulla build con attributi letti dal dispositivo

Ciò è utile per testare dispositivi con build generate da una fonte esterna (ad es

DeviceBuildInfoInjector Un ITargetPreparer che inserisce i metadati DeviceBuildDescriptor in IBuildInfo .
DeviceCleaner Esegue il riavvio o la formattazione come azione di pulizia dopo il test e, facoltativamente, spegne lo schermo
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
DispositivoConcurrentUtil Contiene metodi e classi di utilità per l'esecuzione simultanea di comandi lato dispositivo

Utilizzare ERROR(/ExecutorService) per eseguire comandi implementati come ShellCommandCallable e utilizzare ERROR(/#joinFuture(String,Future,long)) per la sincronizzazione con ERROR(/Future) restituito da ERROR(/ExecutorService) per l'esecuzione del comando.

DeviceConcurrentUtil.ShellCommandCallable <V> Un ERROR(/Callable) che racchiude i dettagli dell'esecuzione del comando shell su un ITestDevice .
DeviceConfigurationHolder Un'implementazione concreta IDeviceConfiguration che memorizza gli oggetti di configurazione del dispositivo caricati nei suoi attributi.
Descrizione dispositivo Una classe contenente informazioni che descrivono un dispositivo in prova.
DeviceDisconnectedException Emesso quando un dispositivo non è più raggiungibile tramite il suo tipo di trasporto, ad esempio se il dispositivo non è più visibile tramite USB o connessione TCP/IP
DeviceErrorIdentifier Identificatori di errore da errori del dispositivo ed errori segnalati dal dispositivo.
Errore DeviceFailedToBoot Emesso se un dispositivo non riesce ad avviarsi dopo essere stato sottoposto a flashing con una build.
DispositivoFunzioneFlag
DeviceFeatureModuleController Un controller del modulo per non eseguire test quando non supporta determinate funzionalità.
DeviceFileReporter Una classe di utilità che controlla la presenza di file nel dispositivo e li invia a ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) se trovati.
DeviceFlashPreparer Un ITargetPreparer che esegue il flashing di un'immagine sull'hardware Android fisico.
DispositivoFoldableState Rappresentazione dello stato pieghevole del dispositivo restituito da "cmd device_state print-states".
DeviceFolderBuildInfo Oggetto IDeviceBuildInfo che contiene anche altri artefatti di build contenuti in una directory nel file system locale.
DispositivoImageTracker Per alcuni aggiornamenti incrementali del dispositivo, abbiamo bisogno dei file di base per calcolare le differenze.
DeviceImageTracker.FileCacheTracker Tieni traccia delle informazioni dell'immagine del dispositivo memorizzata nella cache e dei relativi metadati
DeviceImageZipFlashingTargetPreparer Un preparatore di target che esegue il flashing del dispositivo con le immagini del dispositivo fornite tramite un formato specifico.
DeviceInternetAccessibilityResourceMetricCollector Il raccoglitore esegue il ping di google.com per verificare se il dispositivo ha accessibilità a Internet o meno.
DispositivoJUnit4ClassRunner Test runner JUnit4 che supporta anche IDeviceTest .
DeviceJUnit4ClassRunner.LogAnnotation Annotazione falsa intesa a portare i registri ai giornalisti.
DeviceJUnit4ClassRunner.MetricAnnotation Annotazione falsa intesa a fornire parametri ai giornalisti.
DeviceJUnit4ClassRunner.TestLogData Implementazione di ExternalResource e TestRule .
DeviceJUnit4ClassRunner.TestMetrics Implementazione di ExternalResource e TestRule .
DeviceManagementGrpcServer Server GRPC che consente di prenotare un dispositivo da Tradefed.
Gestore dispositivi
DeviceManager.FastbootDevice Rappresentazione di un dispositivo in modalità Fastboot.
DeviceMetricData Oggetto per contenere tutti i dati raccolti dai raccoglitori di metriche.
DeviceMonitorMultiplexer Una classe proxy per propagare le richieste a più IDeviceMonitor .
DeviceNotAvailableException Emesso quando un dispositivo non è più disponibile per il test.
DeviceOwnerTargetPreparer Un ITargetPreparer che configura un componente del proprietario del dispositivo.
DispositivoParameterizedRunner Runner parametrizzato in stile JUnit4 per test parametrizzati guidati dal lato host.
Proprietà dispositivo Definizioni costanti comuni per i nomi delle proprietà lato dispositivo
DispositivoRecoveryModeUtil
DeviceReleaseReporter Reporter di rilascio del dispositivo che gestisce la comunicazione con il processo principale dei dispositivi da rilasciare.
Funzionalità di ripristino del dispositivo Implementazione lato server del ripristino del dispositivo.
DeviceResetHandler Utilità che gestisce genericamente il ripristino del dispositivo.
DeviceRuntimeException Emesso quando un'azione del dispositivo non ha prodotto i risultati attesi.
Opzioni di selezione dispositivo Contenitore per i criteri di selezione del dispositivo.
DeviceSelectionOptions.DeviceRequestedType I diversi tipi possibili di dispositivi segnaposto supportati.
DeviceSettingChecker Controlla se le impostazioni del dispositivo sono cambiate durante l'esecuzione di un modulo.
Configurazione dispositivo Un ITargetPreparer che configura un dispositivo per il test in base alle Option fornite.
Funzione Snapshot del dispositivo Implementazione lato server dello snapshot del dispositivo.
DeviceSnapshotHandler Utilità che gestisce l'istantanea di Seppia.
DeviceStateMonitor Classe helper per monitorare lo stato di un IDevice .
DeviceStorageAgeResourceMetricCollector Analizza l'età di archiviazione da logcat.
DeviceStorageFiller Il preparatore target deve riempire la memoria in modo che sia disponibile una certa quantità di spazio libero.
DeviceStorageStatusChecker Controlla se il dispositivo dispone di spazio su disco sufficiente per le partizioni specificate.
DeviceStringPusher Preparatore del target per scrivere una stringa in un file.
DeviceSuite Estende la Suite contenitore JUnit4 per fornire un ITestDevice ai test che lo richiedono.
DeviceSyncHelper Helper che aiuta a sincronizzare una nuova immagine del dispositivo sul dispositivo.
DeviceTestCase Caso di test JUnit helper che fornisce i servizi IRemoteTest e IDeviceTest .
RisultatoTestDispositivo Una specializzazione di TestResult che verrà interrotta quando si verifica DeviceNotAvailableException
DeviceTestResult.RuntimeDeviceNotAvailableException
DeviceTestRunOptions Una classe di builder per le opzioni relative all'esecuzione di test del dispositivo tramite BaseHostJUnit4Test.
DeviceTestSuite Suite di test Helper JUnit che fornisce i servizi IRemoteTest e IDeviceTest .
DeviceTraceCollector Servizio di raccolta che avvierà la traccia perfetta all'avvio di un'esecuzione di test e registrerà il file di traccia alla fine.
DispositivoNon disponibileMonitor Questo ascoltatore tenta di acquisire solo un DNAE a livello di test case.
DeviceUnresponsiveException Una specializzazione di DeviceNotAvailableException che indica che il dispositivo è visibile ad adb, ma non risponde (ad esempio, i comandi scadono, non si avvia, ecc.)
DeviceUpdateTargetPreparer Un ITargetPreparer astratto che si occupa dei passaggi comuni relativi all'aggiornamento dei dispositivi con un file immagine del dispositivo da una fonte esterna (in contrapposizione a un servizio di compilazione).
DeviceWifiResourceMetricCollector Il raccoglitore raccoglie la potenza del segnale Wi-Fi attualmente connesso e le metriche della velocità di collegamento.
DeviceWiper Un ITargetPreparer che cancella i dati utente
Grafico Diretto <V> Un'implementazione diretta di grafici non ponderati.
Disabilitare SELinuxTargetPreparer Preparatore di target che disabilita SELinux se abilitato.
DryRunKeyStore Un keystore per l'esecuzione a prova in cui qualsiasi valore del keystore viene sempre sostituito e trovato correttamente.
Corridore a secco Esegue test a secco in modo trasparente invece di eseguirli effettivamente.
DynamicFileStubTest Questo è un test di tradefed per verificare che tradefed possa risolvere correttamente il file dinamico.
DynamicRemoteFileResolver Classe che aiuta a risolvere il percorso dei file remoti.
DynamicRemoteFileResolver.FileResolverLoader Carica le implementazioni di IRemoteFileResolver .
DynamicShardHelper Strategia di partizionamento orizzontale per consentire l'accodamento del lavoro remoto tra più istanze TF
DynamicShardingConnectionInfoMessage Classe di conservazione dei dati per facilitare l'invio tramite il feature server.
DynamicSystemPreparer Un ITargetPreparer che configura un'immagine di sistema sopra una build del dispositivo con l'aggiornamento dinamico del sistema.

E

Funzionalità di rilascio anticipato del dispositivo Implementazione del server delle funzionalità per il rilascio anticipato del dispositivo.
E-mail Una classe di supporto per inviare un'e-mail.
EmailHostHealthAgent Un'implementazione IHostHealthAgent per inviare e-mail dai report del monitor Host
EmmaXmlCostanti Costanti utilizzate durante l'analisi del report emma xml.
EmulatoreMemoriaCpuCapturer
EndCentralDirectoryInfo EndCentralDirectoryInfo è una classe contenente le informazioni generali di un file zip.
EnforcedSeLinuxChecker Controllo dello stato che garantisce lo stato di Selinux.
EraseUserDataPreparer Un ITargetPreparer che cancella i dati dell'utente sul dispositivo.
Identificatore di errore Questa interfaccia descrive un errore specifico e le sue proprietà.
ErrorStorageUtil Classe helper per manipolare gli errori per allinearli con l'archiviazione comune.
EventsLoggerListener Listener che registra tutti gli eventi che riceve in un file
ExceptionThrowingRunnerWrapper
ExecutableBaseTest Classe base per lo stile eseguibile dei test.
ExecutableHostTest Test runner per l'eseguibile in esecuzione sull'host.
EseguibileTargetTest Test runner per l'eseguibile in esecuzione sulla destinazione.
File di esecuzione Dipendenze di file generate durante l'esecuzione di un test o di un'invocazione che devono essere trasportate per il test.
ExecutionFiles.FilesKey Enumerazione della chiave standard nota per la mappa.
Proprietà di esecuzione Proprietà generate durante l'esecuzione di un test o di un'invocazione.
EsistenteBuildProvider Un IBuildProvider che restituisce un IBuildInfo già costruito.
File esteso Un'estensione del file standard per contenere metadati relativi alla build.
ExtensionAtomsRegistry ExtensionAtomsRegistry per l'uso locale di statsd.

F

Descrizione del fallimento La classe che descrive un'informazione di errore nella Federazione dei Mercanti.
FalsoTest Un test falso il cui scopo è facilitare la generazione di risultati di test ripetibili.
FakeTestZipFolder Un dispositivo di test che crea una falsa cartella di test decompressa basata su un elenco di contenuti.
FakeTestsZipFolder.ItemType
FastbootCommandPreparer Preparatore di destinazione che attiva l'avvio rapido e invia comandi di avvio rapido.
FastbootDeviceFlasher Una classe che si basa su fastboot per eseguire il flashing di un'immagine sull'hardware fisico Android.
FastbootHelper Una classe helper per le operazioni di avvio rapido.
FastbootUpdateBootstrapPreparer Un ITargetPreparer che mette in scena i file specificati (bootloader, radio, immagine del dispositivo zip) in IDeviceBuildInfo per far lampeggiare i dispositivi con FastbootDeviceFlasher , quindi inietta gli attributi del dispositivo post-boot nelle informazioni di build per scopi di reporting.
Fatalhosterror Un'eccezione che indica un errore fatale irrecuperabile si è verificata sulla macchina della macchina della macchina dell'ospite e che l'istanza delladerazione della tradettazione dovrebbe essere chiusa.
FeatureFlagtargetParer Aggiorna DeviceConfig (flag di funzionalità sintonizzati da un servizio remoto).
FiledownloadCache Una classe di supporto che mantiene un file system locale LRU di file scaricati.
FILEDOWNLOADCACHEFACTORY Una fabbrica per la creazione FileDownloadCache
FILEDOWNLOADCACHEWRAPPER Una classe wrapper che fornisce strutture FileDownloadCache durante l'implementazione dell'interfaccia IFileDownloader .
Fileidlemonitor Monitora i file ed esegue un callback se sono stati inattivi (cioè
FileInputStreamSource Un InputStreamSource che prende un file di input.
Filelogger Un ILeveledLogOutput che dirige i messaggi di registro su un file e su stdout.
FileProtoresulTrePorter Proto reporter che scarica TestRecord in un file.
FILEPULLERDEVICEMETRICCOLLECTOR A BaseDeviceMetricCollector che ascolta la chiave di metriche proveniente dal dispositivo e tirali come file dal dispositivo.
FILEPULLERLOGCOLLECTOR Logger del file riportato dal lato del dispositivo.
Filesystemlogsaver Salva i registri su un file system.
Filesystemrootchecker
Fileutil Una classe di supporto per operazioni relative ai file
Fileutil.lowdiskspaceexception Lanciato se lo spazio del disco utilizzabile è al di sotto della soglia minima.
FilteredResultForwarder Variante di ResultForwarder che consente di segnalare solo una lista di TestDescription .
FixeArrayOutputStream Un ERROR(/OutputStream) che mantiene solo una quantità massima di dati.
Flashingmethod Un enum per descrivere il metodo utilizzato per flash dispositivo in test
FlashingResourcesparser Una classe che analizza le versioni richieste dei file di immagine ausiliari necessari per eseguire il flashing di un dispositivo.
FlashingResourcesparser.androidinfo A typedef per Map&lt;String, MultiMap&lt;String, String&gt;&gt; .
FlashingResourcesparser.constraint Un'interfaccia di filtraggio, destinata a consentire FlashingResourcesParser di ignorare alcune risorse che altrimenti potrebbe usare
FlashingResourceutil Questa utilità aiuta a impostare la versione appropriata degli artefatti in modo che possano essere lampeggiati tramite DeviceFlashPreparer .
FoldAbleExpandingHandler Un IModuleParameterHandler che si espande in più per ogni configurazione pieghevole non primaria.
FoldhableHandler Gestro pieghevole generico che può prendere i parametri pieghevoli per creare un modulo specializzato.
FOLLEMODEPREPARER Un preparatore di destinazione che può cambiare lo stato pieghevole di un dispositivo.
CartellaBuildInfo Implementazione concreta di un IFolderBuildInfo .
FOLLETTERSAVER Un ITargetPreparer che estrae le directory dal dispositivo, comprime e lo salva nel backend di registrazione.
FormatTetedGeneratorPorter Reporter che consente di generare report in un formato particolare.
Freedevicestate
Fuseutil Una lezione di supporto per le operazioni di fusibili.

G

Gceavdinfo Struttura per detenere dati pertinenti per una determinata istanza GCE AVD.
Gceavdinfo.gcestatus
Gceavdinfo.logfileentry
Gcelhptunnelmonitor
Gcemanager Aiutante che gestisce le chiamate GCE per iniziare/fermare e raccogliere i registri da GCE.
GCEREMOTECMDFORMATER Classe di utilità per formattare i comandi per raggiungere un dispositivo GCE remoto.
GCEREMOTECMDFORMATER.SCPMODE SCP può essere utilizzato per spingere o tirare il file a seconda della struttura degli ARG.
Gcesshtunnelmonitor Monitoraggio della discussione per il tunnel GCE SSH.
GCOVCodeCoveRecollector A BaseDeviceMetricCollector che eliminerà le misurazioni della copertura GCOV dal dispositivo e le registrerà come artefatti di prova.
GCovkernelCodeCoverageCollector A BaseDeviceMetricCollector che tirerà fuori le misurazioni della copertura del kernel GCOV da Debugfs e fuori dal dispositivo e infine le registra come artefatti di prova.
Gcsbucketutil File Manager per scaricare e caricare file da Google Cloud Storage (GCS).
Gcsbucketutil.gcsfilemetadata Simple Wrapper per informazioni sul file in GCS.
Gcscommon Classe di base per operazioni GCS come download e upload.
GCSConfigurationFactory ConfigurationFactory carica configurazioni da Google Cloud Storage.
GCSConfigurationFactory.gcsConfigloader L'estensione di ConfigurationFactory.ConfigLoader che carica la configurazione da GCS, tiene traccia delle configurazioni incluse da una configurazione di root e lancia un'eccezione su circolare include.
GCSConfigurationServer Config Server Carica configurazioni da Google Cloud Storage (GCS).
GCSDownloaderHelper Downloader per GCS Bucket che si occupa della memorizzazione nella cache e della risoluzione della configurazione globale.
GCSFileDownloader File Downloader per scaricare il file da Google Cloud Storage (GCS).
Gcsfileuploader Caricatore file per caricare i dati dei file su Google Cloud Storage (GCS).
GcshostresourceManager Scarica la risorsa host da GCS (Google Cloud Storage).
GcsremotefilereSolver Implementazione di IRemoteFileResolver che consente il download da un secchio GCS.
Genericlogcateventparser <GogCateEventType> Analizza input Logcat per gli eventi.
Genericlogcateventparser.logcatevent Struttura per tenere un evento Logcat con il tipo di evento e innescare il messaggio Logcat
GetPreviouspasshedhelper Aiutante per ottenere i filtri di prova passati precedenti.
GkideviceflashParer Un preparatore di destinazione che lampeggia il dispositivo con l'immagine generica del kernel comune Android.
GlobalConfiguration Un'implementazione IGlobalConfiguration che memorizza gli oggetti di configurazione caricati in una mappa
GlobalFilterGetter Implementazione del servizio che restituisce i filtri di una determinata invocazione.
GlobalTestFilter Opzioni di filtro applicate all'invocazione.
Googleapiclienttutil Utils per creare client API Google.
GooglebenchmarkResultParser Analizza i risultati del benchmark di Google che vanno dalla shell e restituisce una mappa con tutti i risultati.
Googlebenchmarktest Un test che esegue un pacchetto di test di benchmark di Google sul dispositivo dato.
Granulartretriabletestwrapper Una lezione di involucro funziona IRemoteTest per granulare l'Iremotetest a livello di test.
GranularretRetriabletestwrapper.StartendCollector Aiutante di classe per catturare la corsa e la fine.
GsideviceflashParer Un preparatore di destinazione che lampeggia il dispositivo con l'immagine di sistema generico Android.
Gtest Un test che esegue un pacchetto di test nativo su un determinato dispositivo.
Gtestbase La classe base di gtest
GtestListStestParser Un parser di risultato per il parametro "--gtest_list_tests".
GThestresultParser Analizza i risultati di "modalità di output grezzo" dei test nativi usando GTest che vanno dalla shell e informa un listener itestinvocation dei risultati.
GtestxmlResultParser Analizza i risultati di "modalità di output XML" dei test nativi usando GTest che vanno dalla shell e informa un ItstrunListener dei risultati.

H

HarnessException Classe di eccezione di base per l'eccezione lanciata all'interno del cablaggio.
HarnessioException Eccezione sfruttata che aiuta a trasportare problemi di file.
Harnessruntimeexception
HeaphostMonitor Implementazione AbstractHostMonitor che monitora la memoria heap sull'host e registra periodicamente al registro della cronologia.
HelloworldMultitargetParer Un esempio di implementazione di un IMultiTargetPreparer .
Storia di storia Logger di cronologia TF, registro speciale che contiene solo alcuni eventi specifici.
Hostgtest Un test che esegue un pacchetto di test nativo.
Hostmetric Questa classe rappresenta un campione metrico host da segnalare.
Ostop Classe di titoli di opzioni host.
HostStatsdMetricCollector Un IMetricCollector che raccoglie le metriche di Statsd dal lato host usando comandi di utilità STATSD.
Hosttest Un runner di test per i test basati su host JUnit.
Hosttuli Implementa alcuni utili metodi di utilità per l'esecuzione di test host.
HProfallocsiteParser Classe di aiuto per analizzare le informazioni da una sezione di allocazione dei rapporti HPROF.
Httphelper Contiene metodi di supporto per effettuare richieste HTTP
Httphelper.requestrunnable Runnable per effettuare richieste con IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) .
Httpmultipartpost Classe di supporto per la fornitura di richieste di post HTTP multipart.
HttPremoteFileResolver Implementazione di IRemoteFileResolver che consente il download di file remoti tramite HTTP
HttpsremotefilereSolver Implementazione di IRemoteFileResolver che consente il download di file remoti tramite HTTPS

IO

Iabi Interfaccia che rappresenta l'ABI in esame.
Iabireceiver Un test che necessita di ABI in esame.
Indroiddebugbridge Definizione dell'interfaccia per i metodi AndroidDebugBridge utilizzati in questo pacchetto.
Iappbuildinfo Questa interfaccia è deprecata. Usa IBuildInfo direttamente.
IAutoReTRiableTest Interfaccia per un IRemoteTest che non implementa ITestFilterReceiver ma desidera comunque supportare l'auto-retry.
IbatteryInfo L'interfaccia che definisce l'interazione con una batteria di un dispositivo.
IBatteryInfo.BatteryState Descrive l'attuale stato di ricarica della batteria.
Ibuildinfo Contiene informazioni sulla build in esame.
Ibuildinfo.buildinfoproperties Alcune proprietà che un IBuildInfo può dover modificare un po 'di gestione.
IbuildProvider Responsabile della fornitura di informazioni in merito alla build in esame.
Ibuildreceiver Un test che richiede riferimento alla build in test.
Iclusterclient Un'interfaccia per interagire con il backend TFC.
Iclustervent Interfaccia per qualsiasi evento cluster da caricare su TFC.
IClusterEventUploader <T estende iClusterEvent > Interfaccia per ClusterEventUploader
Iclusteroptions Un'interfaccia per ottenere opzioni relative al cluster.
Icommandoptions Container per le opzioni di esecuzione per i comandi.
Icommandsccheduler Uno scheduler per i comandi in esecuzione di federazione.
Icommandscheduler.ischeduledinvocationlistener Ascoltatore per eventi di invocazione al termine dell'invocazione.
ICompressionStrategy Un'interfaccia che rappresenta un algoritmo di compressione che può essere selezionato in fase di esecuzione.
IconfigoptionValueTransformer Un'interfaccia per manipolare il valore dell'opzione di configurazione
Iconfigurablevirtualdevice Un'interfaccia per fornire informazioni su un dispositivo virtuale eventualmente preconfigurato (IP host, utente host, offset di porte e ecc.).
Iconfiguration Informazioni sulla configurazione per un'invocazione di federazione trade.
IconfigurationFactory Fabbrica per la creazione IConfiguration s
IconfigurationReceiver Interfaccia semplice per rappresentare l'oggetto che accetta IConfiguration .
Iconfigurationserver Un'interfaccia per Config Server.
Icredentialfactory Un'interfaccia per la fabbrica di credenziali per creare Credential OAuth2.
IdeFaultObjectLoader Interfaccia per il caricamento degli oggetti predefiniti che dovrebbero far parte della nostra configurazione YAML.
IDEFAULDOBJECTLOAder.LoaderConfiguration L'oggetto di configurazione di caricamento per trasmettere informazioni al caricatore.
IdeviceactionReceiver Fornisce un'API per ricevere eventi del dispositivo.
IDEVICEBUILDINFO Un IBuildInfo che rappresenta una costruzione completa di dispositivi Android e (facoltativamente) i suoi test.
IdeviceBuildProvider Un IBuildProvider che utilizza le informazioni da un ITestDevice per recuperare una build.
IdeviceConfiguration Interfaccia del supporto di configurazione del dispositivo.
IDEVICEFLASHER Lampeggia un'immagine del dispositivo su un dispositivo.
IDEVICEFLASHER.USERDATAFLASHOPTION Enum di opzioni per gestire l'immagine utente
IdeviceManager Interfaccia per la gestione del set di dispositivi disponibili per i test.
IdeviceManager.ifastBootListener Un ascoltatore per i cambiamenti dello stato di Fastboot.
Idevicemonitor Interfaccia per il monitoraggio dello stato dei dispositivi.
Idevicemonitor.devicelister Una classe Runnable a quella che dovrebbe restituire i dispositivi noti e i loro stati.
IDEVICERECOVERY Interfaccia per il recupero di un dispositivo che è stato offline.
Ideviceselection Interfaccia per i criteri di selezione dei dispositivi.
IDEVICESElection.BasedEviceType
Idevicestatemonitor Fornisce strutture per il monitoraggio dello stato di un IDevice .
Idevicetest Interfaccia per l'oggetto che necessita di un riferimento a un ITestDevice .
Idisableable Interfaccia che descrive un oggetto TradeFed che può essere disabilitato.
IdynamicShardingClient Interfaccia wrapper per il client sharding

Questo esiste in modo da poter scambiare uno HTTP o testarne uno se necessario.

IdynamicShardConnectionInfo Interfaccia per le classi che contengono informazioni sulla connessione di frammento dinamico
Iemail Interfaccia per l'invio di e -mail.
Iemail.message Container per i dati dei messaggi di posta elettronica.
Ifiledownloader Interfaccia per il download di un file remoto.
Ifileentry Definizione dell'interfaccia che fornisce un contratto più semplice e mingibile ai metodi FileEntry .
IfilereSolverloader Carica le implementazioni di IRemoteFileResolver .
IfilereSolverloader.ResolverloadException Eccezione lanciata se un resolver non può essere caricato o inizializzato.
Iflashingresourcesparser Interfaccia per fornire versioni richieste dei file di immagine ausiliari necessari per eseguire il flashing di un dispositivo.
Iflashingresourcesretriever Interfaccia per il recupero di file di immagine ausiliari necessari per eseguire il flashing di un dispositivo.
IFolderbuildinfo Un semplice IBuildInfo astratto i cui manufatti di costruzione sono contenenti in una directory del filesystem locale.
IForMattergenerator Interfaccia che descrive un formatter per SuiteResultHolder .
IglobalConfiguration Una classe per comprendere le informazioni di configurazione globale per un'unica istanza della Federazione commerciale (che comprende un numero qualsiasi di invocazioni di configurazioni effettive).
IharnessException Descrizione dell'interfaccia di eccezione del cablaggio che sarà implementata dalle eccezioni del cablaggio.
Ihostcleaner Pulisce l'host dopo che la prova è terminata.
Ihosthealtagent Un'interfaccia per emettere metriche host o dispositivi.
Ihostmonitor Interfaccia per inviare i dati host
Ihostmonitor.hostdatapoint Classe generica per i dati da segnalare.
Ihostmonitor.hostmetricType
Ihostoptions Interfaccia del titolare delle opzioni host.
Ihostoptions.permitlimitType Enum descrivendo i possibili limitatori del permesso
IhostresourceManager Interfaccia con la risorsa host manager.
Ihttphelper Metodi di supporto per l'esecuzione di richieste HTTP.
Ihttphelper.datasizeexception
IinvocationContext Contiene informazioni sull'invocazione per l'accesso ai test se necessario.
IinvocationContext.TimingEvent
Iinvocationcontextreceiver Un test che richiede riferimento al contesto dell'invocazione.
IinvocationExecution Interfaccia che descrive le azioni che verranno eseguite come parte di un'invocazione.
Ikeystoreclient Interfaccia per accedere a un archivio chiave per password o dati sensibili.
Ikeystorefactory Fabbrica per la creazione IKeyStoreClient .
IlabParer Interfaccia marker per i preparatori di laboratorio

Vedi ITargetPreparer per una descrizione di ciò che queste interfacce sono previste.

IlevelEdLogOutput Classi che implementano questa interfaccia fornisce metodi che trattano i messaggi di registro di uscita.
Ilogcatreceiver Una classe che fornisce l'output del logcat di un dispositivo come InputStreamSource .
Ilogregistry Un'interfaccia per un logger singleton ILogOutput che multiplex e gestisce diversi logger.
Ilogregistry.EventType Eventi che sono utili per essere registrati
Ilogsaver Le classi che implementano questa interfaccia forniscono metodi per archiviare i registri in una posizione centrale.
Ilogsaverlistener Consente a ITestInvocationListener S di ascoltare quando vengono salvati i file di registro.
ImageContenTanalyzer Analizzatore per l'analisi del contenuto dell'immagine del dispositivo
IManagedtestDevice Un Itestdevice il cui ciclo di vita è gestito.
IManagedtestDevice.DeviceEventresponse Container per una risposta a una chiamata IManagedTestDevice#handleAllocationEvent(DeviceEvent)
IManagedtestDeviceFactory Interfaccia Creator per IManagedTestDevice s
ImetricCollector Questa interfaccia verrà aggiunta come decoratore quando i test di report si sono verificati al fine di raccogliere metriche corrispondenti.
IMETRICCOLLECTOREIVER Interfaccia per IRemoteTest da implementare se hanno bisogno di ottenere l'elenco di IMetricCollector S per l'esecuzione del test.
Imoblyyyamlresulthandler Interfaccia del gestore dei risultati di Moly Yaml.
Imoblyyyamlresulthandler.itestresult Interfaccia del risultato di Moly Yaml
ImoduleController Interfaccia per il controllo se un modulo deve essere eseguito o meno.
ImoduleController.Runstrategy Enum descrivendo come deve essere eseguito il modulo.
ImoduleparameterHandler L'interfaccia per i parametri dei moduli suite.
Imultidevicerecovery Interfaccia per il recupero di più dispositivi offline.
Imultidevicetest Questa interfaccia è deprecata. Questa interfaccia è mantenuta temporaneamente per la compatibilità ma in realtà non è più utilizzata. Si prega di non implementarlo.
ImultargetParer Prepara l'ambiente di test per diversi dispositivi insieme.
Inativevice Fornisce un'API di livello affidabile e leggermente più elevato a un IDevice DDMLIB.
InateveEvicetest Interfaccia per l'oggetto che necessita di un riferimento a un INativeDevice .
Incrementalimageutil Un'utilità per sfruttare l'immagine incrementale e l'aggiornamento del dispositivo.
Infraerroridificatore Identificatori di errore da Federazione commerciale infra e infra dipendente (come build infra).
InputStreamSource Questa interfaccia sostanzialmente avvolge un ERROR(/InputStream) per renderlo clonabile.
InstallallTestzipappsSetUp Un ITargetPreparer che installa tutte le app in una zip di prova.
InstallapexmoduletaRgetParer
InstallApkSetup Un ITargetPreparer che installa uno o più APK situati sul filesystem.
InstallBuildenVapkSetup Un ITargetPreparer che installa uno o più APK di test da una piattaforma Android Build Env.
InstaldInStrumentationStest Esegue tutta la strumentazione trovata sul dispositivo corrente.
InstantappHandler Gestore per ModuleParameters#INSTANT_APP .
StrumentationParer Un ITargetPreparer che gestisce strumentazione
Strumentationtest Un test che esegue un pacchetto di test di strumentazione sul dispositivo dato.
InvocationContext Implementazione generica di un IInvocationContext .
InvocationExecution Classe che descrive tutti i passaggi di invocazione: Build Download, Target_Prep, Esegui test, Clean Up.
InvocationLocal <T> Questa classe fornisce variabili di invocazione.
InvocationMetriclogger Una classe di utilità per un'invocazione per registrare alcune metriche.
InvocationMetriclogger.invocationGroupMetrickey Il raggruppamento consente di registrare diversi gruppi sotto la stessa chiave.
InvocationMetricLogger.invocationMetrickey Alcune chiave speciali nominate che popoleremo sempre per l'invocazione.
Invocationstatus Una classe per archiviare lo stato di invocazione.
Invocationstatus Un helper enum per rappresentare lo stato di invocazione
Invocationsummaryhelper Classe di aiuto per la raccolta e la segnalazione TestSummary per un set di ascoltatori
InvocationTojUnitreSultWorwarder Una classe che ascolta gli eventi ITestInvocationListener e li inoltra a un TestListener .
Ipostprocessor Post Processors è un oggetto della Federazione commerciale intesa a consentire l'elaborazione di metriche e registri dopo i test e prima del reporting dei risultati.
Iremotefeature Interfaccia Descrivere una funzione in TradeFed che può essere eseguita in base alla richiesta.
IremotefilereSolver Interfaccia per oggetti che possono risolvere un file remoto in uno locale.
IremotefilereSolver.RemotefilereSolverargs Gli args passarono ai risolutori
IremotefilereSolver.ResolvedFile Informazioni di detenzione di classe sul file risolto e alcuni metadati.
Iremotescheduledlisnenersfeature Estensione di IRemoteFeature per supportare il passaggio in IScheduledInvocationListener s.
Iremotetest Un test che riporta si traduce direttamente a un ITestInvocationListener .
IrePortNotexecuted In caso di esecuzione incompleta, IRemoteTest che implementa questa interfaccia può segnalare i loro test non esecutivi per un miglioramento dei rapporti.
IRESCHEDULER Interfaccia per riprogrammare una configurazione per l'esecuzione futura.
IreSourcemetricCollector L'interfaccia per l'utente di implementare collezionisti di risorse personalizzate.
Irestapihelper Un'interfaccia helper per eseguire le chiamate API REST.
IresumableTest Questa interfaccia è deprecata. Non c'è più bisogno di questo
IretryDecision Interfaccia guidare la decisione di pensionamento e applicare il filtro sulla classe per un tentativo più mirato.
IruntimeHintProvider
IRunutil Interfaccia per l'esecuzione di operazioni a tempo e comandi di sistema.
IRunutil.Envpriority Enum che definisce l'impostazione o l'insegnamento di un particolare Env.
IRunutil.irunnableresult Un'interfaccia per eseguire asincrona un'operazione che restituisce uno stato booleano.
Isandbox Interfaccia Definizione di una sandbox che può essere utilizzata per eseguire un'invocazione.
IsandBoxFactory Fabbrica per la creazione ISandbox .
ISEtoptionReceiver L'implementazione di questa interfaccia dovrebbe avere Option con un nome "set-option" collegato a HostTest#SET_OPTION_NAME .
Ishardablelistener Un ITestInvocationListener che può essere frastagliato.
IshardAbleTest Un IRemoteTest che può essere diviso in sotto-test eseguibili separatamente.
Ishardhelper Interfaccia di un oggetto che descrive la strategia di frammenti da adottare per una configurazione.
Hosttest isolato Implementa un corridore per trade che utilizza un sottoprocesso per eseguire i test in un ambiente a bassa dipendenza invece di eseguirli sul processo principale.
Isupportgranularresults Interfaccia Specificare se un ITestInvocationListener supporta o meno i risultati granulari.
IsystemStatusChecker Un controllo che esegue controlli sullo stato del sistema e restituisce un booleano per indicare se il sistema è in uno stato previsto.
Isystemstatuscheckerreceiver Un IRemoteTest che richiede l'accesso a ISystemStatusChecker dalla configurazione.
ItargetCleaner Questa interfaccia è deprecata. Lo smontaggio è stato spostato sull'interfaccia ItargetParer di base.
ItargetParer Prepara l'ambiente di test per la corsa di prova.
ITerribleFailureHandler Un'interfaccia per gestire errori terribili da LogUtil.CLog.wtf(String, Throwable)
ITestoNotationFilterReceiver Un corridore in grado di filtrare quali verifica l'esecuzione in base alle annotazioni.
ITestCollector Fornisce supporto per la raccolta dei test; Se impostato, Test Runner deve eseguire una corsa a secco per raccogliere casi di test senza eseguirli effettivamente.
ITestDevice Fornisce un'API di livello affidabile e leggermente più elevato a un IDevice DDMLIB.
ITestDevice.apexinfo Una semplice classe di strutture per archiviare informazioni su un singolo apice
ITestDevice.mountpointInfo Una semplice classe di strutture per archiviare informazioni su un singolo mountpoint
ITestdevice.Recoverymode
ITestfilefilterReceiver Un corridore che può ricevere un file che specifica quali test eseguire e/o non eseguire.
ITestfilterReceiver Un corridore in grado di filtrare quali verifica.
ItStinformationReceiver Interfaccia per ricevere la TestInformation per alcune classi.
ITestinvocation Gestisce un'invocazione del test difederazione.
ITestInvocation.ExitinFormation Rappresenta alcune informazioni di uscita per un'invocazione.
ItestInvocationListener Ascoltatore per i risultati dei test dall'invocazione del test.
ITestlifecyclereceiver Riceve notifiche di eventi durante i test di strumentazione.
ITestlogger Un'entità che può eseguire la registrazione di flussi di dati di vari tipi.
ITestloggerreceiver Un'entità che può essere iniettata con un'istanza ITestLogger in modo che possa essere utilizzata per scopi di registrazione.
ITestSpool Interfaccia che descrive un pool di test a cui possiamo accedere ed eseguire
ITestsuite Classe astratta utilizzata per eseguire Test Suite.
ITestsuite.MultidevicemoduleStrategy
ItStsuiteResultLoader Interfaccia che descrive un aiutante per caricare i risultati precedenti in un modo che può essere eseguito.
ITestsummaryListener Interfaccia che consente ITestInvocationListener di scambiare alcune informazioni limitate tramite riassunti.
Itestszipinstaller Installa i test da un file zip dei test (come superato dal sistema di build) su un dispositivo.
ItokenProvider Interfaccia che descrive un oggetto che può fornire i token di un determinato dispositivo.
ItokenQuest Interfaccia Un IRemoteTest può implementare per esporre il fatto che richiede un dispositivo con un token speciale.

J

Jarhosttest Test Runner per i test Junit sul lato host.
Jarhosttest.hosttestlistener Ascoltatore Wrapper che inoltra tutti gli eventi tranne TestRunstarted () e TestRunended () all'ascoltatore incorporato.
JavacodecoverageCollector A BaseDeviceMetricCollector che eliminerà le misurazioni della copertura Java dal dispositivo e le registrerà come artefatti di prova.
Javacodecoverageflusher Una classe di utilità che reimposta e forza un flusso di misurazioni di copertura del codice Java dai processi in esecuzione sul dispositivo.
JSONFileKeystoreClient Un'implementazione di esempio in cui un file JSON locale agisce un archivio chiave.
Jsonfilekeystorefactory Implementazione di una fabbrica di keystore JSON, che fornisce un JSONFileKeyStoreClient per l'accesso a un file di archivio chiave JSON.
JSONHTTPTESTESTULTREPORTER Un reporter di risultato che codifica i risultati delle metriche e il ramo, le informazioni sul dispositivo in JSON e il post in un endpoint di servizio HTTP
JUnit4ResultForwarder Fornitore di risultati da Junit4 Runner.
Junit4testFilter Classe Helper che fornisce il filtro per Junit4 Runner estendendo il Filter .
Junitrunutil Una classe helper per la direzione di una IRemoteTest#run(TestInformation, ITestInvocationListener) alla chiamata a una chiamata Test#run(TestResult) .
JuniTToinVocationResultForwarder Una classe che ascolta per TestListener eventi e li inoltra a un ITestInvocationListener .
JUnitxMlParerser Parser che estrae i dati del risultato del test dai risultati di Junit memorizzati in XMLJUniTresultFormatter di ANT e li inoltra a un listener ItestInvocation.

K

Kerneltargettest Test Runner per l'esecutabile in esecuzione sul target e analizzando il test del kernel.
KerneltestModuleController Classe di base per un controller del modulo per non eseguire test quando non corrisponde all'architettura.
KeyGuardControllerstate Un contenitore per gli stati della guardia del tasto.
KeyGuardStatusChecker Controlla lo stato della guardia dei tasti dopo l'esecuzione del modulo.
KeystoreException Lanciato quando si verifica un errore di archiviazione chiave fatale.
KillexistingEmulatorParer Un ITargetPreparer che spegne un emulatore in esecuzione.
NotoFilureParer Preparatore target a saltare il ritenzione di guasti noti.
KtapresultParser Legge l'output KTAP come quello prodotto da un modulo di test KUnit e inserito in un file "Risultati" in Debugfs.
Ktapresultparser.parseresolution
Kunitmoduletest Test Runner per l'esecuzione di moduli di test Kunit sul dispositivo.

l

Labresourcedevicemonitor Il monitor delle risorse di laboratorio che inizializza/gestisce il server GRPC per LabResourceservice.
Bigoutputtreceiver Una classe progettata per aiutare a eseguire comandi a lungo termine raccoglie l'output.
LastShardDetector Quando eseguono frammenti locali, a volte vogliamo eseguire alcune azioni solo quando l'ultimo frammento raggiunge invocationEnded(long) .
Launchcvdhelper Helper Utility per controllare il lancio_cvd nella VM di seppia.
LegatedThreadStatusChecker Controllo di stato per garantire che un modulo non perde un thread in esecuzione.
LegacysubProcessResultSrePorter Un'implementazione congelata del reporter dei risultati del sottoprocesso che dovrebbe rimanere compatibile con le versioni precedenti di TF/CTS (ad esempio 8+), nonostante i cambiamenti nella sua superclasse.
ListInstrumentationParser Un IShellOutputReceiver che analizza l'output di una query "strumentazione elenco PM"
ListInstrumentationParser.IstrumentationTarget
LocalAndroidVirtualDevice La classe per i dispositivi virtuali locali in esecuzione su Host TradeFed.
LocalAppBuildProvider Un IBuildProvider che costruisce un IBuildInfo basato su un percorso locale fornito
LocalDeveloper Rileva e restituisce se si tratta di uno sviluppatore locale che esegue il tradefed.
LocalDeviceBuildProvider Un IBuildProvider che costruisce un IDeviceBuildInfo basato su un percorso di directory del filesystem fornito.
Localemulatorlaunch Un TargetParer che lancia un emulatore localmente da un ambiente di build Android.
LocalEmulatorsNapShot Un TargetParer destinato a generare un'istantanea di emulatore pulito da un ambiente di build/sviluppo Android
Localfileheader LocalFileHeader è una classe contenente le informazioni di un file/cartella all'interno di un file zip.
LocalFilereSolver Implementazione di IRemoteFileResolver che consente di collegare i file locali
LocalFolderbuildProvider Un IBuildProvider che costruisce un IFolderBuildInfo basato su un percorso locale fornito
LocalHostreSourceManager Risorsa host manager.
Localpool Implementazione di un pool di test locali
LocalRuninstructionBuilder Utilità per compilare l'istruzione per eseguire il test localmente.
LocksettingsBaselinesetter Un setter per rimuovere le impostazioni del blocco dello schermo.
LogcatCrashResultForwarder Special Listener: su difetti (crash del processo di strumentazione) tenterà di estrarre dal logcat il crash e lo aggiunge al messaggio di errore associato al test.
Logcateventparser
Logcateventttype Tipi di eventi per LogcatEventParser .
Logcatonfailurecollector Collector che catturerà e registrerà un logcat quando un caso di test fallisce.
Logcatreceiver Classe che raccoglie Logcat in background.
LogcattimingMetricCollector Un collezionista metrico che raccoglie le informazioni di temporizzazione (ad es. Tempo di commutazione utente) da Logcat durante uno o più test ripetuti utilizzando i modelli di regex forniti per analizzare i segnali di avvio e fine di un evento dalle linee di Logcat.
Logdatatype Rappresenta il tipo di dati di dati di registro.
Logfile Classe per tenere i metadati per un file di registro salvato.
LogfileSaver Un aiutante per ITestInvocationListener che salverà i dati di registro in un file
Logreceiver
Logregistry Un'implementazione ILogRegistry che multiplex e gestisce diversi logger, utilizzando quello appropriato in base al ThreadGroup del thread che fa la chiamata.
LogSaverResultForwarder Un ResultForwarder di salvare i registri con il Global File Saver.
Logutil Una classe di utilità di registrazione.
Logutil.clog Una classe SHIM per Log che utilizza automaticamente il semplice nome di classe del chiamante come tag di registro
LuiresulTrePorter Un reporter di risultato che consente di risparmiare i risultati dei test necessari per ResultDB e Luci in formato JSON (GO/Risultato) e registra la posizione del file nella console.

M

Mainlinemodulehandler Una semplice classe di gestori per i moduli principali che crea un InstalPexModuleTargetParer e inietta il collegamento dinamico in esso in base ai moduli principali forniti per recuperare automaticamente tali moduli.
MainLineTestModuleController Classe di base per un controller del modulo per eseguire test in base ai moduli principali precaricati sul dispositivo in test.
ManagedRemoteDevice Un dispositivo in esecuzione all'interno di una macchina virtuale che gestiamo da remoto tramite un'istanza per trade all'interno della VM.
ManagedtestDeviceFactory Fabbrica per creare il diverso tipo di dispositivi che possono essere monitorati da TF
Maxsdkmodulecontroller Classe di base per un controller del modulo per non eseguire test su versioni sopra un numero di versione SDK specificato.
FledzipentryCollection Unisci le singole voci con zip in un grande file zip in blocchi per ridurre al minimo i tentativi di download.
MergemultibuildTargetParer Un IMultiTargetPreparer che consente di passare informazioni da una build a un'altra nominando loro e la chiave del file da copiare sull'altra build.
Mergesdrategy Descrive come i risultati dovrebbero essere aggregati quando sono presenti più tentativi.
Metricfilepostprocessore Utilizzato per il caricamento del file di registro delle metriche raccolte durante il livello di test ed esecuzione.
Metricoption Annotazione per metodi di test annotati con @Test o se l'annotazione fa parte dell'elenco di annotazione di TestDescription che consente di specificare alcuni parametri extra utili per: accordare il comportamento dei collezionisti, filtrando alcuni metodi.
MetricsxmlResulTrePorter MetricsxmlResulTrePorter scrive metriche di test ed eseguire le metriche su un file XML in una cartella specificata dal parametro della conduttore di metriche nella fase invocazione del test.
Metrictestcase Estensione di TestCase che consente di registrare le metriche quando si eseguono come parte di TradeFed.
Metrictestcase.logholder Struttura per tenere un file di registro da segnalare.
Metricutil Classe di utilità per estrarre le metriche dalle configurazioni statSD spinte.
Metricutilità Contiene metodi di utilità comuni per la memorizzazione delle metriche dei test, aggregando le metriche in test simili e scrivere le metriche in un file.
MinapilevelModuleController Classe di base per un controller del modulo per non eseguire test quando è al di sotto di un livello API specificato.
MinsdkmoduleController Classe di base per un controller del modulo per non eseguire test su versioni al di sotto di un numero di versione SDK specificato.
Miximagezippreparer Un IMultiTargetPreparer che mescola le immagini di un sistema in una build di un dispositivo.
MixkerTeltargetParer Un ITargetPreparer che consente di mescolare un'immagine del kernel con l'immagine del dispositivo.
MolybinaryHosttest Test host destinato a eseguire un file binario Moly Python dal sistema di build Android (Soong)
MolyyyamlResultControllerInfohandler Moly Yaml Risultato "INFO del controller Informazioni" Element Handler.
Molyyyyamlresultcontrollerinfohandler.controllerinfo
Molyyyamlresultcontrollerinfohandler.controllerinfo.builder
MolyyyamlResolthandlerfactory 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
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 .
ModuleTestTypeUtil Contains common utility methods for checking module.
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 Representation of the device running inside a remote Cuttlefish VM.
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing.
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 An no-op IConfigOptionValueTransformer
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.
Opzione Annotates a field as representing a IConfiguration option.
Option.Importance
OptionClass Annotates a class as representing a IConfiguration object.
OptionCopier A helper class that can copy Option field values with same names from one object to another.
OptionDef Holds the details of an Option .
OptionFetcher Helper to get the test options from the parent process.
OptionNotAllowedException Specific ConfigurationException when an option is not allowed to be passed in the command line.
OptionSetter Populates Option fields.
OptionSetter.OptionFieldsForName Container for the list of option fields with given name.
OptionUpdateRule Controls the behavior when an option is specified multiple times.
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.
OxygenClient.LHPTunnelMode
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 immagazzinato segment of the key is a regex ERROR(/Pattern) .
RemoteAndroidDevice Implementation of a ITestDevice for a full stack android device connected via adb connect.
RemoteAndroidVirtualDevice Extends RemoteAndroidDevice behavior for a full stack android device running in the 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 A simple class that allows one to load files from a variety of places using URIs and the service provider functionality.
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 Forwarder for results and logs events.
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 Factory that handles retrying a command.
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.
RootcanalForwarderPreparer
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 of RunNotifier so we can carry the 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 Special Configuration factory to handle creation of configurations for Sandboxing purpose.
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.
SkipManager Based on a variety of criteria the skip manager helps to decide what should be skipped at different levels: invocation, modules and tests.
SkipReason Provide a reason and its metadata for skipping a test.
SkipReason.DemotionTrigger
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.
SnapuserdWaitPhase Enum representation of when to join/block for the snapuserd update to finish.
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.SkippedTestEventInfo
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 A fatal error occurred while preparing the target for testing.
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 Class extending ConfigurationException for template related error during configuration parsing.
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.
TestContentAnalyzer The analyzer takes context for the analysis and determine what is interesting.
TestContext A class to model a TestContext message of TFC API.
TestDependencyResolver Helper to resolve dependencies if needed.
Descrizione del testo Class representing information about a test case.
TestDescriptionsFile A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file.
TestDevice Implementation of a ITestDevice for a full stack android device
TestDevice.MicrodroidBuilder A builder used to create a Microdroid TestDevice.
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
Ambiente di test A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested.
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 Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite.
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.
Risultato del test 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.
TestStatus Representation in Tradefed of possible statuses for test methods.
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 mappare transizione.
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfSuiteRunner Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder.
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 .
Perdi tempo 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,

WifiCommandUtil A utility class that can parse wifi command outputs.
WifiCommandUtil.ScanResult Represents a wifi network containing its related info.
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
,

Class Index

These are the API classes. See all API packages .

UN

AaptParser Class that extracts info from apk by parsing output of 'aapt dump badging'.
AaptParser.AaptVersion Enum of options for AAPT version used to parse APK files.
Abi A class representing an ABI.
AbiFormatter Utility class for abi.
AbiUtils Utility class for handling device ABIs
AbstractConnection Abstract connection representation.
AbstractHostMonitor Typical class for Host Health Monitoring.
AbstractTunnelMonitor Abstract tunnel monitor for GCE AVD.
AbstractXmlParser Helper base class for parsing xml files
AbstractXmlParser.ParseException Thrown if XML input could not be parsed
AcloudConfigParser Helper class that parse an Acloud config (used to start a Cloud device instance).
AcloudConfigParser.AcloudKeys Sets of key that can be searched from the configuration.
Azione in corso The general action in progress.
ActiveTrace Main class helping to describe and manage an active trace.
ActivityStatusChecker Status checker for left over activities running at the end of a module.
AdbRootElevator An AutoCloseable that enables adb root when constructed if needed and restores root state when complete.
AdbSshConnection Adb connection over an ssh bridge.
AdbStopServerPreparer Target preparer to stop adb server on the host before and after running adb tests.
AdbTcpConnection Default connection representation of a device, assumed to be a standard adb connection of the device.
AdbUtils A utility class for adb operations.
AfterClassWithInfo Similar guarantees as AfterClass but method annotated must require a TestInformation parameter.
AggregatePostProcessor A metric aggregator that gives the min, max, mean, variance, standard deviation, total, count and optionally percentiles for numeric metrics collected during multiple-iteration test runs, treating them as doubles.
AllTestAppsInstallSetup A ITargetPreparer that installs all apps from a IDeviceBuildInfo#getTestsDir() folder onto device.
AltDirBehavior An enum to define alternative directory behaviors for various test artifact installers/pushers

AndroidJUnitTest A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner.
AndroidTestOrchestratorRemoteTestRunner Runs an instrumented Android test using the adb command and AndroidTestOrchestrator.
AoaTargetPreparer ITargetPreparer that executes a series of actions (eg clicks and swipes) using the Android Open Accessory (AOAv2) protocol.
AppBuildInfo A IBuildInfo that represents an Android application and its test package(s).
AppDeviceBuildInfo This class is deprecated. Use IDeviceBuildInfo directly.
AppSetup A ITargetPreparer that installs an apk and its tests.
AppVersionFetcher Utility class to get app version string from device.
AppVersionFetcher.AppVersionInfo App version info types.
ArchModuleController Module controller to not run tests when it doesn't match any given architectures.
ArgsOptionParser Populates Option fields from parsed command line arguments.
ArrayUtil Utility methods for arrays
ArtChrootPreparer Create chroot directory for ART tests.
ArtGTest
ArtifactDetails This describes the structure of the content and its descriptor as generated by the CAS tool
ArtifactDetails.ArtifactFileDescriptor
ArtifactsAnalyzer A utility that helps analyze the build artifacts for insight.
ArtRunTest A test runner to run ART run-tests.
ArtRunTest.AdbShellCommandException An exception class to report an error that occurred during the execution of an ADB shell command.
ATestFileSystemLogSaver This LogSaver class is used by ATest to save logs in a specific path.
AtestRunner Implementation of ITestSuite
AtraceCollector A IMetricCollector that runs atrace during a test and collects the result and log them to the invocation.
AtraceRunMetricCollector Collects the traces from all the test directory under the given directory from the test device, log the test directory and post process the trace files under the test directory and aggregate the metrics.
AutoLogCollector Enumeration describing which collector can automatically be handled by the harness.
AutomatedReporters Class that defines the mapping from Tradefed automated reporters.
AveragePostProcessor Implementation of post processor that calculate the average of the list of metrics.

B

BackgroundDeviceAction Runs a command on a given device repeating as necessary until the action is canceled.
BaseDeviceMetricCollector Base implementation of IMetricCollector that allows to start and stop collection on onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) and ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) .
BaseEmulatorPreparer Common preparer for launching a local emulator.
BaseHostJUnit4Test Base test class for running host JUnit4 style tests.
BaseLeveledLogOutput A base implementation for ILeveledLogOutput that allows to filtering some tags based on their name or components.
BaseModuleController Basic implementation of IModuleController that should be implemented for checking if a module should run or not.
BaseMultiTargetPreparer Base implementation of IMultiTargetPreparer that allows to disable the object.
BasePostProcessor The base IPostProcessor that every implementation should extend.
BaseRetryDecision Base implementation of IRetryDecision .
BaseStreamLogger <OS extends OutputStream> A ILeveledLogOutput that directs log messages to an output stream and to stdout.
BaseTargetPreparer Base implementation class for ITargetPreparer that allows to control whether the object is disabled or not.
BaseTestSuite A Test for running Compatibility Test Suite with new suite system.
BatteryController Utility class that allows to control the battery charging state of a device.
BatteryRechargeDeviceRecovery Allow to trigger a command when the battery level of the device goes under a given threshold.
BatteryTemperature
BatteryUnavailableDeviceRecovery Recovery checker that will trigger a configuration if the battery level is not available.
BeforeClassWithInfo Similar guarantees as BeforeClass but method annotated must require a TestInformation parameter.
BinaryState Enum used to record ON/OFF state with a IGNORE no-op state.
BluetoothConnectionLatencyCollector The collector will push a pre-defined statsd duration metric config to devices and collect Bluetooth connection duration for each profile.
BluetoothConnectionStateCollector This collector will collect BluetoothConnectionStateChanged metrics and record connection state number for each profile.
BluetoothConnectionSuccessRatePostProcessor Implementation of postprocessor which calculates success rate for a bluetooth profile

Use "metric-key-match" to specify metrics which contain bluetooth connection states in numeric array Example [0, 1, 2, 3, 0, 1, 2, 3].

BluetoothHciSnoopLogCollector Collector to enable Bluetooth HCI snoop logging on the DUT and to collect the log for each test.
BluetoothUtils Utility functions for calling BluetoothInstrumentation on device

Device side BluetoothInstrumentation code can be found in AOSP at: frameworks/base/core/tests/bluetoothtests

BootstrapBuildProvider A IDeviceBuildProvider that bootstraps build info from the test device

This is typically used for devices with an externally supplied build, ie

BootstrapServiceFileResolverLoader Loads resolvers using the service loading facility.
Riportare un errore Object holding the bugreport files references, compatible of flat bugreport and zipped bugreport (bugreportz).
BugreportCollector A pass-through ITestInvocationListener that collects bugreports when configurable events occur and then calls ITestInvocationListener#testLog on its children after each bugreport is collected.
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.Noun
BugreportCollector.Predicate A full predicate describing when to capture a bugreport.
BugreportCollector.Relation
BugreportCollector.SubPredicate
BugreportzOnFailureCollector Collect a bugreportz when a test case fails.
BugreportzOnTestCaseFailureCollector Collect a bugreportz when a test case in a run fails.
BuildAnalysis Represents the results of a single build analysis.
BuildError Thrown if the provided build fails to run.
BuildInfo Generic implementation of a IBuildInfo that should be associated with a ITestDevice .
BuildInfoKey Class holding enumeration related to build information queries.
BuildInfoKey.BuildInfoFileKey Enum describing all the known file types that can be queried through IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) .
BuildInfoRecorder An ITargetPreparer that writes build info meta data into a specified file.
BuildInfoUtil A util class to help manipulate IBuildInfo
BuildRetrievalError A fatal error occurred while retrieving the build for testing.
BuildSerializedVersion Class that contains the current serialization version of all IBuildInfo .
BuildTestsZipUtils A helper class for operations related to tests zip generated by Android build system
BulkEmailer A email sender utility that allows the following configuration: sent interval,initial burst size, recipients and the total number messages.
BundletoolUtil Utility class that uses bundletool command line to install the .apks on deivce.
ByteArrayInputStreamSource
ByteArrayList A class to represent a lightweight byte array.
ByteArrayUtil Utilities to operate on byte array, eg, convert bytes to integer.

C

CarModuleController This controller prevents execution of tests cases on non-automotive devices.
CarryDnaeError Internal RuntimeException to carry DeviceNotAvailableException through the JUnit4 framework.
CarryInterruptedException Thrown when test phase timeout is triggered and an InterruptedException needs to be carried from test execution thread to invocation execution thread.
CdmaDeviceFlasher A class that flashes an image on a physical Android device with a CDMA radio.
CecControllerTokenProvider Token provider for Consumer Electronics Control (CEC) related tokens.
CentralDirectoryInfo CentralDirectoryInfo is a class containing the information of a file/folder inside a zip file.
CheckPairingPreparer A CompanionAwarePreparer that verifies BT bonding between primary and companion devices
CircularAtraceUtil An atrace utility developed primarily for identifying the root causes of ANRs during Monkey testing.
CircularByteArray Data structure for holding a fixed size array that operates as a circular buffer, and tracks the total sum of all values in the array.
ClangCodeCoverageCollector A BaseDeviceMetricCollector that will pull Clang coverage measurements off of the device and log them as test artifacts.
ClangProfileIndexer A utility class that indexes Clang code coverage measurements.
ClassNotFoundConfigurationException ConfigurationException for when the class of an object is not found.
ClassPathScanner Finds entries on classpath.
ClassPathScanner.ClassNameFilter A IClassPathFilter that filters and transforms java class names.
ClassPathScanner.ExternalClassNameFilter A ClassNameFilter that rejects inner classes
ClassPathScanner.IClassPathFilter A filter for classpath entry paths

Patterned after FileFilter

ClockworkUtils A clockwork utility for sharing multi-device logic
CloseableTraceScope A scoped class that allows to report tracing section via try-with-resources
ClusterBuildInfo A IBuildInfo class for builds piped from TFC.
ClusterBuildProvider A IBuildProvider to download TFC test resources.
ClusterClient A IClusterClient implementation for interacting with the TFC backend.
ClusterCommand A class that represents a task fetched from TF Cluster.
ClusterCommand.RequestType
ClusterCommand.State Command's status in the TF cluster.
ClusterCommandConfigBuilder A class to build a configuration file for a cluster command.
ClusterCommandEvent A class to encapsulate cluster command events to be uploaded.
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
ClusterCommandLauncher A IRemoteTest class to launch a command from TFC via a subprocess TF.
ClusterCommandScheduler A ICommandScheduler to support TFC (Tradefed Cluster).
ClusterCommandStatus A class that represents the state and the cancel reason for a command from TF Cluster.
ClusterDeviceInfo A class to encapsulate cluster device info to be uploaded.
ClusterDeviceInfo.Builder
ClusterDeviceMonitor An IDeviceMonitor implementation that reports results to the Tradefed Cluster service.
ClusterEventUploader <T extends IClusterEvent > ClusterEventUploader class, which uploads IClusterEvent to TFC.
ClusterHostEvent A class to encapsulate cluster host events to be uploaded.
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType Enums of the different types of host events.
ClusterHostUtil Static util functions for TF Cluster to get global config instances, host information, etc.
ClusterLogSaver A ILogSaver class to upload test outputs to TFC.
ClusterLogSaver.FilePickingStrategy File picking strategies.
ClusterOptions
CodeCoverageTest A Test that runs an instrumentation test package on a given device and generates the code coverage report.
CollectingByteOutputReceiver A IShellOutputReceiver which collects the whole shell output into a byte[] .
CollectingOutputReceiver A IShellOutputReceiver which collects the whole shell output into one String .
CollectingTestListener A ITestInvocationListener that will collect all test results.
CollectorHelper Helper to do some IMetricCollector operations needed in several places.
CommandFileParser Parser for file that contains set of command lines.
CommandFileParser.CommandLine
CommandInterrupter Service allowing TradeFederation commands to be interrupted or marked as uninterruptible.
CommandLineBuildInfoBuilder Utility meant to capture the usual build information arguments from a command line and create a IBuildInfo from them.
CommandOptions Implementation of ICommandOptions .
CommandOptionsGetter Service implementation that returns the command options value of a given invocation.
CommandResult Contains the result of a command.
CommandRunner An alternate TradeFederation entry point that will run command specified in command line arguments and then quit.
CommandRunner.ExitCode Error codes that are possible to exit with.
CommandScheduler A scheduler for running TradeFederation commands across all available devices.
CommandScheduler.HostState Enums of different status of host
CommandStatus Represents the status of an timed operation.
CommandStatusHandler Handler helping to monitor and update the status of an invocation.
CommandSuccessModuleController Base class for a module controller to skip test module based on shell command failure.
CommonLogRemoteFileUtil This utility allows to avoid code duplication across the different remote device representation for the remote log fetching logic of common files.
CommonLogRemoteFileUtil.KnownLogFileEntry A representation of a known log entry for remote devices.
CompanionAllocator Base class that takes care of allocating and freeing companion device

getCompanionDeviceSelectionOptions() should be implemented to describe the criteria needed to allocate the companion device

CompanionAwarePreparer An ITargetPreparer that encapsulates the logic of getting an already allocated companion device.
CompanionAwareTest Base test class that encapsulates boilerpate of getting and checking companion device

Subclass may call getCompanion() to retrieve the allocated companion.

CompanionDeviceTracker A class for allocating and freeing companion devices
CompanionRunCommandTargetPreparer A ITargetPreparer that runs specified commands on the allocated companion device
CompanionTestAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto an allocated companion device.
CompileBootImageWithSpeedTargetPreparer Recompiles the boot classpath and system server with the compiler filter 'speed'.
ConditionFailureMonitor Monitor for any failures from the invocation.
ConditionPriorityBlockingQueue <T> A thread-safe class with ERROR(/PriorityBlockingQueue) -like operations that can retrieve objects that match a certain condition.
ConditionPriorityBlockingQueue.AlwaysMatch <T> A ConditionPriorityBlockingQueue.IMatcher that matches any object.
ConditionPriorityBlockingQueue.IMatcher <T> An interface for determining if elements match some sort of condition.
ConfigCompleter Implementation of the Completer for our TF configurations.
ConfigurableGrpcDynamicShardingClient
Configurazione A concrete IConfiguration implementation that stores the loaded config objects in a map.
ConfigurationDef Holds a record of a configuration, its associated objects and their options.
ConfigurationDef.ConfigObjectDef Object to hold info for a className and the appearance number it has (eg if a config has the same object twice, the first one will have the first appearance number).
ConfigurationDescriptor Configuration Object that describes some aspect of the configuration itself.
ConfigurationDescriptor.LocalTestRunner Enum used to indicate local test runner.
ConfigurationException Thrown if configuration could not be loaded.
ConfigurationFactory Factory for creating IConfiguration .
ConfigurationFactory.ConfigLoader Implementation of IConfigDefLoader that tracks the included configurations from one root config, and throws an exception on circular includes.
ConfigurationFactory.ExceptionLoader
ConfigurationUtil Utility functions to handle configuration files.
ConfigurationXmlParserSettings A simple class to accept settings for the ConfigurationXmlParser

To pass settings to this class, the alias is mandatory.

ConfigurationYamlParser Parser for YAML style Tradefed configurations
ConfigUtil Utility class for creating, interacting with, and pushing statsd configuration files.
ConfigUtil.LogSource
Consolle Main TradeFederation console providing user with the interface to interact

Currently supports operations such as

  • add a command to test
  • list devices and their state
  • list invocations in progress
  • list commands in queue
  • dump invocation log to file/stdout
  • fermare
Console.ArgRunnable <T> A Runnable with a run method that can take an argument
Console.CaptureList A convenience type for List<List<String>>
ConsoleReaderOutputStream An OutputStream that can be used to make System.out.print() play nice with the user's LineReader unfinishedLine.
ConsoleResultReporter Result reporter to print the test results to the console.
ContentAnalysisContext Provide the context surrounding a content to analyze it properly.
ContentAnalysisContext.AnalysisMethod This describes what to expect from the content structure for proper analysis.
ContentAnalysisResults Summary of the content analysis.
ContentInformation Represents the content for a given build target of its base and current version.
ContentProviderHandler Handler that abstract the content provider interactions and allow to use the device side content provider for different operations.
CountingTestResultListener A TestResultListener that tracks the total number of tests by TestStatus
CountTestCasesCollector Count and report the number of test cases for a given IRemoteTest .
CoverageMeasurementForwarder A placeholder test that forwards coverage measurements from the build provider to the logger.
CoverageOptions Tradefed object to hold coverage options.
CoverageOptions.Toolchain
CpuThrottlingWaiter An ITargetPreparer that waits until max frequency on all cores are restored to highest level available
CreateAvdPreparer
CreateUserPreparer Target preparer for creating user and cleaning it up at the end.
CurrentInvocation A class that tracks and provides the current invocation information useful anywhere inside the invocation.
CurrentInvocation.InvocationInfo Some special named key that we will always populate for the invocation.
CurrentInvocation.IsolationGrade Describes the level of isolation

D

DebugHostLogOnFailureCollector Collector that will gather and log the host-side logs when a test case failure occurs.
DefaultConnection Default connection representation of a device, assumed to be a standard adb connection of the device.
DefaultConnection.ConnectionBuilder Builder used to described the connection.
DefaultRemoteAndroidTestRunner Extension of the ddmlib RemoteAndroidTestRunner to set some default for Tradefed use cases.
DefaultTestsZipInstaller A default implementation of tests zip installer.
DelegatedInvocationExecution InvocationExecution which delegate the execution to another Tradefed binary.
DependenciesResolver A new type of provider that allows to get all the dependencies for a test.
DeviceActionTargetPreparer A ITargetPreparer to perform device actions.
DeviceActionUtil A Utility class to execute device actions.
DeviceActionUtil.Command Commands for device action.
DeviceActionUtil.DeviceActionConfigError Exception for config error.
DeviceAllocationResult Represents the results of an allocation attempt for a command.
DeviceAllocationState Represents the allocation state of the device from the IDeviceManager perspective
DeviceAvailableChecker Checker to ensure a module doesn't leave the device in an offline state.
DeviceBaselineChecker Set device baseline settings before each module.
DeviceBaselineSetter Abstract class used to create a device baseline setting.
DeviceBatteryLevelChecker An IRemoteTest that checks for a minimum battery charge, and waits for the battery to reach a second charging threshold if the minimum charge isn't present.
DeviceBatteryResourceMetricCollector This collector collects device battery metrics.
DeviceBuildDescriptor A wrapper class for a IBuildInfo , that contains helper methods to retrieve device platform build information.
DeviceBuildInfo A IBuildInfo that represents a complete Android device build and (optionally) its tests.
DeviceBuildInfoBootStrapper A ITargetPreparer that replaces build info fields with attributes read from device

This is useful for testing devices with builds generated from an external source (eg

DeviceBuildInfoInjector A ITargetPreparer that inserts DeviceBuildDescriptor metadata into the IBuildInfo .
DeviceCleaner Performs reboot or format as cleanup action after test, and optionally turns screen off
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
DeviceConcurrentUtil Contains utility methods and classes for concurrent device side command execution

Use ERROR(/ExecutorService) to run commands implemented as ShellCommandCallable , and use ERROR(/#joinFuture(String,Future,long)) for synchronization against the ERROR(/Future) as returned by ERROR(/ExecutorService) for the command execution.

DeviceConcurrentUtil.ShellCommandCallable <V> A ERROR(/Callable) that wraps the details of executing shell command on an ITestDevice .
DeviceConfigurationHolder A concrete IDeviceConfiguration implementation that stores the loaded device configuration objects in its attributes.
DeviceDescriptor A class containing information describing a device under test.
DeviceDisconnectedException Thrown when a device is no longer reachable via it's transport type, eg if the device is no longer visible via USB, or TCP/IP connection
DeviceErrorIdentifier Error Identifiers from Device errors and device reported errors.
DeviceFailedToBootError Thrown if a device fails to boot after being flashed with a build.
DeviceFeatureFlag
DeviceFeatureModuleController A module controller to not run tests when it doesn't support certain feature.
DeviceFileReporter A utility class that checks the device for files and sends them to ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) if found.
DeviceFlashPreparer A ITargetPreparer that flashes an image on physical Android hardware.
DeviceFoldableState Representation of device foldable state as returned by "cmd device_state print-states".
DeviceFolderBuildInfo A IDeviceBuildInfo that also contains other build artifacts contained in a directory on the local filesystem.
DeviceImageTracker For some of the incremental device update, we need the baseline files to compute diffs.
DeviceImageTracker.FileCacheTracker Track information of the device image cached and its metadata
DeviceImageZipFlashingTargetPreparer A target preparer that flashes the device with device images provided via a specific format.
DeviceInternetAccessibilityResourceMetricCollector The collector pings google.com to check if the device has internet accessibility or not.
DeviceJUnit4ClassRunner JUnit4 test runner that also accommodates IDeviceTest .
DeviceJUnit4ClassRunner.LogAnnotation Fake annotation meant to carry logs to the reporters.
DeviceJUnit4ClassRunner.MetricAnnotation Fake annotation meant to carry metrics to the reporters.
DeviceJUnit4ClassRunner.TestLogData Implementation of ExternalResource and TestRule .
DeviceJUnit4ClassRunner.TestMetrics Implementation of ExternalResource and TestRule .
DeviceManagementGrpcServer GRPC server allowing to reserve a device from Tradefed.
Gestore dispositivi
DeviceManager.FastbootDevice Representation of a device in Fastboot mode.
DeviceMetricData Object to hold all the data collected by metric collectors.
DeviceMonitorMultiplexer A proxy class to propagate requests to multiple IDeviceMonitor s.
DeviceNotAvailableException Thrown when a device is no longer available for testing.
DeviceOwnerTargetPreparer An ITargetPreparer that sets up a device owner component.
DeviceParameterizedRunner JUnit4 style parameterized runner for host-side driven parameterized tests.
DeviceProperties Common constant definitions for device side property names
DeviceRecoveryModeUtil
DeviceReleaseReporter Device release reporter that handles communicating with the parent process the device(s) to be released.
DeviceResetFeature Server side implementation of device reset.
DeviceResetHandler Utility handling generically device resetting.
DeviceRuntimeException Thrown when a device action did not results in the expected results.
DeviceSelectionOptions Container for for device selection criteria.
DeviceSelectionOptions.DeviceRequestedType The different possible types of placeholder devices supported.
DeviceSettingChecker Check if device settings have changed during a module run.
DeviceSetup A ITargetPreparer that configures a device for testing based on provided Option s.
DeviceSnapshotFeature Server side implementation of device snapshot.
DeviceSnapshotHandler Utility handling Cuttlefish snapshot.
DeviceStateMonitor Helper class for monitoring the state of a IDevice .
DeviceStorageAgeResourceMetricCollector Parse storage age from logcat.
DeviceStorageFiller Target preparer to fill up storage so some amount of free space is available.
DeviceStorageStatusChecker Check if device has enough disk space for the given partitions.
DeviceStringPusher Target preparer to write a string to a file.
DeviceSuite Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests that requires it.
DeviceSyncHelper Helper that helps syncing a new device image to the device.
DeviceTestCase Helper JUnit test case that provides the IRemoteTest and IDeviceTest services.
DeviceTestResult An specialization of TestResult that will abort when a DeviceNotAvailableException occurs
DeviceTestResult.RuntimeDeviceNotAvailableException
DeviceTestRunOptions A builder class for options related to running device tests through BaseHostJUnit4Test.
DeviceTestSuite Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services.
DeviceTraceCollector Collector that will start perfetto trace when a test run starts and log trace file at the end.
DeviceUnavailableMonitor This listener attempts to capture a test case level DNAE only.
DeviceUnresponsiveException A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie, commands timing out, won't boot, etc)
DeviceUpdateTargetPreparer An abstract ITargetPreparer that takes care of common steps around updating devices with a device image file from an external source (as opposed to a build service).
DeviceWifiResourceMetricCollector The collector collects current connected wifi signal strength and link speed metrics.
DeviceWiper A ITargetPreparer that wipes userdata
DirectedGraph <V> A directed unweighted graphs implementation.
DisableSELinuxTargetPreparer Target preparer that disables SELinux if enabled.
DryRunKeyStore A keystore for dry-run where any keystore value is always properly replaced and found.
DryRunner Transparently dry runs tests instead of actually executing them.
DynamicFileStubTest This is a tradefed test to test tradefed can resolve dynamic file correctly.
DynamicRemoteFileResolver Class that helps resolving path to remote files.
DynamicRemoteFileResolver.FileResolverLoader Loads implementations of IRemoteFileResolver .
DynamicShardHelper Sharding strategy to allow work remote work queueing between multiple TF instances
DynamicShardingConnectionInfoMessage Data-holding class in order to make sending via the feature server easier.
DynamicSystemPreparer An ITargetPreparer that sets up a system image on top of a device build with the Dynamic System Update.

E

EarlyDeviceReleaseFeature Feature server implementation for early device release.
E-mail A helper class to send an email.
EmailHostHealthAgent A IHostHealthAgent implementation to send email from Host monitor reports
EmmaXmlConstants Constants used when parsing emma xml report.
EmulatorMemoryCpuCapturer
EndCentralDirectoryInfo EndCentralDirectoryInfo is a class containing the overall information of a zip file.
EnforcedSeLinuxChecker Status checker that ensures the status of Selinux.
EraseUserDataPreparer A ITargetPreparer that wipes user data on the device.
ErrorIdentifier This interface describes a specific error and its properties.
ErrorStorageUtil Helper class for manipulating the errors to align with the common storage.
EventsLoggerListener Listener that logs all the events it receives into a file
ExceptionThrowingRunnerWrapper
ExecutableBaseTest Base class for executable style of tests.
ExecutableHostTest Test runner for executable running on the host.
ExecutableTargetTest Test runner for executable running on the target.
ExecutionFiles Files dependencies generated during the execution of a test or invocation that need to be carried for testing.
ExecutionFiles.FilesKey Enumeration of known standard key for the map.
ExecutionProperties Properties generated during the execution of a test or invocation.
ExistingBuildProvider A IBuildProvider that returns an already constructed IBuildInfo .
ExtendedFile A extension of standard file to carry a build related metadata.
ExtensionAtomsRegistry ExtensionAtomsRegistry for local use of statsd.

F

FailureDescription The class describing a failure information in Trade Federation.
FakeTest A fake test whose purpose is to make it easy to generate repeatable test results.
FakeTestsZipFolder A testing fixture that creates a fake unzipped tests folder based on a list of content.
FakeTestsZipFolder.ItemType
FastbootCommandPreparer Target preparer that triggers fastboot and sends fastboot commands.
FastbootDeviceFlasher A class that relies on fastboot to flash an image on physical Android hardware.
FastbootHelper A helper class for fastboot operations.
FastbootUpdateBootstrapPreparer An ITargetPreparer that stages specified files (bootloader, radio, device image zip) into IDeviceBuildInfo to get devices flashed with FastbootDeviceFlasher , then injects post-boot device attributes into the build info for result reporting purposes.
FatalHostError An exception that indicates a fatal unrecoverable error has occurred on the host machine running TradeFederation, and that the TradeFederation instance should be shut down.
FeatureFlagTargetPreparer Updates the DeviceConfig (feature flags tuned by a remote service).
FileDownloadCache A helper class that maintains a local filesystem LRU cache of downloaded files.
FileDownloadCacheFactory A factory for creating FileDownloadCache
FileDownloadCacheWrapper A wrapper class that provides FileDownloadCache facilities while implementing the IFileDownloader interface.
FileIdleMonitor Monitors files and executes a callback if they have been idle (ie
FileInputStreamSource A InputStreamSource that takes an input file.
FileLogger A ILeveledLogOutput that directs log messages to a file and to stdout.
FileProtoResultReporter Proto reporter that dumps the TestRecord into a file.
FilePullerDeviceMetricCollector A BaseDeviceMetricCollector that listen for metrics key coming from the device and pull them as a file from the device.
FilePullerLogCollector Logger of the file reported by the device-side.
FileSystemLogSaver Save logs to a file system.
FilesystemRootChecker
FileUtil A helper class for file related operations
FileUtil.LowDiskSpaceException Thrown if usable disk space is below minimum threshold.
FilteredResultForwarder Variant of ResultForwarder that only allows an allowlist of TestDescription to be reported.
FixedByteArrayOutputStream An in-memory ERROR(/OutputStream) that only keeps a maximum amount of data.
FlashingMethod An enum to describe the method used to flash device under test
FlashingResourcesParser A class that parses out required versions of auxiliary image files needed to flash a device.
FlashingResourcesParser.AndroidInfo A typedef for Map&lt;String, MultiMap&lt;String, String&gt;&gt; .
FlashingResourcesParser.Constraint A filtering interface, intended to allow FlashingResourcesParser to ignore some resources that it otherwise might use
FlashingResourceUtil This utility helps setting the appropriate version of artifacts so they can be flashed via DeviceFlashPreparer .
FoldableExpandingHandler A IModuleParameterHandler expanding into more for each non-primary foldable configuration.
FoldableHandler Generic foldable handler that can take the foldable parameters to create a specialized module.
FoldableModePreparer A target preparer that can switch the foldable state of a device.
FolderBuildInfo Concrete implementation of a IFolderBuildInfo .
FolderSaver A ITargetPreparer that pulls directories off device, compresses and saves it into logging backend.
FormattedGeneratorReporter Reporter that allows to generate reports in a particular format.
FreeDeviceState
FuseUtil A helper class for FUSE operations.

G

GceAvdInfo Structure to hold relevant data for a given GCE AVD instance.
GceAvdInfo.GceStatus
GceAvdInfo.LogFileEntry
GceLHPTunnelMonitor
GceManager Helper that manages the GCE calls to start/stop and collect logs from GCE.
GceRemoteCmdFormatter Utility class to format commands to reach a remote gce device.
GceRemoteCmdFormatter.ScpMode SCP can be used to push or pull file depending of the structure of the args.
GceSshTunnelMonitor Thread Monitor for the Gce ssh tunnel.
GcovCodeCoverageCollector A BaseDeviceMetricCollector that will pull gcov coverage measurements off of the device and log them as test artifacts.
GcovKernelCodeCoverageCollector A BaseDeviceMetricCollector that will pull gcov kernel coverage measurements out of debugfs and off of the device and then finally logs them as test artifacts.
GCSBucketUtil File manager to download and upload files from Google Cloud Storage (GCS).
GCSBucketUtil.GCSFileMetadata Simple wrapper for file info in GCS.
GCSCommon Base class for Gcs operation like download and upload.
GCSConfigurationFactory A ConfigurationFactory loads configs from Google Cloud Storage.
GCSConfigurationFactory.GCSConfigLoader Extension of ConfigurationFactory.ConfigLoader that loads config from GCS, tracks the included configurations from one root config, and throws an exception on circular includes.
GCSConfigurationServer Config server loads configs from Google Cloud Storage (GCS).
GCSDownloaderHelper Downloader for GCS bucket that takes care of caching and resolving the global config.
GCSFileDownloader File downloader to download file from google cloud storage (GCS).
GCSFileUploader File uploader to upload file data to google cloud storage (GCS).
GCSHostResourceManager Download host resource from GCS (Google cloud storage).
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 An IGlobalConfiguration implementation that stores the loaded config objects in a map
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 Class helper to catch missing run start and end.
GsiDeviceFlashPreparer A target preparer that flashes the device with android generic system image.
GTest A Test that runs a native test package on given device.
GTestBase The base class of 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.
HarnessIOException Harness exception that helps carrying file issues.
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 A Test that runs a native test package.
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

IO

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 An interface for manipulating config option value
IConfigurableVirtualDevice An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.).
IConfiguration Configuration information for a TradeFederation invocation.
IConfigurationFactory Factory for creating IConfiguration s
IConfigurationReceiver Simple interface to represent object that accepts an IConfiguration .
IConfigurationServer An interface for config server.
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 Device Configuration Holder Interface.
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.

IDynamicShardingConnectionInfo Interface for classes that contain dynamic sharding connection info
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 Loads implementations of IRemoteFileResolver .
IFileResolverLoader.ResolverLoadingException Exception thrown if a resolver cannot be loaded or initialized.
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 A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations).
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.
ImageContentAnalyzer Analyzer for device image content analysis
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 .
IncrementalImageUtil A utility to leverage the incremental image and device update.
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 Abstract class used to run 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 Result forwarder from 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

KernelTargetTest Test runner for executable running on the target and parsing tesult of kernel test.
KernelTestModuleController Base class for a module controller to not run tests when it doesn't match the architecture .
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.
KTapResultParser Reads KTAP output as that produced by a KUnit test module and placed in a `results` file under debugfs.
KTapResultParser.ParseResolution
KUnitModuleTest Test runner for running KUnit test modules on device.

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 The class for local virtual devices running on TradeFed host.
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
LUCIResultReporter A result reporter that saves test results needed by ResultDB and LUCI into JSON format (go/result-sink) and logs the file location in the console.

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 A device running inside a virtual machine that we manage remotely via a Tradefed instance inside the 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
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 .
ModuleTestTypeUtil Contains common utility methods for checking module.
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 Representation of the device running inside a remote Cuttlefish VM.
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing.
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 An no-op IConfigOptionValueTransformer
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.
Opzione Annotates a field as representing a IConfiguration option.
Option.Importance
OptionClass Annotates a class as representing a IConfiguration object.
OptionCopier A helper class that can copy Option field values with same names from one object to another.
OptionDef Holds the details of an Option .
OptionFetcher Helper to get the test options from the parent process.
OptionNotAllowedException Specific ConfigurationException when an option is not allowed to be passed in the command line.
OptionSetter Populates Option fields.
OptionSetter.OptionFieldsForName Container for the list of option fields with given name.
OptionUpdateRule Controls the behavior when an option is specified multiple times.
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.
OxygenClient.LHPTunnelMode
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 immagazzinato segment of the key is a regex ERROR(/Pattern) .
RemoteAndroidDevice Implementation of a ITestDevice for a full stack android device connected via adb connect.
RemoteAndroidVirtualDevice Extends RemoteAndroidDevice behavior for a full stack android device running in the 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 A simple class that allows one to load files from a variety of places using URIs and the service provider functionality.
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 Forwarder for results and logs events.
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 Factory that handles retrying a command.
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.
RootcanalForwarderPreparer
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 of RunNotifier so we can carry the 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 Special Configuration factory to handle creation of configurations for Sandboxing purpose.
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.
SkipManager Based on a variety of criteria the skip manager helps to decide what should be skipped at different levels: invocation, modules and tests.
SkipReason Provide a reason and its metadata for skipping a test.
SkipReason.DemotionTrigger
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.
SnapuserdWaitPhase Enum representation of when to join/block for the snapuserd update to finish.
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.SkippedTestEventInfo
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 A fatal error occurred while preparing the target for testing.
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 Class extending ConfigurationException for template related error during configuration parsing.
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.
TestContentAnalyzer The analyzer takes context for the analysis and determine what is interesting.
TestContext A class to model a TestContext message of TFC API.
TestDependencyResolver Helper to resolve dependencies if needed.
Descrizione del testo Class representing information about a test case.
TestDescriptionsFile A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file.
TestDevice Implementation of a ITestDevice for a full stack android device
TestDevice.MicrodroidBuilder A builder used to create a Microdroid TestDevice.
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
Ambiente di test A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested.
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 Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite.
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.
Risultato del test 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.
TestStatus Representation in Tradefed of possible statuses for test methods.
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 mappare transizione.
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfSuiteRunner Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder.
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 .
Perdi tempo 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,

WifiCommandUtil A utility class that can parse wifi command outputs.
WifiCommandUtil.ScanResult Represents a wifi network containing its related info.
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