AaptParser | Klasa, która wyodrębnia informacje z apk, analizując dane wyjściowe „aapt dump badging”. |
AaptParser.AaptVersion | Wyliczenie opcji dla wersji AAPT używanej do parsowania plików APK. |
Abi | Klasa reprezentująca ABI. |
AbiFormatter | Klasa użyteczności dla abi. |
AbiUtils | Klasa narzędziowa do obsługi ABI urządzeń |
StreszczeniePołączenie | Reprezentacja połączenia abstrakcyjnego. |
Monitor abstrakcyjnego hosta | Typowa klasa monitorowania kondycji hosta. |
AbstractXmlParser | Klasa bazowa pomocnika do analizowania plików xml |
AbstractXmlParser.ParseException | Zgłaszany, jeśli nie można przeanalizować danych wejściowych XML |
AcloudConfigParser | Klasa pomocnicza, która analizuje konfigurację Acloud (używana do uruchamiania instancji urządzenia Cloud). |
AcloudConfigParser.AcloudKeys | Zestawy kluczy, które można wyszukać w konfiguracji. |
Akcja w trakcie | Akcja ogólna w toku. |
Aktywny ślad | Główna klasa pomagająca opisywać i zarządzać aktywnym śladem. |
Kontroler stanu aktywności | Sprawdzanie stanu pozostałych działań uruchomionych na końcu modułu. |
AdbRootElevator | Funkcja AutoCloseable , która umożliwia adb root po skonstruowaniu w razie potrzeby i przywraca stan root po zakończeniu. |
Połączenie AdbSsh | Połączenie adb przez most ssh. |
AdbStopServerPreparer | Docelowe narzędzie przygotowujące do zatrzymania serwera adb na hoście przed i po uruchomieniu testów adb. |
Połączenie AdbTcp | Domyślna reprezentacja połączenia urządzenia, zakładana jako standardowe połączenie adb urządzenia. |
AdbUtils | Klasa narzędziowa dla operacji adb. |
Po zajęciach z informacjami | Podobne gwarancje jak AfterClass , ale metoda z adnotacją musi wymagać parametru TestInformation . |
AggregatePostProcessor | Agregator metryk, który podaje minimalną, maksymalną, średnią, wariancję, odchylenie standardowe, sumę, liczbę i opcjonalnie percentyle dla metryk numerycznych zebranych podczas testów wielokrotnych iteracji, traktując je jako podwójne. |
AllTestAppsInstallSetup | ITargetPreparer , który instaluje wszystkie aplikacje z folderu IDeviceBuildInfo#getTestsDir() na urządzeniu. |
AltDirZachowanie | Wyliczenie służące do definiowania alternatywnych zachowań katalogów dla różnych instalatorów/popychaczy artefaktów testowych |
AndroidJUnitTest | Test, który uruchamia pakiet testowy oprzyrządowania na danym urządzeniu przy użyciu android.support.test.runner.AndroidJUnitRunner. |
AoaTargetPreparer | ITargetPreparer , który wykonuje serię akcji (np. kliknięć i przesunięć) przy użyciu protokołu Android Open Accessory (AOAv2). |
Informacje o kompilacji aplikacji | IBuildInfo reprezentujący aplikację systemu Android i jej pakiety testowe. |
AppDeviceBuildInfo | Ta klasa jest przestarzała. Użyj IDeviceBuildInfo bezpośrednio. |
Konfiguracja aplikacji | ITargetPreparer , który instaluje apk i jego testy. |
Pobieranie wersji aplikacji | Klasa narzędzia do pobierania ciągu wersji aplikacji z urządzenia. |
AppVersionFetcher.AppVersionInfo | Typy informacji o wersji aplikacji. |
ArchModuleController | Kontroler modułu, aby nie uruchamiał testów, gdy nie pasuje do żadnej podanej architektury. |
ArgsOptionParser | Wypełnia pola Option na podstawie przeanalizowanych argumentów wiersza poleceń. |
ArrayUtil | Metody użytkowe dla tablic |
ArtChrootPreparer | Utwórz katalog chroot dla testów ART. |
ArtGTest | |
ArtRunTest | Biegacz testowy do uruchamiania testów uruchomieniowych ART. |
ArtRunTest.AdbShellCommandException | Klasa wyjątku do zgłaszania błędu, który wystąpił podczas wykonywania polecenia powłoki ADB. |
ATestFileSystemLogSaver | Ta klasa LogSaver jest używana przez ATest do zapisywania dzienników w określonej ścieżce. |
AtestRunner | Implementacja ITestSuite |
AtraceCollector | IMetricCollector , który uruchamia atrace podczas testu i zbiera wynik i rejestruje je w wywołaniu. |
AtraceRunMetricCollector | Zbiera ślady z całego katalogu testowego w danym katalogu z urządzenia testowego, rejestruje katalog testowy i przetwarza pliki śledzenia w katalogu testowym i agreguje metryki. |
AutoLogCollector | Wyliczenie opisujące, który kolektor może być automatycznie obsługiwany przez wiązkę. |
Zautomatyzowani Reporterzy | Klasa, która definiuje mapowanie z automatycznych raportów Tradefed. |
Średni procesor postów | Implementacja postprocesora obliczającego średnią z listy metryk. |
Akcja urządzenia w tle | Uruchamia polecenie na danym urządzeniu, powtarzając je w razie potrzeby, aż akcja zostanie anulowana. |
BaseDeviceMetricCollector | Podstawowa implementacja IMetricCollector , która pozwala na uruchamianie i zatrzymywanie zbierania na onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) i ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulatorPreparer | Wspólny program przygotowujący do uruchamiania lokalnego emulatora. |
BaseHostJUnit4Test | Podstawowa klasa testowa do uruchamiania testów w stylu hosta JUnit4. |
BaseLeveledLogOutput | Podstawowa implementacja ILeveledLogOutput pozwalająca na filtrowanie niektórych tagów na podstawie ich nazwy lub komponentów. |
Kontroler modułu podstawowego | Podstawowa implementacja IModuleController , którą należy zaimplementować w celu sprawdzenia, czy moduł powinien działać, czy nie. |
BaseMultiTargetPreparer | Podstawowa implementacja IMultiTargetPreparer pozwalająca na wyłączenie obiektu. |
Procesor BasePost | Podstawowy IPostProcessor , który powinna rozszerzać każda implementacja. |
PodstawaPowtórzDecyzję | Podstawowa implementacja IRetryDecision . |
BaseStreamLogger <OS rozszerza OutputStream> | ILeveledLogOutput , który kieruje komunikaty dziennika do strumienia wyjściowego i do stdout. |
BazowyTargetPreparer | Podstawowa klasa implementacji dla ITargetPreparer , która pozwala kontrolować, czy obiekt jest wyłączony, czy nie. |
BaseTest Suite | Test do uruchamiania pakietu testów zgodności z nowym systemem pakietu. |
Kontroler baterii | Klasa użyteczności, która pozwala kontrolować stan naładowania baterii urządzenia. |
Ładowanie bateriiOdzyskiwanie urządzenia | Zezwalaj na wyzwalanie polecenia, gdy poziom naładowania baterii urządzenia spadnie poniżej określonego progu. |
Temperatura baterii | |
Battery UnavailableDeviceRecovery | Kontroler odzyskiwania, który uruchomi konfigurację, jeśli poziom naładowania baterii nie jest dostępny. |
PrzedKlasa Z Informacją | Podobne gwarancje jak BeforeClass , ale metoda z adnotacją musi wymagać parametru TestInformation . |
Stan binarny | Enum używane do rejestrowania stanu WŁ./WYŁ. ze stanem IGNORE no-op. |
BluetoothConnectionLatencyCollector | Moduł zbierający wypchnie do urządzeń wstępnie zdefiniowaną konfigurację metryki czasu trwania statsd i zbierze czas trwania połączenia Bluetooth dla każdego profilu. |
BluetoothConnectionStateCollector | Ten kolektor będzie zbierał metryki BluetoothConnectionStateChanged i rejestrował numer stanu połączenia dla każdego profilu. |
BluetoothConnectionSuccessRatePostProcessor | Implementacja postprocesora obliczającego wskaźnik sukcesu dla profilu bluetooth Użyj „metric-key-match”, aby określić metryki, które zawierają stany połączenia Bluetooth w tablicy numerycznej Przykład [0, 1, 2, 3, 0, 1, 2, 3]. |
BluetoothHciSnoopLogCollector | Collector, aby włączyć rejestrowanie funkcji Bluetooth HCI snoop na badanym urządzeniu i zbierać dzienniki dla każdego testu. |
Narzędzia Bluetooth | Funkcje narzędziowe do wywoływania BluetoothInstrumentation na urządzeniu Kod BluetoothInstrumentation po stronie urządzenia można znaleźć w AOSP pod adresem: frameworks/base/core/tests/bluetoothtests |
BootstrapBuildProvider | IDeviceBuildProvider , który ładuje informacje o kompilacji z urządzenia testowego Jest to zwykle używane w przypadku urządzeń z zewnętrzną wersją, tj |
BootstrapServiceFileResolverLoader | Ładuje programy rozpoznawania nazw za pomocą funkcji ładowania usług. |
Zgłoszenie błędu | Obiekt przechowujący odniesienia do plików raportu o błędzie, kompatybilny z płaskim raportem o błędzie i spakowanym raportem o błędzie (bugreportz). |
BugreportCollector | Przekazujący obiekt ITestInvocationListener , który zbiera raporty o błędach, gdy wystąpią konfigurowalne zdarzenia, a następnie wywołuje ITestInvocationListener#testLog na swoich elementach podrzędnych po zebraniu każdego raportu o błędzie. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector. Rzeczownik | |
BugreportCollector.Predicate | Pełny predykat opisujący, kiedy przechwycić raport o błędzie. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Zbierz raport o błędzie, gdy przypadek testowy zakończy się niepowodzeniem. |
BugreportzOnTestCaseFailureCollector | Zbierz raport o błędzie, gdy przypadek testowy w przebiegu zakończy się niepowodzeniem. |
Błąd kompilacji | Zgłaszany, jeśli podana kompilacja nie zostanie uruchomiona. |
Informacje o kompilacji | Ogólna implementacja IBuildInfo , która powinna być skojarzona z ITestDevice . |
BuildInfoKey | Wyliczanie klas związane z zapytaniami o informacje o kompilacji. |
BuildInfoKey.BuildInfoFileKey | Enum opisujące wszystkie znane typy plików, które można przeszukiwać za pomocą IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
BuildInfoRecorder | ITargetPreparer , który zapisuje metadane informacji o kompilacji do określonego pliku. |
BuildInfoUtil | Klasa użytkowa ułatwiająca manipulowanie IBuildInfo |
Błąd pobierania kompilacji | Wystąpił błąd krytyczny podczas pobierania kompilacji do testowania. |
KompilacjaSerializedVersion | Klasa, która zawiera bieżącą wersję serializacji wszystkich IBuildInfo . |
BuildTestsZipUtils | Klasa pomocnicza dla operacji związanych z testami ZIP generowanymi przez system kompilacji Androida |
BulkEmailer | Narzędzie do wysyłania wiadomości e-mail, które umożliwia następującą konfigurację: interwał wysyłania, początkowy rozmiar serii, odbiorców i całkowitą liczbę wiadomości. |
Narzędzie BundletoolUtil | Klasa narzędziowa, która używa wiersza poleceń narzędzia bundletool do instalowania plików .apks na urządzeniu. |
ByteArrayInputStreamSource | |
Lista ByteArray | Klasa reprezentująca uproszczoną tablicę bajtów. |
ByteArrayUtil | Narzędzia do operowania na tablicy bajtów, np. konwersji bajtów na liczby całkowite. |
Kontroler modułu samochodowego | Kontroler ten zapobiega wykonywaniu przypadków testowych na urządzeniach innych niż motoryzacyjne. |
Błąd CarryDnae | Wewnętrzny ERROR(/RuntimeException) do przenoszenia DeviceNotAvailableException przez platformę JUnit4. |
CarryInterruptedException | Zgłaszany po wyzwoleniu limitu czasu fazy testowej i konieczności przeniesienia wyjątku InterruptedException z wątku wykonania testu do wątku wykonania wywołania. |
CdmaDeviceFlasher | Klasa, która wyświetla obraz na fizycznym urządzeniu z systemem Android za pomocą radia CDMA. |
CecControllerTokenProvider | Dostawca tokenów dla tokenów związanych z Consumer Electronics Control (CEC). |
Informacje o katalogu centralnym | CentralDirectoryInfo to klasa zawierająca informacje o pliku/folderze wewnątrz pliku zip. |
CheckPairingPreparer | CompanionAwarePreparer , który weryfikuje łączenie BT między urządzeniami głównymi i towarzyszącymi |
CircularAtraceUtil | Narzędzie atrace opracowane głównie do identyfikowania pierwotnych przyczyn błędów ANR podczas testów Monkey. |
CircularByteArray | Struktura danych do przechowywania tablicy o stałym rozmiarze, która działa jak bufor cykliczny i śledzi całkowitą sumę wszystkich wartości w tablicy. |
ClangCodeCoverageCollector | BaseDeviceMetricCollector , który pobiera pomiary pokrycia Clang z urządzenia i rejestruje je jako artefakty testowe. |
ClassNotFoundConfigurationException | ConfigurationException , gdy klasa obiektu nie zostanie znaleziona. |
ClassPathScanner | Znajduje wpisy w ścieżce klasy. |
ClassPathScanner.ClassNameFilter | IClassPathFilter , który filtruje i przekształca nazwy klas Java. |
ClassPathScanner.ExternalClassNameFilter | ClassNameFilter , który odrzuca klasy wewnętrzne |
ClassPathScanner. IClassPathFilter | Filtr dla ścieżek wpisów ścieżki klasy Wzorowane na FileFilter |
ClockworkUtils | Mechaniczne narzędzie do udostępniania logiki wielu urządzeń |
ZamykanyZakres śledzenia | Klasa w zakresie, która umożliwia raportowanie sekcji śledzenia za pośrednictwem try-with-resources |
Informacje o kompilacji klastra | Klasa IBuildInfo dla kompilacji przesyłanych potokowo z TFC. |
ClusterBuildProvider | IBuildProvider do pobierania zasobów testowych TFC. |
Klient klastra | Implementacja IClusterClient do interakcji z zapleczem TFC. |
ClusterCommand | Klasa reprezentująca zadanie pobrane z klastra TF. |
ClusterCommand.RequestType | |
ClusterCommand.State | Status polecenia w klastrze TF. |
ClusterCommandConfigBuilder | Klasa służąca do tworzenia pliku konfiguracyjnego dla polecenia klastra. |
ClusterCommandEvent | Klasa do hermetyzacji zdarzeń poleceń klastra do przekazania. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | Klasa IRemoteTest do uruchamiania polecenia z TFC za pośrednictwem podprocesu TF. |
ClusterCommandScheduler | ICommandScheduler do obsługi TFC (Tradefed Cluster). |
ClusterCommandStatus | Klasa reprezentująca stan i przyczynę anulowania polecenia z TF Cluster. |
Informacje o urządzeniu klastra | Klasa do hermetyzacji informacji o urządzeniu klastra do przekazania. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | Implementacja IDeviceMonitor , która zgłasza wyniki do usługi Tradefed Cluster. |
ClusterEventUploader <T rozszerza IClusterEvent > | Klasa ClusterEventUploader, która przesyła IClusterEvent do TFC. |
ClusterHostEvent | Klasa do hermetyzacji zdarzeń hosta klastra do przekazania. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | Wyliczenia różnych typów zdarzeń hosta. |
ClusterHostUtil | Statyczne funkcje użytkowe dla TF Cluster w celu uzyskania globalnych instancji konfiguracji, informacji o hoście itp. |
ClusterLogSaver | Klasa ILogSaver do przekazywania danych wyjściowych testu do TFC. |
ClusterLogSaver.FilePickingStrategy | Strategie zbierania plików. |
Opcje klastra | |
Test pokrycia kodu | Test, który uruchamia pakiet testów oprzyrządowania na danym urządzeniu i generuje raport pokrycia kodu. |
CollectingByteOutputReceiver | IShellOutputReceiver , który zbiera całe dane wyjściowe powłoki do byte[] . |
Zbieranie odbiornika wyjściowego | IShellOutputReceiver , który zbiera całe dane wyjściowe powłoki w jednym ERROR(/String) . |
ZbieranieTestListener | ITestInvocationListener , który zbierze wszystkie wyniki testów. |
KolekcjonerPomocnik | Pomocnik do wykonywania niektórych operacji IMetricCollector potrzebnych w kilku miejscach. |
Parser plików poleceń | Parser pliku zawierającego zestaw wierszy poleceń. |
CommandFileParser.CommandLine | |
Przerywacz poleceń | Usługa pozwalająca na przerwanie poleceń TradeFederation lub oznaczenie ich jako nieprzerywalnych. |
CommandLineBuildInfoBuilder | Narzędzie przeznaczone do przechwytywania zwykłych argumentów informacji o kompilacji z wiersza poleceń i tworzenia z nich IBuildInfo . |
Opcje poleceń | Implementacja ICommandOptions . |
CommandOptionsGetter | Implementacja usługi, która zwraca wartość opcji polecenia danego wywołania. |
Wynik polecenia | Zawiera wynik polecenia. |
CommandRunner | Alternatywny punkt wejścia TradeFederation, który uruchomi polecenie określone w argumentach wiersza poleceń, a następnie zakończy działanie. |
CommandRunner. Kod wyjścia | Kody błędów, z którymi można wyjść. |
Harmonogram poleceń | Harmonogram do uruchamiania poleceń TradeFederation na wszystkich dostępnych urządzeniach. |
CommandScheduler.HostState | Wyliczenia o różnym statusie hosta |
Stan polecenia | Reprezentuje stan operacji czasowej. |
CommandStatusHandler | Program obsługi pomagający monitorować i aktualizować stan wywołania. |
CommonLogRemoteFileUtil | To narzędzie pozwala uniknąć powielania kodu w różnych reprezentacjach urządzeń zdalnych dla logiki zdalnego pobierania dziennika typowych plików. |
CommonLogRemoteFileUtil.KnownLogFileEntry | Reprezentacja znanego wpisu dziennika dla urządzeń zdalnych. |
Alokator towarzysza | Klasa podstawowa, która zajmuje się przydzielaniem i zwalnianiem urządzenia towarzyszącego getCompanionDeviceSelectionOptions() należy zaimplementować, aby opisać kryteria potrzebne do przydzielenia urządzenia towarzyszącego |
CompanionAwarePreparer | ITargetPreparer , który hermetyzuje logikę uzyskiwania już przydzielonego urządzenia towarzyszącego. |
CompanionAwareTest | Podstawowa klasa testowa, która hermetyzuje schemat uzyskiwania i sprawdzania urządzenia towarzyszącego Podklasa może wywołać getCompanion() w celu pobrania przydzielonego towarzysza. |
CompanionDeviceTracker | Klasa do przydzielania i zwalniania urządzeń towarzyszących |
CompanionRunCommandTargetPreparer | ITargetPreparer , który uruchamia określone polecenia na przydzielonym urządzeniu towarzyszącym |
CompanionTestAppInstallSetup | ITargetPreparer , który instaluje jedną lub więcej aplikacji z folderu IDeviceBuildInfo#getTestsDir() na przydzielonym urządzeniu towarzyszącym. |
CompileBootImage WithSpeedTargetPreparer | Ponowna kompilacja ścieżki klasy startowej i serwera systemowego z filtrem kompilatora „speed”. |
Stan awariiMonitor | Monitoruj wszelkie błędy wywołania. |
WarunekPriorityBlockingQueue <T> | Bezpieczna wątkowo klasa z operacjami podobnymi do ERROR(/PriorityBlockingQueue) , które mogą pobierać obiekty spełniające określony warunek. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | ConditionPriorityBlockingQueue.IMatcher , który pasuje do dowolnego obiektu. |
ConditionPriorityBlockingQueue.IMatcher <T> | Interfejs do określania, czy elementy pasują do jakiegoś warunku. |
ConfigCompleter | Implementacja Completer dla naszych konfiguracji TF. |
Konfiguracja | Konkretna implementacja IConfiguration , która przechowuje załadowane obiekty konfiguracyjne na mapie. |
KonfiguracjaDef | Przechowuje zapis konfiguracji, powiązanych z nią obiektów i ich opcji. |
ConfigurationDef.ConfigObjectDef | Obiekt do przechowywania informacji dla nazwy klasy i jej numeru wyglądu (np. jeśli konfiguracja ma dwa razy ten sam obiekt, pierwszy będzie miał pierwszy numer wyglądu). |
Deskryptor konfiguracji | Obiekt konfiguracji, który opisuje niektóre aspekty samej konfiguracji. |
ConfigurationDescriptor.LocalTestRunner | Wyliczenie używane do wskazania lokalnego biegacza testów. |
Wyjątek konfiguracji | Zgłaszany, jeśli nie można załadować konfiguracji. |
Fabryka konfiguracji | Fabryka do tworzenia IConfiguration . |
ConfigurationFactory.ConfigLoader | Implementacja IConfigDefLoader , która śledzi dołączone konfiguracje z jednej konfiguracji głównej i zgłasza wyjątek w cyklicznych dołączeniach. |
ConfigurationFactory.ExceptionLoader | |
Narzędzie konfiguracji | Funkcje użytkowe do obsługi plików konfiguracyjnych. |
ConfigurationXmlParserSettings | Prosta klasa do akceptowania ustawień dla ConfigurationXmlParser Aby przekazać ustawienia do tej klasy, alias jest obowiązkowy. |
KonfiguracjaYamlParser | Parser dla konfiguracji Tradefed w stylu YAML |
ConfigUtil | Klasa narzędziowa do tworzenia, interakcji i wypychania plików konfiguracyjnych statsd. |
Konsola | Główna konsola TradeFederation zapewniająca użytkownikowi interfejs do interakcji Obecnie obsługuje operacje takie jak - dodaj polecenie do przetestowania
- lista urządzeń i ich stan
- lista wywołań w toku
- lista poleceń w kolejce
- zrzuć dziennik wywołań do pliku/stdout
- zamknięcie
|
Console.ArgRunnable <T> | ERROR(/Runnable) z metodą run , która może przyjąć argument |
Console.CaptureList | Wygodny typ dla List<List<String>> |
ConsoleReaderOutputStream | OutputStream, którego można użyć, aby System.out.print() działał dobrze z unfinishedLine LineReader użytkownika. |
Reporter wyników konsoli | Reporter wyników do drukowania wyników testu na konsoli. |
ContentProviderHandler | Program obsługi, który streszcza interakcje dostawcy treści i umożliwia korzystanie z dostawcy treści po stronie urządzenia do różnych operacji. |
Odbiornik wyników testu zliczania | TestResultListener , który śledzi całkowitą liczbę testów według TestStatus |
CountTestCasesCollector | Policz i zgłoś liczbę przypadków testowych dla danego IRemoteTest . |
Forwarder pomiaru pokrycia | Test zastępczy, który przekazuje pomiary pokrycia od dostawcy kompilacji do rejestratora. |
Opcje pokrycia | Handel przedmiotem do przechowywania opcji pokrycia. |
Opcje pokrycia. Łańcuch narzędzi | |
CpuThrottlingWaiter | ITargetPreparer , który czeka, aż maksymalna częstotliwość wszystkich rdzeni zostanie przywrócona do najwyższego dostępnego poziomu |
CreateAvdPreparer | |
CreateUserPreparer | Docelowy preparat przygotowujący do tworzenia użytkownika i czyszczenia go na końcu. |
Bieżące wywołanie | Klasa, która śledzi i dostarcza bieżące informacje o wywołaniu przydatne w dowolnym miejscu wewnątrz wywołania. |
CurrentInvocation.InvocationInfo | Jakiś specjalny nazwany klucz, który zawsze będziemy wypełniać dla wywołania. |
CurrentInvocation.IsolationGrade | Opisuje poziom izolacji |
DebugHostLogOnFailureCollector | Kolektor, który będzie gromadzić i rejestrować dzienniki po stronie hosta, gdy wystąpi awaria przypadku testowego. |
Domyślne połączenie | Domyślna reprezentacja połączenia urządzenia, zakładana jako standardowe połączenie adb urządzenia. |
DefaultConnection.ConnectionBuilder | Konstruktor używany do opisywania połączenia. |
Domyślny zdalny AndroidTestRunner | Rozszerzenie ddmlib RemoteAndroidTestRunner , aby ustawić niektóre domyślne przypadki użycia Tradefed. |
DefaultTestsZipInstaller | Domyślna implementacja testowego instalatora zip. |
Wywołanie delegowaneWykonanie | InvocationExecution , które delegują wykonanie do innego pliku binarnego Tradefed. |
Resolver zależności | Nowy typ dostawcy, który pozwala uzyskać wszystkie zależności dla testu. |
Wynik przydziału urządzenia | Reprezentuje wyniki próby alokacji dla polecenia. |
Stan przydziału urządzenia | Reprezentuje stan alokacji urządzenia z perspektywy IDeviceManager |
DeviceAvailableChecker | Sprawdzanie, aby upewnić się, że moduł nie pozostawia urządzenia w stanie offline. |
Sprawdzanie linii bazowej urządzenia | Ustaw podstawowe ustawienia urządzenia przed każdym modułem. |
Urządzenie ustawiające linię bazową | Klasa abstrakcyjna używana do tworzenia ustawienia linii bazowej urządzenia. |
DeviceBatteryLevelChecker | IRemoteTest , który sprawdza minimalny poziom naładowania baterii i czeka, aż bateria osiągnie drugi próg ładowania, jeśli minimalny poziom naładowania nie jest obecny. |
DeviceBatteryResourceMetricCollector | Ten kolektor zbiera dane dotyczące baterii urządzenia. |
DeviceBuildDescriptor | Klasa otoki dla IBuildInfo , która zawiera metody pomocnicze do pobierania informacji o kompilacji platformy urządzenia. |
Informacje o kompilacji urządzenia | IBuildInfo reprezentujący kompletną kompilację urządzenia z systemem Android i (opcjonalnie) jego testy. |
DeviceBuildInfoBootStrapper | ITargetPreparer , który zastępuje pola informacji o kompilacji atrybutami odczytanymi z urządzenia Jest to przydatne do testowania urządzeń z kompilacjami wygenerowanymi z zewnętrznego źródła (np |
DeviceBuildInfoInjector | ITargetPreparer , który wstawia metadane DeviceBuildDescriptor do IBuildInfo . |
Oczyszczanie urządzeń | Wykonuje ponowne uruchomienie lub formatowanie jako czynność czyszczenia po teście i opcjonalnie wyłącza ekran |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | Zawiera metody i klasy narzędzi do równoczesnego wykonywania poleceń po stronie urządzenia Użyj ERROR(/ExecutorService) do uruchamiania poleceń zaimplementowanych jako ShellCommandCallable i użyj ERROR(/#joinFuture(String,Future,long)) do synchronizacji z ERROR(/Future) zwracanym przez ERROR(/ExecutorService) do wykonania polecenia. |
DeviceConcurrentUtil.ShellCommandCallable <V> | ERROR(/Callable) , który zawija szczegóły wykonywania polecenia powłoki na ITestDevice . |
Uchwyt konfiguracji urządzenia | Konkretna implementacja IDeviceConfiguration , która przechowuje załadowane obiekty konfiguracji urządzenia w swoich atrybutach. |
Deskryptor urządzenia | Klasa zawierająca informacje opisujące testowane urządzenie. |
DeviceDisconnectedException | Zgłaszane, gdy urządzenie nie jest już dostępne za pośrednictwem swojego typu transportu, np. jeśli urządzenie nie jest już widoczne przez USB lub połączenie TCP/IP |
DeviceErrorIdentifier | Identyfikatory błędów z błędów urządzenia i błędów zgłoszonych przez urządzenie. |
DeviceFailedToBootError | Zgłaszane, jeśli urządzenie nie uruchamia się po flashowaniu z kompilacją. |
DeviceFeatureModuleController | Kontroler modułu, który nie uruchamia testów, gdy nie obsługuje określonej funkcji. |
DeviceFileReporter | Klasa narzędzia, która sprawdza urządzenie pod kątem plików i wysyła je do ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) jeśli zostanie znaleziona. |
DeviceFlashPreparer | ITargetPreparer , który miga obraz na fizycznym sprzęcie z systemem Android. |
Stan składania urządzenia | Reprezentacja stanu składania urządzenia zwrócona przez „cmd device_state print-states”. |
DeviceFolderBuildInfo | IDeviceBuildInfo , który zawiera również inne artefakty kompilacji zawarte w katalogu w lokalnym systemie plików. |
DeviceImageZipFlashingTargetPreparer | Narzędzie przygotowujące miejsce docelowe, które przesyła urządzenie za pomocą obrazów urządzeń dostarczonych za pośrednictwem określonego formatu. |
DeviceInternetAccessibilityResourceMetricCollector | Kolekcjoner pinguje google.com, aby sprawdzić, czy urządzenie ma dostęp do Internetu, czy nie. |
DeviceJUnit4ClassRunner | Biegacz testowy JUnit4, który obsługuje również IDeviceTest . |
DeviceJUnit4ClassRunner.LogAnnotation | Fałszywa adnotacja mająca na celu przekazanie dzienników reporterom. |
DeviceJUnit4ClassRunner.MetricAnnotation | Fałszywa adnotacja mająca na celu przekazanie danych reporterom. |
DeviceJUnit4ClassRunner.TestLogData | Implementacja ExternalResource i TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | Implementacja ExternalResource i TestRule . |
DeviceManagementGrpcServer | Serwer GRPC umożliwiający rezerwację urządzenia od Tradefed. |
Menadżer urządzeń | |
DeviceManager.FastbootDevice | Reprezentacja urządzenia w trybie Fastboot. |
DeviceMetricData | Sprzeciwiać się przechowywaniu wszystkich danych zebranych przez zbieraczy danych. |
DeviceMonitorMultiplekser | Klasa proxy do propagowania żądań do wielu IDeviceMonitor s. |
DeviceNotAvailableException | Zgłaszane, gdy urządzenie nie jest już dostępne do testowania. |
DeviceOwnerTargetPreparer | ITargetPreparer , który konfiguruje składnik właściciela urządzenia. |
UrządzenieParameterizedRunner | Sparametryzowany program uruchamiający w stylu JUnit4 do sparametryzowanych testów sterowanych po stronie hosta. |
Właściwości urządzenia | Wspólne definicje stałych dla nazw właściwości po stronie urządzenia |
DeviceRecoveryModeUtil | |
DeviceReleaseReporter | Reporter wydania urządzenia, który obsługuje komunikację z procesem nadrzędnym urządzenia, które ma zostać zwolnione. |
Funkcja resetowania urządzenia | Implementacja resetowania urządzenia po stronie serwera. |
DeviceResetHandler | Narzędzie obsługujące ogólnie resetowanie urządzenia. |
DeviceRuntimeException | Zgłaszane, gdy działanie urządzenia nie przyniosło oczekiwanych rezultatów. |
Opcje wyboru urządzenia | Kontener dla kryteriów wyboru urządzeń. |
DeviceSelectionOptions.DeviceRequestedType | Obsługiwane różne możliwe typy urządzeń zastępczych. |
Sprawdzanie ustawień urządzenia | Sprawdź, czy ustawienia urządzenia zmieniły się podczas pracy modułu. |
Konfiguracja urządzenia | ITargetPreparer , który konfiguruje urządzenie do testowania na podstawie dostarczonych Option s. |
Monitor stanu urządzenia | Klasa pomocnicza do monitorowania stanu IDevice . |
DeviceStorageAgeResourceMetricCollector | Analizuj wiek przechowywania z logcat. |
DeviceStorageFiller | Docelowe narzędzie przygotowujące do zapełnienia pamięci, aby dostępna była pewna ilość wolnego miejsca. |
DeviceStorageStatusChecker | Sprawdź, czy urządzenie ma wystarczającą ilość miejsca na dysku dla danych partycji. |
UrządzenieStringPusher | Docelowy program przygotowujący do zapisania ciągu w pliku. |
Pakiet urządzeń | Rozszerza Suite kontenerów JUnit4, aby zapewnić ITestDevice testom, które tego wymagają. |
DeviceSync Helper | Pomocnik, który pomaga zsynchronizować nowy obraz urządzenia z urządzeniem. |
DeviceTestCase | Pomocniczy przypadek testowy JUnit, który udostępnia usługi IRemoteTest i IDeviceTest . |
Wynik testu urządzenia | Specjalizacja TestResult , która zostanie przerwana, gdy wystąpi DeviceNotAvailableException |
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestRunOptions | Klasa konstruktora dla opcji związanych z uruchamianiem testów urządzeń za pomocą BaseHostJUnit4Test. |
DeviceTestSuite | Pomocniczy zestaw testów JUnit, który udostępnia usługi IRemoteTest i IDeviceTest . |
DeviceTraceCollector | Kolektor, który rozpocznie śledzenie perfetto po uruchomieniu testu i zapisze plik śledzenia na końcu. |
Device UnavailableMonitor | Ten odbiornik próbuje przechwycić tylko DNAE na poziomie przypadku testowego. |
DeviceUnresponsiveException | Specjalizacja DeviceNotAvailableException , która wskazuje, że urządzenie jest widoczne dla adb, ale nie odpowiada (tj. Upłynął limit czasu poleceń, nie można się uruchomić itp.) |
DeviceUpdateTargetPreparer | Abstrakcyjna ITargetPreparer , która zajmuje się typowymi krokami dotyczącymi aktualizowania urządzeń za pomocą pliku obrazu urządzenia z zewnętrznego źródła (w przeciwieństwie do usługi kompilacji). |
DeviceWifiResourceMetricCollector | Kolektor zbiera aktualne dane dotyczące siły sygnału Wi-Fi i prędkości łącza. |
Wycieraczka urządzenia | ITargetPreparer , który czyści dane użytkownika |
Wykres skierowany <V> | Skierowana implementacja grafów nieważonych. |
Wyłącz SELinuxTargetPreparer | Docelowy program przygotowujący, który wyłącza SELinux, jeśli jest włączony. |
DryRunKeyStore | Magazyn kluczy do próbnego przebiegu, w którym każda wartość magazynu kluczy jest zawsze prawidłowo zastępowana i znajdowana. |
DryRunner | Przejrzyste testy przebiegów próbnych zamiast faktycznego ich wykonywania. |
Dynamiczny plikStubTest | To jest test tradefeed, aby sprawdzić, czy tradefeed może poprawnie rozwiązać plik dynamiczny. |
Dynamic RemoteFileResolver | Klasa, która pomaga rozpoznać ścieżkę do plików zdalnych. |
DynamicRemoteFileResolver.FileResolverLoader | Ładuje implementacje IRemoteFileResolver . |
Dynamic SystemPreparer | ITargetPreparer , który konfiguruje obraz systemu na kompilacji urządzenia z dynamiczną aktualizacją systemu. |
opis awarii | Klasa opisująca informację o błędzie w Trade Federation. |
Fałszywy test | Fałszywy test, którego celem jest ułatwienie generowania powtarzalnych wyników testów. |
FałszywyTestsZipFolder | Narzędzie do testowania, które tworzy fałszywy, rozpakowany folder testów na podstawie listy zawartości. |
FakeTestsZipFolder.ItemType | |
FastbootCommandPreparer | Narzędzie do przygotowywania obiektów docelowych, które uruchamia fastboot i wysyła polecenia fastboot. |
FastbootDeviceFlasher | Klasa, która polega na fastboot do flashowania obrazu na fizycznym sprzęcie Android. |
Fastboot Helper | Klasa pomocnicza dla operacji fastboot. |
FastbootUpdateBootstrapPreparer | ITargetPreparer , który umieszcza określone pliki (moduł ładujący, radio, plik zip obrazu urządzenia) w IDeviceBuildInfo w celu flashowania urządzeń za pomocą FastbootDeviceFlasher , a następnie wstrzykuje atrybuty urządzenia po rozruchu do informacji o kompilacji w celu raportowania wyników. |
Fatalny błąd hosta | Wyjątek wskazujący, że na komputerze hosta z uruchomionym programem TradeFederation wystąpił krytyczny, nieodwracalny błąd, i że instancja TradeFederation powinna zostać zamknięta. |
FeatureFlagTargetPreparer | Aktualizuje DeviceConfig (flagi funkcji dostrojone przez usługę zdalną). |
Pamięć podręczna pobierania plików | Klasa pomocnicza, która utrzymuje pamięć podręczną LRU lokalnego systemu plików dla pobranych plików. |
FileDownloadCacheFactory | Fabryka do tworzenia FileDownloadCache |
FileDownloadCacheWrapper | Klasa opakowania, która zapewnia funkcje FileDownloadCache podczas implementacji interfejsu IFileDownloader . |
FileIdleMonitor | Monitoruje pliki i wykonuje wywołanie zwrotne, jeśli były bezczynne (tj |
PlikInputStreamŹródło | InputStreamSource , który pobiera plik wejściowy. |
FileLogger | ILeveledLogOutput , który kieruje komunikaty dziennika do pliku i do stdout. |
FileProtoResultReporter | Proto reporter, który zrzuca TestRecord do pliku. |
FilePullerDeviceMetricCollector | BaseDeviceMetricCollector , który nasłuchuje klucza metryk pochodzącego z urządzenia i pobiera je jako plik z urządzenia. |
FilePullerLogCollector | Logger pliku zgłoszonego po stronie urządzenia. |
FileSystemLogSaver | Zapisz dzienniki w systemie plików. |
FileUtil | Klasa pomocnicza dla operacji związanych z plikami |
FileUtil.HarnessIOException | Wyjątek uprzęży, który pomaga w przenoszeniu problemów z plikami. |
FileUtil.LowDiskSpaceException | Zgłaszane, jeśli dostępne miejsce na dysku jest poniżej minimalnego progu. |
FilteredResultForwarder | Wariant ResultForwarder , który umożliwia zgłaszanie tylko listy dozwolonych TestDescription . |
FixedByteArrayOutputStream | ERROR(/OutputStream) , który przechowuje tylko maksymalną ilość danych. |
Metoda flashowania | Wyliczenie opisujące metodę użytą do flashowania testowanego urządzenia |
FlashingResourcesParser | Klasa, która analizuje wymagane wersje pomocniczych plików obrazów potrzebnych do flashowania urządzenia. |
FlashingResourcesParser.AndroidInfo | A typedef for Map<String, MultiMap<String, String>> . |
FlashingResourcesParser.Constraint | A filtering interface, intended to allow FlashingResourcesParser to ignore some resources that it otherwise might use |
FlashingResourceUtil | This utility helps setting the appropriate version of artifacts so they can be flashed via DeviceFlashPreparer . |
FoldableExpandingHandler | A IModuleParameterHandler expanding into more for each non-primary foldable configuration. |
FoldableHandler | Generic foldable handler that can take the foldable parameters to create a specialized module. |
FoldableModePreparer | A target preparer that can switch the foldable state of a device. |
FolderBuildInfo | Concrete implementation of a IFolderBuildInfo . |
FolderSaver | A ITargetPreparer that pulls directories off device, compresses and saves it into logging backend. |
FormattedGeneratorReporter | Reporter that allows to generate reports in a particular format. |
FreeDeviceState | |
FuseUtil | A helper class for FUSE operations. |
IAbi | Interface representing the ABI under test. |
IAbiReceiver | A test that needs the ABI under test. |
IAndroidDebugBridge | Interface definition for AndroidDebugBridge methods used in this package. |
IAppBuildInfo | This interface is deprecated. Use IBuildInfo directly. |
IAutoRetriableTest | Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry. |
IBatteryInfo | The interface defining the interaction with a battery of a device. |
IBatteryInfo.BatteryState | Describes the current battery charging state. |
IBuildInfo | Holds information about the build under test. |
IBuildInfo.BuildInfoProperties | Some properties that a IBuildInfo can have to tweak some handling of it. |
IBuildProvider | Responsible for providing info regarding the build under test. |
IBuildReceiver | A test that needs reference to the build under test. |
IClusterClient | An interface for interacting with the TFC backend. |
IClusterEvent | Interface for any cluster event to be uploaded to TFC. |
IClusterEventUploader <T extends IClusterEvent > | Interface for ClusterEventUploader |
IClusterOptions | An interface for getting cluster-related options. |
ICommandOptions | Container for execution options for commands. |
ICommandScheduler | A scheduler for running TradeFederation commands. |
ICommandScheduler.IScheduledInvocationListener | Listener for invocation events when invocation completes. |
ICompressionStrategy | An interface representing a compression algorithm that can be selected at runtime. |
IConfigOptionValueTransformer | An interface for manipulating config option value |
IConfigurableVirtualDevice | An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.). |
IConfiguration | Configuration information for a TradeFederation invocation. |
IConfigurationFactory | Factory for creating IConfiguration s |
IConfigurationReceiver | Simple interface to represent object that accepts an IConfiguration . |
IConfigurationServer | An interface for config server. |
ICredentialFactory | An interface for credential factory to create oauth2 Credential . |
IDefaultObjectLoader | Interface for loading the default objects that should be part of our YAML configuration. |
IDefaultObjectLoader.LoaderConfiguration | The loading configuration object to pass information to the loader. |
IDeviceActionReceiver | Provides an API to receive device events. |
IDeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
IDeviceBuildProvider | A IBuildProvider that uses information from a ITestDevice to retrieve a build. |
IDeviceConfiguration | Device Configuration Holder Interface. |
IDeviceFlasher | Flashes a device image on a device. |
IDeviceFlasher.UserDataFlashOption | Enum of options for handling the userdata image |
IDeviceManager | Interface for managing the set of available devices for testing. |
IDeviceManager.IFastbootListener | A listener for fastboot state changes. |
IDeviceMonitor | Interface for monitoring state of devices. |
IDeviceMonitor.DeviceLister | A ERROR(/Runnable) -like class that should return the known devices and their states. |
IDeviceRecovery | Interface for recovering a device that has gone offline. |
IDeviceSelection | Interface for device selection criteria. |
IDeviceSelection.BaseDeviceType | |
IDeviceStateMonitor | Provides facilities for monitoring the state of a IDevice . |
IDeviceTest | Interface for object that needs a reference to a ITestDevice . |
IDisableable | Interface that describes a Tradefed object that can be disabled. |
IEmail | Interface for sending email. |
IEmail.Message | Container for email message data. |
IFileDownloader | Interface for downloading a remote file. |
IFileEntry | Interface definition that provides simpler, mockable contract to FileEntry methods. |
IFileResolverLoader | Loads implementations of IRemoteFileResolver . |
IFileResolverLoader.ResolverLoadingException | Exception thrown if a resolver cannot be loaded or initialized. |
IFlashingResourcesParser | Interface for providing required versions of auxiliary image files needed to flash a device. |
IFlashingResourcesRetriever | Interface for retrieving auxiliary image files needed to flash a device. |
IFolderBuildInfo | A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory. |
IFormatterGenerator | Interface describing a formatter for SuiteResultHolder . |
IGlobalConfiguration | A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations). |
IHarnessException | Description of the harness exception interface that will be implemented by harness exceptions. |
IHostCleaner | Cleans up the host after the test run has finished. |
IHostHealthAgent | An interface to emit host or device metrics. |
IHostMonitor | Interface to dispatch host data |
IHostMonitor.HostDataPoint | Generic class for data to be reported. |
IHostMonitor.HostMetricType | |
IHostOptions | Host options holder interface. |
IHostOptions.PermitLimitType | Enum describing the possible permit limiters |
IHostResourceManager | Interface to manager host resource. |
IHttpHelper | Helper methods for performing http requests. |
IHttpHelper.DataSizeException | |
IInvocationContext | Holds information about the Invocation for the tests to access if needed. |
IInvocationContext.TimingEvent | |
IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
IInvocationExecution | Interface describing the actions that will be done as part of an invocation. |
IKeyStoreClient | Interface to access a key store for password or sensitive data. |
IKeyStoreFactory | Factory for creating IKeyStoreClient . |
ILabPreparer | Marker interface for lab preparers See ITargetPreparer for a description of what these interfaces are intended. |
ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
ILogRegistry.EventType | Events that are useful to be logged |
ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
IManagedTestDevice | A ITestDevice whose lifecycle is managed. |
IManagedTestDevice.DeviceEventResponse | Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call |
IManagedTestDeviceFactory | Creator interface for IManagedTestDevice s |
IMetricCollector | This interface will be added as a decorator when reporting tests results in order to collect matching metrics. |
IMetricCollectorReceiver | Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run. |
IMoblyYamlResultHandler | Interface of mobly yaml result handler. |
IMoblyYamlResultHandler.ITestResult | Interface of mobly yaml result |
IModuleController | Interface for controlling if a module should be executed or not. |
IModuleController.RunStrategy | Enum describing how the module should be executed. |
IModuleParameterHandler | The interface for parameters of suites modules. |
IMultiDeviceRecovery | Interface for recovering multiple offline devices. |
IMultiDeviceTest | This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
IMultiTargetPreparer | Prepares the test environment for several devices together. |
INativeDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
INativeDeviceTest | Interface for object that needs a reference to a INativeDevice . |
InfraErrorIdentifier | Error Identifiers from Trade Federation infra, and dependent infra (like Build infra). |
InputStreamSource | This interface basically wraps an ERROR(/InputStream) to make it clonable. |
InstallAllTestZipAppsSetup | A ITargetPreparer that installs all apps in a test zip. |
InstallApexModuleTargetPreparer | |
InstallApkSetup | A ITargetPreparer that installs one or more apks located on the filesystem. |
InstallBuildEnvApkSetup | A ITargetPreparer that installs one or more test apks from an Android platform build env. |
InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
InstantAppHandler | Handler for ModuleParameters#INSTANT_APP . |
InstrumentationPreparer | A ITargetPreparer that runs instrumentation |
InstrumentationTest | A Test that runs an instrumentation test package on given device. |
InvocationContext | Generic implementation of a IInvocationContext . |
InvocationExecution | Class that describes all the invocation steps: build download, target_prep, run tests, clean up. |
InvocationLocal <T> | This class provides invocation-scope variables. |
InvocationMetricLogger | A utility class for an invocation to log some metrics. |
InvocationMetricLogger.InvocationGroupMetricKey | Grouping allows to log several groups under a same key. |
InvocationMetricLogger.InvocationMetricKey | Some special named key that we will always populate for the invocation. |
InvocationStatus | A class to store invocation status. |
InvocationStatus | A helper enum to represent the invocation status |
InvocationSummaryHelper | Helper class for gathering and reporting TestSummary for set of listeners |
InvocationToJUnitResultForwarder | A class that listens to ITestInvocationListener events and forwards them to a TestListener . |
IPostProcessor | Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting. |
IRemoteFeature | Interface describing a feature in Tradefed that can be executed based on the request. |
IRemoteFileResolver | Interface for objects that can resolve a remote file into a local one. |
IRemoteFileResolver.RemoteFileResolverArgs | The args passed to the resolvers |
IRemoteFileResolver.ResolvedFile | Class holding information about the resolved file and some metadata. |
IRemoteScheduledListenersFeature | Extension of IRemoteFeature to support passing in IScheduledInvocationListener s. |
IRemoteTest | A test that reports results directly to a ITestInvocationListener . |
IReportNotExecuted | In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting. |
IRescheduler | Interface for rescheduling a config for future execution. |
IResourceMetricCollector | The interface for user to implement customized resource collectors. |
IRestApiHelper | A helper interface for performing REST API calls. |
IResumableTest | This interface is deprecated. No need for this anymore |
IRetryDecision | Interface driving the retry decision and applying the filter on the class for more targeted retry. |
IRuntimeHintProvider | |
IRunUtil | Interface for running timed operations and system commands. |
IRunUtil.EnvPriority | Enum that defines whether setting or unsetting a particular env. |
IRunUtil.IRunnableResult | An interface for asynchronously executing an operation that returns a boolean status. |
ISandbox | Interface defining a sandbox that can be used to run an invocation. |
ISandboxFactory | Factory for creating ISandbox . |
ISetOptionReceiver | Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME . |
IShardableListener | A ITestInvocationListener that can be sharded. |
IShardableTest | A IRemoteTest that can be split into separately executable sub-tests. |
IShardHelper | Interface of an object that describes the sharding strategy to adopt for a configuration. |
IsolatedHostTest | Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process. |
ISupportGranularResults | Interface specifying whether a ITestInvocationListener supports receiving the granular results or not. |
ISystemStatusChecker | An checker that performs checks on system status and returns a boolean to indicate if the system is in an expected state. |
ISystemStatusCheckerReceiver | A IRemoteTest that requires access to the ISystemStatusChecker from the configuration. |
ITargetCleaner | This interface is deprecated. tearDown has been moved to the base ITargetPreparer interface. |
ITargetPreparer | Prepares the test environment for the test run. |
ITerribleFailureHandler | An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable)
|
ITestAnnotationFilterReceiver | A runner that can filter which tests to run based on annotations. |
ITestCollector | Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them. |
ITestDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
ITestDevice.ApexInfo | A simple struct class to store information about a single APEX |
ITestDevice.MountPointInfo | A simple struct class to store information about a single mountpoint |
ITestDevice.RecoveryMode | |
ITestFileFilterReceiver | A runner that can receive a file specifying which tests to run and/or not to run. |
ITestFilterReceiver | A runner that can filter which tests to run. |
ITestInformationReceiver | Interface to receive the TestInformation for some classes. |
ITestInvocation | Handles one TradeFederation test invocation. |
ITestInvocation.ExitInformation | Represents some exit information for an invocation. |
ITestInvocationListener | Listener for test results from the test invocation. |
ITestLifeCycleReceiver | Receives event notifications during instrumentation test runs. |
ITestLogger | An entity that can perform logging of data streams of various types. |
ITestLoggerReceiver | An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes. |
ITestsPool | Interface describing a pool of tests that we can access and run |
ITestSuite | Abstract class used to run Test Suite. |
ITestSuite.MultiDeviceModuleStrategy | |
ITestSuiteResultLoader | Interface describing an helper to load previous results in a way that can be re-run. |
ITestSummaryListener | Interface that allows ITestInvocationListener to exchange some limited information via summaries. |
ITestsZipInstaller | Installs tests from a tests zip file (as outputted by the build system) on a device. |
ITokenProvider | Interface describing an object that can provide the tokens of a particular device. |
ITokenRequest | Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token. |
SandboxConfigDump | Runner class that creates a IConfiguration based on a command line and dump it to a file. |
SandboxConfigDump.DumpCmd | |
SandboxConfigurationException | Special Configuration Exception coming from the Sandbox setup. |
SandboxConfigurationFactory | Special Configuration factory to handle creation of configurations for Sandboxing purpose. |
SandboxConfigUtil | A utility class for managing IConfiguration when doing sandboxing. |
SandboxedInvocationExecution | Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command. |
SandboxInvocationRunner | Run the tests associated with the invocation in the sandbox. |
SandboxOptions | Class that can receive and provide options to a ISandbox . |
ScreenshotOnFailureCollector | Collector that will capture and log a screenshot when a test case fails. |
Sdk28ModuleController | A module controller to check if a device is on SDK 28 (Android 9) or above. |
Sdk29ModuleController | Only run tests if the device under test is SDK version 29 or above. |
Sdk30ModuleController | Only run tests if the device under test is SDK version 30 or above. |
Sdk31ModuleController | Only run tests if the device under test is SDK version 31 or above. |
Sdk32ModuleController | Only run tests if the device under test is SDK version 32 or above. |
Sdk33ModuleController | Only run tests if the device under test is SDK version 33 or above. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SecondaryUserOnDefaultDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY . |
SecondaryUserOnSecondaryDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY . |
SemaphoreTokenTargetPreparer | This is a preparer used to use token to serialize test excution in tradefed host. |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
SettingsBaselineSetter | A common setter to handle device baseline settings via ITestDevice.setSetting. |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:- If
min-api-level is defined:- The device shipped with the
min-api-level or later.
|
ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
SparseImageUtil | Utility to unsparse sparse images. |
SparseImageUtil.SparseInputStream | SparseInputStream read from upstream and detects the data format. |
StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StopServicesSetup | A ITargetPreparer that stops services on the device. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
StreamUtil | Utility class for managing input streams. |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubDevice | Stub placeholder implementation of a IDevice . |
StubKeyStoreClient | Default stub implementation for KeyStore Client. |
StubKeyStoreFactory | Default stub implementation for KeyStore Factory |
StubLocalAndroidVirtualDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SwitchUserTargetPreparer | A ITargetPreparer that switches to the specified user kind in setUp. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUpdaterDeviceFlasher | A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable | |
BackgroundDeviceAction | Runs a command on a given device repeating as necessary until the action is canceled. |
BaseDeviceMetricCollector | Base implementation of IMetricCollector that allows to start and stop collection on onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) and ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulatorPreparer | Common preparer for launching a local emulator. |
BaseHostJUnit4Test | Base test class for running host JUnit4 style tests. |
BaseLeveledLogOutput | A base implementation for ILeveledLogOutput that allows to filtering some tags based on their name or components. |
BaseModuleController | Basic implementation of IModuleController that should be implemented for checking if a module should run or not. |
BaseMultiTargetPreparer | Base implementation of IMultiTargetPreparer that allows to disable the object. |
BasePostProcessor | The base IPostProcessor that every implementation should extend. |
BaseRetryDecision | Base implementation of IRetryDecision . |
BaseStreamLogger <OS extends OutputStream> | A ILeveledLogOutput that directs log messages to an output stream and to stdout. |
BaseTargetPreparer | Base implementation class for ITargetPreparer that allows to control whether the object is disabled or not. |
BaseTestSuite | A Test for running Compatibility Test Suite with new suite system. |
BatteryController | Utility class that allows to control the battery charging state of a device. |
BatteryRechargeDeviceRecovery | Allow to trigger a command when the battery level of the device goes under a given threshold. |
BatteryTemperature | |
BatteryUnavailableDeviceRecovery | Recovery checker that will trigger a configuration if the battery level is not available. |
BeforeClassWithInfo | Similar guarantees as BeforeClass but method annotated must require a TestInformation parameter. |
BinaryState | Enum used to record ON/OFF state with a IGNORE no-op state. |
BluetoothConnectionLatencyCollector | The collector will push a pre-defined statsd duration metric config to devices and collect Bluetooth connection duration for each profile. |
BluetoothConnectionStateCollector | This collector will collect BluetoothConnectionStateChanged metrics and record connection state number for each profile. |
BluetoothConnectionSuccessRatePostProcessor | Implementation of postprocessor which calculates success rate for a bluetooth profile Use "metric-key-match" to specify metrics which contain bluetooth connection states in numeric array Example [0, 1, 2, 3, 0, 1, 2, 3]. |
BluetoothHciSnoopLogCollector | Collector to enable Bluetooth HCI snoop logging on the DUT and to collect the log for each test. |
BluetoothUtils | Utility functions for calling BluetoothInstrumentation on device Device side BluetoothInstrumentation code can be found in AOSP at: frameworks/base/core/tests/bluetoothtests |
BootstrapBuildProvider | A IDeviceBuildProvider that bootstraps build info from the test device This is typically used for devices with an externally supplied build, ie |
BootstrapServiceFileResolverLoader | Loads resolvers using the service loading facility. |
Bugreport | Object holding the bugreport files references, compatible of flat bugreport and zipped bugreport (bugreportz). |
BugreportCollector | A pass-through ITestInvocationListener that collects bugreports when configurable events occur and then calls ITestInvocationListener#testLog on its children after each bugreport is collected. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | A full predicate describing when to capture a bugreport. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Collect a bugreportz when a test case fails. |
BugreportzOnTestCaseFailureCollector | Collect a bugreportz when a test case in a run fails. |
BuildError | Thrown if the provided build fails to run. |
BuildInfo | Generic implementation of a IBuildInfo that should be associated with a ITestDevice . |
BuildInfoKey | Class holding enumeration related to build information queries. |
BuildInfoKey.BuildInfoFileKey | Enum describing all the known file types that can be queried through IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
BuildInfoRecorder | An ITargetPreparer that writes build info meta data into a specified file. |
BuildInfoUtil | A util class to help manipulate IBuildInfo |
BuildRetrievalError | A fatal error occurred while retrieving the build for testing. |
BuildSerializedVersion | Class that contains the current serialization version of all IBuildInfo . |
BuildTestsZipUtils | A helper class for operations related to tests zip generated by Android build system |
BulkEmailer | A email sender utility that allows the following configuration: sent interval,initial burst size, recipients and the total number messages. |
BundletoolUtil | Utility class that uses bundletool command line to install the .apks on deivce. |
ByteArrayInputStreamSource | |
ByteArrayList | A class to represent a lightweight byte array. |
ByteArrayUtil | Utilities to operate on byte array, eg, convert bytes to integer. |
CarModuleController | This controller prevents execution of tests cases on non-automotive devices. |
CarryDnaeError | Internal ERROR(/RuntimeException) to carry DeviceNotAvailableException through the JUnit4 framework. |
CarryInterruptedException | Thrown when test phase timeout is triggered and an InterruptedException needs to be carried from test execution thread to invocation execution thread. |
CdmaDeviceFlasher | A class that flashes an image on a physical Android device with a CDMA radio. |
CecControllerTokenProvider | Token provider for Consumer Electronics Control (CEC) related tokens. |
CentralDirectoryInfo | CentralDirectoryInfo is a class containing the information of a file/folder inside a zip file. |
CheckPairingPreparer | A CompanionAwarePreparer that verifies BT bonding between primary and companion devices |
CircularAtraceUtil | An atrace utility developed primarily for identifying the root causes of ANRs during Monkey testing. |
CircularByteArray | Data structure for holding a fixed size array that operates as a circular buffer, and tracks the total sum of all values in the array. |
ClangCodeCoverageCollector | A BaseDeviceMetricCollector that will pull Clang coverage measurements off of the device and log them as test artifacts. |
ClassNotFoundConfigurationException | ConfigurationException for when the class of an object is not found. |
ClassPathScanner | Finds entries on classpath. |
ClassPathScanner.ClassNameFilter | A IClassPathFilter that filters and transforms java class names. |
ClassPathScanner.ExternalClassNameFilter | A ClassNameFilter that rejects inner classes |
ClassPathScanner.IClassPathFilter | A filter for classpath entry paths Patterned after FileFilter |
ClockworkUtils | A clockwork utility for sharing multi-device logic |
CloseableTraceScope | A scoped class that allows to report tracing section via try-with-resources |
ClusterBuildInfo | A IBuildInfo class for builds piped from TFC. |
ClusterBuildProvider | A IBuildProvider to download TFC test resources. |
ClusterClient | A IClusterClient implementation for interacting with the TFC backend. |
ClusterCommand | A class that represents a task fetched from TF Cluster. |
ClusterCommand.RequestType | |
ClusterCommand.State | Command's status in the TF cluster. |
ClusterCommandConfigBuilder | A class to build a configuration file for a cluster command. |
ClusterCommandEvent | A class to encapsulate cluster command events to be uploaded. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | A IRemoteTest class to launch a command from TFC via a subprocess TF. |
ClusterCommandScheduler | A ICommandScheduler to support TFC (Tradefed Cluster). |
ClusterCommandStatus | A class that represents the state and the cancel reason for a command from TF Cluster. |
ClusterDeviceInfo | A class to encapsulate cluster device info to be uploaded. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | An IDeviceMonitor implementation that reports results to the Tradefed Cluster service. |
ClusterEventUploader <T extends IClusterEvent > | ClusterEventUploader class, which uploads IClusterEvent to TFC. |
ClusterHostEvent | A class to encapsulate cluster host events to be uploaded. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | Enums of the different types of host events. |
ClusterHostUtil | Static util functions for TF Cluster to get global config instances, host information, etc. |
ClusterLogSaver | A ILogSaver class to upload test outputs to TFC. |
ClusterLogSaver.FilePickingStrategy | File picking strategies. |
ClusterOptions | |
CodeCoverageTest | A Test that runs an instrumentation test package on a given device and generates the code coverage report. |
CollectingByteOutputReceiver | A IShellOutputReceiver which collects the whole shell output into a byte[] . |
CollectingOutputReceiver | A IShellOutputReceiver which collects the whole shell output into one ERROR(/String) . |
CollectingTestListener | A ITestInvocationListener that will collect all test results. |
CollectorHelper | Helper to do some IMetricCollector operations needed in several places. |
CommandFileParser | Parser for file that contains set of command lines. |
CommandFileParser.CommandLine | |
CommandInterrupter | Service allowing TradeFederation commands to be interrupted or marked as uninterruptible. |
CommandLineBuildInfoBuilder | Utility meant to capture the usual build information arguments from a command line and create a IBuildInfo from them. |
CommandOptions | Implementation of ICommandOptions . |
CommandOptionsGetter | Service implementation that returns the command options value of a given invocation. |
CommandResult | Contains the result of a command. |
CommandRunner | An alternate TradeFederation entry point that will run command specified in command line arguments and then quit. |
CommandRunner.ExitCode | Error codes that are possible to exit with. |
CommandScheduler | A scheduler for running TradeFederation commands across all available devices. |
CommandScheduler.HostState | Enums of different status of host |
CommandStatus | Represents the status of an timed operation. |
CommandStatusHandler | Handler helping to monitor and update the status of an invocation. |
CommonLogRemoteFileUtil | This utility allows to avoid code duplication across the different remote device representation for the remote log fetching logic of common files. |
CommonLogRemoteFileUtil.KnownLogFileEntry | A representation of a known log entry for remote devices. |
CompanionAllocator | Base class that takes care of allocating and freeing companion device getCompanionDeviceSelectionOptions() should be implemented to describe the criteria needed to allocate the companion device |
CompanionAwarePreparer | An ITargetPreparer that encapsulates the logic of getting an already allocated companion device. |
CompanionAwareTest | Base test class that encapsulates boilerpate of getting and checking companion device Subclass may call getCompanion() to retrieve the allocated companion. |
CompanionDeviceTracker | A class for allocating and freeing companion devices |
CompanionRunCommandTargetPreparer | A ITargetPreparer that runs specified commands on the allocated companion device |
CompanionTestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto an allocated companion device. |
CompileBootImageWithSpeedTargetPreparer | Recompiles the boot classpath and system server with the compiler filter 'speed'. |
ConditionFailureMonitor | Monitor for any failures from the invocation. |
ConditionPriorityBlockingQueue <T> | A thread-safe class with ERROR(/PriorityBlockingQueue) -like operations that can retrieve objects that match a certain condition. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | A ConditionPriorityBlockingQueue.IMatcher that matches any object. |
ConditionPriorityBlockingQueue.IMatcher <T> | An interface for determining if elements match some sort of condition. |
ConfigCompleter | Implementation of the Completer for our TF configurations. |
Configuration | A concrete IConfiguration implementation that stores the loaded config objects in a map. |
ConfigurationDef | Holds a record of a configuration, its associated objects and their options. |
ConfigurationDef.ConfigObjectDef | Object to hold info for a className and the appearance number it has (eg if a config has the same object twice, the first one will have the first appearance number). |
ConfigurationDescriptor | Configuration Object that describes some aspect of the configuration itself. |
ConfigurationDescriptor.LocalTestRunner | Enum used to indicate local test runner. |
ConfigurationException | Thrown if configuration could not be loaded. |
ConfigurationFactory | Factory for creating IConfiguration . |
ConfigurationFactory.ConfigLoader | Implementation of IConfigDefLoader that tracks the included configurations from one root config, and throws an exception on circular includes. |
ConfigurationFactory.ExceptionLoader | |
ConfigurationUtil | Utility functions to handle configuration files. |
ConfigurationXmlParserSettings | A simple class to accept settings for the ConfigurationXmlParser To pass settings to this class, the alias is mandatory. |
ConfigurationYamlParser | Parser for YAML style Tradefed configurations |
ConfigUtil | Utility class for creating, interacting with, and pushing statsd configuration files. |
Console | Main TradeFederation console providing user with the interface to interact Currently supports operations such as - add a command to test
- list devices and their state
- list invocations in progress
- list commands in queue
- dump invocation log to file/stdout
- shutdown
|
Console.ArgRunnable <T> | A ERROR(/Runnable) with a run method that can take an argument |
Console.CaptureList | A convenience type for List<List<String>> |
ConsoleReaderOutputStream | An OutputStream that can be used to make System.out.print() play nice with the user's LineReader unfinishedLine. |
ConsoleResultReporter | Result reporter to print the test results to the console. |
ContentProviderHandler | Handler that abstract the content provider interactions and allow to use the device side content provider for different operations. |
CountingTestResultListener | A TestResultListener that tracks the total number of tests by TestStatus |
CountTestCasesCollector | Count and report the number of test cases for a given IRemoteTest . |
CoverageMeasurementForwarder | A placeholder test that forwards coverage measurements from the build provider to the logger. |
CoverageOptions | Tradefed object to hold coverage options. |
CoverageOptions.Toolchain | |
CpuThrottlingWaiter | An ITargetPreparer that waits until max frequency on all cores are restored to highest level available |
CreateAvdPreparer | |
CreateUserPreparer | Target preparer for creating user and cleaning it up at the end. |
CurrentInvocation | A class that tracks and provides the current invocation information useful anywhere inside the invocation. |
CurrentInvocation.InvocationInfo | Some special named key that we will always populate for the invocation. |
CurrentInvocation.IsolationGrade | Describes the level of isolation |
DebugHostLogOnFailureCollector | Collector that will gather and log the host-side logs when a test case failure occurs. |
DefaultConnection | Default connection representation of a device, assumed to be a standard adb connection of the device. |
DefaultConnection.ConnectionBuilder | Builder used to described the connection. |
DefaultRemoteAndroidTestRunner | Extension of the ddmlib RemoteAndroidTestRunner to set some default for Tradefed use cases. |
DefaultTestsZipInstaller | A default implementation of tests zip installer. |
DelegatedInvocationExecution | InvocationExecution which delegate the execution to another Tradefed binary. |
DependenciesResolver | A new type of provider that allows to get all the dependencies for a test. |
DeviceAllocationResult | Represents the results of an allocation attempt for a command. |
DeviceAllocationState | Represents the allocation state of the device from the IDeviceManager perspective |
DeviceAvailableChecker | Checker to ensure a module doesn't leave the device in an offline state. |
DeviceBaselineChecker | Set device baseline settings before each module. |
DeviceBaselineSetter | Abstract class used to create a device baseline setting. |
DeviceBatteryLevelChecker | An IRemoteTest that checks for a minimum battery charge, and waits for the battery to reach a second charging threshold if the minimum charge isn't present. |
DeviceBatteryResourceMetricCollector | This collector collects device battery metrics. |
DeviceBuildDescriptor | A wrapper class for a IBuildInfo , that contains helper methods to retrieve device platform build information. |
DeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
DeviceBuildInfoBootStrapper | A ITargetPreparer that replaces build info fields with attributes read from device This is useful for testing devices with builds generated from an external source (eg |
DeviceBuildInfoInjector | A ITargetPreparer that inserts DeviceBuildDescriptor metadata into the IBuildInfo . |
DeviceCleaner | Performs reboot or format as cleanup action after test, and optionally turns screen off |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | Contains utility methods and classes for concurrent device side command execution Use ERROR(/ExecutorService) to run commands implemented as ShellCommandCallable , and use ERROR(/#joinFuture(String,Future,long)) for synchronization against the ERROR(/Future) as returned by ERROR(/ExecutorService) for the command execution. |
DeviceConcurrentUtil.ShellCommandCallable <V> | A ERROR(/Callable) that wraps the details of executing shell command on an ITestDevice . |
DeviceConfigurationHolder | A concrete IDeviceConfiguration implementation that stores the loaded device configuration objects in its attributes. |
DeviceDescriptor | A class containing information describing a device under test. |
DeviceDisconnectedException | Thrown when a device is no longer reachable via it's transport type, eg if the device is no longer visible via USB, or TCP/IP connection |
DeviceErrorIdentifier | Error Identifiers from Device errors and device reported errors. |
DeviceFailedToBootError | Thrown if a device fails to boot after being flashed with a build. |
DeviceFeatureModuleController | A module controller to not run tests when it doesn't support certain feature. |
DeviceFileReporter | A utility class that checks the device for files and sends them to ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) if found. |
DeviceFlashPreparer | A ITargetPreparer that flashes an image on physical Android hardware. |
DeviceFoldableState | Representation of device foldable state as returned by "cmd device_state print-states". |
DeviceFolderBuildInfo | A IDeviceBuildInfo that also contains other build artifacts contained in a directory on the local filesystem. |
DeviceImageZipFlashingTargetPreparer | A target preparer that flashes the device with device images provided via a specific format. |
DeviceInternetAccessibilityResourceMetricCollector | The collector pings google.com to check if the device has internet accessibility or not. |
DeviceJUnit4ClassRunner | JUnit4 test runner that also accommodates IDeviceTest . |
DeviceJUnit4ClassRunner.LogAnnotation | Fake annotation meant to carry logs to the reporters. |
DeviceJUnit4ClassRunner.MetricAnnotation | Fake annotation meant to carry metrics to the reporters. |
DeviceJUnit4ClassRunner.TestLogData | Implementation of ExternalResource and TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | Implementation of ExternalResource and TestRule . |
DeviceManagementGrpcServer | GRPC server allowing to reserve a device from Tradefed. |
DeviceManager | |
DeviceManager.FastbootDevice | Representation of a device in Fastboot mode. |
DeviceMetricData | Object to hold all the data collected by metric collectors. |
DeviceMonitorMultiplexer | A proxy class to propagate requests to multiple IDeviceMonitor s. |
DeviceNotAvailableException | Thrown when a device is no longer available for testing. |
DeviceOwnerTargetPreparer | An ITargetPreparer that sets up a device owner component. |
DeviceParameterizedRunner | JUnit4 style parameterized runner for host-side driven parameterized tests. |
DeviceProperties | Common constant definitions for device side property names |
DeviceRecoveryModeUtil | |
DeviceReleaseReporter | Device release reporter that handles communicating with the parent process the device(s) to be released. |
DeviceResetFeature | Server side implementation of device reset. |
DeviceResetHandler | Utility handling generically device resetting. |
DeviceRuntimeException | Thrown when a device action did not results in the expected results. |
DeviceSelectionOptions | Container for for device selection criteria. |
DeviceSelectionOptions.DeviceRequestedType | The different possible types of placeholder devices supported. |
DeviceSettingChecker | Check if device settings have changed during a module run. |
DeviceSetup | A ITargetPreparer that configures a device for testing based on provided Option s. |
DeviceStateMonitor | Helper class for monitoring the state of a IDevice . |
DeviceStorageAgeResourceMetricCollector | Parse storage age from logcat. |
DeviceStorageFiller | Target preparer to fill up storage so some amount of free space is available. |
DeviceStorageStatusChecker | Check if device has enough disk space for the given partitions. |
DeviceStringPusher | Target preparer to write a string to a file. |
DeviceSuite | Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests that requires it. |
DeviceSyncHelper | Helper that helps syncing a new device image to the device. |
DeviceTestCase | Helper JUnit test case that provides the IRemoteTest and IDeviceTest services. |
DeviceTestResult | An specialization of TestResult that will abort when a DeviceNotAvailableException occurs |
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestRunOptions | A builder class for options related to running device tests through BaseHostJUnit4Test. |
DeviceTestSuite | Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services. |
DeviceTraceCollector | Collector that will start perfetto trace when a test run starts and log trace file at the end. |
DeviceUnavailableMonitor | This listener attempts to capture a test case level DNAE only. |
DeviceUnresponsiveException | A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie, commands timing out, won't boot, etc) |
DeviceUpdateTargetPreparer | An abstract ITargetPreparer that takes care of common steps around updating devices with a device image file from an external source (as opposed to a build service). |
DeviceWifiResourceMetricCollector | The collector collects current connected wifi signal strength and link speed metrics. |
DeviceWiper | A ITargetPreparer that wipes userdata |
DirectedGraph <V> | A directed unweighted graphs implementation. |
DisableSELinuxTargetPreparer | Target preparer that disables SELinux if enabled. |
DryRunKeyStore | A keystore for dry-run where any keystore value is always properly replaced and found. |
DryRunner | Transparently dry runs tests instead of actually executing them. |
DynamicFileStubTest | This is a tradefed test to test tradefed can resolve dynamic file correctly. |
DynamicRemoteFileResolver | Class that helps resolving path to remote files. |
DynamicRemoteFileResolver.FileResolverLoader | Loads implementations of IRemoteFileResolver . |
DynamicSystemPreparer | An ITargetPreparer that sets up a system image on top of a device build with the Dynamic System Update. |
IAbi | Interface representing the ABI under test. |
IAbiReceiver | A test that needs the ABI under test. |
IAndroidDebugBridge | Interface definition for AndroidDebugBridge methods used in this package. |
IAppBuildInfo | This interface is deprecated. Use IBuildInfo directly. |
IAutoRetriableTest | Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry. |
IBatteryInfo | The interface defining the interaction with a battery of a device. |
IBatteryInfo.BatteryState | Describes the current battery charging state. |
IBuildInfo | Holds information about the build under test. |
IBuildInfo.BuildInfoProperties | Some properties that a IBuildInfo can have to tweak some handling of it. |
IBuildProvider | Responsible for providing info regarding the build under test. |
IBuildReceiver | A test that needs reference to the build under test. |
IClusterClient | An interface for interacting with the TFC backend. |
IClusterEvent | Interface for any cluster event to be uploaded to TFC. |
IClusterEventUploader <T extends IClusterEvent > | Interface for ClusterEventUploader |
IClusterOptions | An interface for getting cluster-related options. |
ICommandOptions | Container for execution options for commands. |
ICommandScheduler | A scheduler for running TradeFederation commands. |
ICommandScheduler.IScheduledInvocationListener | Listener for invocation events when invocation completes. |
ICompressionStrategy | An interface representing a compression algorithm that can be selected at runtime. |
IConfigOptionValueTransformer | An interface for manipulating config option value |
IConfigurableVirtualDevice | An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.). |
IConfiguration | Configuration information for a TradeFederation invocation. |
IConfigurationFactory | Factory for creating IConfiguration s |
IConfigurationReceiver | Simple interface to represent object that accepts an IConfiguration . |
IConfigurationServer | An interface for config server. |
ICredentialFactory | An interface for credential factory to create oauth2 Credential . |
IDefaultObjectLoader | Interface for loading the default objects that should be part of our YAML configuration. |
IDefaultObjectLoader.LoaderConfiguration | The loading configuration object to pass information to the loader. |
IDeviceActionReceiver | Provides an API to receive device events. |
IDeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
IDeviceBuildProvider | A IBuildProvider that uses information from a ITestDevice to retrieve a build. |
IDeviceConfiguration | Device Configuration Holder Interface. |
IDeviceFlasher | Flashes a device image on a device. |
IDeviceFlasher.UserDataFlashOption | Enum of options for handling the userdata image |
IDeviceManager | Interface for managing the set of available devices for testing. |
IDeviceManager.IFastbootListener | A listener for fastboot state changes. |
IDeviceMonitor | Interface for monitoring state of devices. |
IDeviceMonitor.DeviceLister | A ERROR(/Runnable) -like class that should return the known devices and their states. |
IDeviceRecovery | Interface for recovering a device that has gone offline. |
IDeviceSelection | Interface for device selection criteria. |
IDeviceSelection.BaseDeviceType | |
IDeviceStateMonitor | Provides facilities for monitoring the state of a IDevice . |
IDeviceTest | Interface for object that needs a reference to a ITestDevice . |
IDisableable | Interface that describes a Tradefed object that can be disabled. |
IEmail | Interface for sending email. |
IEmail.Message | Container for email message data. |
IFileDownloader | Interface for downloading a remote file. |
IFileEntry | Interface definition that provides simpler, mockable contract to FileEntry methods. |
IFileResolverLoader | Loads implementations of IRemoteFileResolver . |
IFileResolverLoader.ResolverLoadingException | Exception thrown if a resolver cannot be loaded or initialized. |
IFlashingResourcesParser | Interface for providing required versions of auxiliary image files needed to flash a device. |
IFlashingResourcesRetriever | Interface for retrieving auxiliary image files needed to flash a device. |
IFolderBuildInfo | A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory. |
IFormatterGenerator | Interface describing a formatter for SuiteResultHolder . |
IGlobalConfiguration | A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations). |
IHarnessException | Description of the harness exception interface that will be implemented by harness exceptions. |
IHostCleaner | Cleans up the host after the test run has finished. |
IHostHealthAgent | An interface to emit host or device metrics. |
IHostMonitor | Interface to dispatch host data |
IHostMonitor.HostDataPoint | Generic class for data to be reported. |
IHostMonitor.HostMetricType | |
IHostOptions | Host options holder interface. |
IHostOptions.PermitLimitType | Enum describing the possible permit limiters |
IHostResourceManager | Interface to manager host resource. |
IHttpHelper | Helper methods for performing http requests. |
IHttpHelper.DataSizeException | |
IInvocationContext | Holds information about the Invocation for the tests to access if needed. |
IInvocationContext.TimingEvent | |
IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
IInvocationExecution | Interface describing the actions that will be done as part of an invocation. |
IKeyStoreClient | Interface to access a key store for password or sensitive data. |
IKeyStoreFactory | Factory for creating IKeyStoreClient . |
ILabPreparer | Marker interface for lab preparers See ITargetPreparer for a description of what these interfaces are intended. |
ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
ILogRegistry.EventType | Events that are useful to be logged |
ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
IManagedTestDevice | A ITestDevice whose lifecycle is managed. |
IManagedTestDevice.DeviceEventResponse | Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call |
IManagedTestDeviceFactory | Creator interface for IManagedTestDevice s |
IMetricCollector | This interface will be added as a decorator when reporting tests results in order to collect matching metrics. |
IMetricCollectorReceiver | Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run. |
IMoblyYamlResultHandler | Interface of mobly yaml result handler. |
IMoblyYamlResultHandler.ITestResult | Interface of mobly yaml result |
IModuleController | Interface for controlling if a module should be executed or not. |
IModuleController.RunStrategy | Enum describing how the module should be executed. |
IModuleParameterHandler | The interface for parameters of suites modules. |
IMultiDeviceRecovery | Interface for recovering multiple offline devices. |
IMultiDeviceTest | This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
IMultiTargetPreparer | Prepares the test environment for several devices together. |
INativeDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
INativeDeviceTest | Interface for object that needs a reference to a INativeDevice . |
InfraErrorIdentifier | Error Identifiers from Trade Federation infra, and dependent infra (like Build infra). |
InputStreamSource | This interface basically wraps an ERROR(/InputStream) to make it clonable. |
InstallAllTestZipAppsSetup | A ITargetPreparer that installs all apps in a test zip. |
InstallApexModuleTargetPreparer | |
InstallApkSetup | A ITargetPreparer that installs one or more apks located on the filesystem. |
InstallBuildEnvApkSetup | A ITargetPreparer that installs one or more test apks from an Android platform build env. |
InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
InstantAppHandler | Handler for ModuleParameters#INSTANT_APP . |
InstrumentationPreparer | A ITargetPreparer that runs instrumentation |
InstrumentationTest | A Test that runs an instrumentation test package on given device. |
InvocationContext | Generic implementation of a IInvocationContext . |
InvocationExecution | Class that describes all the invocation steps: build download, target_prep, run tests, clean up. |
InvocationLocal <T> | This class provides invocation-scope variables. |
InvocationMetricLogger | A utility class for an invocation to log some metrics. |
InvocationMetricLogger.InvocationGroupMetricKey | Grouping allows to log several groups under a same key. |
InvocationMetricLogger.InvocationMetricKey | Some special named key that we will always populate for the invocation. |
InvocationStatus | A class to store invocation status. |
InvocationStatus | A helper enum to represent the invocation status |
InvocationSummaryHelper | Helper class for gathering and reporting TestSummary for set of listeners |
InvocationToJUnitResultForwarder | A class that listens to ITestInvocationListener events and forwards them to a TestListener . |
IPostProcessor | Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting. |
IRemoteFeature | Interface describing a feature in Tradefed that can be executed based on the request. |
IRemoteFileResolver | Interface for objects that can resolve a remote file into a local one. |
IRemoteFileResolver.RemoteFileResolverArgs | The args passed to the resolvers |
IRemoteFileResolver.ResolvedFile | Class holding information about the resolved file and some metadata. |
IRemoteScheduledListenersFeature | Extension of IRemoteFeature to support passing in IScheduledInvocationListener s. |
IRemoteTest | A test that reports results directly to a ITestInvocationListener . |
IReportNotExecuted | In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting. |
IRescheduler | Interface for rescheduling a config for future execution. |
IResourceMetricCollector | The interface for user to implement customized resource collectors. |
IRestApiHelper | A helper interface for performing REST API calls. |
IResumableTest | This interface is deprecated. No need for this anymore |
IRetryDecision | Interface driving the retry decision and applying the filter on the class for more targeted retry. |
IRuntimeHintProvider | |
IRunUtil | Interface for running timed operations and system commands. |
IRunUtil.EnvPriority | Enum that defines whether setting or unsetting a particular env. |
IRunUtil.IRunnableResult | An interface for asynchronously executing an operation that returns a boolean status. |
ISandbox | Interface defining a sandbox that can be used to run an invocation. |
ISandboxFactory | Factory for creating ISandbox . |
ISetOptionReceiver | Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME . |
IShardableListener | A ITestInvocationListener that can be sharded. |
IShardableTest | A IRemoteTest that can be split into separately executable sub-tests. |
IShardHelper | Interface of an object that describes the sharding strategy to adopt for a configuration. |
IsolatedHostTest | Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process. |
ISupportGranularResults | Interface specifying whether a ITestInvocationListener supports receiving the granular results or not. |
ISystemStatusChecker | An checker that performs checks on system status and returns a boolean to indicate if the system is in an expected state. |
ISystemStatusCheckerReceiver | A IRemoteTest that requires access to the ISystemStatusChecker from the configuration. |
ITargetCleaner | This interface is deprecated. tearDown has been moved to the base ITargetPreparer interface. |
ITargetPreparer | Prepares the test environment for the test run. |
ITerribleFailureHandler | An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable)
|
ITestAnnotationFilterReceiver | A runner that can filter which tests to run based on annotations. |
ITestCollector | Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them. |
ITestDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
ITestDevice.ApexInfo | A simple struct class to store information about a single APEX |
ITestDevice.MountPointInfo | A simple struct class to store information about a single mountpoint |
ITestDevice.RecoveryMode | |
ITestFileFilterReceiver | A runner that can receive a file specifying which tests to run and/or not to run. |
ITestFilterReceiver | A runner that can filter which tests to run. |
ITestInformationReceiver | Interface to receive the TestInformation for some classes. |
ITestInvocation | Handles one TradeFederation test invocation. |
ITestInvocation.ExitInformation | Represents some exit information for an invocation. |
ITestInvocationListener | Listener for test results from the test invocation. |
ITestLifeCycleReceiver | Receives event notifications during instrumentation test runs. |
ITestLogger | An entity that can perform logging of data streams of various types. |
ITestLoggerReceiver | An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes. |
ITestsPool | Interface describing a pool of tests that we can access and run |
ITestSuite | Abstract class used to run Test Suite. |
ITestSuite.MultiDeviceModuleStrategy | |
ITestSuiteResultLoader | Interface describing an helper to load previous results in a way that can be re-run. |
ITestSummaryListener | Interface that allows ITestInvocationListener to exchange some limited information via summaries. |
ITestsZipInstaller | Installs tests from a tests zip file (as outputted by the build system) on a device. |
ITokenProvider | Interface describing an object that can provide the tokens of a particular device. |
ITokenRequest | Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token. |
SandboxConfigDump | Runner class that creates a IConfiguration based on a command line and dump it to a file. |
SandboxConfigDump.DumpCmd | |
SandboxConfigurationException | Special Configuration Exception coming from the Sandbox setup. |
SandboxConfigurationFactory | Special Configuration factory to handle creation of configurations for Sandboxing purpose. |
SandboxConfigUtil | A utility class for managing IConfiguration when doing sandboxing. |
SandboxedInvocationExecution | Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command. |
SandboxInvocationRunner | Run the tests associated with the invocation in the sandbox. |
SandboxOptions | Class that can receive and provide options to a ISandbox . |
ScreenshotOnFailureCollector | Collector that will capture and log a screenshot when a test case fails. |
Sdk28ModuleController | A module controller to check if a device is on SDK 28 (Android 9) or above. |
Sdk29ModuleController | Only run tests if the device under test is SDK version 29 or above. |
Sdk30ModuleController | Only run tests if the device under test is SDK version 30 or above. |
Sdk31ModuleController | Only run tests if the device under test is SDK version 31 or above. |
Sdk32ModuleController | Only run tests if the device under test is SDK version 32 or above. |
Sdk33ModuleController | Only run tests if the device under test is SDK version 33 or above. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SecondaryUserOnDefaultDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY . |
SecondaryUserOnSecondaryDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY . |
SemaphoreTokenTargetPreparer | This is a preparer used to use token to serialize test excution in tradefed host. |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
SettingsBaselineSetter | A common setter to handle device baseline settings via ITestDevice.setSetting. |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:- If
min-api-level is defined:- The device shipped with the
min-api-level or later.
|
ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
SparseImageUtil | Utility to unsparse sparse images. |
SparseImageUtil.SparseInputStream | SparseInputStream read from upstream and detects the data format. |
StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StopServicesSetup | A ITargetPreparer that stops services on the device. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
StreamUtil | Utility class for managing input streams. |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubDevice | Stub placeholder implementation of a IDevice . |
StubKeyStoreClient | Default stub implementation for KeyStore Client. |
StubKeyStoreFactory | Default stub implementation for KeyStore Factory |
StubLocalAndroidVirtualDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SwitchUserTargetPreparer | A ITargetPreparer that switches to the specified user kind in setUp. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUpdaterDeviceFlasher | A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable | |