Indice di classe
Queste sono le classi API. Vedi tutti i pacchetti API .
UN
AaptParser | Classe che estrae le 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. |
AbiFormatter | Classe di utilità per abi. |
AbstractXmlParser | Classe base di supporto per l'analisi di file xml |
AbstractXmlParser.ParseException | Generato se l'input XML non può essere analizzato |
AcloudConfigParser | Classe di supporto che analizza una configurazione Acloud (utilizzata per avviare un'istanza del dispositivo Cloud). |
AcloudConfigParser.AcloudKeys | Set di chiavi che possono essere ricercati dalla configurazione. |
ActivityStatusChecker | Verifica dello stato per le attività rimaste in esecuzione alla fine di un modulo. |
AdbRootElevator | Un AutoCloseable che consente ADB radice quando costruito se necessario e stato ripristini root quando completa. |
Aggregato PostProcessore | Un aggregatore di metriche che fornisce il minimo, il massimo, la media, la varianza, la deviazione standard, il totale, il conteggio e facoltativamente i percentili per le metriche numeriche raccolte durante le esecuzioni di test a iterazioni multiple, trattandoli come doppi. |
AltDirBehavior | Un'enumerazione per definire comportamenti di directory alternativi per vari installatori/pusher di artefatti di test |
AppBuildInfo | Un IBuildInfo che rappresenta un'applicazione Android e il suo pacchetto di prova (s). |
AppDeviceBuildInfo | Questa classe è deprecata. Usa IDeviceBuildInfo direttamente. |
AppVersionFetcher | Classe di utilità per ottenere la stringa della versione dell'app dal dispositivo. |
AppVersionFetcher.AppVersionInfo | Tipi di informazioni sulla versione dell'app. |
ArchModuleController | Controller del modulo per non eseguire test quando non corrisponde a nessuna determinata architettura. |
ArgsOptionParser | Popola Option campi da argomenti della riga di comando analizzato. |
ATestFileSystemLogSaver | Questa classe LogSaver viene utilizzata da ATest per salvare i log in un percorso specifico. |
AutoLogCollector | Enumerazione che descrive quale collector può essere gestito automaticamente dal cablaggio. |
Reporter automatizzati | Classe che definisce la mappatura dei reporter automatici di Tradefed. |
Media PostProcessore | Implementazione di post processor che calcolano la media dell'elenco delle metriche. |
B
SfondoDispositivoAzione | Esegue un comando su un determinato dispositivo ripetendolo secondo necessità finché l'azione non viene annullata. |
BaseDispositivoMetricoCollettore | Implementazione di base di IMetricCollector che permette di avviare e raccolta tappa onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) e ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulator Preparatore | Preparatore comune per l'avvio di un emulatore locale. |
Uscita log di livello base | Un'implementazione base per ILeveledLogOutput che permette di filtrare alcuni tag basato sul loro nome o componenti. |
BaseModuleController | Implementazione di base di IModuleController che dovrebbe essere implementata per verificare se un modulo deve essere eseguito o meno. |
BaseMultiTargetPreparatore | Implementazione di base di IMultiTargetPreparer che consente di disattivare l'oggetto. |
BasePostProcessor | La base IPostProcessor che ogni implementazione dovrebbe estendersi. |
BaseRetryDecision | Implementazione di base di IRetryDecision . |
BaseStreamLogger <OS estende OutputStream> | Un ILeveledLogOutput che indirizza i messaggi di log ad un flusso di output e allo stdout. |
BaseTargetPreparatore | Classe di implementazione di base per ITargetPreparer che permette di controllare se l'oggetto è disattivato o meno. |
BaseTestSuite | Un test per l'esecuzione di Compatibility Test Suite con il nuovo sistema di suite. |
BatteryController | Classe di utilità che permette di controllare lo stato di carica della batteria di un dispositivo. |
BatteriaRicaricaDispositivoRipristino | Consentono di attivare un comando quando il livello della batteria del dispositivo scende sotto una determinata soglia. |
BatteriaTemperatura | |
BatteriaNon disponibileRipristino dispositivo | Verifica del ripristino che attiverà una configurazione se il livello della batteria non è disponibile. |
BinaryState | Enum utilizzato per registrare lo stato ON/OFF con uno stato IGNORE no-op. |
BluetoothUtils | Funzioni di utilità per chiamare la strumentazione Bluetooth sul dispositivo Codice del dispositivo lato BluetoothInstrumentation può essere trovato in AOSP a: |
BootstrapBuildProvider | Un IDeviceBuildProvider che informazioni bootstraps costruire dal dispositivo di testQuesto è in genere utilizzato per i dispositivi con una build fornita esternamente, ad es |
BugreportCollector | Un pass-through ITestInvocationListener che raccoglie segnalazioni di errori quando gli eventi si verificano configurabili e quindi chiama ITestInvocationListener#testLog sui suoi figli dopo ogni bugreport viene raccolto. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | Un predicato completo che descrive quando acquisire una segnalazione di bug. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Raccogli un bugreportz quando un test case fallisce. |
Informazioni sulla costruzione | Generico attuazione di un IBuildInfo che dovrebbe essere associato ad ITestDevice . |
BuildInfoRecorder | Un ITargetPreparer che scrive informazioni di build di meta dati in un file specificato. |
BuildInfoUtil | Una classe util di aiuto manipolare IBuildInfo |
BuildRecuperoErrore | Si è verificato un errore irreversibile durante il recupero della build per il test. |
BuildTestZipUtils | Una classe di supporto per le operazioni relative ai test zip generati dal sistema di compilazione Android |
BulkEmailer | Un'utilità del mittente di posta elettronica che consente la seguente configurazione: intervallo di invio, dimensione iniziale del burst, destinatari e numero totale di messaggi. |
BundletoolUtil | Classe di utilità che utilizza la riga di comando di bundletool per installare .apks su deivce. |
C
CecControllerTokenProvider | Fornitore di token per token correlati a Consumer Electronics Control (CEC). |
CircolareAtraceUtil | Un'utilità atrace sviluppata principalmente per identificare le cause alla radice degli ANR durante i test Monkey. |
CircularByteArray | Struttura di 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. |
ClangCodiceCoperturaCollezionista | Un BaseDeviceMetricCollector che tirerà le misure di copertura Clang off del dispositivo e accedere come artefatti di prova. |
ClassNotFoundConfigurationException | ConfigurationException per quando non si trova la classe di un oggetto. |
ClassPathScanner | Trova le voci sul classpath. |
ClassPathScanner.ClassNameFilter | Un IClassPathFilter che filtra e trasforma java nomi di classe. |
ClassPathScanner.ExternalClassNameFilter | Un ClassNameFilter che rifiuta classi interne |
ClassPathScanner.IClassPathFilter | Un filtro per i percorsi di ingresso del percorso di classe Modellato dopo FileFilter |
ClusterBuildInfo | Un IBuildInfo classe per costruisce convogliata da TFC. |
ClusterBuildProvider | Un IBuildProvider per scaricare le risorse di test TFC. |
ClusterClient | Un IClusterClient attuazione per interagire con il backend TFC. |
ClusterComando | 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 | Un IRemoteTest classe per lanciare un comando da TFC tramite un TF sottoprocesso. |
ClusterCommandScheduler | Un ICommandScheduler al supporto TFC (Tradefed Cluster). |
ClusterCommandStatus | Una classe che rappresenta lo stato e il motivo dell'annullamento di un comando da TF Cluster. |
ClusterDeviceInfo | Una classe per incapsulare le informazioni sul dispositivo cluster da caricare. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | Un IDeviceMonitor implementazione che riporta i risultati al servizio Tradefed cluster. |
ClusterEventUploader <T si estende IClusterEvent > | Classe ClusterEventUploader, così da caricare IClusterEvent per 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 | Un ILogSaver classe per caricare uscite di test a TFC. |
ClusterLogSaver.FilePickingStrategy | Strategie di prelievo dei file. |
Opzioni cluster | |
CollectingByteOutputReceiver | Un IShellOutputReceiver che raccoglie l'intera produzione shell in un byte[] . |
RaccoltaUscitaRicevitore | Un IShellOutputReceiver che raccoglie l'intera produzione shell in una String . |
RaccoltaTestAscoltatore | Un ITestInvocationListener che raccoglierà tutti i risultati del test. |
CollectorHelper | Helper per fare un po ' IMetricCollector operazioni necessarie in più punti. |
CommandFileParser | Parser per file che contiene una serie di righe di comando. |
CommandFileParser.CommandLine | |
CommandLineBuildInfoBuilder | Utility lo scopo di catturare i soliti argomenti di informazione di compilazione dalla riga di comando e creare IBuildInfo da loro. |
Opzioni comando | Attuazione della ICommandOptions . |
ComandoOpzioniGetter | Implementazione del servizio che restituisce il valore delle opzioni di comando di una determinata chiamata. |
CommandRunner | Un punto di ingresso alternativo di TradeFederation che eseguirà il comando specificato negli argomenti della riga di comando e quindi si chiuderà. |
CommandRunner.ExitCode | Codici di errore con cui è possibile uscire. |
Programma di pianificazione dei comandi | Un programma di pianificazione per l'esecuzione di comandi TradeFederation su tutti i dispositivi disponibili. |
CommandScheduler.HostState | Enumerazioni di diverso stato di host |
CommonLogRemoteFileUtil | Questa utilità consente di evitare la duplicazione del codice attraverso la diversa rappresentazione 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. |
ConditionPriorityBlockingQueue <T> | Una classe thread-safe con ERROR(/PriorityBlockingQueue) -come operazioni che possono recuperare gli oggetti che hanno una certa condizione. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | Un ConditionPriorityBlockingQueue.IMatcher che corrisponde a qualsiasi oggetto. |
ConditionPriorityBlockingQueue.IMatcher <T> | Un'interfaccia per determinare se gli elementi corrispondono a una sorta di condizione. |
ConfigCompleter | Attuazione della Completer per le nostre configurazioni TF. |
Configurazione | Un concreto IConfiguration implementazione che memorizza la configurazione caricate oggetti in una mappa. |
ConfigurazioneDef | Contiene un record di una configurazione, dei suoi oggetti associati e delle loro opzioni. |
ConfigurationDef.ConfigObjectDef | Oggetto per contenere le informazioni per un nomeclasse e il numero di aspetto che ha (ad esempio, se una configurazione ha lo stesso oggetto due volte, il primo avrà il primo numero di aspetto). |
ConfigurazioneFabbrica | Fabbrica per la creazione di IConfiguration . |
ConfigurationFactory.ConfigLoader | Attuazione di IConfigDefLoader che traccia le configurazioni incluse da una configurazione radice, e genera un'eccezione circolare include. |
ConfigurationUtil | 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 |
Console | Console principale di TradeFederation che fornisce all'utente l'interfaccia per interagire Attualmente supporta operazioni come
|
Console.ArgRunnable <T> | Un Runnable con una run metodo che può prendere un argomento |
Console.CaptureList | Un tipo di convenienza per List<List<String>> |
ConsoleReaderOutputStream | Un OutputStream che può essere utilizzato per rendere System.out.print() gioco piacevole con l'utente LineReader unfinishedLine. |
ConsoleResultReporter | Reporter risultati per stampare i risultati del test sulla console. |
ConteggioTestResultListener | Un TestResultListener che tiene traccia del numero totale delle prove da TestStatus |
CountTestCasesCollector | Contare e riportare il numero di casi di test per un dato IRemoteTest . |
Opzioni di copertura | Oggetto scambiato per contenere opzioni di copertura. |
Opzioni di copertura.Toolchain | |
CreaPreparatoreAvd | |
CreaPreparatoreUtente | Preparatore di destinazione per creare l'utente e ripulirlo alla fine. |
D
DebugHostLogOnFailureCollector | Collector che raccoglierà e registrerà i log sul lato host quando si verifica un errore del test case. |
PredefinitoRemoteAndroidTestRunner | Estensione del ddmlib RemoteAndroidTestRunner per impostare un certo valore predefinito per i casi d'uso Tradefed. |
DefaultTestsZipInstaller | Un'implementazione predefinita del programma di installazione zip dei test. |
Esecuzione dell'invocazione delegata | InvocationExecution che delegare l'esecuzione di un altro binario Tradefed. |
DipendenzeResolver | Un nuovo tipo di provider che permette di ottenere tutte le dipendenze per un test. |
DeviceAllocationResult | Rappresenta i risultati di un tentativo di allocazione per un comando. |
DeviceAvailableChecker | Checker per garantire che un modulo non lasci il dispositivo in uno stato offline. |
DeviceBatteryLevelChecker | Un IRemoteTest che verifica la presenza di un carica batteria minimo, e attende la batteria di raggiungere una seconda soglia di carica se la carica minima non è presente. |
DeviceBatteryResourceMetricCollector | Questo raccoglitore raccoglie le metriche della batteria del dispositivo. |
DeviceBuildDescriptor | Una classe wrapper per un IBuildInfo , che contiene helper metodi per recuperare la piattaforma dispositivo informazioni di build. |
DeviceBuildInfo | Un IBuildInfo che rappresenta una generazione dispositivo Android completa e (opzionalmente) i test. |
DeviceBuildInfoBootStrapper | Un ITargetPreparer che i campi informazioni sostituisce costruire con gli attributi letti dal dispositivoQuesto è utile per testare dispositivi con build generate da una fonte esterna (es |
DeviceBuildInfoInjector | Un ITargetPreparer che inserti DeviceBuildDescriptor metadati nel IBuildInfo . |
DeviceCleaner | Esegue il riavvio o la formattazione come azione di pulizia dopo il test e facoltativamente spegne lo schermo |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | Contiene metodi e classi di utilità per l'esecuzione simultanea di comandi sul lato del dispositivo Uso |
DeviceConcurrentUtil.ShellCommandCallable <V> | A ERROR(/Callable) che avvolge i dettagli di esecuzione del comando shell su un ITestDevice . |
DeviceConfigurationHolder | Un calcestruzzo IDeviceConfiguration implementazione che memorizza gli oggetti di configurazione del dispositivo caricati nei suoi attributi. |
DeviceFailedToBootError | Generato se un dispositivo non si avvia dopo essere stato aggiornato con una build. |
DeviceFeatureModuleController | Un controller del modulo per non eseguire test quando non supporta determinate funzionalità. |
DeviceFileReporter | Una classe di utilità che controlla il dispositivo per i file e li invia a ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) se trovato. |
DeviceFlashPreparer | Un ITargetPreparer che lampeggia un'immagine su hardware fisico Android. |
DeviceFlashPreparer.EncryptionOptions | Enumerazione di opzioni per la gestione della crittografia dell'immagine dei dati utente |
DeviceFolderBuildInfo | Un IDeviceBuildInfo che contiene anche altri artefatti costruire contenuti in una directory nel filesystem locale. |
DeviceImageZipFlashingTargetPreparer | Un preparatore di destinazione che esegue il flashing del dispositivo con le immagini del dispositivo fornite tramite un formato specifico. |
DeviceInternetAccessibilityResourceMetricCollector | Il collezionista esegue un ping su google.com per verificare se il dispositivo dispone o meno dell'accessibilità a Internet. |
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 s. |
Proprietà dispositivo | Definizioni comuni delle costanti per i nomi delle proprietà lato dispositivo |
DeviceRecoveryModeUtil | |
DeviceResetFeature | Implementazione lato server del ripristino del dispositivo. |
DeviceResetHandler | Utility che gestisce genericamente il ripristino del dispositivo. |
Opzioni di selezione del dispositivo | Contenitore per criteri di selezione del dispositivo. |
DeviceSelectionOptions.DeviceRequestedType | I diversi tipi possibili di dispositivi segnaposto supportati. |
DeviceSettingChecker | Verificare se le impostazioni del dispositivo sono state modificate durante l'esecuzione di un modulo. |
Configurazione dispositivo | Un ITargetPreparer che configura un dispositivo per il test in base a condizione Option s. |
DeviceStateMonitor | Classe di supporto per il monitoraggio dello stato di un IDevice . |
DeviceStorageAgeResourceMetricCollector | Analizza l'età di archiviazione da logcat. |
DeviceStorageStatusChecker | Controlla se il dispositivo ha spazio su disco sufficiente per le partizioni indicate. |
DispositivoDisponibileMonitor | Questo listener tenta di acquisire solo un DNAE a livello di test case. |
DeviceUpdateTargetPreparer | Un abstract ITargetPreparer che si prende cura di passi comuni intorno aggiornamento dei dispositivi con un file di immagine del dispositivo da un server esterno (al contrario di un servizio di build). |
DeviceWifiResourceMetricCollector | Il raccoglitore raccoglie la potenza del segnale Wi-Fi connesso corrente e le metriche della velocità del collegamento. |
DirectedGraph <V> | Un'implementazione diretta di grafi non pesati. |
DynamicFileStubTest | Questo è un test di tradefed per testare che tradefed può risolvere correttamente il file dinamico. |
DynamicRemoteFileResolver | Classe che aiuta a risolvere il percorso dei file remoti. |
DynamicRemoteFileResolver.FileResolverLoader | Carica le implementazioni di IRemoteFileResolver . |
E
EmmaXmlCostanti | Costanti utilizzate durante l'analisi del report emma xml. |
EmulatorMemoryCpuCapturer | |
EnforcedSeLinuxChecker | Verificatore di stato che assicura lo stato di Selinux. |
EventiLoggerListener | Listener che registra tutti gli eventi che riceve in un file |
BuildProvider esistente | Un IBuildProvider che restituisce un già costruito IBuildInfo . |
File esteso | Un'estensione del file standard per trasportare i metadati relativi alla build. |
F
Test falso | Un test falso il cui scopo è rendere facile la generazione di risultati ripetibili. |
FakeTestZipFolder | Un dispositivo di test che crea una cartella di test decompressa falsa basata su un elenco di contenuti. |
FakeTestsZipFolder.ItemType | |
FastbootDeviceFlasher | Una classe che si basa sull'avvio rapido per eseguire il flashing di un'immagine sull'hardware Android fisico. |
FastbootHelper | Una classe di supporto per le operazioni di avvio rapido. |
FastbootUpdateBootstrapPreparer | Un ITargetPreparer che stadi file specificati (bootloader, radio, dispositivo di immagine zip) nella IDeviceBuildInfo per ottenere dispositivi lampeggiavano con FastbootDeviceFlasher , poi inietta dispositivo post-boot attributi nella costruzione informazioni per scopi di reporting dei risultati. |
FileDownloadCache | Una classe di supporto che mantiene una cache LRU del file system locale dei file scaricati. |
FileDownloadCacheFactory | Una fabbrica per la creazione di FileDownloadCache |
FileDownloadCacheWrapper | Una classe wrapper che fornisce FileDownloadCache strutture, mentre l'attuazione del IFileDownloader interfaccia. |
FileIdleMonitor | Monitora i file ed esegue una richiamata se sono stati inattivi (ad es |
FileLogger | Un ILeveledLogOutput che indirizza i messaggi di log in un file e allo stdout. |
FileProtoResultReporter | Proto giornalista che scarica il TestRecord in un file. |
FilePullerDeviceMetricCollector | Un BaseDeviceMetricCollector che ascoltare per la chiave metriche proveniente dal dispositivo e tirare come un file dal dispositivo. |
FilePullerLogCollector | Logger del file segnalato dal lato dispositivo. |
FileSystemLogSaver | Salva i log in un file system. |
Inoltro di risultati filtrati | Variante di ResultForwarder che consente solo un allowlist di TestDescription da segnalare. |
FixedByteArrayOutputStream | An in memoria ERROR(/OutputStream) che mantiene solo una quantità massima di dati. |
Parser di risorse lampeggianti | Una classe che analizza le versioni richieste dei file di immagine ausiliari necessari per eseguire il flashing di un dispositivo. |
FlashingResourcesParser.AndroidInfo | Un typedef per Map<String, MultiMap<String, String>> . |
FlashingResourcesParser.Constraint | Un'interfaccia filtraggio, destinato a permettere FlashingResourcesParser di ignorare alcune risorse che altrimenti potrebbe utilizzare |
FlashingResourceUtil | Questa utility consente di impostare la versione appropriata di manufatti in modo che possano essere un lampo tramite DeviceFlashPreparer . |
FoldableExpandingHandler | Un IModuleParameterHandler espansione in più per ogni configurazione pieghevole non primario. |
pieghevoleHandler | Gestore pieghevole generico che può prendere i parametri pieghevoli per creare un modulo specializzato. |
FoldableModePreparatore | Un preparatore di destinazione che può cambiare lo stato pieghevole di un dispositivo. |
FolderBuildInfo | Calcestruzzo implementazione di un IFolderBuildInfo . |
FormattedGeneratorReporter | Reporter che permette di generare report in un formato particolare. |
G
GceAvdInfo | Struttura per contenere i dati rilevanti per una determinata istanza GCE AVD. |
GceAvdInfo.GceStatus | |
GceManager | Helper che gestisce le chiamate GCE per avviare/arrestare e raccogliere log da GCE. |
GceRemoteCmdFormatter | Classe di utilità per formattare i comandi per raggiungere un dispositivo gce remoto. |
GceRemoteCmdFormatter.ScpMode | SCP può essere utilizzato per eseguire il push o il pull di file a seconda della struttura degli argomenti. |
GceSshTunnelMonitor | Thread Monitor per il tunnel ssh di Gce. |
GcovCodeCoverageCollector | Un BaseDeviceMetricCollector che tirerà le misure di copertura gcov off del dispositivo e accedere come artefatti di prova. |
GCSBucketUtil | File manager per scaricare e caricare file da Google Cloud Storage (GCS). |
GCSBucketUtil.GCSFleMetadata | Wrapper semplice per le informazioni sui file in GCS. |
GCSCommon | Classe base per operazioni Gcs come download e upload. |
GCSDownloaderHelper | Downloader per bucket GCS che si occupa della memorizzazione nella cache e della risoluzione della configurazione globale. |
GCSFileDownloader | Downloader di file per scaricare file da google cloud storage (GCS). |
GCFSileUploader | Caricatore di file per caricare i dati dei file sul cloud storage di Google (GCS). |
GCSHostResourceManager | Scarica la risorsa host da GCS (archiviazione cloud di Google). |
GcsRemoteFileResolver | Attuazione della IRemoteFileResolver che permette di scaricare da un secchio GCS. |
GetPreviousPassedHelper | Helper per ottenere i filtri di test passati precedenti. |
GkiDeviceFlashPreparer | Un preparatore di destinazione che esegue il flashing del dispositivo con l'immagine generica del kernel comune di Android. |
GlobalFilterGetter | Implementazione del servizio che restituisce i filtri di una determinata chiamata. |
GlobalTestFilter | Opzioni di filtro applicate alla chiamata. |
GoogleApiClientUtil | Utilità per creare client API di Google. |
GranularRetriableTestWrapper | A lavori classe wrapper sul IRemoteTest per granulare l'IRemoteTest a livello di TestCase. |
GsiDeviceFlashPreparer | Un preparatore di destinazione che lampeggia il dispositivo con l'immagine del sistema generico Android. |
h
HelloWorldMultiTargetPreparer | Un esempio di implementazione di un IMultiTargetPreparer . |
HistoryLogger | TF History Logger, log speciale che contiene solo alcuni eventi specifici. |
HprofAllocSiteParser | Classe di supporto per analizzare le informazioni da una sezione Siti di allocazione dei report hprof. |
HttpRemoteFileResolver | Attuazione della IRemoteFileResolver che permette il download di file remoto via HTTP |
HttpsRemoteFileResolver | Attuazione della IRemoteFileResolver che permette il download di file remoto via HTTPS |
io
IAbiReceiver | Un test che ha bisogno dell'ABI in prova. |
IAppBuildInfo | Questa interfaccia è deprecata. Usa IBuildInfo direttamente. |
IAutoRetriableTest | Interfaccia per un IRemoteTest che non implementa ITestFilterReceiver ma ancora desidera sostenere l'auto-retry. |
Informazioni sulla batteria | L'interfaccia che definisce l'interazione con una batteria di un dispositivo. |
IBatteryInfo.BatteryState | Descrive lo stato di carica della batteria corrente. |
IBuildProvider | Responsabile della fornitura di informazioni relative alla build in prova. |
IBuildReceiver | Un test che necessita di riferimento alla build sottoposta a test. |
IClusterClient | Un'interfaccia per interagire con il backend TFC. |
IClusterEvent | Interfaccia per qualsiasi evento cluster da caricare su TFC. |
IClusterEventUploader <T si estende IClusterEvent > | Interfaccia per ClusterEventUploader |
IClusterOpzioni | Un'interfaccia per ottenere opzioni relative al cluster. |
IComandoOpzioni | Contenitore per le opzioni di esecuzione dei comandi. |
ICommandScheduler | Uno scheduler per l'esecuzione di comandi TradeFederation. |
ICommandScheduler.IScheduledInvocationListener | Listener per gli eventi di chiamata al termine della chiamata. |
ICompressionStrategy | Un'interfaccia che rappresenta un algoritmo di compressione che può essere selezionato in fase di esecuzione. |
IConfigurazione | Informazioni di configurazione per una chiamata TradeFederation. |
IConfigurationFactory | Fabbrica per la creazione di IConfiguration s |
IConfigurationReceiver | Interfaccia semplice per rappresentare oggetto che accetta un IConfiguration . |
ICredentialFactory | Un'interfaccia per la fabbrica delle credenziali per creare OAuth2 Credential . |
IDefaultObjectLoader | Interfaccia per caricare gli oggetti predefiniti che dovrebbero far parte della nostra configurazione YAML. |
IDefaultObjectLoader.LoaderConfiguration | L'oggetto di configurazione di caricamento per passare le informazioni al caricatore. |
IDeviceBuildInfo | Un IBuildInfo che rappresenta una generazione dispositivo Android completa e (opzionalmente) i test. |
IDeviceBuildProvider | Un IBuildProvider che utilizza le informazioni da un ITestDevice per recuperare una generazione. |
IDeviceConfiguration | Interfaccia del titolare della configurazione del dispositivo. |
IDeviceFlasher | Lampeggia l'immagine di un dispositivo su un dispositivo. |
IDeviceFlasher.UserDataFlashOption | Enumerazione di opzioni per la gestione dell'immagine dei dati utente |
IDDeviceManager | Interfaccia per la gestione dell'insieme dei dispositivi disponibili per il test. |
IDeviceManager.IFastbootListener | Un listener per le modifiche allo stato di avvio rapido. |
IDeviceMonitor | Interfaccia per il monitoraggio dello stato dei dispositivi. |
IDeviceMonitor.DeviceLister | Un Runnable -come classe che deve restituire i dispositivi noti ed i loro Stati. |
IDeviceSelection | Interfaccia per criteri di selezione del dispositivo. |
IDeviceTest | Interfaccia per oggetto che ha bisogno di un riferimento a un ITestDevice . |
IDisabilita | Interfaccia che descrive un oggetto Tradefed che può essere disabilitato. |
FileDownloader | Interfaccia per scaricare un file remoto. |
IFlashingResourcesParser | Interfaccia per fornire le versioni richieste dei file immagine ausiliari necessari per eseguire il flashing di un dispositivo. |
IFlashingResourcesRetriever | Interfaccia per il recupero di file immagine ausiliari necessari per eseguire il flashing di un dispositivo. |
IFolderBuildInfo | Un semplice estratto IBuildInfo i cui manufatti sono accumulo contenente in una directory del file system locale. |
IFormatterGenerator | Interfaccia descrive un formattatore per SuiteResultHolder . |
IHostCleaner | Pulisce l'host al termine dell'esecuzione del test. |
IInvocationContextReceiver | Un test che necessita di riferimento al contesto dell'invocazione. |
Esecuzione dell'invocazione | Interfaccia che descrive le azioni che verranno eseguite come parte di un'invocazione. |
ILeveledLogOutput | Le classi che implementano questa interfaccia forniscono metodi che si occupano dell'emissione di messaggi di registro. |
ILogcatReceiver | Una classe che fornisce l'uscita di logcat di un dispositivo come InputStreamSource . |
ILogRegistry | Un'interfaccia per un ILogOutput Singleton logger che multiplex e gestisce diversi logger. |
ILogRegistry.EventType | Eventi utili da registrare |
IMetricCollector | Questa interfaccia verrà aggiunta come decoratore quando si riportano i risultati dei test per raccogliere le metriche corrispondenti. |
IMetricCollectorReceiver | Interfaccia per IRemoteTest s implementare se hanno bisogno di ottenere l'elenco dei IMetricCollector s per l'esecuzione del test. |
IModuleController | Interfaccia per controllare se un modulo deve essere eseguito o meno. |
IModuleController.RunStrategy | Enum che descrive come deve essere eseguito il modulo. |
IModuleParameterHandler | L'interfaccia per i parametri dei moduli delle suite. |
IMultiDeviceTest | Questa interfaccia è deprecata. Questa interfaccia viene conservata temporaneamente per motivi di compatibilità, ma in realtà non viene più utilizzata. Si prega di non implementarlo. |
IMultiTargetPreparer | Prepara l'ambiente di test per più dispositivi insieme. |
INativeDeviceTest | Interfaccia per oggetto che ha bisogno di un riferimento a un INativeDevice . |
InstallApexModuleTargetPreparer | |
InstantAppHandler | Handler per ModuleParameters#INSTANT_APP . |
InstrumentationResultProtoParser | Analizza il protocollo del risultato della strumentazione raccolto durante l'esecuzione del test della strumentazione e informa ITestRunListener dei risultati. |
InvocazioneContesto | Generico implementazione di un IInvocationContext . |
Esecuzione dell'invocazione | Classe che descrive tutti i passaggi di chiamata: build download, target_prep, run test, clean up. |
InvocationScope | Scope una singola invocazione Tradefed. |
InvocationScoped | |
InvocationScopeModule | Modulo Guice che può essere utilizzato ovunque in un'invocazione TF per richiedere gli oggetti supportati da Guice-Tradefed. |
Stato di chiamata | Una classe per memorizzare lo stato della chiamata. |
Invocazione aJUnitResultForwarder | Una classe che ascolta ITestInvocationListener eventi e li inoltra ad un TestListener . |
IPostProcessor | Post processors è un oggetto della Trade Federation pensato per consentire l'elaborazione di metriche e log DOPO i test e PRIMA della segnalazione dei risultati. |
IFunzione remota | Interfaccia che descrive una funzionalità in Tradefed che può essere eseguita in base alla richiesta. |
IRemoteFileResolver | Interfaccia per oggetti in grado di risolvere un file remoto in uno locale. |
IRemoteFileResolver.RemoteFileResolverArgs | Gli argomenti passati ai resolver |
IRemoteFileResolver.ResolvedFile | Classe che contiene informazioni sul file risolto e alcuni metadati. |
IReportNotExecuted | In caso di un'esecuzione incompleta, IRemoteTest che implementa questa interfaccia può segnalare i test non eseguiti per il miglioramento della segnalazione. |
IRescheduler | Interfaccia per riprogrammare una configurazione per l'esecuzione futura. |
IResourceMetricCollector | L'interfaccia per consentire all'utente di implementare raccoglitori di risorse personalizzati. |
IRestApiHelper | Un'interfaccia di supporto per l'esecuzione di chiamate API REST. |
IResumableTest | Questa interfaccia è deprecata. Non c'è più bisogno di questo |
IRiprovaDecisione | Interfaccia che guida la decisione di riprovare e applica il filtro sulla classe per tentativi più mirati. |
IRuntimeHintProvider | |
ISandbox | Interfaccia che definisce una sandbox che può essere utilizzata per eseguire una chiamata. |
ISandboxFactory | Fabbrica per la creazione di ISandbox . |
ISetOptionReceiver | L'attuazione di questa interfaccia dovrebbe avere Option con un nome "set-opzione" legato alla HostTest#SET_OPTION_NAME . |
IShardableTest | Un IRemoteTest che può essere suddiviso in separatamente eseguibili sub-test. |
IShardHelper | Interfaccia di un oggetto che descrive la strategia di sharding da adottare per una configurazione. |
ISystemStatusChecker | Un checker 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 al ISystemStatusChecker dalla configurazione. |
ITargetCleaner | Questa interfaccia è deprecata. tearDown è stato spostato nell'interfaccia ITargetPreparer di base. |
ITargetPreparatore | Prepara l'ambiente di test per l'esecuzione del test. |
ITerribleFailureHandler | Un'interfaccia per gestire gli errori terribili da LogUtil.CLog.wtf(String, Throwable) |
ITestAnnotationFilterReceiver | Un corridore che può filtrare quali test eseguire in base alle annotazioni. |
ItestCollector | Fornisce supporto per la raccolta dei test; quando impostato, il test runner deve eseguire una corsa a secco per raccogliere i casi di test senza eseguirli effettivamente. |
ITestFileFilterReceiver | Un corridore che può ricevere un file che specifica quali test eseguire e/o non eseguire. |
ITestFilterReceiver | Un corridore che può filtrare quali test eseguire. |
ITestInformationReceiver | Interfaccia per ricevere il TestInformation per alcune classi. |
ITestInvocation | Gestisce una chiamata di prova TradeFederation. |
ITestInvocation.ExitInformation | Rappresenta alcune informazioni di uscita per una chiamata. |
ITestSuite | Classe astratta utilizzata per eseguire Test Suite. |
ITestSuiteResultLoader | Interfaccia che descrive un helper per caricare i risultati precedenti in un modo che può essere rieseguito. |
ITestsZipInstaller | Installa i test da un file zip di test (come emesso dal sistema di compilazione) su un dispositivo. |
J
JavaCodeCoverageCollector | Un BaseDeviceMetricCollector che tirerà le misure di copertura Java off del dispositivo e accedere come artefatti di prova. |
JavaCodeCoverageFlusher | Una classe di utilità che reimposta e forza l'eliminazione delle misurazioni della copertura del codice Java dai processi in esecuzione sul dispositivo. |
JsonHttpTestResultReporter | Un reporter di risultati che codifica i risultati delle metriche di test e il ramo, le informazioni sul dispositivo in JSON e POST in un endpoint del servizio HTTP |
JUnit4TestFilter | Classe helper che fornisce il filtraggio per JUnit4 corridore estendendo il Filter . |
JUnitToInvocationResultForwarder | Una classe che ascolta TestListener eventi e li inoltra ad un ITestInvocationListener . |
JUnitXmlParser | Parser che estrae i dati dei risultati dei test dai risultati JUnit archiviati in XMLJUnitResultFormatter di ant e li inoltra a ITestInvocationListener. |
K
KeyguardStatusChecker | Controlla lo stato del keyguard dopo l'esecuzione del modulo. |
KillExistingEmulatorPreparer | Un ITargetPreparer che spegne un emulatore in esecuzione. |
l
LabResourceDeviceMonitor | Il monitor delle risorse del laboratorio che inizializza/gestisce il server gRPC per LabResourceService. |
LargeOutputReceiver | Una classe progettata per aiutare a eseguire comandi a lunga esecuzione raccoglie l'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 |
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 |
LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
LocalRunInstructionBuilder | Utility to compile the instruction to run test locally. |
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. |
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. |
M
MainlineModuleHandler | Una semplice classe gestore per i moduli della linea principale che crea un InstallApexModuleTargetPreparer e vi inserisce il collegamento dinamico in base ai moduli della linea principale specificati per recuperare automaticamente tali moduli. |
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 |
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. |
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. |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleOemTargetPreparer | |
ModuleOemTargetPreparer.ModuleInfo | A simple struct class to store information about a module |
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. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
N
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
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 DeviceAction for running a OS 'adb ....' command. |
NativeDevice.AdbShellAction | |
NativeDevice.RebootDeviceAction | 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. |
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. |
NoDeviceException | Thrown when there's no device to execute a given command. |
NoisyDryRunTest | Run noisy dry run on a command file. |
NotMultiAbiHandler | Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module. |
O
OpenObjectLoader | Loader for the default objects available in AOSP. |
OptionCopier | A helper class that can copy Option field values with same names from one object to another. |
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. |
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. |
P
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. |
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. |
PassingTestFileReporter | A ITestInvocationListener that saves the list of passing test cases to a test file |
PrettyPrintDelimiter | Helper utility that helps to print delimited message that stands out. |
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 |
Q
QuotationAwareTokenizer |
R
RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/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 |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteManager | Class that receives RemoteOperation s via a socket. |
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. |
ReportPassedTests | Report in a file possible filters to exclude passed test. |
ResourceMetricUtil | Utility functions for composing metrics. |
RestApiHelper | A helper class for performing REST API calls. |
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. |
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 . |
RunCommandTargetPreparer | |
RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
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. |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
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:
|
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. |
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. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
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 . |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
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. |
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 |
TarUtil | Utility to manipulate a tar file. |
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. |
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. |
TestContext | A class to model a TestContext message of TFC API. |
TestDependencyResolver | Helper to resolve dependencies if needed. |
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 |
TestEnvironment | A class to model a TestEnvironment message returned by TFC API. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
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. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
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 | A class to upload test output files to GCS/HTTP. |
TestRecordInterpreter | Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed. |
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. |
TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
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. |
TimeVal | This class is deprecated. use Duration instead. |
TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
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
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
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. |
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 |
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. |
WifiHelper | Helper class for manipulating wifi services on device. |
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. |