Indice di classe
Queste sono le classi API. Vedi tutti i pacchetti API .
UN
Aapt Parser | Classe che estrae informazioni da apk analizzando l'output di 'aapt dump badging'. |
AaptParser.AaptVersion | Enum di opzioni per la versione AAPT utilizzate per analizzare i file APK. |
Abi | Una classe che rappresenta un ABI. |
AbiFormattatore | Classe di utilità per abi. |
AbiUtils | Classe di utilità per la gestione degli ABI del dispositivo |
AbstractHostMonitor | Classe tipica per il monitoraggio dell'integrità dell'host. |
AbstractXmlParser | Classe base di supporto per l'analisi di file XML |
AbstractXmlParser.ParseException | Generato se non è stato possibile analizzare l'input XML |
AcloudConfigParser | Classe helper che analizza una configurazione Acloud (usata per avviare un'istanza del dispositivo Cloud). |
AcloudConfigParser.AcloudKeys | Set di chiavi che possono essere ricercati dalla configurazione. |
Azione in corso | L'azione generale in corso. |
ActivityStatusChecker | 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. |
AdbStopServerPreparatore | Preparatore di destinazione per arrestare il server adb sull'host prima e dopo l'esecuzione di test adb. |
AdbUtils | Una classe di utilità per le operazioni adb. |
AfterClassWithInfo | Garanzie simili a AfterClass ma con metodo annotato devono richiedere un parametro TestInformation . |
AggregatePostProcessor | 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 esecuzioni di test con più iterazioni, trattandole come doppi. |
AllTestAppsInstallSetup | Un ITargetPreparer che installa tutte le app da una IDeviceBuildInfo#getTestsDir() nel dispositivo. |
AltDirBehavior | Un enum per definire comportamenti di directory alternativi per vari programmi di installazione/push di artefatti di test |
AndroidJUnitTest | Un test che esegue un pacchetto di test della strumentazione su un determinato dispositivo usando android.support.test.runner.AndroidJUnitRunner. |
AoaTargetPreparaer | ITargetPreparer che esegue una serie di azioni (es. clic e swipe) utilizzando il protocollo Android Open Accessory (AOAv2). |
Informazioni sulla creazione di app | Un IBuildInfo che rappresenta un'applicazione Android e i relativi pacchetti di test. |
AppDeviceBuildInfo | Questa classe è obsoleta. Usa IDeviceBuildInfo direttamente. |
Configurazione app | Un ITargetPreparer che installa un apk e i suoi 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 | Controller del modulo per non eseguire test quando non corrisponde a una determinata architettura. |
ArgsOptionParser | Popola i campi Option dagli argomenti della riga di comando analizzati. |
ArrayUtil | Metodi di utilità per gli array |
Preparatore di ArtChroot | Crea una directory chroot per i test ART. |
ArtGTest | |
ArtRunTest | Un corridore di prova per eseguire test di corsa ART. |
ArtRunTest.AdbShellCommandException | Una classe di eccezione per segnalare un errore che si è verificato 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, raccoglie il risultato e lo registra nella chiamata. |
AtraceRunMetricCollector | Raccoglie le tracce da tutte le directory di test nella directory specificata dal dispositivo di test, registra la directory di test ed elabora i file di traccia nella directory di test e aggrega le metriche. |
AutoLogCollector | Enumerazione che descrive quale collettore può essere gestito automaticamente dal cablaggio. |
Reporter automatizzati | Classe che definisce la mappatura dei reporter automatizzati Tradefed. |
AveragePostProcessor | Implementazione di post processor che calcolano la media della lista delle metriche. |
B
BackgroundDeviceAzione | Esegue un comando su un determinato dispositivo ripetendolo secondo necessità fino all'annullamento dell'azione. |
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 l'avvio 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 permette di filtrare alcuni tag in base al loro nome o ai loro componenti. |
BaseModuleController | Implementazione di base di IModuleController che dovrebbe essere implementato per verificare se un modulo deve essere eseguito o meno. |
BaseMultiTargetPreparer | Implementazione di base di IMultiTargetPreparer che permette di disabilitare l'oggetto. |
BasePostProcessor | L' IPostProcessor di base che ogni implementazione dovrebbe estendere. |
BaseRetryDecision | Implementazione di base di IRetryDecision . |
BaseStreamLogger <OS estende OutputStream> | Un ILeveledLogOutput che indirizza i messaggi di registro a un flusso di output e a stdout. |
BaseTargetPreparaer | Classe di implementazione di base per ITargetPreparer che permette di controllare se l'oggetto è disabilitato o meno. |
BaseTestSuite | Un test per l'esecuzione di Compatibility Test Suite con il nuovo sistema di suite. |
Controllore della batteria | Classe di utilità che permette di controllare lo stato di carica della batteria di un dispositivo. |
BatteryRechargeDeviceRecovery | Consentono di attivare un comando quando il livello della batteria del dispositivo scende al di sotto di una determinata soglia. |
Temperatura della batteria | |
Batteria non disponibileDeviceRecovery | Controllo del ripristino che attiverà una configurazione se il livello della batteria non è disponibile. |
BeforeClassWithInfo | Garanzie simili a BeforeClass ma il metodo annotato devono richiedere un parametro TestInformation . |
Stato Binario | Enum utilizzato per registrare lo stato ON/OFF con uno stato IGNORE no-op. |
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 raccoglitore raccoglierà le metriche BluetoothConnectionStateChanged e registrerà il numero dello stato della connessione per ogni profilo. |
BluetoothConnectionSuccessRatePostProcessor | Implementazione del postprocessore che calcola la percentuale di successo per un profilo bluetooth Utilizzare "metric-key-match" per specificare le metriche che contengono gli stati di connessione Bluetooth nell'array numerico Esempio [0, 1, 2, 3, 0, 1, 2, 3]. |
Utilità Bluetooth | Funzioni di utilità per chiamare la strumentazione Bluetooth sul dispositivo Il codice della strumentazione Bluetooth lato dispositivo può essere trovato in AOSP in: |
BootstrapBuildProvider | Un IDeviceBuildProvider che esegue il bootstrap delle informazioni sulla build dal dispositivo di testQuesto è in genere utilizzato per dispositivi con una build fornita esternamente, ad es |
BootstrapServiceFileResolverLoader | Carica i resolver utilizzando la funzione di caricamento del servizio. |
Riportare un errore | Oggetto contenente i riferimenti ai file bugreport, compatibile con bugreport flat e bugreport zippato (bugreportz). |
BugreportCollector | Un ITestInvocationListener pass-through che raccoglie segnalazioni di bug quando si verificano eventi configurabili e quindi chiama ITestInvocationListener#testLog sui relativi elementi figlio dopo la raccolta di ogni 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 | |
BugreportzOnFailureCollector | Raccogli un bugreportz quando un test case fallisce. |
BugreportzOnTestCaseFailureCollector | Raccogli un bugreportz quando un test case in una corsa non riesce. |
BuildError | Generato se la build fornita non viene eseguita. |
BuildInfo | Implementazione generica di un IBuildInfo che dovrebbe essere associato a un ITestDevice . |
BuildInfoKey | Enumerazione di classi relative alla creazione di query di informazioni. |
BuildInfoKey.BuildInfoFileKey | Enum che descrive tutti i tipi di file noti che possono essere interrogati tramite IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
BuildInfoRecorder | Un ITargetPreparer che scrive i metadati delle informazioni sulla build in un file specificato. |
BuildInfoUtil | Una classe util per aiutare a manipolare IBuildInfo |
BuildRetrievalError | Si è verificato un errore irreversibile durante il recupero della build per il test. |
BuildSerializedVersion | Classe che contiene la versione di serializzazione corrente di tutti i IBuildInfo . |
BuildTestsZipUtils | Una classe helper per le operazioni relative ai test zip generati dal sistema di build Android |
BulkEmailer | Un'utilità per il mittente dell'e-mail 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 su deivce. |
ByteArrayInputStreamSource | |
ByteArrayList | Una classe per rappresentare una matrice di byte leggera. |
ByteArray Util | Utilità per operare su array di byte, ad esempio convertire i 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. |
CdmaDeviceFlasher | Una classe che esegue il flashing di un'immagine su un dispositivo Android fisico con una radio CDMA. |
CecControllerTokenProvider | Fornitore di token per i token relativi al controllo dell'elettronica di consumo (CEC). |
Info Directory Centrale | CentralDirectoryInfo è una classe contenente le informazioni di un file/cartella all'interno di un file zip. |
ControllarePairingPreparer | Un CompanionAwarePreparer che verifica il legame BT tra i dispositivi primari e complementari |
CircularAtraceUtil | Un'utilità atrace sviluppata principalmente per identificare le cause principali degli ANR durante i test 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. |
ClassNotFoundConfigurationException | ConfigurationException per quando la classe di un oggetto non viene trovata. |
ClassPathScanner | Trova le voci nel percorso di classe. |
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 dopo FileFilter |
ClockworkUtils | Un'utilità a orologeria per condividere la logica multi-dispositivo |
ClusterBuildInfo | Una classe IBuildInfo per le build inviate tramite pipe da TFC. |
ClusterBuildProvider | Un IBuildProvider per scaricare le risorse di test TFC. |
ClusterClient | IClusterClient per l'interazione con il back-end TFC. |
ClusterCommand | Una classe che rappresenta un'attività recuperata da TF Cluster. |
ClusterCommand.RequestType | |
ClusterCommand.State | Lo 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 | |
ClusterCommand Launcher | 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 di annullamento di un comando da TF Cluster. |
ClusterDeviceInfo | Una classe per incapsulare le informazioni sul dispositivo del cluster da caricare. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | Un'implementazione di IDeviceMonitor che segnala i risultati al servizio Tradefed Cluster. |
ClusterEventUploader <T estende IClusterEvent > | Classe ClusterEventUploader, che carica IClusterEvent in TFC. |
ClusterHostEvent | Una classe per incapsulare gli eventi 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 di test su TFC. |
ClusterLogSaver.FilePickingStrategy | Strategie di raccolta dei file. |
ClusterOptions | |
CodeCoverageTest | Un test che esegue un pacchetto di test della strumentazione su un determinato dispositivo e genera il rapporto di copertura del codice. |
CollectingByteOutputReceiver | Un IShellOutputReceiver che raccoglie l'intero output della shell in un byte[] . |
Ricevitore di raccolta di output | Un IShellOutputReceiver che raccoglie l'intero output della shell in un unico String . |
CollectingTest Listener | Un ITestInvocationListener che raccoglierà tutti i risultati del test. |
CollezionistaHelper | Aiutante per eseguire alcune operazioni di IMetricCollector necessarie in più punti. |
CommandFileParser | Parser per file che contiene un insieme di righe di comando. |
CommandFileParser.CommandLine | |
CommandInterrupter | Servizio che consente di interrompere o contrassegnare i comandi di TradeFederation come non interrompibili. |
CommandLineBuildInfoBuilder | Utilità pensata per acquisire i soliti argomenti di informazioni sulla build da una riga di comando e creare un IBuildInfo da essi. |
CommandOptions | Implementazione di ICommandOptions . |
CommandOptionsGetter | Implementazione del servizio che restituisce il valore delle opzioni di comando di una determinata chiamata. |
CommandResult | 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 si chiuderà. |
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 | Enum di stato diverso di host |
CommandStatus | Rappresenta lo stato di un'operazione a tempo. |
CommandStatusHandler | Gestore che aiuta a monitorare e aggiornare lo stato di una chiamata. |
CommonLogRemoteFileUtil | Questa utilità consente di evitare la duplicazione del codice tra le diverse rappresentazioni dei dispositivi remoti per la logica di recupero dei registri remoti di 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 complementare |
CompanionAwarePreparer | Un ITargetPreparer che incapsula la logica per ottenere un dispositivo complementare già allocato. |
Companion AwareTest | Classe di test di base che incapsula il boilerpate di ottenere e controllare il dispositivo complementare La sottoclasse può chiamare |
CompanionDeviceTracker | Una classe per l'allocazione e la liberazione di dispositivi complementari |
CompanionRunCommandTargetPreparer | Un ITargetPreparer che esegue comandi specificati sul dispositivo complementare allocato |
CompanionTestAppInstallSetup | Un ITargetPreparer che installa una o più app da una IDeviceBuildInfo#getTestsDir() su un dispositivo complementare allocato. |
ConditionPriorityBlockingQueue <T> | Una classe thread-safe con operazioni simili a ERROR(/PriorityBlockingQueue) che possono recuperare oggetti che soddisfano una determinata condizione. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | Un ConditionPriorityBlockingQueue.IMatcher che corrisponde a qualsiasi oggetto. |
ConditionPriorityBlockingQueue.IMatcher <T> | Un'interfaccia per determinare se gli elementi soddisfano una sorta di condizione. |
ConfigCompleter | Implementazione del Completer per le nostre configurazioni TF. |
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. |
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). |
ConfigurationDescriptor | Configurazione Oggetto che descrive alcuni aspetti della configurazione stessa. |
ConfigurationDescriptor.LocalTestRunner | Enum utilizzato per indicare il corridore del test locale. |
ConfigurationException | Generato se non è stato possibile caricare la configurazione. |
ConfigurazioneFactory | Factory per la creazione di IConfiguration . |
ConfigurationFactory.ConfigLoader | Implementazione di IConfigDefLoader che tiene traccia delle configurazioni incluse da una configurazione radice e genera un'eccezione sulle inclusioni circolari. |
ConfigurationFactory.ExceptionLoader | |
Configurazione Util | Funzioni di utilità per gestire i file di configurazione. |
ConfigurationXmlParserSettings | 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 la creazione, l'interazione e il push dei file di configurazione di statsd. |
Console | Console principale di TradeFederation che fornisce all'utente l'interfaccia per interagire Attualmente supporta operazioni come
|
Console.ArgRunnable <T> | Un Runnable con un metodo run che può accettare un argomento |
Console.CaptureList | Un tipo di convenienza per List<List<String>> |
ConsoleReaderOutputStream | Un OutputStream che può essere utilizzato per fare in modo che System.out.print() giochi bene con LineReader dell'utente unfinishedLine. |
ConsoleResultReporter | Reporter dei risultati per stampare i risultati del test sulla console. |
ContentProviderHandler | Gestore che astrae le interazioni del provider di contenuti e consente di utilizzare il provider 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 della copertura dal provider di build al logger. |
Opzioni di copertura | Oggetto Tradefed per detenere opzioni di copertura. |
CoverageOptions.Toolchain | |
CpuThrottlingWaiter | Un ITargetPreparer che attende fino a quando la frequenza massima su tutti i core non viene ripristinata al livello più alto disponibile |
Crea AvdPreparatore | |
Crea UserPreparatore | Preparatore di destinazione per creare l'utente e ripulirlo alla fine. |
Invocazione corrente | Una classe che tiene traccia e fornisce le informazioni sulla chiamata corrente utili ovunque all'interno della chiamata. |
CurrentInvocation.InvocationInfo | Una chiave denominata speciale che compileremo 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. |
DefaultRemoteAndroidTestRunner | Estensione di ddmlib RemoteAndroidTestRunner per impostare alcuni casi d'uso predefiniti di Tradefed. |
DefaultTestsZipInstaller | Un'implementazione predefinita di test zip installer. |
Esecuzione dell'invocazione delegata | InvocationExecution che delega l'esecuzione a un altro binario Tradefed. |
Risolutore di dipendenze | 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. |
DeviceAllocationState | Rappresenta lo stato di allocazione del dispositivo dal punto di vista di IDeviceManager |
DeviceAvailableChecker | Verifica per garantire che un modulo non lasci il dispositivo in uno stato offline. |
DeviceBaselineChecker | Impostare le impostazioni di base del dispositivo prima di ogni modulo. |
DeviceBaselineSetter | Classe astratta utilizzata per creare un'impostazione di base del dispositivo. |
DeviceBatteryLevelChecker | 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 le metriche della batteria del dispositivo. |
DeviceBuildDescriptor | Una classe wrapper per un IBuildInfo , che contiene metodi helper per recuperare le informazioni sulla build della piattaforma del dispositivo. |
DeviceBuildInfo | Un IBuildInfo che rappresenta una build completa del dispositivo Android e (facoltativamente) i suoi test. |
DeviceBuildInfoBootStrapper | Un ITargetPreparer che sostituisce i campi info build con attributi letti dal dispositivoQuesto è utile per testare dispositivi con build generate da una fonte esterna (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 | |
DeviceConcurrentUtil | Contiene metodi e classi di utilità per l'esecuzione simultanea di comandi lato dispositivo Utilizzare |
DeviceConcurrentUtil.ShellCommandCallable <V> | Un ERROR(/Callable) che racchiude i dettagli dell'esecuzione del comando della shell su un ITestDevice . |
DeviceConfigurationHolder | Un'implementazione concreta IDeviceConfiguration che archivia gli oggetti di configurazione del dispositivo caricati nei relativi attributi. |
DeviceDescriptor | Una classe contenente informazioni che descrivono un dispositivo in prova. |
DeviceDisconnectedException | Generato 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. |
DeviceFailedToBootError | Generato se un dispositivo non si avvia dopo che è stato eseguito il flashing con una build. |
DeviceFeatureModuleController | Un controller del modulo per non eseguire test quando non supporta determinate funzionalità. |
DeviceFileReporter | Una classe di utilità che verifica la presenza di file nel dispositivo e li invia a ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) se trovato. |
DeviceFlashPreparer | Un ITargetPreparer che esegue il flashing di un'immagine su hardware Android fisico. |
Stato pieghevole dispositivo | Rappresentazione dello stato pieghevole del dispositivo restituito da "cmd device_state print-states". |
DeviceFolderBuildInfo | Un IDeviceBuildInfo che contiene anche altri artefatti di compilazione contenuti in una directory sul 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 raccoglitore esegue un ping su google.com per verificare se il dispositivo ha accessibilità a Internet o meno. |
DeviceJUnit4ClassRunner | Runner di test JUnit4 che ospita anche IDeviceTest . |
DeviceJUnit4ClassRunner.LogAnnotation | Annotazione falsa destinata a portare i registri ai giornalisti. |
DeviceJUnit4ClassRunner.MetricAnnotation | Annotazione falsa pensata per portare le metriche ai giornalisti. |
DeviceJUnit4ClassRunner.TestLogData | Implementazione di ExternalResource e TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | Implementazione di ExternalResource e TestRule . |
DeviceJUnit4ClassRunnerBuilder | Un RunnerBuilder che fornisce DeviceJUnit4ClassRunner s, utilizzato in modo specifico per fornire corridori per un ERROR(LongevitySuite/android.host.test.longevity.LongevitySuite LongevitySuite) e LongevityHostRunner . |
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. |
DeviceMonitor Multiplexer | Una classe proxy per propagare le richieste a più IDeviceMonitor s. |
DeviceNotAvailableException | Generato quando un dispositivo non è più disponibile per il test. |
DeviceOwnerTargetPreparer | Un ITargetPreparer che configura un componente del proprietario del dispositivo. |
DeviceParameterizedRunner | Runner parametrizzato in stile JUnit4 per test parametrizzati lato host. |
Proprietà dispositivo | Definizioni di costanti comuni per i nomi delle proprietà lato dispositivo |
DeviceRecoveryModeUtil | |
DeviceReleaseReporter | Reporter di rilascio del dispositivo che gestisce la comunicazione con il genitore elabora i dispositivi da rilasciare. |
DeviceResetFeature | Implementazione lato server del ripristino del dispositivo. |
DeviceResetHandler | Utility che gestisce genericamente il reset del dispositivo. |
DeviceRuntimeException | Generato quando un'azione del dispositivo non ha prodotto i risultati previsti. |
DeviceSelectionOptions | Contenitore per i criteri di selezione del dispositivo. |
DeviceSelectionOptions.DeviceRequestedType | I diversi tipi possibili di dispositivi segnaposto supportati. |
DeviceSettingChecker | Verificare 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. |
DeviceStateMonitor | Classe helper per il monitoraggio dello stato di un IDevice . |
DeviceStorageAgeResourceMetricCollector | Analizza l'età di archiviazione da logcat. |
DeviceStorageFiller | Preparatore di destinazione per riempire lo spazio di archiviazione in modo che sia disponibile una certa quantità di spazio libero. |
DeviceStorageStatusChecker | Controlla se il dispositivo ha spazio su disco sufficiente per le partizioni date. |
DeviceStringPusher | Preparatore di destinazione per scrivere una stringa in un file. |
DeviceSuite | Estende la Suite di contenitori JUnit4 per fornire un ITestDevice ai test che lo richiedono. |
DeviceTestCase | Test case di supporto JUnit che fornisce i servizi IRemoteTest e IDeviceTest . |
Risultato test dispositivo | Una specializzazione di TestResult che verrà interrotta quando si verifica DeviceNotAvailableException |
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestRunOptions | Una classe builder per le opzioni relative all'esecuzione di test del dispositivo tramite BaseHostJUnit4Test. |
DeviceTestSuite | Helper JUnit suite di test che fornisce i servizi IRemoteTest e IDeviceTest . |
Dispositivo non disponibile Monitor | Questo listener 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 sono scaduti, non si avvia, ecc.) |
DeviceUpdateTargetPreparer | Un ITargetPreparer astratto che si occupa dei passaggi comuni relativi all'aggiornamento dei dispositivi con un file di immagine del dispositivo da un'origine esterna (al contrario di un servizio di compilazione). |
DeviceWifiResourceMetricCollector | Il raccoglitore raccoglie la potenza del segnale wifi connesso corrente e le metriche della velocità di collegamento. |
Dispositivo Wiper | Un ITargetPreparer che cancella i dati utente |
DirectedGraph <V> | Un'implementazione diretta di grafici non ponderati. |
Disattiva SELinuxTargetPreparer | Preparatore di destinazione che disabilita SELinux se abilitato. |
DryRunKeyStore | Un keystore per il funzionamento a secco in cui qualsiasi valore del keystore viene sempre sostituito e trovato correttamente. |
Dry Runner | Test di funzionamento a secco trasparenti invece di eseguirli effettivamente. |
DynamicFileStubTest | Questo è un test tradefed per verificare che tradefed possa risolvere correttamente il file dinamico. |
DynamicRemoteFileResolver | Classe che aiuta a risolvere il percorso di file remoti. |
DynamicRemoteFileResolver.FileResolverLoader | Carica le implementazioni di IRemoteFileResolver . |
Preparatore di sistema dinamico | Un ITargetPreparer che imposta un'immagine di sistema sopra una build del dispositivo con Dynamic System Update. |
e
Funzionalità EarlyDeviceRelease | Funzionalità di implementazione del server per il rilascio anticipato del dispositivo. |
Una classe di supporto per inviare un'e-mail. | |
Email HostHealthAgent | Un'implementazione di IHostHealthAgent per inviare e-mail dai report di monitoraggio Host |
EmmaXml Costanti | Costanti utilizzate durante l'analisi del report emma xml. |
EmulatorMemoryCpuCapturer | |
EndCentralDirectoryInfo | EndCentralDirectoryInfo è una classe contenente le informazioni generali di un file zip. |
EnforcedSeLinuxChecker | Controllo dello stato che garantisce lo stato di Selinux. |
Cancella UserDataPreparer | Un ITargetPreparer che cancella i dati 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 alla memoria comune. |
EventsLoggerListener | Listener che registra tutti gli eventi ricevuti in un file |
ExecutableBaseTest | Classe base per lo stile eseguibile dei test. |
ExecutableHostTest | Prova il corridore per l'esecuzione dell'eseguibile sull'host. |
EseguibileTargetTest | Corridore di prova per l'esecuzione dell'eseguibile sulla destinazione. |
File di esecuzione | Dipendenze dei file generate durante l'esecuzione di un test o di una chiamata che devono essere eseguite 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. |
BuildProvider esistente | Un IBuildProvider che restituisce un IBuildInfo già costruito. |
File esteso | Un'estensione del file standard per trasportare metadati relativi alla build. |
F
FailureDescription | La classe che descrive un'informazione di errore in Trade Federation. |
FakeTest | Un falso test il cui scopo è facilitare la generazione di risultati di test ripetibili. |
FakeTestsZipFolder | Un dispositivo di test che crea una cartella di test falsa decompressa basata su un elenco di contenuti. |
FakeTestsZipFolder.ItemType | |
FastbootCommandPreparer | Preparatore di destinazione che attiva l'avvio rapido e invia i comandi di avvio rapido. |
FastbootDeviceFlasher | Una classe che si basa su fastboot per eseguire il flashing di un'immagine su hardware Android fisico. |
Fastboot Helper | Una classe di supporto per le operazioni di avvio rapido. |
FastbootUpdateBootstrapPreparer | Un ITargetPreparer che esegue lo stage di file specificati (bootloader, radio, zip dell'immagine del dispositivo) in IDeviceBuildInfo per ottenere il flashing dei dispositivi con FastbootDeviceFlasher , quindi inserisce gli attributi del dispositivo post-avvio nelle informazioni di build per scopi di reporting dei risultati. |
FatalHostError | Si è verificata un'eccezione che indica che si è verificato un errore irreversibile irreversibile sul computer host che esegue TradeFederation e che l'istanza di TradeFederation deve essere chiusa. |
FeatureFlagTargetPreparer | Aggiorna DeviceConfig (flag di funzionalità ottimizzati da un servizio remoto) usando i valori dei file. |
FileDownloadCache | Una classe helper che mantiene una cache LRU del filesystem locale dei file scaricati. |
FileDownloadCacheFactory | Una fabbrica per la creazione di FileDownloadCache |
FileDownloadCacheWrapper | Una classe wrapper che fornisce FileDownloadCache durante l'implementazione dell'interfaccia IFileDownloader . |
FileIdleMonitor | Monitora i file ed esegue una richiamata se sono rimasti inattivi (ad es |
FileInputStreamSource | Un InputStreamSource che accetta un file di input. |
FileLogger | Un ILeveledLogOutput che indirizza i messaggi di registro a un file ea stdout. |
FileProtoResultReporter | Reporter proto che scarica il TestRecord in un file. |
FilePullerDeviceMetricCollector | Un BaseDeviceMetricCollector che ascolta la chiave delle metriche proveniente dal dispositivo e le estrae come file dal dispositivo. |
FilePullerLogCollector | Logger del file segnalato dal lato dispositivo. |
FileSystemLogSaver | Salva i log in un file system. |
FileUtil | Una classe helper per le operazioni relative ai file |
FileUtil.HarnessIOException | Eccezione di cablaggio che aiuta a trasportare problemi di file. |
FileUtil.LowDiskSpaceException | Generato se lo spazio su disco utilizzabile è inferiore alla soglia minima. |
FiltratoResultForwarder | Variante di ResultForwarder che consente solo di segnalare una lista consentita di TestDescription . |
FixedByteArrayOutputStream | Un ERROR(/OutputStream) in memoria che conserva solo una quantità massima di dati. |
FlashingResourcesParser | Una classe che analizza le versioni richieste dei file di immagine ausiliari necessari per eseguire il flashing di un dispositivo. |
FlashingResourcesParser.AndroidInfo | Una typedef per Map<String, MultiMap<String, String>> . |
FlashingResourcesParser.Constraint | Un'interfaccia di filtraggio, destinata a consentire a FlashingResourcesParser di ignorare alcune risorse che altrimenti potrebbero utilizzare |
FlashingResourceUtil | Questa utilità aiuta a impostare la versione appropriata degli artefatti in modo che possano essere flashati tramite DeviceFlashPreparer . |
PieghevoleExpandingHandler | Un IModuleParameterHandler espande in più per ogni configurazione pieghevole non primaria. |
PieghevoleHandler | Gestore pieghevole generico che può prendere i parametri pieghevole per creare un modulo specializzato. |
Preparatore di modalità pieghevole | Un preparatore di destinazione che può cambiare lo stato pieghevole di un dispositivo. |
FolderBuildInfo | Implementazione concreta di un IFolderBuildInfo . |
Salvacartelle | Un ITargetPreparer che estrae le directory dal dispositivo, le comprime e le salva nel back-end di registrazione. |
FormattedGeneratorReporter | Reporter che permette di generare report in un formato particolare. |
FreeDeviceState | |
FuseUtil | Una classe helper per le operazioni FUSE. |
G
GceAvdInfo | Struttura per contenere i dati rilevanti per una determinata istanza GCE AVD. |
GceAvdInfo.GceStatus | |
GceAvdInfo.LogFileEntry | |
Gce Manager | Helper che gestisce le chiamate GCE per avviare/arrestare e raccogliere i 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 args. |
GceSshTunnelMonitor | Thread Monitor per il tunnel ssh di Gce. |
GcovCodeCoverageCollector | Un BaseDeviceMetricCollector che estrarrà le misurazioni della copertura gcov dal dispositivo e le registrerà come artefatti di test. |
GCSBucket Util | File manager per scaricare e caricare file da Google Cloud Storage (GCS). |
GCSBucketUtil.GCSFileMetadata | Semplice wrapper per le informazioni sui file in GCS. |
GCSCommon | Classe base per operazioni Gcs come download e upload. |
GCSConfigurationFactory | Una ConfigurationFactory carica le configurazioni da Google Cloud Storage. |
GCSConfigurationFactory.GCSConfigLoader | Estensione di ConfigurationFactory.ConfigLoader che carica la configurazione da GCS, tiene traccia delle configurazioni incluse da una configurazione root e genera un'eccezione sulle inclusioni circolari. |
Server di configurazione GCS | Il server di configurazione carica le configurazioni da Google Cloud Storage (GCS). |
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). |
GCSFileUploader | Caricatore di 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 bucket GCS. |
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 | Una classe wrapper funziona su IRemoteTest per granulare IRemoteTest a livello di testcase. |
GsiDeviceFlashPreparer | A target preparer that flashes the device with android generic system image. |
Gtest | Un test che esegue un pacchetto di test nativo su un determinato dispositivo. |
GTestBase | La classe base di gTest |
GTestListTestParser | A result parser for gtest dry run mode with "--gtest_list_tests" parameter. |
GTestResultParser | Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestInvocationListener of the results. |
GTestXmlResultParser | Parses the 'xml output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results. |
H
HarnessException | Base exception class for exception thrown within the harness. |
HarnessRuntimeException | |
HeapHostMonitor | AbstractHostMonitor implementation that monitors the heap memory on the host and log it periodically to the history log. |
HelloWorldMultiTargetPreparer | An example implementation of a IMultiTargetPreparer . |
HistoryLogger | TF History Logger, special log that contains only some specific events. |
HostGTest | Un test che esegue un pacchetto di test nativo. |
HostMetric | This class represents a host metric sample to be reported. |
HostOptions | Host options holder class. |
HostStatsdMetricCollector | A IMetricCollector that collects statsd metrics from host side using statsd utility commands. |
HostTest | Un corridore di test per i test basati su host JUnit. |
HostUtils | Implements some useful utility methods for running host tests. |
HprofAllocSiteParser | Helper class to parse info from an Allocation Sites section of hprof reports. |
HttpHelper | Contains helper methods for making http requests |
HttpHelper.RequestRunnable | Runnable for making requests with IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) . |
HttpMultipartPost | Helper class for making multipart HTTP post requests. |
HttpRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via http |
HttpsRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via https |
I
IAbi | Interface representing the ABI under test. |
IAbiReceiver | A test that needs the ABI under test. |
IAndroidDebugBridge | Interface definition for AndroidDebugBridge methods used in this package. |
IAppBuildInfo | This interface is deprecated. Use IBuildInfo directly. |
IAutoRetriableTest | Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry. |
IBatteryInfo | The interface defining the interaction with a battery of a device. |
IBatteryInfo.BatteryState | Describes the current battery charging state. |
IBuildInfo | Holds information about the build under test. |
IBuildInfo.BuildInfoProperties | Some properties that a IBuildInfo can have to tweak some handling of it. |
IBuildProvider | Responsible for providing info regarding the build under test. |
IBuildReceiver | A test that needs reference to the build under test. |
IClusterClient | An interface for interacting with the TFC backend. |
IClusterEvent | Interface for any cluster event to be uploaded to TFC. |
IClusterEventUploader <T extends IClusterEvent > | Interface for ClusterEventUploader |
IClusterOptions | An interface for getting cluster-related options. |
ICommandOptions | Container for execution options for commands. |
ICommandScheduler | A scheduler for running TradeFederation commands. |
ICommandScheduler.IScheduledInvocationListener | Listener per eventi di chiamata al termine della chiamata. |
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. |
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. |
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. |
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 | Interfaccia che descrive un formattatore per 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 |
ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
ILogRegistry.EventType | Events that are useful to be logged |
ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
IManagedTestDevice | A ITestDevice whose lifecycle is managed. |
IManagedTestDevice.DeviceEventResponse | Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call |
IManagedTestDeviceFactory | Creator interface for IManagedTestDevice s |
IMetricCollector | This interface will be added as a decorator when reporting tests results in order to collect matching metrics. |
IMetricCollectorReceiver | Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run. |
IMoblyYamlResultHandler | Interface of mobly yaml result handler. |
IMoblyYamlResultHandler.ITestResult | Interface of mobly yaml result |
IModuleController | Interface for controlling if a module should be executed or not. |
IModuleController.RunStrategy | Enum describing how the module should be executed. |
IModuleParameterHandler | The interface for parameters of suites modules. |
IMultiDeviceRecovery | Interface for recovering multiple offline devices. |
IMultiDeviceTest | This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
IMultiTargetPreparer | Prepares the test environment for several devices together. |
INativeDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
INativeDeviceTest | Interface for object that needs a reference to a INativeDevice . |
InfraErrorIdentifier | Error Identifiers from Trade Federation infra, and dependent infra (like Build infra). |
InputStreamSource | This interface basically wraps an ERROR(/InputStream) to make it clonable. |
InstallAllTestZipAppsSetup | A ITargetPreparer that installs all apps in a test zip. |
InstallApexModuleTargetPreparer | |
InstallApkSetup | A ITargetPreparer that installs one or more apks located on the filesystem. |
InstallBuildEnvApkSetup | A ITargetPreparer that installs one or more test apks from an Android platform build env. |
InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
InstantAppHandler | Handler for ModuleParameters#INSTANT_APP . |
InstrumentationPreparer | A ITargetPreparer that runs instrumentation |
StrumentazioneTest | Un test che esegue un pacchetto di test della strumentazione su un determinato dispositivo. |
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. |
IsolatoHostTest | Implementa un runner TradeFed che utilizza un processo secondario per eseguire i test in un ambiente a bassa dipendenza invece di eseguirli nel processo principale. |
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 | Fornisce supporto per la raccolta dei test; quando impostato, il corridore del test deve eseguire una prova a secco per raccogliere i casi di test senza eseguirli effettivamente. |
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. |
ITestSuite | Classe astratta utilizzata per eseguire 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 | Corridore del test per i test JUnit lato host. |
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
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 | Un ITargetPreparer che chiude un emulatore in esecuzione. |
KnownFailurePreparer | Target preparer to skip retrying known failure. |
L
LabResourceDeviceMonitor | The lab resource monitor which initializes/manages the gRPC server for LabResourceService. |
LargeOutputReceiver | A class designed to help run long running commands collect output. |
LastShardDetector | When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) . |
LaunchCvdHelper | Utility helper to control Launch_cvd in the Cuttlefish VM. |
LeakedThreadStatusChecker | Status checker to ensure a module does not leak a running Thread. |
LegacySubprocessResultsReporter | A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass. |
ListInstrumentationParser | A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query |
ListInstrumentationParser.InstrumentationTarget | |
LocalAndroidVirtualDevice | 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. |
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 |
LongevityHostRunner | A JUnit4-based Runner that composes tests run with DeviceJUnit4ClassRunner into a ERROR(LongevitySuite/android.host.test.longevity.LongevitySuite LongevitySuite) , which runs tests repeatedly to induce stress and randomness. |
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 |
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 | Utilizzato per caricare il file di registro delle metriche raccolto durante il test e il livello di esecuzione. |
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 scrive le metriche del test ed esegue le metriche in un file XML in una cartella specificata dal parametro metrics-folder nella fase invocationEnded del 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. |
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 | |
ModuloDefinizione | Contenitore per la configurazione dell'esecuzione del test. |
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. |
ModuloOemTargetPreparer | |
ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
ModuleParametersHelper | Helper to get the IModuleParameterHandler associated with the parameter. |
ModulePusher | |
ModulePusher.ModulePushError | Fatal error during Mainline module push. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
MultiFailureDescription | Collect multiple FailureDescription in one holder. |
MultiMap <K, V> | A ERROR(/Map) that supports multiple values per key. |
N
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeBenchmarkTest | A Test that runs a native benchmark test executable on given device. |
NativeBenchmarkTestParser | A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation. |
NativeBridgeModuleController | A module controller to check if a device support native bridge. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A 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. |
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 | Gestore speciale che notifica a SuiteModuleLoader che l'abi secondario non deve creare un modulo. |
NullDevice | A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection#nullDeviceRequested() is true |
O
OpenObjectLoader | Loader for the default objects available in AOSP. |
Option | 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. |
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. |
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 | |
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. |
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 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 |
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 | Una classe helper per l'esecuzione di chiamate API REST. |
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. |
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 . |
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 che raccoglie timestamp dei riavvii del runtime (arresto anomalo del server di sistema) durante l'esecuzione del test, se presente. |
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 | Un controller del modulo per verificare se un dispositivo è su SDK 28 (Android 9) o versioni successive. |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
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:
|
ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
SparseImageUtil | Utility to unsparse sparse images. |
SparseImageUtil.SparseInputStream | SparseInputStream read from upstream and detects the data format. |
StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StopServicesSetup | A ITargetPreparer that stops services on the device. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
StreamUtil | Utility class for managing input streams. |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubDevice | Stub placeholder implementation of a IDevice . |
StubKeyStoreClient | Default stub implementation for KeyStore Client. |
StubKeyStoreFactory | Default stub implementation for KeyStore Factory |
StubLocalAndroidVirtualDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installa gli APK specificati per la configurazione della suite: dalla variabile $ANDROID_TARGET_OUT_TESTCASES o da ROOT_DIR nelle informazioni sulla build. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
Titolare del risultato della suite | Oggetto helper per semplificare la serializzazione e la deserializzazione dei risultati della chiamata. |
SuiteResultReporter | Raccogli i risultati dei test per un'intera suite di chiamate e genera i risultati finali. |
SuiteResultReporter.ModulePrepTimes | Porta oggetti per il tempo di preparazione e smontaggio di un modulo. |
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 |
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 | Un ITargetPreparer che installa una o più app da una cartella IDeviceBuildInfo.getTestsDir() sul dispositivo. |
TestContext | A class to model a TestContext message of TFC API. |
TestDependencyResolver | Helper to resolve dependencies if needed. |
TestDescription | Class representing information about a test case. |
TestDescriptionsFile | A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file. |
TestDevice | 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 . |
TestEnvironment | 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 | Memorizza le informazioni sul test impostate in un file TEST_MAPPING. |
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. |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementazione di BaseTestSuite per eseguire i test specificati dall'opzione include-filter o file TEST_MAPPING da build, come 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 per convertire un prototipo TestRecord in un formato più facilmente manipolabile in Tradefed. |
TestRecordProtoUtil | Utility to read the TestRecord proto from a file. |
TestResource | A class to model a TestResource message returned by TFC API. |
TestResourceDownloader | A class to download test resource files from file system/GCS/HTTP. |
TestResult | Container for a result of a single test. |
TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
TestRunResult | Holds results from a single test run. |
TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
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 |
TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
TfSuite Runner | Implementazione di ITestSuite che caricherà i test dalla cartella TF jars res/config/suite/. |
TfTestLauncher | A IRemoteTest for running unit or functional tests against a separate TF installation. |
TimeStatusChecker | Status checker to ensure that the device and host time are kept in sync. |
TimeUtil | Contains time related utility methods. |
TimeVal | This is a sentinel type which wraps a Long . |
TimeWaster | A simple target preparer to waste time and potentially restart the device. |
TokenProperty | Supported token with dynamic sharding. |
TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
TraceCmdCollector | A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation. |
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 | Uno stub IScheduledInvocationListener che non fa nulla. |
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. |
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. |
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 |
WifiHelper | Helper class for manipulating wifi services on device. |
WifiPreparer | A ITargetPreparer that configures wifi on the device if necessary. |
X
XmlFormattedGeneratorReporter | L'implementazione di FormattedGeneratorReporter che formatta la suite risulta in un formato xml. |
XmlResultReporter | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
XmlSuiteResultFormatter | Classe di utilità per salvare una suite eseguita come XML. |
XmlSuiteResultFormatter.RunHistory | Oggetto helper per la conversione JSON. |
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 |