Индекс класса
Это классы API. Посмотреть все пакеты API .
А
| AaptParser | Класс, который извлекает информацию из apk путем анализа вывода «aapt dump badging». |
| AaptParser.AaptVersion | Перечисление параметров версии AAPT, используемых для анализа файлов APK. |
| Эби | Класс, представляющий ABI. |
| AbiFormatter | Полезный класс для abi. |
| AbiUtils | Класс утилиты для обработки ABI устройств |
| AbLocalBuildProvider | Локальный поставщик сборки, который создает локальную сборку на базе Android. |
| AbstractConnection | Абстрактное представление связи. |
| AbstractHostMonitor | Типичный класс для мониторинга состояния хоста. |
| AbstractTunnelMonitor | Абстрактный туннельный монитор для GCE AVD. |
| AbstractXmlParser | Вспомогательный базовый класс для анализа XML-файлов |
| AbstractXmlParser.ParseException | Вызывается, если входные данные XML не удалось проанализировать. |
| AcloudConfigParser | Вспомогательный класс, который анализирует конфигурацию Acloud (используется для запуска экземпляра облачного устройства). |
| AcloudConfigParser.AcloudKeys | Наборы ключей, которые можно искать в конфигурации. |
| ДействиеВПрогрессе | Общее действие продолжается. |
| ActiveTrace | Основной класс, помогающий описывать и управлять активным следом. |
| ActivityStatusChecker | Проверка статуса оставшихся заданий, выполняемых в конце модуля. |
| AdbCommandRejectedException | Исключение возникает, когда adb отклоняет команду. |
| AdbDevice | Сохраняет состояние устройства, определенное командой «adb devices -l». |
| AdbDeviceConnection | Представляет подключение к устройству через ADB для использования с ERROR(/com.android.incfs.install.IncrementalInstallSession.Builder#execute(Executor,com.android.incfs.install.IDeviceConnection.Factory,ILogger)) . |
| AdbDeviceConnection.Factory | |
| AdbHelper | Вспомогательный класс для обработки запросов и подключений к adb. |
| AdbHelper.AdbResponse | Ответ АБР. |
| AdbHelper.AdbService | Определите, к какой службе adb должна относиться команда. |
| AdbInitOptions | Параметры инициализации AndroidDebugBridge. |
| AdbInitOptions.Builder | Создает параметры инициализации для ADB. |
| AdbRootElevator | AutoCloseable , который включает adb root при необходимости его создания и восстанавливает состояние root после завершения. |
| AdbSocketUtils | |
| AdbSshConnection | Подключение adb через мост ssh. |
| AdbStopServerPreparer | Целевой подготовитель останавливает сервер adb на хосте до и после запуска тестов adb. |
| AdbTcpConnection | Представление соединения по умолчанию для устройства, предполагается, что это стандартное соединение adb для устройства. |
| AdbUtils | Вспомогательный класс для операций ADB. |
| AdbVersion | |
| AfterClassWithInfo | Аналогичные гарантии, что и у AfterClass , но аннотированный метод должен требовать параметр TestInformation . |
| АгрегатныйПостПроцессор | Агрегатор метрик, который выдает минимум, максимум, среднее значение, дисперсию, стандартное отклонение, общее количество и, при необходимости, процентили для числовых метрик, собранных в ходе многоитерационных тестовых запусков, рассматривая их как двойные значения. |
| AllocationInfo | Содержит информацию о распределении. |
| AllocationInfo.AllocationSorter | |
| AllocationInfo.SortMode | |
| AllocationsParser | |
| AllTestAppsInstallSetup | ITargetPreparer , который устанавливает все приложения из папки IDeviceBuildInfo.getTestsDir() на устройство. |
| AltDirBehavior | Перечисление для определения альтернативного поведения каталога для различных установщиков/проталкивателей тестовых артефактов. |
| АнализЭвристический | Порядок важен. |
| AndroidBuildAPIException | Класс исключения для ошибки, связанной с Android Build API. |
| AndroidBuildAPIHelper | Вспомогательный метод, используемый для создания клиента Android Build. |
| AndroidBuildApiLogSaver | Класс, который сохраняет файлы журналов в API Android Build. |
| AndroidBuildAPIOptions | Параметры конфигурации хоста для клиента Android Build API. |
| AndroidBuildTestResult | Объект-контейнер для хранения результата теста для отправки в API Android Build. |
| AndroidDebugBridge | Подключение к отладочному мосту Android на стороне хоста (adb) Это центральная точка для связи с любыми устройствами, эмуляторами или приложениями, работающими на них. |
| AndroidDebugBridge.IClientChangeListener | Классы, реализующие этот интерфейс, предоставляют методы, обрабатывающие изменения ClientImpl . |
| AndroidDebugBridge.IDebugBridgeChangeListener | Классы, реализующие этот интерфейс, предоставляют метод, который обрабатывает изменения AndroidDebugBridge (включая перезапуски). |
| AndroidDebugBridge.IDeviceChangeListener | Классы, реализующие этот интерфейс, предоставляют методы, которые отвечают за добавление, удаление и изменение IDevice . |
| AndroidJUnitTest | Тест, который запускает пакет инструментальных тестов на заданном устройстве с помощью android.support.test.runner.AndroidJUnitRunner. |
| AndroidTestOrchestratorRemoteTestRunner | Запускает инструментированный тест Android с использованием команды adb и AndroidTestOrchestrator. |
| AoaTargetPreparer | ITargetPreparer , который выполняет ряд действий (например, щелчков и свайпов) с использованием протокола Android Open Accessory (AOAv2). |
| ApiResponse | Класс для анализа возвращаемого значения API. |
| ApiResponse.Кандидат | |
| ApiResponse.UsageMetadata | |
| ApkChangeDetector | Этот класс определяет, отличаются ли устанавливаемые APK-файлы от тех, что есть на устройстве, чтобы решить, следует ли пропускать установку и удаление приложения во время setUp и tearDown ERROR(/TestAppInstallSetup) . |
| AppBuildInfo | IBuildInfo , представляющий приложение Android и его тестовые пакеты. |
| AppDeviceBuildInfo | Этот класс устарел. Используйте IDeviceBuildInfo напрямую. |
| AppSetup | ITargetPreparer , который устанавливает APK и его тесты. |
| AppVersionFetcher | Служебный класс для получения строки версии приложения с устройства. |
| AppVersionFetcher.AppVersionInfo | Типы информации о версии приложения. |
| ArchModuleController | Контроллер модуля не должен запускать тесты, если он не соответствует ни одной из заданных архитектур. |
| ArgsOptionParser | Заполняет поля Option на основе проанализированных аргументов командной строки. |
| ArrayHelper | Служебный класс, обеспечивающий преобразование массива в int/long для данных, полученных от устройств через adb. |
| ArrayUtil | Вспомогательные методы для массивов |
| ArtChrootPreparer | Создайте chroot-каталог для тестов ART. |
| ArtGTest | |
| АртефактДетали | Здесь описывается структура контента и его описание, созданное инструментом CAS. |
| ArtifactDetails.ArtifactFileDescriptor | |
| Анализатор артефактов | Утилита, помогающая анализировать артефакты сборки для получения ценной информации. |
| ArtRunTest | Тестовый прогон для запуска тестов ART. |
| ArtRunTest.AdbShellCommandException | Класс исключений для сообщения об ошибке, возникшей во время выполнения команды оболочки ADB. |
| АртТест | |
| ATestFileSystemLogSaver | Этот класс LogSaver используется ATest для сохранения журналов по определенному пути. |
| AtestRunner | Реализация ITestSuite |
| AtraceCollector | IMetricCollector , который запускает atrace во время теста, собирает результаты и регистрирует их при вызове. |
| AtraceRunMetricCollector | Собирает трассировки из всех тестовых каталогов в указанном каталоге тестового устройства, регистрирует тестовый каталог и выполняет постобработку файлов трассировки в тестовом каталоге и агрегирует метрики. |
| AutoLogCollector | Перечень, описывающий, какой коллектор может автоматически управляться жгутом. |
| Автоматизированные репортеры | Класс, определяющий сопоставление из автоматизированных репортеров Tradefed. |
| AvdData | Данные Avd, возвращенные из [IDevice.getAvdData]. |
| СреднийПостПроцессор | Реализация постпроцессора, вычисляющего среднее значение списка показателей. |
Б
| BackgroundDeviceAction | Выполняет команду на указанном устройстве, повторяя ее по мере необходимости, пока действие не будет отменено. |
| BadPacketException | Выбрасывается, если содержимое пакета плохое. |
| BaseDeviceMetricCollector | Базовая реализация IMetricCollector , которая позволяет запускать и останавливать сбор данных при onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) и ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
| BaseEmulatorPreparer | Общий подготовительный этап для запуска локального эмулятора. |
| BaseHostJUnit4Test | Базовый тестовый класс для запуска тестов в стиле JUnit4 на хосте. |
| BaseLeveledLogOutput | Базовая реализация для ILeveledLogOutput , которая позволяет фильтровать некоторые теги по их имени или компонентам. |
| BaseModuleController | Базовая реализация IModuleController , которая должна быть реализована для проверки того, должен ли модуль запускаться или нет. |
| BaseMultiTargetPreparer | Базовая реализация IMultiTargetPreparer , позволяющая отключать объект. |
| BasePostProcessor | Базовый IPostProcessor , который должна расширять каждая реализация. |
| BaseRetryDecision | Базовая реализация IRetryDecision . |
| BaseStreamLogger <ОС расширяет OutputStream> | ILeveledLogOutput , который направляет сообщения журнала в выходной поток и на стандартный вывод. |
| BaseTargetPreparer | Базовый класс реализации для ITargetPreparer , позволяющий контролировать, отключен ли объект или нет. |
| BaseTestSuite | Тест для запуска набора тестов совместимости с новой системой пакетов. |
| Пакетный канал <T> | Вспомогательный класс для пакетной загрузки результатов теста и артефактов. |
| BatchChannel.BatchUploadAction <T> | Действие, которое необходимо выполнить, когда партия элементов готова к загрузке. |
| Контроллер батареи | Утилитарный класс, позволяющий контролировать состояние заряда аккумулятора устройства. |
| BatteryRechargeDeviceRecovery | Разрешить активировать команду, когда уровень заряда батареи устройства опустится ниже заданного порога. |
| Температура батареи | |
| BatteryUnavailableDeviceRecovery | Средство проверки восстановления, которое запустит конфигурацию, если уровень заряда батареи недоступен. |
| BeforeClassWithInfo | Аналогичные гарантии, что и у BeforeClass , но аннотированный метод должен требовать параметр TestInformation . |
| Двоичное состояние | Перечисление используется для записи состояния ВКЛ/ВЫКЛ с состоянием покоя IGNORE. |
| Сборщик задержек соединения Bluetooth | Сборщик передаст предварительно определенную конфигурацию метрики длительности statsd на устройства и соберет длительность Bluetooth-соединения для каждого профиля. |
| BluetoothConnectionStateCollector | Этот сборщик будет собирать метрики BluetoothConnectionStateChanged и записывать номер состояния подключения для каждого профиля. |
| BluetoothConnectionSuccessRatePostProcessor | Реализация постпроцессора, который рассчитывает вероятность успеха для профиля Bluetooth Используйте «metric-key-match» для указания метрик, содержащих состояния подключения Bluetooth в числовом массиве. Пример [0, 1, 2, 3, 0, 1, 2, 3]. |
| BluetoothHciSnoopLogCollector | Сборщик для включения функции отслеживания Bluetooth HCI на проверяемом устройстве и сбора журнала для каждого теста. |
| BluetoothUtils | Вспомогательные функции для вызова BluetoothInstrumentation на устройстве Код инструментирования Bluetooth на стороне устройства можно найти в AOSP по адресу: |
| BootstrapBuildProvider | IDeviceBuildProvider , который загружает информацию о сборке с тестового устройства.Это обычно используется для устройств с внешней сборкой, т. е. |
| BootstrapServiceFileResolverLoader | Загружает преобразователи с помощью сервисной загрузки. |
| Отчет об ошибке | Объект, содержащий ссылки на файлы отчетов об ошибках, совместимый с простыми отчетами об ошибках и сжатыми отчетами об ошибках (bugreportz). |
| BugreportCollector | Сквозной слушатель ITestInvocationListener , который собирает отчеты об ошибках при возникновении настраиваемых событий, а затем вызывает ITestInvocationListener.testLog для своих дочерних элементов после сбора каждого отчета об ошибках. |
| BugreportCollector.Filter | |
| BugreportCollector.Freq | |
| BugreportCollector.Noun | |
| BugreportCollector.Predicate | Полный предикат, описывающий, когда следует создавать отчет об ошибке. |
| BugreportCollector.Relation | |
| BugreportCollector.SubPredicate | |
| BugreportzOnFailureCollector | Собирайте отчеты об ошибках в случае сбоя тестового случая. |
| BugreportzOnTestCaseFailureCollector | Собирайте отчеты об ошибках, если тестовый случай в ходе выполнения завершается неудачей. |
| BuildAnalysis | Представляет результаты анализа одной сборки. |
| BuildError | Вызывается, если предоставленная сборка не запускается. |
| BuildInfo | Общая реализация IBuildInfo , которая должна быть связана с ITestDevice . |
| BuildInfoKey | Класс, содержащий перечисление, связанное с запросами информации о построении. |
| BuildInfoKey.BuildInfoFileKey | Перечисление, описывающее все известные типы файлов, которые можно запросить через IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
| BuildInfoRecorder | ITargetPreparer , который записывает метаданные информации о сборке в указанный файл. |
| BuildInfoUtil | Утилитарный класс для управления IBuildInfo |
| BuildRetrievalError | Произошла фатальная ошибка при извлечении сборки для тестирования. |
| BuildSerializedVersion | Класс, содержащий текущую версию сериализации всех IBuildInfo . |
| BuildTestsZipUtils | Вспомогательный класс для операций, связанных с тестами zip-архива, сгенерированного системой сборки Android. |
| BulkEmailer | Утилита для отправки сообщений электронной почты, позволяющая настраивать следующие параметры: интервал отправки, начальный размер пакета, получателей и общее количество сообщений. |
| BundletoolUtil | Служебный класс, который использует командную строку bundletool для установки .apks на устройство. |
| ByteArrayInputStreamSource | |
| ByteArrayList | Класс для представления облегченного массива байтов. |
| ByteArrayUtil | Утилиты для работы с массивом байтов, например, преобразования байтов в целые числа. |
| ByteBufferUtil | |
| ByteStreamDownloader | Клиент, реализующий метод Read службы ByteStream gRPC. |
| ByteStreamUploader | Клиент, реализующий метод Write службы ByteStream gRPC. |
С
| CacheClientFactory | Фабрика, создающая единичный экземпляр ICacheClient . |
| ОтмененоИсключение | Абстрактное исключение для исключения, которое может быть выдано, когда пользовательский ввод отменяет действие. |
| ВозможностиНовыйОтветить | Полезная нагрузка ответа CapabilitiesNew протокола JDWP. |
| CarModuleController | Этот контроллер предотвращает выполнение тестовых случаев на неавтомобильных устройствах. |
| CarryDnaeError | Внутреннее RuntimeException для переноса DeviceNotAvailableException через фреймворк JUnit4. |
| CarryInterruptedException | Вызывается, когда истечет время ожидания фазы теста и необходимо перенести InterruptedException из потока выполнения теста в поток выполнения вызова. |
| CasFuseDriverProfile | CasDriverProfile — это конкретная реализация IFuseDriverProfile для образов устройств, представляющих собой фрагментированные каталоги FastCDC. |
| CdmaDeviceFlasher | Класс, который выводит изображение на физическое устройство Android с радио CDMA. |
| CecControllerTokenProvider | Поставщик токенов для токенов, связанных с Consumer Electronics Control (CEC). |
| CentralDirectoryInfo | CentralDirectoryInfo — это класс, содержащий информацию о файле/папке внутри zip-файла. |
| CheckPairingPreparer | CompanionAwarePreparer , который проверяет соединение BT между основным и сопутствующим устройствами |
| Чанкер | Разбивает blob на один или несколько Chunk размером не более chunkSize байт. |
| Чанкер.Чанк | Кусок кляксы. |
| ChunkHandler | Создайте подкласс с классом, который обрабатывает один или несколько типов фрагментов. |
| CircularAtraceUtil | Утилита atrace, разработанная в первую очередь для выявления основных причин возникновения ошибок ANR во время тестирования Monkey. |
| CircularByteArray | Структура данных для хранения массива фиксированного размера, который работает как кольцевой буфер и отслеживает общую сумму всех значений в массиве. |
| ClangCodeCoverageCollector | BaseDeviceMetricCollector , который извлекает измерения покрытия Clang из устройства и регистрирует их как тестовые артефакты. |
| ClangProfileIndexer | Вспомогательный класс, который индексирует измерения покрытия кода Clang. |
| ClassNotFoundConfigurationException | ConfigurationException , если класс объекта не найден. |
| ClassPathScanner | Находит записи в classpath. |
| ClassPathScanner.ClassNameFilter | Фильтр IClassPathFilter , который фильтрует и преобразует имена классов Java. |
| ClassPathScanner.ExternalClassNameFilter | Фильтр ClassNameFilter , который отклоняет внутренние классы |
| ClassPathScanner.IClassPathFilter | Фильтр для путей входа в classpath Создан по образцу |
| Клиент | Это представляет собой одного клиента, обычно процесс Dalvik VM. |
| Клиент | Клиент хранилища Android Test, который загружает результаты тестов в службу Test Storage. |
| ClientData | Содержит данные ClientImpl . |
| ClientData.AllocationTrackingStatus | |
| ClientData.DebuggerStatus | |
| ClientData.HeapData | Куча информации. |
| ClientData.HeapInfo | |
| ClientData.HprofData | |
| ClientData.HprofData.Type | |
| ClientData.IAllocationTrackingHandler | |
| ClientData.IHprofDumpHandler | Обработчики, способные работать на свалках HPROF. |
| ClientData.IMethodProfilingHandler | Обработчики, способные действовать на основе информации о профилировании метода |
| ClientData.MethodProfilingStatus | |
| ClientData.Names | |
| ClientImpl | Это представляет собой одного клиента, обычно процесс Dalvik VM. |
| ClientTracker | Отслеживает clients устройств |
| ClockworkUtils | Механическая утилита для совместного использования логики нескольких устройств |
| CloseableTraceScope | Класс с ограниченной областью действия, позволяющий сообщать о разделе трассировки через try-with-resources |
| ClusterBuildInfo | Класс IBuildInfo для сборок, переданных из TFC. |
| ClusterBuildProvider | IBuildProvider для загрузки тестовых ресурсов TFC. |
| КластерКлиент | Реализация IClusterClient для взаимодействия с бэкэндом TFC. |
| ClusterCommand | Класс, представляющий задачу, извлеченную из кластера TF. |
| ClusterCommand.RequestType | |
| ClusterCommand.State | Статус команды в кластере ТФ. |
| ClusterCommandConfigBuilder | Класс для создания файла конфигурации для кластерной команды. |
| ClusterCommandEvent | Класс для инкапсуляции событий команд кластера, подлежащих загрузке. |
| ClusterCommandEvent.Builder | |
| ClusterCommandEvent.Type | |
| ClusterCommandLauncher | Класс IRemoteTest для запуска команды из TFC через подпроцесс TF. |
| ClusterCommandScheduler | ICommandScheduler для поддержки TFC (Tradefed Cluster). |
| ClusterCommandStatus | Класс, представляющий состояние и причину отмены команды из кластера TF. |
| ClusterDeviceInfo | Класс для инкапсуляции информации об устройстве кластера, подлежащей загрузке. |
| ClusterDeviceInfo.Builder | |
| ClusterDeviceMonitor | Реализация IDeviceMonitor , которая передает результаты в службу Tradefed Cluster. |
| ClusterEventUploader <T расширяет IClusterEvent > | Класс ClusterEventUploader, который загружает IClusterEvent в TFC. |
| ClusterHostEvent | Класс для инкапсуляции событий хоста кластера, подлежащих загрузке. |
| ClusterHostEvent.Builder | |
| ClusterHostEvent.HostEventType | Перечисления различных типов хост-событий. |
| ClusterHostUtil | Статические служебные функции для кластера TF для получения экземпляров глобальной конфигурации, информации о хосте и т. д. |
| ClusterLogSaver | Класс ILogSaver для загрузки тестовых результатов в TFC. |
| ClusterLogSaver.FilePickingStrategy | Стратегии выбора файлов. |
| ClusterOptions | |
| CodeCoverageCollector | BaseDeviceMetricCollector , который извлекает результаты измерений покрытия Java и собственных функций с устройства и регистрирует их как тестовые артефакты. |
| CodeCoverageTest | Тест, который запускает пакет инструментальных тестов на заданном устройстве и генерирует отчет о покрытии кода. |
| CollectingByteOutputReceiver | IShellOutputReceiver , который собирает весь вывод оболочки в byte[] . |
| CollectingOutputReceiver | IShellOutputReceiver , который собирает весь вывод оболочки в одну String . |
| CollectingOutputReceiver | IShellOutputReceiver , который собирает весь вывод оболочки в одну String . |
| CollectingTestListener | ITestInvocationListener , который будет собирать все результаты тестов. |
| CollectorHelper | Помощник для выполнения некоторых операций IMetricCollector , необходимых в нескольких местах. |
| CommandBaselineSetter | Общий сеттер для обработки базовых настроек устройства с помощью команд оболочки adb. |
| CommandFileParser | Парсер файла, содержащего набор командных строк. |
| CommandFileParser.CommandLine | |
| CommandInterrupter | Служба, позволяющая прерывать команды TradeFederation или отмечать их как непрерываемые. |
| CommandLineBuildInfoBuilder | Утилита, предназначенная для захвата обычных аргументов информации о сборке из командной строки и создания из них IBuildInfo . |
| CommandOptions | Реализация ICommandOptions . |
| CommandOptionsGetter | Реализация сервиса, которая возвращает значение параметров команды для данного вызова. |
| CommandRejectedException | |
| CommandResult | Содержит результат команды. |
| CommandRunner | Альтернативная точка входа TradeFederation, которая выполнит команду, указанную в аргументах командной строки, а затем завершит работу. |
| CommandRunner.ExitCode | Коды ошибок, с которыми можно выйти. |
| Планировщик команд | Планировщик для запуска команд TradeFederation на всех доступных устройствах. |
| CommandScheduler.HostState | Перечисления разного статуса хоста |
| CommandStatus | Представляет статус запланированной операции. |
| CommandStatusHandler | Обработчик, помогающий отслеживать и обновлять статус вызова. |
| CommandSuccessModuleController | Базовый класс для контроллера модуля, позволяющий пропустить тестовый модуль в случае сбоя команды оболочки. |
| CommonLogRemoteFileUtil | Эта утилита позволяет избежать дублирования кода в различных представлениях удаленного устройства для логики удаленного извлечения журналов общих файлов. |
| CommonLogRemoteFileUtil.KnownLogFileEntry | Представление известной записи журнала для удаленных устройств. |
| CompanionAllocator | Базовый класс, который отвечает за выделение и освобождение сопутствующего устройства. |
| CompanionAwarePreparer | ITargetPreparer , который инкапсулирует логику получения уже выделенного сопутствующего устройства. |
| CompanionAwareTest | Базовый тестовый класс, который инкапсулирует шаблон получения и проверки сопутствующего устройства. Подкласс может вызвать |
| CompanionDeviceTracker | Класс для выделения и освобождения сопутствующих устройств |
| CompanionRunCommandTargetPreparer | ITargetPreparer , который запускает указанные команды на выделенном сопутствующем устройстве |
| CompanionTestAppInstallSetup | ITargetPreparer , который устанавливает одно или несколько приложений из папки IDeviceBuildInfo.getTestsDir() на выделенное сопутствующее устройство. |
| CompileBootImageWithSpeedTargetPreparer | Перекомпилирует загрузочный classpath и системный сервер с фильтром компилятора «speed». |
| СостояниеОтказМонитор | Следите за любыми сбоями при вызове. |
| ConditionPriorityBlockingQueue <T> | Потокобезопасный класс с операциями типа ERROR(/PriorityBlockingQueue) , который может извлекать объекты, соответствующие определенному условию. |
| ConditionPriorityBlockingQueue.AlwaysMatch <T> | ConditionPriorityBlockingQueue.IMatcher , соответствующий любому объекту. |
| ConditionPriorityBlockingQueue.IMatcher <T> | Интерфейс для определения соответствия элементов какому-либо условию. |
| ConfigCompleter | Реализация Completer для наших конфигураций TF. |
| ConfigurableGrpcDynamicShardingClient | |
| Конфигурация | Конкретная реализация IConfiguration , которая сохраняет загруженные объекты конфигурации на карте. |
| ConfigurationDef | Содержит запись конфигурации, связанных с ней объектов и их параметров. |
| ConfigurationDef.ConfigObjectDef | Объект для хранения информации для className и номера его появления (например, если в конфигурации дважды встречается один и тот же объект, первый из них будет иметь первый номер появления). |
| Конфигурационный дескриптор | Объект конфигурации, описывающий некоторые аспекты самой конфигурации. |
| ConfigurationDescriptor.LocalTestRunner | Перечисление, используемое для указания локального исполнителя тестов. |
| ConfigurationException | Вызывается, если не удалось загрузить конфигурацию. |
| ConfigurationFactory | Фабрика для создания IConfiguration . |
| ConfigurationFactory.ConfigLoader | Реализация IConfigDefLoader, которая отслеживает включенные конфигурации из одной корневой конфигурации и выдает исключение при циклических включениях. |
| ConfigurationFactory.ExceptionLoader | |
| ConfigurationUtil | Вспомогательные функции для работы с файлами конфигурации. |
| КонфигурацияXmlParserSettings | Простой класс для принятия настроек для ConfigurationXmlParser Для передачи настроек этому классу псевдоним обязателен. |
| КонфигурацияYamlParser | Парсер для конфигураций Tradefed в стиле YAML |
| ConfigUtil | Служебный класс для создания, взаимодействия и отправки файлов конфигурации statsd. |
| ConfigUtil.LogSource | |
| Консоль | Основная консоль TradeFederation, предоставляющая пользователю интерфейс для взаимодействия В настоящее время поддерживает такие операции, как
|
| Console.ArgRunnable <T> | Runnable с методом run , который может принимать аргумент |
| Console.CaptureList | Удобный тип для List<List<String>> |
| ConsoleReaderOutputStream | OutputStream, который можно использовать для корректной работы System.out.print() с незаконченной LineReader пользователя. |
| ConsoleResultReporter | Отчет о результатах для вывода результатов теста на консоль. |
| СодержаниеАнализКонтекст | Предоставьте контекст, окружающий контент, для его правильного анализа. |
| ContentAnalysisContext.AnalysisMethod | Здесь описывается, чего следует ожидать от структуры контента для правильного анализа. |
| Анализ контентаРезультаты | Резюме контент-анализа. |
| СодержаниеИнформация | Представляет содержимое для заданной целевой сборки ее базовой и текущей версии. |
| ContentMerkleTree | Вычислить MerkleTree на основе информации о содержании. |
| ContentModuleLister | Вычислить список модулей из контекста. |
| ContentProviderHandler | Обработчик, который абстрагирует взаимодействия с поставщиком контента и позволяет использовать поставщика контента на стороне устройства для различных операций. |
| ContentRequest | Класс для построения запроса к API. |
| ContentRequest.Content | |
| ContentRequest.InlineData | |
| ContentRequest.Часть | |
| CountingTestResultListener | TestResultListener , который отслеживает общее количество тестов по TestStatus |
| CountTestCasesCollector | Подсчитайте и сообщите количество тестовых случаев для данного IRemoteTest . |
| ПокрытиеИзмерениеЭкспедитор | Тест-заполнитель, который пересылает измерения покрытия от поставщика сборки в регистратор. |
| Варианты покрытия | Tradefed возражает против удержания вариантов покрытия. |
| CoverageOptions.Toolchain | |
| CpuThrottlingWaiter | ITargetPreparer , который ждет, пока максимальная частота на всех ядрах не будет восстановлена до максимально доступного уровня. |
| CreateAvdPreparer | |
| CreateUserPreparer | Подготовитель цели для создания пользователя и его очистки в конце. |
| CurlGenAiClient | Предоставьте центральный клиент для взаимодействия с API GenAi и выполнения оперативных запросов. |
| CurlGenAiClient.Model | Список моделей, доступных для использования. |
| CurrentInvocation | Класс, который отслеживает и предоставляет текущую информацию о вызове, полезную в любом месте вызова. |
| CurrentInvocation.InvocationInfo | Некий специальный именованный ключ, который мы всегда будем заполнять для вызова. |
| CurrentInvocation.IsolationGrade | Описывает уровень изоляции |
Д
| DdmJdwpExtension | |
| DdmJdwpExtension.DdmInterceptor | |
| DdmJdwpExtension.Event | |
| DdmPreferences | Настройки библиотеки ddm. |
| Отладчик | Это представляет собой ожидающее или установленное соединение с отладчиком JDWP. |
| DebugHostLogOnFailureCollector | Сборщик, который будет собирать и регистрировать журналы на стороне хоста в случае сбоя тестового случая. |
| DebugViewDumpHandler | |
| DefaultConnection | Представление соединения по умолчанию для устройства, предполагается, что это стандартное соединение adb для устройства. |
| DefaultConnection.ConnectionBuilder | Строитель использовал для описания соединения. |
| DefaultRemoteAndroidTestRunner | Расширение ddmlib RemoteAndroidTestRunner для установки некоторых значений по умолчанию для вариантов использования Tradefed. |
| DefaultTestsZipInstaller | Реализация zip-установщика тестов по умолчанию. |
| ДелегированноеВызовВыполнение | InvocationExecution , который делегирует выполнение другому двоичному файлу Tradefed. |
| DependenciesResolver | Новый тип провайдера, позволяющий получить все зависимости для теста. |
| DeviceActionTargetPreparer | ITargetPreparer для выполнения действий устройства. |
| DeviceActionUtil | Класс Utility для выполнения действий устройства. |
| DeviceActionUtil.Command | Команды для действий устройства. |
| DeviceActionUtil.DeviceActionConfigError | Исключение из-за ошибки конфигурации. |
| DeviceAllocationResult | Представляет результаты попытки распределения для команды. |
| DeviceAllocationState | Представляет состояние распределения устройства с точки зрения IDeviceManager. |
| DeviceAvailableChecker | Проверка, позволяющая убедиться, что модуль не оставляет устройство в автономном состоянии. |
| DeviceBaselineChecker | Перед каждым модулем задайте базовые настройки устройства. |
| DeviceBaselineSetter | Абстрактный класс, используемый для создания базовых настроек устройства. |
| DeviceBatteryLevelChecker | IRemoteTest , который проверяет минимальный заряд аккумулятора и ждет, пока аккумулятор не достигнет второго порога зарядки, если минимальный заряд отсутствует. |
| DeviceBatteryResourceMetricCollector | Этот сборщик собирает показатели батареи устройства. |
| DeviceBuildDescriptor | Класс-оболочка для IBuildInfo , содержащий вспомогательные методы для извлечения информации о сборке платформы устройства. |
| DeviceBuildInfo | IBuildInfo , представляющий полную сборку устройства Android и (опционально) ее тесты. |
| DeviceBuildInfoBootStrapper | ITargetPreparer , который заменяет поля информации о сборке атрибутами, считанными с устройства.Это полезно для тестирования устройств со сборками, созданными из внешнего источника (например, |
| DeviceBuildInfoInjector | ITargetPreparer , который вставляет метаданные DeviceBuildDescriptor в IBuildInfo . |
| DeviceCleaner | Выполняет перезагрузку или форматирование в качестве очистки после теста и при необходимости отключает экран. |
| DeviceCleaner.CleanupAction | |
| DeviceCleaner.PostCleanupAction | |
| DeviceConcurrentUtil | Содержит служебные методы и классы для одновременного выполнения команд на стороне устройства. Используйте |
| DeviceConcurrentUtil.ShellCommandCallable <V> | ERROR(/Callable) , которая переносит сведения о выполнении команды оболочки на ITestDevice . |
| DeviceConfigurationHolder | Конкретная реализация IDeviceConfiguration , которая сохраняет загруженные объекты конфигурации устройства в своих атрибутах. |
| DeviceConnection | Представляет подключение к устройству через ADB для использования с ERROR(/com.android.incfs.install.IncrementalInstallSession.Builder#execute(Executor,com.android.incfs.install.IDeviceConnection.Factory,ILogger)) . |
| DeviceConnection.Factory | |
| DeviceDescriptor | Класс, содержащий информацию, описывающую тестируемое устройство. |
| DeviceDisconnectedException | Вызывается, когда устройство больше не доступно через свой тип транспорта, например, если устройство больше не видно через USB или соединение TCP/IP. |
| DeviceErrorIdentifier | Идентификаторы ошибок из ошибок устройства и ошибок, сообщенных устройством. |
| DeviceFailedToBootError | Вызывается, если устройство не загружается после прошивки сборки. |
| DeviceFeatureFlag | |
| DeviceFeatureModuleController | Контроллер модуля не запускает тесты, если он не поддерживает определенную функцию. |
| DeviceFileReporter | Вспомогательный класс, который проверяет устройство на наличие файлов и отправляет их в ITestInvocationListener.testLog(String, LogDataType, InputStreamSource) если они найдены. |
| DeviceFlashPreparer | ITargetPreparer , который прошивает изображение на физическом оборудовании Android. |
| DeviceFoldableState | Представление состояния складывания устройства, возвращаемое командой «cmd device_state print-states». |
| DeviceFolderBuildInfo | IDeviceBuildInfo , который также содержит другие артефакты сборки, хранящиеся в каталоге в локальной файловой системе. |
| DeviceImageTracker | Для некоторых дополнительных обновлений устройств нам нужны базовые файлы для вычисления различий. |
| DeviceImageTracker.FileCacheTracker | Отслеживайте информацию о кэшированном изображении устройства и его метаданных. |
| DeviceImageZipFlashingTargetPreparer | Подготовитель целевого устройства, который прошивает устройство образами устройств, предоставленными в определенном формате. |
| DeviceImpl | Устройство. |
| Результат проверки устройства | Класс содержит результат проверки устройства, когда устройство становится недоступно. |
| DeviceInternetAccessibilityResourceMetricCollector | Сборщик отправляет запрос на google.com, чтобы проверить, имеет ли устройство доступ к Интернету или нет. |
| DeviceJUnit4ClassRunner | Средство запуска тестов JUnit4, которое также поддерживает IDeviceTest . |
| DeviceJUnit4ClassRunner.LogAnnotation | Поддельная аннотация, предназначенная для передачи журналов репортерам. |
| DeviceJUnit4ClassRunner.MetricAnnotation | Поддельная аннотация, призванная донести метрики до репортеров. |
| DeviceJUnit4ClassRunner.TestLogData | Реализация ExternalResource и TestRule . |
| DeviceJUnit4ClassRunner.TestMetrics | Реализация ExternalResource и TestRule . |
| DeviceListMonitorTask | |
| DeviceLogger | Класс Bridge для использования utils.ILogger для Incremental. |
| DeviceManagementGrpcServer | Сервер GRPC, позволяющий зарезервировать устройство у Tradefed. |
| Диспетчер устройств | |
| DeviceManager.FastbootDevice | Представление устройства в режиме Fastboot. |
| DeviceMerkleTree | Вычислить MerkleTree на основе информации о содержимом устройства. |
| DeviceMetricData | Объект для хранения всех данных, собранных сборщиками метрик. |
| DeviceMonitor | DeviceMonitor отслеживает устройства, подключенные к adb. |
| DeviceMonitor.DeviceListComparisonResult | |
| DeviceMonitorMultiplexer | Прокси-класс для распространения запросов на несколько IDeviceMonitor . |
| DeviceNotAvailableException | Вызывается, когда устройство больше недоступно для тестирования. |
| DeviceOwnerTargetPreparer | ITargetPreparer , который настраивает компонент владельца устройства. |
| DeviceParameterizedRunner | Параметризованный исполнитель в стиле JUnit4 для параметризованных тестов, управляемых на стороне хоста. |
| Свойства устройства | Общие определения констант для имен свойств на стороне устройства |
| DeviceRecoveryModeUtil | |
| DeviceReleaseReporter | Device release reporter that handles communicating with the parent process the device(s) to be released. |
| DeviceResetFeature | Server side implementation of device reset. |
| DeviceResetHandler | Utility handling generically device resetting. |
| DeviceRuntimeException | Thrown when a device action did not results in the expected results. |
| DeviceSelectionOptions | Container for for device selection criteria. |
| DeviceSelectionOptions.DeviceRequestedType | The different possible types of placeholder devices supported. |
| DeviceSettingChecker | Check if device settings have changed during a module run. |
| DeviceSetup | A ITargetPreparer that configures a device for testing based on provided Option s. |
| DeviceSnapshotFeature | Server side implementation of device snapshot. |
| DeviceSnapshotHandler | Utility handling Cuttlefish snapshot. |
| DeviceStateMonitor | Helper class for monitoring the state of a IDevice . |
| DeviceStorageAgeResourceMetricCollector | Parse storage age from logcat. |
| DeviceStorageFiller | Target preparer to fill up storage so some amount of free space is available. |
| DeviceStorageStatusChecker | Check if device has enough disk space for the given partitions. |
| DeviceStringPusher | Target preparer to write a string to a file. |
| DeviceSuite | Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests that requires it. |
| DeviceSyncHelper | Helper that helps syncing a new device image to the device. |
| DeviceTestCase | Helper JUnit test case that provides the IRemoteTest and IDeviceTest services. |
| DeviceTestResult | An specialization of TestResult that will abort when a DeviceNotAvailableException occurs |
| DeviceTestResult.RuntimeDeviceNotAvailableException | |
| DeviceTestRunOptions | A builder class for options related to running device tests through BaseHostJUnit4Test. |
| DeviceTestSuite | Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services. |
| DeviceTraceCollector | Collector that will start perfetto trace when a test run starts and log trace file at the end. |
| DeviceUnavailableMonitor | This listener attempts to capture a test case level DNAE only. |
| DeviceUnresponsiveException | A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie, commands timing out, won't boot, etc) |
| DeviceUpdateTargetPreparer | An abstract ITargetPreparer that takes care of common steps around updating devices with a device image file from an external source (as opposed to a build service). |
| DeviceWifiResourceMetricCollector | The collector collects current connected wifi signal strength and link speed metrics. |
| DeviceWiper | A ITargetPreparer that wipes userdata |
| DigestCalculator | Utility methods to compute Digest . |
| DirectedGraph <V> | A directed unweighted graphs implementation. |
| DisableSELinuxTargetPreparer | Target preparer that disables SELinux if enabled. |
| DryRunKeyStore | A keystore for dry-run where any keystore value is always properly replaced and found. |
| DryRunner | Transparently dry runs tests instead of actually executing them. |
| DynamicFileStubTest | This is a tradefed test to test tradefed can resolve dynamic file correctly. |
| DynamicRemoteFileResolver | Class that helps resolving path to remote files. |
| DynamicRemoteFileResolver.FileResolverLoader | Loads implementations of IRemoteFileResolver . |
| DynamicShardHelper | Sharding strategy to allow work remote work queueing between multiple TF instances |
| DynamicShardingConnectionInfoMessage | Data-holding class in order to make sending via the feature server easier. |
| DynamicSystemPreparer | An ITargetPreparer that sets up a system image on top of a device build with the Dynamic System Update. |
Э
| EarlyDeviceReleaseFeature | Feature server implementation for early device release. |
| Электронная почта | A helper class to send an email. |
| EmailHostHealthAgent | A IHostHealthAgent implementation to send email from Host monitor reports |
| EmmaXmlConstants | Constants used when parsing emma xml report. |
| EmulatorMemoryCpuCapturer | |
| EndCentralDirectoryInfo | EndCentralDirectoryInfo is a class containing the overall information of a zip file. |
| EnforcedSeLinuxChecker | Status checker that ensures the status of Selinux. |
| EnvironmentVariableUtil | A collection of helper methods to prepare environment variables. |
| EraseUserDataPreparer | A ITargetPreparer that wipes user data on the device. |
| ErrorIdentifier | This interface describes a specific error and its properties. |
| ErrorStorageUtil | Helper class for manipulating the errors to align with the common storage. |
| EventsLoggerListener | Listener that logs all the events it receives into a file |
| ExceptionThrowingRunnerWrapper | |
| ExecutableAction | A value class representing an action which can be executed. |
| ExecutableActionResult | A value class representing a result of a ExecutableAction . |
| ExecutableBaseTest | Base class for executable style of tests. |
| ExecutableHostTest | Test runner for executable running on the host. |
| ExecutableTargetTest | Test runner for executable running on the target. |
| ExecutionFiles | Files dependencies generated during the execution of a test or invocation that need to be carried for testing. |
| ExecutionFiles.FilesKey | Enumeration of known standard key for the map. |
| ExecutionProperties | Properties generated during the execution of a test or invocation. |
| ExistingBuildProvider | A IBuildProvider that returns an already constructed IBuildInfo . |
| ExtendedFile | A extension of standard file to carry a build related metadata. |
| ExtensionAtomsRegistry | ExtensionAtomsRegistry for local use of statsd. |
Ф
| FailureDescription | The class describing a failure information in Trade Federation. |
| FakeTest | A fake test whose purpose is to make it easy to generate repeatable test results. |
| FakeTestsZipFolder | A testing fixture that creates a fake unzipped tests folder based on a list of content. |
| FakeTestsZipFolder.ItemType | |
| FastbootCommandPreparer | Target preparer that triggers fastboot and sends fastboot commands. |
| FastbootDeviceFlasher | A class that relies on fastboot to flash an image on physical Android hardware. |
| FastbootHelper | A helper class for fastboot operations. |
| FastbootPack | Follow the specification of bootloader to unpack it. |
| FastbootUpdateBootstrapPreparer | An ITargetPreparer that stages specified files (bootloader, radio, device image zip) into IDeviceBuildInfo to get devices flashed with FastbootDeviceFlasher , then injects post-boot device attributes into the build info for result reporting purposes. |
| FatalHostError | An exception that indicates a fatal unrecoverable error has occurred on the host machine running TradeFederation, and that the TradeFederation instance should be shut down. |
| FeatureFlagTargetPreparer | Updates the DeviceConfig (feature flags tuned by a remote service). |
| FileDownloadCache | A helper class that maintains a local filesystem LRU cache of downloaded files. |
| FileDownloadCacheFactory | A factory for creating FileDownloadCache |
| FileDownloadCacheWrapper | A wrapper class that provides FileDownloadCache facilities while implementing the IFileDownloader interface. |
| FileIdleMonitor | Monitors files and executes a callback if they have been idle (ie |
| FileInputStreamSource | A InputStreamSource that takes an input file. |
| FileListingService | Provides IDevice side file listing service. |
| FileListingService.FileEntry | Represents an entry in a directory. |
| FileListingService.IListingReceiver | Classes which implement this interface provide a method that deals with asynchronous result from ls command on the device. |
| FileLogger | A ILeveledLogOutput that directs log messages to a file and to stdout. |
| FilePermissionUtil | Utility class providing file permission handling. |
| FileProtoResultReporter | Proto reporter that dumps the TestRecord into a file. |
| FilePullerDeviceMetricCollector | A BaseDeviceMetricCollector that listen for metrics key coming from the device and pull them as a file from the device. |
| FilePullerLogCollector | Logger of the file reported by the device-side. |
| FileSystemLogSaver | Save logs to a file system. |
| FilesystemRootChecker | |
| FileUtil | A helper class for file related operations |
| FileUtil.LowDiskSpaceException | Thrown if usable disk space is below minimum threshold. |
| FilteredResultForwarder | Variant of ResultForwarder that only allows an allowlist of TestDescription to be reported. |
| FixedByteArrayOutputStream | An in-memory ERROR(/OutputStream) that only keeps a maximum amount of data. |
| FlashingMethod | An enum to describe the method used to flash device under test |
| FlashingResourcesParser | A class that parses out required versions of auxiliary image files needed to flash a device. |
| FlashingResourcesParser.AndroidInfo | A typedef for Map<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 | |
| FuseMountManager | |
| FuseUtil | A helper class for FUSE operations. |
| FutilityCommandPreparer | Preparer to execute futility commands. |
Г
| GceAvdInfo | Structure to hold relevant data for a given GCE AVD instance. |
| GceAvdInfo.GceStatus | |
| GceAvdInfo.LogFileEntry | |
| GceLHPTunnelMonitor | Thread Monitor for the Gce lab host proxy tunnel used for oxygenation. |
| GceManager | Helper that manages the GCE calls to start/stop and collect logs from GCE. |
| GceRemoteCmdFormatter | Utility class to format commands to reach a remote gce device. |
| GceRemoteCmdFormatter.ScpMode | SCP can be used to push or pull file depending of the structure of the args. |
| GceSshTunnelMonitor | Thread Monitor for the Gce ssh tunnel. |
| GcovCodeCoverageCollector | A BaseDeviceMetricCollector that will pull gcov coverage measurements off of the device and log them as test artifacts. |
| GcovKernelCodeCoverageCollector | A BaseDeviceMetricCollector that will pull gcov kernel coverage measurements out of debugfs and off of the device and then finally logs them as test artifacts. |
| GCSBucketUtil | File manager to download and upload files from Google Cloud Storage (GCS). |
| GCSBucketUtil.GCSFileMetadata | Simple wrapper for file info in GCS. |
| GCSCommon | Obsoleted! Use com.android.tradefed.util.gcs.GCSCommon instead. |
| GCSCommon | Base class for Gcs operation like download and upload. |
| GCSConfigurationFactory | A ConfigurationFactory loads configs from Google Cloud Storage. |
| GCSConfigurationFactory.GCSConfigLoader | Extension of ConfigurationFactory.ConfigLoader that loads config from GCS, tracks the included configurations from one root config, and throws an exception on circular includes. |
| GCSConfigurationServer | Config server loads configs from Google Cloud Storage (GCS). |
| GCSDownloaderHelper | Downloader for GCS bucket that takes care of caching and resolving the global config. |
| GCSFileDownloader | File downloader to download file from google cloud storage (GCS). |
| GCSFileDownloaderBase | File downloader to download file from google cloud storage (GCS). |
| GCSFileUploader | File uploader to upload file data to google cloud storage (GCS). |
| GCSHelper | |
| GCSHostResourceManager | Download host resource from GCS (Google cloud storage). |
| GcsRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading from a GCS bucket. |
| GenericLogcatEventParser <LogcatEventType> | Parse logcat input for events. |
| GenericLogcatEventParser.LogcatEvent | Struct to hold a logcat event with the event type and triggering logcat message |
| GetPreviousPassedHelper | Helper to get the previous passed test filters. |
| GkiDeviceFlashPreparer | A target preparer that flash the device with android common kernel generic image. |
| ГлобальнаяКонфигурация | Реализация IGlobalConfiguration , которая сохраняет загруженные объекты конфигурации на карте. |
| GlobalFilterGetter | Service implementation that returns the filters of a given invocation. |
| GlobalTestFilter | Filter options applied to the invocation. |
| GoogleAccountPreparer | A ITargetPreparer that supports configuring google accounts. |
| GoogleAccountUtil | A Utility that supports configuring google accounts on a device |
| GoogleApiClientUtil | Utils for create Google API client. |
| GoogleApiClientUtilBase | |
| GoogleBenchmarkResultParser | Parses the results of Google Benchmark that run from shell, and return a map with all the results. |
| GoogleBenchmarkTest | A Test that runs a Google benchmark test package on given device. |
| GranularRetriableTestWrapper | A wrapper class works on the IRemoteTest to granulate the IRemoteTest in testcase level. |
| GranularRetriableTestWrapper.StartEndCollector | Class helper to catch missing run start and end. |
| GsiDeviceFlashPreparer | A target preparer that flashes the device with android generic system image. |
| GTest | A Test that runs a native test package on given device. |
| GTestBase | The base class of gTest |
| GTestListTestParser | A result parser for gtest dry run mode with "--gtest_list_tests" parameter. |
| GTestResultParser | Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestInvocationListener of the results. |
| GTestXmlResultParser | Parses the 'xml output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results. |
ЧАС
| HandleAppName | Handle the "app name" chunk (APNM). |
| HandleExit | Submit an exit request. |
| HandleHeap | Handle heap status updates. |
| HandleHello | Handle the "hello" chunk (HELO) and feature discovery. |
| HandleNativeHeap | Handle thread status updates. |
| HandleProfiling | Handle heap status updates. |
| HandleTest | Handle thread status updates. |
| HandleThread | Handle thread status updates. |
| HandleViewDebug | |
| HandleWait | Handle the "wait" chunk (WAIT). |
| HarnessException | Base exception class for exception thrown within the harness. |
| HarnessIOException | Harness exception that helps carrying file issues. |
| HarnessRuntimeException | |
| HeapHostMonitor | AbstractHostMonitor implementation that monitors the heap memory on the host and log it periodically to the history log. |
| HeapSegment | Describes the types and locations of objects in a segment of a heap. |
| HeapSegment.HeapSegmentElement | Describes an object/region encoded in the HPSG data. |
| HelloWorldMultiTargetPreparer | An example implementation of a IMultiTargetPreparer . |
| HistoryLogger | TF History Logger, special log that contains only some specific events. |
| HostGTest | A Test that runs a native test package. |
| HostMetric | This class represents a host metric sample to be reported. |
| HostOptions | Host options holder class. |
| HostStatsdMetricCollector | A IMetricCollector that collects statsd metrics from host side using statsd utility commands. |
| HostTest | A test runner for JUnit host based tests. |
| HostUtils | Implements some useful utility methods for running host tests. |
| HprofAllocSiteParser | Helper class to parse info from an Allocation Sites section of hprof reports. |
| HttpHelper | Contains helper methods for making http requests |
| HttpHelper.RequestRunnable | Runnable for making requests with IRunUtil.runEscalatingTimedRetry(long, long, long, long, IRunnableResult) . |
| HttpMultipartPost | Helper class for making multipart HTTP post requests. |
| HttpRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via http |
| HttpsRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via https |
я
| IAbi | Interface representing the ABI under test. |
| IAbiReceiver | A test that needs the ABI under test. |
| IAndroidDebugBridge | Interface definition for ERROR(/com.android.ddmlib.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. |
| IBlockFilter | Controls whether a block of data that must be delivered to the device should be served. |
| IBlockTransformer | Optional transformation of the data block before sending. |
| 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. |
| ICacheClient | An interface for a cache client. |
| 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. |
| IDevice | A Device. |
| IDevice.DeviceState | The state of a device. |
| IDevice.DeviceUnixSocketNamespace | Namespace of a Unix Domain Socket created on the device. |
| IDevice.Feature | Device level software features. |
| IDevice.HardwareFeature | Device level hardware features. |
| 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. |
| IDeviceConnection | Represents a connection to a device that can be read from and written to. |
| IDeviceConnection.Factory | |
| IDeviceFlasher | Flashes a device image on a device. |
| IDeviceFlasher.UserDataFlashOption | Enum of options for handling the userdata image |
| IDeviceManager | Interface for managing the set of available devices for testing. |
| IDeviceManager.IFastbootListener | A listener for fastboot state changes. |
| IDeviceMonitor | Interface for monitoring state of devices. |
| IDeviceMonitor.DeviceLister | A Runnable -like class that should return the known devices and their states. |
| IDeviceRecovery | Interface for recovering a device that has gone offline. |
| IDeviceSelection | Interface for device selection criteria. |
| IDeviceSelection.BaseDeviceType | |
| IDeviceStateMonitor | Provides facilities for monitoring the state of a IDevice . |
| IDeviceTest | Interface for object that needs a reference to a ITestDevice . |
| IDisableable | Interface that describes a Tradefed object that can be disabled. |
| IdSizesReply | |
| IDynamicShardingClient | Wrapper interface for the sharding client This exists so that we can swap in an HTTP one or testing one if needed. |
| IDynamicShardingConnectionInfo | Interface for classes that contain dynamic sharding connection info |
| IEmail | Interface for sending email. |
| IEmail.Message | Container for email message data. |
| IFileDownloader | Interface for downloading a remote file. |
| IFileEntry | Interface definition that provides simpler, mockable contract to FileEntry methods. |
| IFileResolverLoader | Loads implementations of IRemoteFileResolver . |
| IFileResolverLoader.ResolverLoadingException | Exception thrown if a resolver cannot be loaded or initialized. |
| IFlashingResourcesParser | Interface for providing required versions of auxiliary image files needed to flash a device. |
| IFlashingResourcesRetriever | Interface for retrieving auxiliary image files needed to flash a device. |
| IFolderBuildInfo | A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory. |
| IFormatterGenerator | Interface describing a formatter for SuiteResultHolder . |
| IFuseDriverProfile | Defines the specific behavior of a particular FUSE driver, allowing the MountManager to be generic. |
| 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 | |
| IIncrementalSetup | An interface which helps decide whether to attempt incremental setup for TradeFed preparers. |
| IInstrumentationResultParser | Interface for parsing the results of an instrumentation test run from shell. |
| IInstrumentationResultParser.SessionResultCodes | Am instrument session result codes. |
| IInstrumentationResultParser.StatusCodes | Test result status codes. |
| IInstrumentationResultParser.StatusKeys | Relevant test status keys. |
| IInvocationContext | Holds information about the Invocation for the tests to access if needed. |
| IInvocationContext.TimingEvent | |
| IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
| IInvocationExecution | Interface describing the actions that will be done as part of an invocation. |
| IKeyStoreClient | Interface to access a key store for password or sensitive data. |
| IKeyStoreFactory | Factory for creating IKeyStoreClient . |
| ILabPreparer | Marker interface for lab preparers See |
| ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
| ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
| ILogger | Interface used to display warnings/errors. |
| ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
| ILogRegistry.EventType | Events that are useful to be logged |
| ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
| ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
| ImageContentAnalyzer | Analyzer for device image content analysis |
| IManagedTestDevice | A ITestDevice whose lifecycle is managed. |
| IManagedTestDevice.DeviceEventResponse | Container for a response to a IManagedTestDevice.handleAllocationEvent(DeviceEvent) call |
| IManagedTestDeviceFactory | Creator interface for IManagedTestDevice s |
| IMetricCollector | This interface will be added as a decorator when reporting tests results in order to collect matching metrics. |
| IMetricCollectorReceiver | Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run. |
| IMoblyYamlResultHandler | Interface of mobly yaml result handler. |
| IMoblyYamlResultHandler.ITestResult | Interface of mobly yaml result |
| IModuleController | Interface for controlling if a module should be executed or not. |
| IModuleController.RunStrategy | Enum describing how the module should be executed. |
| IModuleParameterHandler | The interface for parameters of suites modules. |
| IMultiDeviceRecovery | Interface for recovering multiple offline devices. |
| IMultiDeviceTest | This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
| IMultiTargetPreparer | Prepares the test environment for several devices together. |
| INativeDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
| INativeDeviceTest | Interface for object that needs a reference to a INativeDevice . |
| IncrementalImageUtil | A utility to leverage the incremental image and device update. |
| IncrementalInstallSession | Used to create an incremental package installation session in which the blocks of the installed APKs are streamed to the device when they need to be read. |
| IncrementalInstallSession.Builder | |
| 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. |
| InstallCreateReceiver | Output receiver for "pm install-create" command line. |
| InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
| InstallException | Thrown if installation or uninstallation of application fails. |
| InstallKernelModulePreparer | A target preparer that install kernel modules. |
| InstallMetrics | |
| InstallReceiver | Output receiver for "pm install package.apk" command line. |
| InstantAppHandler | Handler for ModuleParameters.INSTANT_APP . |
| InstrumentationPreparer | A ITargetPreparer that runs instrumentation |
| InstrumentationProtoResultParser | Parses the 'protoStd output mode' results of an instrumentation test run from shell and informs a ITestRunListener of the results. |
| InstrumentationResultParser | Parses the 'raw output mode' results of an instrumentation test run from shell and informs a ITestRunListener of the results. |
| InstrumentationTest | A Test that runs an instrumentation test package on given device. |
| InvocationCacheHelper | Utility to handle uploading and looking up invocation cache results. |
| InvocationCacheHelper.CacheInvocationResultDescriptor | Describes the cache results. |
| 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. |
| InvocationProtoResultReporter | Reporters to store invocation level caching information and its list of modules |
| 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. |
| IRecorderClient | Interface for communicating with ResultDB recorder backend. |
| IRemoteAndroidTestRunner | Interface for running a Android test command remotely and reporting result to a listener. |
| IRemoteAndroidTestRunner.CoverageOutput | |
| IRemoteAndroidTestRunner.TestSize | |
| 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. |
| IShellEnabledDevice | An abstract device that can receive shell commands. |
| IShellOutputReceiver | Classes which implement this interface provide methods that deal with out from a remote shell command on a device/emulator. |
| 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. |
| IStackTraceInfo | Classes which implement this interface provide a method that returns a stack trace. |
| 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. |
| ITemporaryDevice | Interface to represent a device that can be a temporary placeholder. |
| 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. |
| ITestRunListener | Receives event notifications during instrumentation test runs. |
| ITestsPool | Interface describing a pool of tests that we can access and run |
| ITestStorageClient | Interface for communicating with Android Test Storage backend. |
| ITestSuite | Abstract class used to run Test Suite. |
| ITestSuite.IsolatedModuleGrade | |
| 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. |
Дж.
| JarHostTest | Test runner for host-side JUnit tests. |
| JarHostTest.HostTestListener | Wrapper listener that forwards all events except testRunStarted() and testRunEnded() to the embedded listener. |
| JavaCodeCoverageCollector | A BaseDeviceMetricCollector that will pull Java coverage measurements off of the device and log them as test artifacts. |
| JavaCodeCoverageFlusher | A utility class that resets and forces a flush of Java code coverage measurements from processes running on the device. |
| JdwpAgent | |
| JdwpCommands | JDWP command constants as specified here |
| JdwpExtension | |
| JdwpHandshake | |
| JdwpInterceptor | |
| JdwpPacket | A JDWP packet, sitting at the start of a ByteBuffer somewhere. |
| JdwpPayload | |
| JdwpProtocol | |
| JSONFileKeyStoreClient | A sample implementation where a local JSON file acts a key store. |
| JSONFileKeyStoreFactory | Implementation of a JSON KeyStore Factory, which provides a JSONFileKeyStoreClient for accessing a JSON Key Store File. |
| JsonHttpTestResultReporter | A result reporter that encode test metrics results and branch, device info into JSON and POST into an HTTP service endpoint |
| JUnit4ResultForwarder | Result forwarder from JUnit4 Runner. |
| JUnit4TestFilter | Helper Class that provides the filtering for JUnit4 runner by extending the Filter . |
| JUnitRunUtil | A helper class for directing a IRemoteTest.run(TestInformation, ITestInvocationListener) call to a Test.run(TestResult) call. |
| JUnitToInvocationResultForwarder | A class that listens to TestListener events and forwards them to an ITestInvocationListener . |
| JUnitXmlParser | Parser that extracts test result data from JUnit results stored in ant's XMLJUnitResultFormatter and forwards it to a ITestInvocationListener. |
К
| KernelModuleUtils | |
| KernelTargetTest | Test runner for executable running on the target and parsing tesult of kernel test. |
| KernelTestModuleController | Base class for a module controller to not run tests when it doesn't match the architecture . |
| KeyguardControllerState | A container for the keyguard states. |
| KeyguardStatusChecker | Checks the keyguard status after module execution. |
| KeyStoreException | Thrown when a fatal key store error happens. |
| KillExistingEmulatorPreparer | A ITargetPreparer that shuts down a running emulator. |
| KnownFailurePreparer | Target preparer to skip retrying known failure. |
| KTapResultParser | Reads KTAP output as that produced by a KUnit test module and placed in a `results` file under debugfs. |
| KTapResultParser.ParseResolution | |
| KUnitModuleTest | Test runner for running KUnit test modules on device. |
Л
| LabResourceDeviceMonitor | The lab resource monitor which initializes/manages the gRPC server for LabResourceService. |
| LargeOutputReceiver | A class designed to help run long running commands collect output. |
| LastShardDetector | When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) . |
| LeakedThreadStatusChecker | Status checker to ensure a module does not leak a running Thread. |
| LegacySubprocessResultsReporter | A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass. |
| ListInstrumentationParser | A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query |
| ListInstrumentationParser.InstrumentationTarget | |
| LocalAndroidVirtualDevice | The class for local virtual devices running on TradeFed host. |
| LocalAppBuildProvider | A IBuildProvider that constructs a IBuildInfo based on a provided local path |
| LocalDeveloper | Detects and returns whether this is a local developer running Tradefed. |
| LocalDeviceBuildProvider | A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path. |
| LocalEmulatorLaunch | A TargetPreparer that launches an emulator locally from an android build environment. |
| LocalEmulatorSnapshot | A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment |
| LocalFileHeader | LocalFileHeader is a class containing the information of a file/folder inside a zip file. |
| LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
| LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
| LocalHostResourceManager | Manager host resource. |
| LocalPool | Implementation of a pool of local tests |
| LocalRunInstructionBuilder | Utility to compile the instruction to run test locally. |
| LockSettingsBaselineSetter | A setter to remove screen lock settings. |
| Бревно | |
| Бревно | Log class that mirrors the API in main Android sources. |
| Log.ILogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
| Log.LogLevel | Log Level enum. |
| Log.LogLevel | Log Level enum. |
| LogAssociation | A class to represent a link between a log file and a test. |
| LogcatCrashResultForwarder | Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test. |
| LogcatEventParser | |
| LogcatEventType | Event types for LogcatEventParser . |
| LogcatOnFailureCollector | Collector that will capture and log a logcat when a test case fails. |
| LogcatReceiver | Class that collects logcat in background. |
| LogcatTimingMetricCollector | A metric collector that collects timing information (eg user switch time) from logcat during one or multiple repeated tests by using given regex patterns to parse start and end signals of an event from logcat lines. |
| LogDataType | Represents the data type of log data. |
| LogFile | Class to hold the metadata for a saved log file. |
| LogFileSaver | A helper for ITestInvocationListener 's that will save log data to a file |
| LogReceiver | |
| LogRegistry | A ILogRegistry implementation that multiplexes and manages different loggers, using the appropriate one based on the ThreadGroup of the thread making the call. |
| LogSaverResultForwarder | A ResultForwarder for saving logs with the global file saver. |
| LogUtil | A logging utility class. |
| LogUtil.CLog | A shim class for Log that automatically uses the simple classname of the caller as the log tag |
| LUCIResultReporter | A result reporter that saves test results needed by ResultDB and LUCI into JSON format (go/result-sink) and logs the file location in the console. |
М
| MainlineModuleHandler | A simple handler class for Mainline Modules that creates a InstallApexModuleTargetPreparer and injects the dynamic link into it based on the given mainline modules to automatically retrieve those modules. |
| MainlineTestModuleController | Base class for a module controller to run tests based on the preloaded mainline modules on the device under test. |
| ManagedRemoteDevice | A device running inside a virtual machine that we manage remotely via a Tradefed instance inside the VM. |
| ManagedTestDeviceFactory | Factory to create the different kind of devices that can be monitored by Tf |
| MaxSdkModuleController | Base class for a module controller to not run tests on versions above a specified SDK version number. |
| MergedZipEntryCollection | Merge individual zip entries in a large zip file into blocks to minimize the download attempts. |
| MergeMultiBuildTargetPreparer | A IMultiTargetPreparer that allows to pass information from one build to another by naming them and the file key to copy to the other build. |
| MergeStrategy | Describes how the results should be aggregated when multiple attempts are present. |
| MerkleTree | A merkle tree representation as defined by the remote execution api. |
| MetricFilePostProcessor | Used for uploading the metrics log file collected during the test and run level. |
| MetricFileUtil | Utility to store the test run and test metrics at the end of invocation in a text file and upload it to Android Build API. |
| MetricFileUtil.TestRunMetrics | |
| MetricOption | Annotation for test methods annotated with @Test , or if the annotation is part of the annotation list of TestDescription that allows to specify some extra parameters useful for: Tuning the behavior of the collectors, filtering some methods. |
| MetricsXMLResultReporter | MetricsXMLResultReporter writes test metrics and run metrics to an XML file in a folder specified by metrics-folder parameter at the invocationEnded phase of the test. |
| MetricTestCase | Extension of TestCase that allows to log metrics when running as part of TradeFed. |
| MetricTestCase.LogHolder | Structure to hold a log file to be reported. |
| MetricUtil | Utility class for pulling metrics from pushed statsd configurations. |
| MetricUtility | Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file. |
| MetricUtils | Class to hold helper methods for dealing with Metric format conversion. |
| MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
| MinSdkModuleController | Base class for a module controller to not run tests on versions below a specified SDK version number. |
| MixImageZipPreparer | An IMultiTargetPreparer that mixes a system build's images in a device build. |
| MixKernelTargetPreparer | A ITargetPreparer that allows to mix a kernel image with the device image. |
| MixRadioTargetPreparer | A ITargetPreparer that allows to mix a radio image with the device image. |
| MoblyArtifactReporter | Mobly artifact reporter. |
| MoblyBinaryHostTest | Host test meant to run a mobly python binary file from the Android Build system (Soong) |
| MoblyYamlResultControllerInfoHandler | Mobly yaml result 'Controller Info' element handler. |
| MoblyYamlResultControllerInfoHandler.ControllerInfo | |
| MoblyYamlResultControllerInfoHandler.ControllerInfo.Builder | |
| MoblyYamlResultHandlerFactory | Mobly yaml result handler factory which generates appropriate handler based on result type. |
| MoblyYamlResultHandlerFactory.InvalidResultTypeException | |
| MoblyYamlResultHandlerFactory.Type | |
| MoblyYamlResultParser | Mobly yaml test results parser. |
| MoblyYamlResultRecordHandler | Mobly yaml result 'Record' element handler. |
| MoblyYamlResultRecordHandler.Record | |
| MoblyYamlResultRecordHandler.Record.Builder | |
| MoblyYamlResultRecordHandler.RecordResult | |
| MoblyYamlResultSummaryHandler | Mobly yaml result 'Summary' element handler. |
| MoblyYamlResultSummaryHandler.Summary | |
| MoblyYamlResultSummaryHandler.Summary.Builder | |
| MoblyYamlResultTestNameListHandler | Mobly yaml result 'Test Name List' element handler. |
| MoblyYamlResultTestNameListHandler.TestNameList | |
| MoblyYamlResultTestNameListHandler.TestNameList.Builder | |
| MoblyYamlResultUserDataHandler | Mobly yaml result 'User Data' element handler. |
| MoblyYamlResultUserDataHandler.UserData | |
| MoblyYamlResultUserDataHandler.UserData.Builder | |
| ModuleDefinition | Container for the test run configuration. |
| ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
| ModuleLogcatCollector | Version of logcat collector but for module. |
| ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
| ModuleOemTargetPreparer | |
| ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
| ModuleParametersHelper | Helper to get the IModuleParameterHandler associated with the parameter. |
| ModuleProtoResultReporter | A result reporter meant to report only the module level results. |
| ModulePusher | |
| ModulePusher.ModulePushError | Fatal error during Mainline module push. |
| ModuleResultsAndMetricsForwarder | An Extension of ResultAndLogForwarder that adds extra module related metrics to the test results. |
| ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
| ModuleTestTypeUtil | Contains common utility methods for checking module. |
| MonitorThread | Monitor open connections. |
| MultiFailureDescription | Collect multiple FailureDescription in one holder. |
| MultiLineReceiver | Base implementation of IShellOutputReceiver , that takes the raw data coming from the socket, and convert it into String objects. |
| MultiMap <K, V> | A ERROR(/Map) that supports multiple values per key. |
| MultiReceiver | Base implementation of IShellOutputReceiver , that takes multiple instances of IShellOutputReceiver and broadcast the received data to all of them. |
Н
| NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
| NativeAllocationInfo | Stores native allocation information. |
| NativeBenchmarkTest | A Test that runs a native benchmark test executable on given device. |
| NativeBenchmarkTestParser | A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation. |
| NativeBridgeModuleController | A module controller to check if a device support native bridge. |
| NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
| NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
| NativeDevice.AdbAction | A ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for running a OS 'adb ....' command. |
| NativeDevice.AdbShellAction | |
| NativeDevice.RebootDeviceAction | ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for rebooting a device. |
| NativeDevice.RebootMode | A mode of a reboot. |
| NativeDeviceStateMonitor | Helper class for monitoring the state of a IDevice with no framework support. |
| NativeLeakCollector | A ITargetPreparer that runs 'dumpsys meminfo --unreachable -a' to identify the unreachable native memory currently held by each process. |
| NativeLibraryMapInfo | Memory address to library mapping for native libraries. |
| NativeStackCallInfo | Represents a stack call. |
| NativeStressTest | A Test that runs a native stress test executable on given device. |
| NativeStressTestParser | A IShellOutputReceiver that parses the stress test data output, collecting metrics on number of iterations complete and average time per iteration. |
| NegativeHandler | Handler that specify that nothing should be done and the parameter should not create any extra module. |
| NestedDeviceStateMonitor | Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment. |
| NestedRemoteDevice | Representation of the device running inside a remote Cuttlefish VM. |
| NetworkNotAvailableException | Thrown when a device is not able to connect to network for testing. |
| NoApkTestSkipper | Special preparer that allows to skip an invocation completely (preparation and tests) if there are no apks to tests. |
| NoDeviceException | Thrown when there's no device to execute a given command. |
| NoisyDryRunTest | Run noisy dry run on a command file. |
| NoOpConfigOptionValueTransformer | An no-op IConfigOptionValueTransformer |
| NotMultiAbiHandler | Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module. |
| NullDevice | A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection.nullDeviceRequested() is true |
| NullOutputReceiver | Implementation of IShellOutputReceiver that does nothing. |
О
| ObjectUpdater | Helper class to manage updates to AnTS objects. |
| ObjectUpdater.InvocationUpdate | Perform an update of the provided invocation. |
| ObjectUpdater.TestArtifactUpdate | Perform an update on the returned BuildArtifact. |
| ObjectUpdater.WorkUnitUpdate | Interface to encapsulte an update. |
| OpenObjectLoader | Loader for the default objects available in AOSP. |
| Вариант | Annotates a field as representing a IConfiguration option. |
| Option.Importance | |
| OptionClass | Annotates a class as representing a IConfiguration object. |
| OptionCopier | A helper class that can copy Option field values with same names from one object to another. |
| OptionDef | Holds the details of an Option . |
| OptionFetcher | Helper to get the test options from the parent process. |
| OptionNotAllowedException | Specific ConfigurationException when an option is not allowed to be passed in the command line. |
| OptionSetter | Populates Option fields. |
| OptionSetter.Handler <T> | |
| OptionSetter.MapHandler | A Handler to handle values for Map fields. |
| OptionSetter.OptionFieldsForName | Container for the list of option fields with given name. |
| OptionUpdateRule | Controls the behavior when an option is specified multiple times. |
| OtaDeviceBuildInfo | A IDeviceBuildInfo used for over-the-air update testing. |
| OtatoolsBuildInfo | An IBuildInfo that contains otatools artifacts. |
| OtaUpdateDeviceFlasher | A device flasher that triggers system/update_engine/scripts/update_device.py script with a full or incremental OTA package to update the device image. |
| OxygenUtil | Utility to interact with Oxygen service. |
П
| PackageInfo | Container for an application's package info parsed from device. |
| PackageInstalledModuleController | Module controller to not run tests when the device has not got the given packages installed. |
| Pair <A, B> | Define our own Pair class which contains two objects. |
| Pair <S, T> | A Pair class is simply a 2-tuple for use in this package. |
| PairingMultiTargetPreparer | A multi-target preparer helps make Bluetooth pairing (and connection) between two devices. |
| ParallelDeviceExecutor <V> | Wrapper of ERROR(/ExecutorService) to execute a function in parallel. |
| ParentSandboxInvocationExecution | Version of InvocationExecution for the parent invocation special actions when running a sandbox. |
| ParentShardReplicate | Replicate a setup for one device to all other devices that will be part of sharding. |
| PartialZipDownloadCache | Utility to cache partial download files based on their content. |
| PassingTestFileReporter | A ITestInvocationListener that saves the list of passing test cases to a test file |
| PendingBlock | A block of data belonging to the APK or signature file that is needed by the device. |
| PendingBlock.Compression | |
| PendingBlock.Type | |
| PerfettoFilePullerCollector | A collector which pulls perfetto trace files from the device, optionally compresses them, and adds them to the test logs. |
| PerfettoGenericPostProcessor | A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered. |
| PerfettoGenericPostProcessor.AlternativeParseFormat | |
| PerfettoGenericPostProcessor.METRIC_FILE_FORMAT | |
| PerfettoPreparer | Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to. |
| PerfettoPullerMetricCollector | This class is deprecated. Use PerfettoFilePullerCollector and ERROR(/PerfettoTracePostProcessor) instead. |
| PerfettoPullerMetricCollector.METRIC_FILE_FORMAT | |
| PerfettoTracePostProcessor | A post processor which retrieves perfetto trace files from the test logs and runs the trace processor on them to produce a perfetto metric proto. |
| PerfettoTracePostProcessor.METRIC_FILE_FORMAT | |
| PerfettoTraceRecorder | A utility class for recording perfetto trace on a ITestDevice . |
| PrettyPrintDelimiter | Helper utility that helps to print delimited message that stands out. |
| PrettyTestEventLogger | Logger matching the events and logging them in order to make it easier to debug. |
| ProcessInfo | Used to store process related(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) information. |
| ProcessUtil | |
| ProfileableClient | This represents a single profilealbe client, usually an Android VM process. |
| ProfileableClientData | Contains the data of a ProfileableClientImpl . |
| ProfileableClientImpl | This represents a single profileable client, usually a Dalvik VM process. |
| ProfileParameterHandler | Base parameter handler for any profile user. |
| ProfileTargetPreparer | Base class for setting up target preparer for any profile user android.os.usertype.profile.XXX . |
| PromptResponse | Representation of the prompt request and its response |
| PromptUtility | A utility to craft prompts from context. |
| PromptUtility.PromptTemplate | Reference to prompt template stored in resources |
| PropertyChanger | A utility class for changing (or adding) items in an Android property file |
| PropertyFetcher | Fetches and caches 'getprop' values from device. |
| ProtoResultParser | Parser for the Tradefed results proto format. |
| ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
| ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
| ProtoUtil | Utility methods for dealing with protobuf messages type-agnostically. |
| ProxyConfiguration | Объект, позволяющий указать на удаленную конфигурацию для выполнения. |
| PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
| PtsBotTest | Run PTS-bot tests. |
| PtsBotTest.TestFlagConfiguration | |
| PtsBotTest.TestFlagConfiguration.FlagConfig | |
| PtsBotTest.TestSyspropConfiguration | |
| PtsBotTest.TestSyspropConfiguration.SyspropConfig | |
| PushFileInvoker | This class is deprecated. Use PushFilePreparer instead |
| PushFilePreparer | A ITargetPreparer that attempts to push any number of files from any host path to any device path. |
| PythonBinaryHostTest | Host test meant to run a python binary file from the Android Build system (Soong) The test runner supports include-filter and exclude-filter. |
| PythonBinaryHostTest.PythonForwarder | Result forwarder to replace the run name by the binary name. |
| PythonUnitTestResultParser | Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s. |
| PythonUnitTestRunner | This class is deprecated. Use PythonBinaryHostTest instead. |
| PythonVirtualenvHelper | A helper class for activating Python 3 virtual environment. |
| PythonVirtualenvPreparer | Sets up a Python virtualenv on the host and installs packages. |
В
| QuotationAwareTokenizer |
Р
| RawImage | Data representing an image taken from a device frame buffer. |
| RebootReasonCollector | Collector that collects device reboot during the test run and report them by reason and counts. |
| RebootTargetPreparer | Target preparer that reboots the device. |
| RecorderClient | ResultDB recorder client that uploads test results to ResultDB. |
| RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
| RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
| RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
| RemoteAndroidTestRunner | Runs a Android test command remotely and reports results. |
| RemoteAndroidTestRunner | Runs a Android test command remotely and reports results. |
| RemoteAndroidTestRunner.StatusReporterMode | Represents a status reporter mode in am instrument command options. |
| RemoteAndroidTestRunner.StatusReporterMode | Represents a status reporter mode in am instrument command options. |
| RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
| RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true |
| RemoteBuildInfo | Container for launch control build info response. |
| RemoteBuildInfo.BuildAttributeKey | |
| RemoteBuildInfo.BuildType | |
| RemoteCacheClient | A RemoteActionCache implementation that uses gRPC calls to a remote API server. |
| RemoteDynamicPool | Implementation of a pool of remote work queued tests |
| RemoteDynamicPool.RequestCallable | |
| RemoteFileResolver | A simple class that allows one to load files from a variety of places using URIs and the service provider functionality. |
| RemoteFileUtil | Utility class to handle file from a remote instance |
| RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
| RemoteInvocationExecution.FileOptionValueTransformer | |
| RemoteSplitApkInstaller | |
| RemoteSshUtil | Utility to execute ssh commands on remote instances. |
| RemoteTestTimeOutEnforcer | Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout. |
| RemoteZip | Utilities to unzip individual files inside a remote zip file. |
| RemoveSystemAppPreparer | A ITargetPreparer for removing an apk from the system partition before a test run. |
| ReportPassedTests | Report in a file possible filters to exclude passed test. |
| RequestUtil | Utilities to allow generic retry of network requests with error handling. |
| ResolvePartialDownload | Разрешить запрос на частичную загрузку. |
| ResourceMetricUtil | Utility functions for composing metrics. |
| ResourceUtil | Utility for reading configuration resources. |
| RestApiHelper | A helper class for performing REST API calls. |
| RestartSystemServerTargetPreparer | Target preparer that restarts the system server without rebooting the device. |
| ResultAggregator | Special forwarder that aggregates the results when needed, based on the retry strategy that was taken. |
| ResultAndLogForwarder | Forwarder for results and logs events. |
| ResultDBReporter | Result reporter that uploads test results to ResultDB. |
| ResultDBUtil | Utility class for ResultDB reporter. |
| ResultForwarder | A ITestInvocationListener that forwards invocation results to a list of other listeners. |
| ResultReporter | |
| ResultReporter.ListBuilder <T> | |
| ResultsPlayer | Special runner that replays the results given to it. |
| RetentionFileSaver | Helper class for creating a .retention file in a directory. |
| RetryConfigurationFactory | Factory that handles retrying a command. |
| RetryLogSaverResultForwarder | Forwarder that also handles passing the current attempt we are at. |
| RetryPreparationDecision | A Class to describe the decisions about whether or not to retry preparation and to fail the module run. |
| RetryRescheduler | A special runner that allows to reschedule a previous run tests that failed or where not executed. |
| RetryRescheduler.RetryType | The types of the tests that can be retried. |
| RetryResultForwarder | An Extension of ResultForwarder that always push to a given attempt number. |
| RetryResultHelper | Helper class to determine which module or test should run or not. |
| RetryStatistics | Structure holding the statistics for a retry session of one IRemoteTest . |
| RetryStrategy | The Retry Strategy to be used when re-running some tests. |
| RootcanalForwarderPreparer | |
| RootTargetPreparer | Target preparer that performs "adb root" or "adb unroot" based on option "force-root". |
| RunAftersWithInfo | |
| RunBeforesWithInfo | |
| RunCommandTargetPreparer | |
| RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
| RunHostCommandTargetPreparer | Target preparer to run arbitrary host commands before and after running the test. |
| RunHostScriptTargetPreparer | Target preparer which executes a script before running a test. |
| RunInterruptedException | Thrown when a run operation is interrupted by an external request. |
| RunNotifierWrapper | Wrapper of RunNotifier so we can carry the DeviceNotAvailableException . |
| RunOnCloneProfileParameterHandler | |
| RunOnCloneProfileTargetPreparer | |
| RunOnPrivateProfileParameterHandler | |
| RunOnPrivateProfileTargetPreparer | |
| RunOnSdkSandboxHandler | Handler for ModuleParameters.RUN_ON_SDK_SANDBOX . |
| RunOnSdkSandboxTargetPreparer | An ITargetPreparer to marks that tests should run in the sdk sandbox. |
| RunOnSecondaryUserParameterHandler | |
| RunOnSecondaryUserTargetPreparer | An ITargetPreparer to ensure that the test runs as a secondary user. |
| RunOnSystemUserTargetPreparer | An ITargetPreparer that marks that tests should be run on the user (rather than the current user). |
| RunOnWorkProfileParameterHandler | |
| RunOnWorkProfileTargetPreparer | An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user. |
| RuntimeRestartCollector | Collector that collects timestamps of runtime restarts (system server crashes) during the test run, if any. |
| RunUtil | A collection of helper methods for executing operations. |
| RustBenchmarkResultParser | Interprets the output of tests run with Criterion benchmarking framework and translates it into calls on a series of ITestInvocationListener s. |
| RustBinaryHostTest | Host test meant to run a rust binary file from the Android Build system (Soong) |
| RustBinaryTest | A Test that runs a rust binary on given device. |
| RustTestBase | Base class of RustBinaryHostTest and RustBinaryTest |
| RustTestBase.EnvPair | |
| RustTestBase.Invocation | |
| RustTestResultParser | Interprets the output of tests run with Rust's unittest framework and translates it into calls on a series of ITestInvocationListener s. |
С
| 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 . |
| SchedulerState | Enum representing a list of states Invocations and WorkUnits can be in. |
| ScreenRecorderOptions | |
| ScreenRecorderOptions.Builder | |
| ScreenshotOnFailureCollector | Collector that will capture and log a screenshot when a test case fails. |
| Sdk28ModuleController | A module controller to check if a device is on SDK 28 (Android 9) or above. |
| Sdk29ModuleController | Only run tests if the device under test is SDK version 29 or above. |
| Sdk30ModuleController | Only run tests if the device under test is SDK version 30 or above. |
| Sdk31ModuleController | Only run tests if the device under test is SDK version 31 or above. |
| Sdk32ModuleController | Only run tests if the device under test is SDK version 32 or above. |
| Sdk33ModuleController | Only run tests if the device under test is SDK version 33 or above. |
| Sdk34ModuleController | Only run tests if the device under test is SDK version 34 or above. |
| Sdk35ModuleController | Only run tests if the device under test is SDK version 35 or above. |
| Sdk36ModuleController | Only run tests if the device under test is SDK version 36 or above. |
| SearchArtifactUtil | A utility class that can be used to search for test artifacts. |
| 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. |
| ShellCommandUnresponsiveException | Exception thrown when a shell command executed on a device takes too long to send its output. |
| ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
| ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
| ShippingApiLevelModuleController | Run tests if the device meets the following conditions:
|
| ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
| SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
| SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
| SimplePerfResult | Object to hold all simpleperf test results |
| SimplePerfStatResultParser | A utility class to parse simpleperf result. |
| SimplePerfUtil | Utility class to dispatch simple command and collect results |
| SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
| SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
| SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
| SkipContext | Representation of the context surrounding decision about skipping or caching of results. |
| SkipFeature | A feature allowing to access some of the SkipManager information. |
| SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
| SkipManager | Based on a variety of criteria the skip manager helps to decide what should be skipped at different levels: invocation, modules and tests. |
| SkipReason | Provide a reason and its metadata for skipping a test. |
| SkipReason.DemotionTrigger | |
| Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
| Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
| Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
| Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
| Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
| Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
| Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
| Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
| SnapshotInputStreamSource | A File-backed InputStreamSource. |
| SnapuserdWaitPhase | Enum representation of when to join/block for the snapuserd update to finish. |
| SparseImageUtil | Utility to unsparse sparse images. |
| SparseImageUtil.SparseInputStream | SparseInputStream read from upstream and detects the data format. |
| SparseIntArray | SparseIntArrays map integers to integers. |
| SplitApkInstaller | |
| SplitApkInstallerBase | |
| SpongeUtils | Class to hold helper methods for dealing with Sponge. |
| StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
| StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
| StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
| StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
| StatusCheckerResult.CheckStatus | |
| StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
| StopServicesSetup | A ITargetPreparer that stops services on the device. |
| StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
| StreamProtoResultReporter | An implementation of ProtoResultReporter |
| StreamUtil | Utility class for managing input streams. |
| StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
| StringEscapeUtils | Utility class for escaping strings for specific formats. |
| StringUtil | Utility class for escaping strings for common string manipulation. |
| StubBuildProvider | No-op empty implementation of a IBuildProvider . |
| StubDevice | Stub placeholder implementation of a IDevice . |
| StubKeyStoreClient | Default stub implementation for KeyStore Client. |
| StubKeyStoreFactory | Default stub implementation for KeyStore Factory |
| StubLocalAndroidVirtualDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true |
| StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
| StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
| StubTest | No-op empty test implementation. |
| StubTestRunListener | Stub implementation of ITestRunListener |
| SubprocessCommandException | A subprocess command failed to run. |
| SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
| SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
| SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
| SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
| SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
| SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
| SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
| SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
| SubprocessEventHelper.SkippedTestEventInfo | |
| SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
| SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
| SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
| SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
| SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
| SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
| SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
| SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
| SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
| SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
| SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
| SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
| SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
| SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
| SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
| SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
| SuiteResultCacheUtil | Utility to upload and download cache results for a test module. |
| SuiteResultCacheUtil.CacheResultDescriptor | Describes the cache results. |
| 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. |
| SyncException | Exception thrown when a transfer using ERROR(/SyncService) doesn't complete. |
| SyncException.SyncError | |
| SyncService | Sync service class to push/pull to/from devices/emulators, through the debug bridge. |
| SyncService.FileStat | |
| SyncService.ISyncProgressMonitor | Classes which implement this interface provide methods that deal with displaying transfer progress. |
| 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 |
Т
| TableBuilder | Helper class to display a matrix of String elements in a table. |
| TableFormatter | Helper class to display a matrix of String elements so each element column is lined up |
| TargetFileUtils | |
| TargetFileUtils.FilePermission | |
| TargetSetupError | A fatal error occurred while preparing the target for testing. |
| TarUtil | Utility to manipulate a tar file. |
| TearDownPassThroughPreparer | Allows for running tearDown on preparers that are included in a config as an object. |
| TelephonyHelper | A utility to use and get information related to the telephony. |
| TelephonyHelper.SimCardInformation | An information holder for the sim card related information. |
| TelephonyTokenProvider | Token provider for telephony related tokens. |
| TemperatureThrottlingWaiter | An ITargetPreparer that waits until device's temperature gets down to target |
| TemplateResolutionError | Class extending ConfigurationException for template related error during configuration parsing. |
| TerribleFailureEmailHandler | A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. |
| TestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto device. |
| TestContentAnalyzer | The analyzer takes context for the analysis and determine what is interesting. |
| TestContext | A class to model a TestContext message of TFC API. |
| TestDependencyResolver | Helper to resolve dependencies if needed. |
| TestDescription | Class representing information about a test case. |
| TestDescriptionsFile | A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file. |
| TestDevice | Implementation of a ITestDevice for a full stack android device |
| TestDevice.MicrodroidBuilder | A builder used to create a Microdroid TestDevice. |
| TestDeviceOptions | Container for ITestDevice Option s |
| TestDeviceOptions.InstanceType | |
| TestDeviceState | A more fully featured representation of device state than DeviceState . |
| TestEnvironment | A class to model a TestEnvironment message returned by TFC API. |
| TestErrorIdentifier | Error identifier from tests and tests runners. |
| TestFailureModuleController | Controller for module that simply want to tune how the tests failures log collected are behaving. |
| TestFilePushSetup | A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device. |
| TestFilterHelper | Helper class for filtering tests |
| TestGroupStatus | A class to store status of a test group. |
| TestIdentifier | Identifies a parsed instrumentation test. |
| TestInfo | Stores the test information set in a TEST_MAPPING file. |
| TestInformation | Holder object that contains all the information and dependencies a test runner or test might need to execute properly. |
| TestInformation.Builder | Builder to create a TestInformation instance. |
| TestInvocation | Default implementation of ITestInvocation . |
| TestInvocation.RunMode | The different mode an invocation can run into. |
| TestInvocation.Stage | |
| TestInvocationManagementServer | GRPC server helping to management test invocation and their lifecycle. |
| TestInvocationManagementServer.InvocationInformation | |
| TestMapping | A class for loading a TEST_MAPPING file. |
| TestMapping.NoTestRuntimeException | |
| TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
| TestOption | Stores the test option details set in a TEST_MAPPING file. |
| TestOutputUploader | Uploads test output files to local file system, GCS, or an HTTP(S) endpoint. |
| TestRecordInterpreter | Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed. |
| TestRecordProtoUtil | Utility to read the TestRecord proto from a file. |
| TestResource | A class to model a TestResource message returned by TFC API. |
| TestResourceDownloader | A class to download test resource files from file system/GCS/HTTP. |
| TestResult | Container for a result of a single test. |
| TestResult | Container for a result of a single test. |
| TestResult.TestStatus | |
| TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
| TestRunnerUtil | A utility class to help various test runners. |
| TestRunResult | Holds results from a single test run. |
| TestRunResult | Holds results from a single test run. |
| TestRunResultListener | Listener that allows to read the final test run status. |
| TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
| TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
| TestStatus | Representation in Tradefed of possible statuses for test methods. |
| TestStatus | Enum representing possible outcomes of a test. |
| TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
| TestSummary | A class to represent a test summary. |
| TestSummary.Type | |
| TestSummary.TypedString | |
| TestSystemAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device. |
| TestTimeoutEnforcer | Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout. |
| TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
| TfInternalOptionsFetcher | A utility class that allows classes to load a variables value statically from a res file. |
| TfMetricProtoUtil | Utility class to help with the Map |
| TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
| TfSuiteRunner | Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder. |
| TfTestLauncher | A IRemoteTest for running unit or functional tests against a separate TF installation. |
| ThreadInfo | Holds a thread information. |
| TimeoutException | Exception thrown when a connection to Adb failed with a timeout. |
| TimeoutRemainder | Utility class to keep track of how much time is left given an initial timeout. |
| TimeoutRemainder.DefaultSystemNanoTime | |
| TimeoutRemainder.SystemNanoTimeProvider | |
| TimeStatusChecker | Status checker to ensure that the device and host time are kept in sync. |
| TimeUtil | Contains time related utility methods. |
| TimeVal | This is a sentinel type which wraps a Long . |
| TimeWaster | A simple target preparer to waste time and potentially restart the device. |
| TokenProperty | Supported token with dynamic sharding. |
| TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
| TraceCmdCollector | A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation. |
| TracePropagatingExecutorService | An executor service that forwards tasks to an underlying implementation while propagating the tracing context. |
| TracingLogger | Class that helps to manage tracing for each test invocation. |
| TradefedConfigObject | A class to model a TradefedConfigObject message of TFC API. |
| TradefedConfigObject.Type | A list of configuration object types which can be injected to a cluster command config. |
| TradefedDelegator | Objects that helps delegating the invocation to another Tradefed binary. |
| TradefedFeatureClient | A grpc client to request feature execution from the server. |
| TradefedFeatureServer | A server that responds to requests for triggering features. |
| TradefedSandbox | Sandbox container that can run a Trade Federation invocation. |
| TradefedSandboxFactory | Default implementation for SandboxFactory |
| TradefedSandboxRunner | Runner associated with a TradefedSandbox that will allow executing the sandbox. |
| TradefedSandboxRunner.StubScheduledInvocationListener | A stub IScheduledInvocationListener that does nothing. |
У
| UiAutomatorRunner | Runs UI Automator test on device and reports results. |
| UiAutomatorTest | |
| UiAutomatorTest.LoggingOption | |
| UiAutomatorTest.TestFailureAction | |
| UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
| UniqueMultiMap <K, V> | A MultiMap that ensures unique values for each key. |
| UploadManifest | A manifest of the BLOBs and files to upload. |
| UploadManifest.Builder | |
| UsbResetMultiDeviceRecovery | A IMultiDeviceRecovery which resets USB buses for offline devices. |
| UsbResetRunConfigRecovery | Allow to trigger a command to reset the USB of a device |
| UsbResetTest | An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards. |
| UserChecker | Checks if users have changed during the test. |
| UserCleaner | A ITargetPreparer that removes secondary users on teardown. |
| UserHelper | |
| UserInfo | Similar to UserInfo class from platform. |
| UserInfo.UserType | Supported variants of a user's type in external APIs. |
В
| ValidateSuiteConfigHelper | This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters |
| VersionedFile | Data structure representing a file that has an associated version. |
| VersionParser | Fetch the version of the running tradefed artifacts. |
| VisibleBackgroundUserPreparer | Target preparer for running tests in a user that is started in the visible in the background. |
| VmRemoteDevice | A Remote virtual device that we will manage from inside the Virtual Machine. |
В
| WaitDeviceRecovery | A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands. |
| WaitForDeviceDatetimePreparer | A ITargetPreparer that waits for datetime to be set on device Optionally this preparer can force a |
| WifiCommandUtil | A utility class that can parse wifi command outputs. |
| WifiCommandUtil.ScanResult | Represents a wifi network containing its related info. |
| WifiHelper | Helper class for manipulating wifi services on device. |
| WifiPreparer | A ITargetPreparer that configures wifi on the device if necessary. |
| WorkUnitType | Enum representing possible work unit types. |
Х
| XmlFormattedGeneratorReporter | Implementation of the FormattedGeneratorReporter which format the suite results in an xml format. |
| XmlResultReporter | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
| XmlSuiteResultFormatter | Utility class to save a suite run as an XML. |
| XmlSuiteResultFormatter.RunHistory | Helper object for JSON conversion. |
| XmlTestRunListener | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
Y
| YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
З
| ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |
| ZipUtil | A helper class for compression-related operations |
| ZipUtil2 | A helper class for zip extraction that takes POSIX file permissions into account |