Chỉ số lớp
Đây là các lớp API. Xem tất cả các gói API .
Một
AaptParser | Lớp trích xuất thông tin từ apk bằng cách phân tích cú pháp đầu ra của 'huy hiệu aapt dump'. |
AaptParser.AaptVersion | Nhiều tùy chọn cho phiên bản AAPT được sử dụng để phân tích cú pháp tệp APK. |
AbiFormatter | Lớp tiện ích cho abi. |
AbstractXmlParser | Lớp cơ sở của trình trợ giúp để phân tích cú pháp tệp xml |
AbstractXmlParser.ParseException | Bị ném nếu không thể phân tích cú pháp đầu vào XML |
AcloudConfigParser | Lớp trợ giúp phân tích cú pháp cấu hình Acloud (được sử dụng để khởi động phiên bản thiết bị Đám mây). |
AcloudConfigParser.AcloudKeys | Bộ khóa có thể được tìm kiếm từ cấu hình. |
ActivityStatusChecker | Trình kiểm tra trạng thái cho các hoạt động còn lại đang chạy ở cuối mô-đun. |
AdbRootElevator | Một AutoCloseable cho phép root adb khi được xây dựng nếu cần và khôi phục trạng thái root khi hoàn tất. |
AggregatePostProcessor | Một công cụ tổng hợp số liệu cung cấp các tỷ lệ tối thiểu, tối đa, trung bình, phương sai, độ lệch chuẩn, tổng số, số lượng và tùy chọn cho các chỉ số số được thu thập trong quá trình chạy thử nghiệm nhiều lần, coi chúng là gấp đôi. |
AltDirBehavior | Một enum để xác định các hành vi thư mục thay thế cho các trình cài đặt / bộ đẩy tạo phần mềm thử nghiệm khác nhau |
AppBuildInfo | IBuildInfo đại diện cho một ứng dụng Android và (các) gói thử nghiệm của nó. |
AppDeviceBuildInfo | Lớp này không được dùng nữa. Sử dụng trực tiếp IDeviceBuildInfo . |
AppVersionFetcher | Lớp tiện ích để lấy chuỗi phiên bản ứng dụng từ thiết bị. |
AppVersionFetcher.AppVersionInfo | Các loại thông tin phiên bản ứng dụng. |
ArchModuleController | Bộ điều khiển mô-đun để không chạy thử nghiệm khi nó không khớp với bất kỳ kiến trúc nào đã cho. |
ArgsOptionParser | Điền các trường Option từ các đối số dòng lệnh đã phân tích cú pháp. |
ATestFileSystemLogSaver | Lớp LogSaver này được ATest sử dụng để lưu các bản ghi trong một đường dẫn cụ thể. |
AutoLogCollector | Liệt kê mô tả bộ thu gom nào có thể tự động được xử lý bởi dây nịt. |
AutomatedReporters | Lớp xác định ánh xạ từ các báo cáo viên tự động của Tradefed. |
AveragePostProcessor | Triển khai bộ xử lý bài tính giá trị trung bình của danh sách các chỉ số. |
B
BackgroundDeviceAction | Chạy một lệnh trên một thiết bị nhất định lặp lại nếu cần cho đến khi hành động bị hủy. |
BaseDeviceMetricCollector | Triển khai cơ sở của IMetricCollector cho phép bắt đầu và dừng thu thập trên onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) và ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulatorPreparer | Trình chuẩn bị chung để khởi chạy trình giả lập cục bộ. |
BaseLeveledLogOutput | Một triển khai cơ sở cho ILeveledLogOutput cho phép lọc một số thẻ dựa trên tên hoặc thành phần của chúng. |
BaseModuleController | Triển khai cơ bản của IModuleController cần được triển khai để kiểm tra xem một mô-đun có nên chạy hay không. |
BaseMultiTargetPreparer | Triển khai cơ sở của IMultiTargetPreparer cho phép vô hiệu hóa đối tượng. |
BasePostProcessor | Bộ IPostProcessor cơ sở mà mọi triển khai nên mở rộng. |
BaseRetryDecision | Triển khai cơ sở của IRetryDecision . |
BaseStreamLogger <Hệ điều hành mở rộng OutputStream> | Một ILeveledLogOutput hướng các thông báo nhật ký đến một luồng đầu ra và đến stdout. |
BaseTargetPreparer | Lớp triển khai cơ sở cho ITargetPreparer cho phép kiểm soát xem đối tượng có bị vô hiệu hóa hay không. |
BaseTestSuite | Kiểm tra việc chạy Bộ kiểm tra tính tương thích với hệ thống bộ ứng dụng mới. |
BatteryController | Lớp tiện ích cho phép kiểm soát trạng thái sạc pin của thiết bị. |
BatteryRechargeDeviceRecovery | Cho phép kích hoạt lệnh khi mức pin của thiết bị xuống dưới ngưỡng nhất định. |
Nhiệt độ pin | |
BatteryUnavailableDeviceRecovery | Trình kiểm tra khôi phục sẽ kích hoạt cấu hình nếu mức pin không khả dụng. |
BinaryState | Enum được sử dụng để ghi lại trạng thái BẬT / TẮT với trạng thái không sử dụng BỎ QUA. |
BluetoothUtils | Các chức năng tiện ích để gọi Bluetooth Có thể tìm thấy mã kinh nguyệt trong AOSP trong AOSP tại: |
BootstrapBuildProvider | IDeviceBuildProvider thông tin xây dựng bootstraps từ thiết bị thử nghiệmĐiều này thường được sử dụng cho các thiết bị có bản dựng được cung cấp bên ngoài, tức là |
BugreportCollector | Một ITestInvocationListener chuyển qua thu thập báo cáo lỗi khi các sự kiện có thể định cấu hình xảy ra và sau đó gọi ITestInvocationListener#testLog trên con của nó sau mỗi lần thu thập báo cáo lỗi. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | Một vị ngữ đầy đủ mô tả thời điểm nắm bắt một báo cáo lỗi. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Thu thập báo cáo lỗi khi một trường hợp thử nghiệm không thành công. |
BuildInfo | Triển khai chung một IBuildInfo nên được liên kết với một ITestDevice . |
BuildInfoRecorder | Một ITargetPreparer ghi dữ liệu meta thông tin xây dựng vào một tệp được chỉ định. |
BuildInfoUtil | Một lớp sử dụng để giúp thao tác IBuildInfo |
BuildRetrievalError | Đã xảy ra lỗi nghiêm trọng khi truy xuất bản dựng để thử nghiệm. |
BuildTestsZipUtils | Một lớp trợ giúp cho các hoạt động liên quan đến kiểm tra zip được tạo bởi hệ thống xây dựng Android |
BulkEmailer | Một tiện ích người gửi email cho phép cấu hình sau: khoảng thời gian đã gửi, kích thước cụm ban đầu, người nhận và tổng số tin nhắn. |
BundletoolUtil | Lớp tiện ích sử dụng dòng lệnh packtool để cài đặt .apks trên deivce. |
C
CecControllerTokenProvider | Nhà cung cấp mã thông báo cho các mã liên quan đến Kiểm soát Điện tử Tiêu dùng (CEC). |
CircularAtraceUtil | Một tiện ích atrace được phát triển chủ yếu để xác định nguyên nhân gốc rễ của ANR trong quá trình thử nghiệm Monkey. |
RoundByteArray | Cấu trúc dữ liệu để giữ một mảng có kích thước cố định hoạt động như một bộ đệm tròn và theo dõi tổng của tất cả các giá trị trong mảng. |
ClangCodeCoverageCollector | BaseDeviceMetricCollector sẽ kéo các phép đo vùng phủ của Clang ra khỏi thiết bị và ghi lại chúng dưới dạng hiện vật thử nghiệm. |
ClassNotFoundConfigurationException | ConfigurationException khi không tìm thấy lớp của một đối tượng. |
ClassPathScanner | Tìm các mục trên đường dẫn classpath. |
ClassPathScanner.ClassNameFilter | IClassPathFilter lọc và chuyển đổi tên lớp java. |
ClassPathScanner.ExternalClassNameFilter | Một ClassNameFilter từ chối các lớp bên trong |
ClassPathScanner.IClassPathFilter | Bộ lọc cho các đường dẫn nhập classpath Được tạo mẫu sau FileFilter |
ClusterBuildInfo | Lớp IBuildInfo dành cho các bản dựng được truyền từ TFC. |
ClusterBuildProvider | IBuildProvider để tải xuống tài nguyên kiểm tra TFC. |
ClusterClient | Triển khai IClusterClient để tương tác với phần phụ trợ TFC. |
ClusterCommand | Một lớp đại diện cho một nhiệm vụ được tìm nạp từ TF Cluster. |
ClusterCommand.RequestType | |
ClusterCommand.State | Trạng thái của lệnh trong cụm TF. |
ClusterCommandConfigBuilder | Một lớp để xây dựng một tệp cấu hình cho một lệnh cụm. |
ClusterCommandEvent | Một lớp để đóng gói các sự kiện lệnh cụm sẽ được tải lên. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | Một lớp IRemoteTest để khởi chạy một lệnh từ TFC thông qua một quy trình con TF. |
ClusterCommandScheduler | ICommandScheduler để hỗ trợ TFC (Tradefed Cluster). |
ClusterCommandStatus | Một lớp đại diện cho trạng thái và lý do hủy bỏ lệnh từ TF Cluster. |
ClusterDeviceInfo | Một lớp để đóng gói thông tin thiết bị cụm sẽ được tải lên. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | Một triển khai IDeviceMonitor báo cáo kết quả cho dịch vụ Tradefed Cluster. |
ClusterEventUploader <T mở rộng IClusterEvent > | Lớp ClusterEventUploader, tải IClusterEvent lên TFC. |
ClusterHostEvent | Một lớp để đóng gói các sự kiện máy chủ cụm sẽ được tải lên. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | Nhiều loại khác nhau của sự kiện tổ chức. |
ClusterHostUtil | Các chức năng sử dụng tĩnh cho Cụm TF để nhận các phiên bản cấu hình chung, thông tin máy chủ, v.v. |
ClusterLogSaver | Một lớp ILogSaver để tải kết quả đầu ra thử nghiệm lên TFC. |
ClusterLogSaver.FilePickingStrategy | Các chiến lược chọn tệp. |
ClusterOptions | |
CollectingByteOutputReceiver | IShellOutputReceiver thu thập toàn bộ đầu ra của shell thành một byte[] . |
CollectingOutputReceiver | IShellOutputReceiver thu thập toàn bộ đầu ra shell thành một String . |
CollectingTestListener | ITestInvocationListener sẽ thu thập tất cả các kết quả kiểm tra. |
CollectorHelper | Người trợ giúp thực hiện một số thao tác IMetricCollector cần thiết ở một số nơi. |
CommandFileParser | Trình phân tích cú pháp cho tệp chứa tập hợp các dòng lệnh. |
CommandFileParser.CommandLine | |
CommandLineBuildInfoBuilder | Tiện ích có nghĩa là để nắm bắt các đối số thông tin xây dựng thông thường từ một dòng lệnh và tạo IBuildInfo từ chúng. |
CommandOptions | Thực hiện ICommandOptions . |
CommandOptionsGetter | Triển khai dịch vụ trả về giá trị tùy chọn lệnh của một lệnh gọi nhất định. |
CommandRunner | Một điểm vào TradeFederation thay thế sẽ chạy lệnh được chỉ định trong các đối số dòng lệnh và sau đó thoát. |
CommandRunner.ExitCode | Các mã lỗi có thể thoát với. |
CommandScheduler | Bộ lập lịch để chạy các lệnh TradeFederation trên tất cả các thiết bị có sẵn. |
CommandScheduler.HostState | Các trạng thái khác nhau của máy chủ lưu trữ |
CommonLogRemoteFileUtil | Tiện ích này cho phép tránh trùng lặp mã trên các đại diện thiết bị từ xa khác nhau đối với logic tìm nạp nhật ký từ xa của các tệp chung. |
CommonLogRemoteFileUtil.KnownLogFileEntry | Bản trình bày mục nhập nhật ký đã biết cho các thiết bị từ xa. |
ConditionPinentBlockingQueue <T> | Một lớp an toàn luồng với các hoạt động giống như ERROR(/PriorityBlockingQueue) có thể truy xuất các đối tượng phù hợp với một điều kiện nhất định. |
ConditionPinentBlockingQueue.AlwaysMatch <T> | Một trình ConditionPriorityBlockingQueue.IMatcher phù hợp với bất kỳ đối tượng nào. |
ConditionPinentBlockingQueue.IMatcher <T> | Một giao diện để xác định xem các phần tử có phù hợp với một số loại điều kiện hay không. |
ConfigCompleter | Triển khai Completer cho các cấu hình TF của chúng tôi. |
Cấu hình | Một triển khai IConfiguration cụ thể để lưu trữ các đối tượng cấu hình đã tải trong một bản đồ. |
ConfigurationDef | Lưu trữ bản ghi về cấu hình, các đối tượng liên quan và các tùy chọn của chúng. |
ConfigurationDef.ConfigObjectDef | Đối tượng để lưu giữ thông tin cho một className và số lần xuất hiện của nó (ví dụ: nếu một cấu hình có cùng một đối tượng hai lần thì đối tượng đầu tiên sẽ có số lần xuất hiện đầu tiên). |
ConfigurationFactory | Nhà máy để tạo IConfiguration . |
ConfigurationFactory.ConfigLoader | Triển khai IConfigDefLoader để theo dõi các cấu hình được bao gồm từ một cấu hình gốc và ném một ngoại lệ trên vòng bao gồm. |
ConfigurationUtil | Các chức năng tiện ích để xử lý các tập tin cấu hình. |
ConfigurationXmlParserSettings | Một lớp đơn giản để chấp nhận cài đặt cho ConfigurationXmlParser Để chuyển cài đặt cho lớp này, bí danh là bắt buộc. |
Cấu hìnhYamlParser | Trình phân tích cú pháp cho các cấu hình Tradefed kiểu YAML |
Bảng điều khiển | Bảng điều khiển TradeFederation chính cung cấp cho người dùng giao diện để tương tác Hiện hỗ trợ các hoạt động như
|
Console.ArgRunnable <T> | Một Runnable với một phương thức run có thể nhận một đối số |
Console.CaptureList | Một kiểu tiện lợi cho List<List<String>> |
ConsoleReaderOutputStream | Một OutputStream có thể được sử dụng để làm cho System.out.print() hoạt động tốt với LineReader dở dang của người dùng. |
ConsoleResultReporter | Báo cáo kết quả để in kết quả kiểm tra ra bàn điều khiển. |
CountingTestResultListener | TestResultListener theo dõi tổng số bài kiểm tra bằng TestStatus |
CountTestCasesCollector | Đếm và báo cáo số lượng trường hợp thử nghiệm cho một IRemoteTest nhất định. |
CoverageOptions | Đối tượng giao dịch để nắm giữ các tùy chọn bảo hiểm. |
CoverageOptions.Toolchain | |
CreateAvdPreparer | |
CreateUserPreparer | Trình chuẩn bị mục tiêu để tạo người dùng và dọn dẹp nó ở cuối. |
D
DebugHostLogOnFailureCollector | Bộ sưu tập sẽ thu thập và ghi nhật ký phía máy chủ khi xảy ra lỗi trường hợp thử nghiệm. |
DefaultRemoteAndroidTestRunner | Phần mở rộng của ddmlib RemoteAndroidTestRunner để đặt một số mặc định cho các trường hợp sử dụng Tradefed. |
DefaultTestsZipInstaller | Một triển khai mặc định của trình cài đặt zip kiểm tra. |
DeleonedInvocationExecution | InvocationExecution ủy quyền việc thực thi cho một tệp nhị phân Tradefed khác. |
DependenciesResolver | Một loại trình cung cấp mới cho phép lấy tất cả các phần phụ thuộc cho một bài kiểm tra. |
DeviceAllocationResult | Đại diện cho kết quả của nỗ lực phân bổ cho một lệnh. |
DeviceAvailableChecker | Trình kiểm tra để đảm bảo một mô-đun không để thiết bị ở trạng thái ngoại tuyến. |
DeviceBatteryLevelChecker | IRemoteTest kiểm tra mức sạc pin tối thiểu và đợi pin đạt đến ngưỡng sạc thứ hai nếu mức sạc tối thiểu không xuất hiện. |
DeviceBatteryResourceMetricCollector | Bộ sưu tập này thu thập các số liệu về pin của thiết bị. |
DeviceBuildDescriptor | Một lớp trình bao bọc cho IBuildInfo , chứa các phương thức trợ giúp để truy xuất thông tin xây dựng nền tảng thiết bị. |
DeviceBuildInfo | IBuildInfo đại diện cho một bản dựng thiết bị Android hoàn chỉnh và (tùy chọn) các thử nghiệm của nó. |
DeviceBuildInfoBootStrapper | Một ITargetPreparer thay thế các trường thông tin bản dựng bằng các thuộc tính được đọc từ thiết bịĐiều này hữu ích để kiểm tra các thiết bị có bản dựng được tạo từ nguồn bên ngoài (ví dụ: |
DeviceBuildInfoInjector | Một ITargetPreparer chèn siêu dữ liệu DeviceBuildDescriptor vào IBuildInfo . |
DeviceCleaner | Thực hiện khởi động lại hoặc định dạng như hành động dọn dẹp sau khi kiểm tra và tùy chọn tắt màn hình |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | Chứa các phương thức và lớp tiện ích để thực thi lệnh phía thiết bị đồng thời Sử dụng |
DeviceConcurrentUtil.ShellCommandCallable <V> | ERROR(/Callable) bao bọc các chi tiết của việc thực thi lệnh shell trên một ITestDevice . |
DeviceConfigurationHolder | Một triển khai IDeviceConfiguration cụ thể lưu trữ các đối tượng cấu hình thiết bị được tải trong các thuộc tính của nó. |
DeviceFailedToBootError | Ném nếu một thiết bị không khởi động được sau khi được flash với một bản dựng. |
DeviceFeatureModuleController | Bộ điều khiển mô-đun không chạy thử nghiệm khi nó không hỗ trợ một số tính năng nhất định. |
DeviceFileReporter | Một lớp tiện ích kiểm tra thiết bị để tìm tệp và gửi chúng đến ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) nếu được tìm thấy. |
DeviceFlashPreparer | Một ITargetPreparer nhấp nháy hình ảnh trên phần cứng Android vật lý. |
DeviceFlashPreparer.EncryptionOptions | Nhiều tùy chọn để xử lý mã hóa hình ảnh dữ liệu người dùng |
DeviceFolderBuildInfo | Một IDeviceBuildInfo cũng chứa các tạo tác xây dựng khác được chứa trong một thư mục trên hệ thống tệp cục bộ. |
DeviceImageZipFlashingTargetPreparer | Một trình chuẩn bị mục tiêu sẽ nhấp nháy thiết bị với các hình ảnh thiết bị được cung cấp qua một định dạng cụ thể. |
DeviceInternetAccessibilityResourceMetricCollector | Nhân viên thu thập ping google.com để kiểm tra xem thiết bị có khả năng truy cập internet hay không. |
Quản lý thiết bị | |
DeviceManager.FastbootDevice | Biểu diễn của một thiết bị ở chế độ Fastboot. |
DeviceMetricData | Đối tượng lưu giữ tất cả dữ liệu được thu thập bởi người thu thập số liệu. |
DeviceMonitorMultiplexer | Một lớp proxy để truyền yêu cầu đến nhiều IDeviceMonitor . |
Thuộc tính thiết bị | Định nghĩa hằng số chung cho tên thuộc tính bên thiết bị |
DeviceRecoveryModeUtil | |
DeviceResetFeature | Thực hiện đặt lại thiết bị phía máy chủ. |
DeviceResetHandler | Xử lý tiện ích nói chung là đặt lại thiết bị. |
DeviceSelectionOptions | Vùng chứa cho các tiêu chí lựa chọn thiết bị. |
DeviceSelectionOptions.DeviceRequestedType | Các loại thiết bị giữ chỗ có thể có khác nhau được hỗ trợ. |
DeviceSettingChecker | Kiểm tra xem cài đặt thiết bị có thay đổi trong quá trình chạy mô-đun hay không. |
Thiết lập thiết bị | Một ITargetPreparer định cấu hình thiết bị để kiểm tra dựa trên các Option được cung cấp. |
DeviceStateMonitor | Lớp người trợ giúp để theo dõi trạng thái của IDevice . |
DeviceStorageAgeResourceMetricCollector | Phân tích cú pháp tuổi lưu trữ từ logcat. |
DeviceStorageStatusChecker | Kiểm tra xem thiết bị có đủ dung lượng đĩa cho các phân vùng đã cho hay không. |
DeviceUnavailableMonitor | Trình nghe này chỉ cố gắng nắm bắt DNAE cấp trường hợp thử nghiệm. |
DeviceUpdateTargetPreparer | Một ITargetPreparer trừu tượng đảm nhận các bước phổ biến xung quanh việc cập nhật thiết bị bằng tệp hình ảnh thiết bị từ nguồn bên ngoài (trái ngược với dịch vụ xây dựng). |
DeviceWifiResourceMetricCollector | Bộ thu thập các chỉ số cường độ tín hiệu wifi được kết nối hiện tại và tốc độ liên kết. |
DirectedGraph <V> | Triển khai đồ thị không trọng số có hướng. |
DynamicFileStubTest | Đây là một thử nghiệm tradefed để kiểm tra tradefed có thể phân giải tệp động một cách chính xác hay không. |
DynamicRemoteFileResolver | Lớp giúp phân giải đường dẫn đến các tệp từ xa. |
DynamicRemoteFileResolver.FileResolverLoader | Tải triển khai IRemoteFileResolver . |
E
EmmaXmlConstants | Hằng số được sử dụng khi phân tích cú pháp emma báo cáo xml. |
EmulatorMemoryCpuCapturer | |
EnforcedSeLinuxChecker | Trình kiểm tra trạng thái đảm bảo trạng thái của Selinux. |
Sự kiệnLoggerListener | Trình nghe ghi lại tất cả các sự kiện mà nó nhận được vào một tệp |
ExistingBuildProvider | IBuildProvider trả về IBuildInfo đã được xây dựng. |
ExtendedFile | Phần mở rộng của tệp tiêu chuẩn để mang siêu dữ liệu liên quan đến bản dựng. |
F
FakeTest | Một bài kiểm tra giả với mục đích là giúp dễ dàng tạo ra các kết quả kiểm tra có thể lặp lại. |
FakeTestsZipFolder | Một vật cố thử nghiệm tạo ra một thư mục thử nghiệm giả mạo được giải nén dựa trên danh sách nội dung. |
FakeTestsZipFolder.ItemType | |
FastbootDeviceFlasher | Một lớp dựa vào fastboot để flash hình ảnh trên phần cứng Android vật lý. |
FastbootHelper | Một lớp trợ giúp cho các hoạt động khởi động nhanh. |
FastbootUpdateBootstrapPreparer | Một ITargetPreparer các tệp được chỉ định (bộ nạp khởi động, radio, zip hình ảnh thiết bị) vào IDeviceBuildInfo để làm cho các thiết bị được flash bằng FastbootDeviceFlasher , sau đó đưa các thuộc tính thiết bị sau khởi động vào thông tin bản dựng cho mục đích báo cáo kết quả. |
FileDownloadCache | Một lớp trợ giúp duy trì bộ đệm LRU của hệ thống tệp cục bộ của các tệp đã tải xuống. |
FileDownloadCacheFactory | Một nhà máy để tạo FileDownloadCache |
FileDownloadCacheWrapper | Một lớp trình bao bọc cung cấp các tiện ích FileDownloadCache trong khi triển khai giao diện IFileDownloader . |
FileIdleMonitor | Theo dõi các tệp và thực hiện gọi lại nếu chúng không hoạt động (tức là |
FileLogger | Một ILeveledLogOutput hướng thông báo nhật ký đến một tệp và đến stdout. |
FileProtoResultReporter | Trình báo cáo Proto kết xuất TestRecord vào một tệp. |
FilePullerDeviceMetricCollector | BaseDeviceMetricCollector lắng nghe khóa số liệu đến từ thiết bị và kéo chúng dưới dạng tệp từ thiết bị. |
FilePullerLogCollector | Trình ghi nhật ký của tệp được báo cáo bởi phía thiết bị. |
FileSystemLogSaver | Lưu nhật ký vào hệ thống tệp. |
FilteredResultForwarder | Biến thể của ResultForwarder chỉ cho phép báo cáo danh sách TestDescription cho phép. |
FixedByteArrayOutputStream | ERROR(/OutputStream) chỉ giữ một lượng dữ liệu tối đa. |
FlashingResourcesParser | Một lớp phân tích các phiên bản cần thiết của các tệp hình ảnh phụ trợ cần thiết để flash một thiết bị. |
FlashingResourcesParser.AndroidInfo | Typedef cho Map<String, MultiMap<String, String>> . |
FlashingResourcesParser.Constraint | Một giao diện lọc, nhằm cho phép FlashingResourcesParser bỏ qua một số tài nguyên mà nó có thể sử dụng |
FlashingResourceUtil | Tiện ích này giúp thiết lập phiên bản hiện vật thích hợp để chúng có thể được hiển thị thông qua DeviceFlashPreparer . |
FoldableExpandingHandler | IModuleParameterHandler mở rộng thành nhiều cấu hình khác cho từng cấu hình có thể gập lại không phải chính. |
FoldableHandler | Trình xử lý có thể gập lại chung có thể lấy các thông số có thể gập lại để tạo một mô-đun chuyên biệt. |
FoldableModePreparer | Trình chuẩn bị mục tiêu có thể chuyển đổi trạng thái có thể gập lại của thiết bị. |
FolderBuildInfo | Triển khai cụ thể IFolderBuildInfo . |
FormattedGeneratorReporter | Trình báo cáo cho phép tạo báo cáo ở một định dạng cụ thể. |
G
GceAvdInfo | Cấu trúc để lưu giữ dữ liệu có liên quan cho một phiên bản GCE AVD nhất định. |
GceAvdInfo.GceStatus | |
GceManager | Người trợ giúp quản lý các cuộc gọi GCE để bắt đầu / dừng và thu thập nhật ký từ GCE. |
GceRemoteCmdFormatter | Lớp tiện ích để định dạng các lệnh để tiếp cận thiết bị gce từ xa. |
GceRemoteCmdFormatter.ScpMode | SCP có thể được sử dụng để đẩy hoặc kéo tập tin tùy thuộc vào cấu trúc của các hộp. |
GceSshTunnelMonitor | Giám sát luồng cho đường hầm Gce ssh. |
GcovCodeCoverageCollector | Một BaseDeviceMetricCollector sẽ kéo các phép đo vùng phủ gcov ra khỏi thiết bị và ghi lại chúng dưới dạng hiện vật thử nghiệm. |
GCSBucketUtil | Trình quản lý tệp để tải xuống và tải tệp lên từ Google Cloud Storage (GCS). |
GCSBucketUtil.GCSFileMetadata | Trình bao bọc đơn giản cho thông tin tệp trong GCS. |
GCSCommon | Lớp cơ sở cho hoạt động Gcs như tải xuống và tải lên. |
GCSDownloaderHelper | Trình tải xuống cho nhóm GCS đảm nhiệm việc lưu vào bộ nhớ đệm và giải quyết cấu hình chung. |
GCSFileDownloader | Trình tải xuống tệp để tải tệp xuống từ bộ lưu trữ đám mây của Google (GCS). |
GCSFileUploader | Trình tải tệp lên để tải dữ liệu tệp lên bộ lưu trữ đám mây của Google (GCS). |
GCSHostResourceManager | Tải xuống tài nguyên máy chủ lưu trữ từ GCS (bộ nhớ đám mây của Google). |
GcsRemoteFileResolver | Triển khai IRemoteFileResolver cho phép tải xuống từ nhóm GCS. |
GetPreviousPassedHelper | Người trợ giúp để lấy các bộ lọc kiểm tra đã vượt qua trước đó. |
GkiDeviceFlashPreparer | Một trình chuẩn bị mục tiêu flash thiết bị với hình ảnh chung của hạt nhân chung android. |
GlobalFilterGetter | Triển khai dịch vụ trả về các bộ lọc của một lời gọi nhất định. |
GlobalTestFilter | Các tùy chọn bộ lọc được áp dụng cho lời gọi. |
GoogleApiClientUtil | Các tiện ích để tạo ứng dụng Google API. |
GranularRetriableTestWrapper | Một lớp trình bao bọc hoạt động trên IRemoteTest để tạo chi tiết IRemoteTest ở cấp độ testcase. |
GsiDeviceFlashPreparer | Một trình chuẩn bị mục tiêu nhấp nháy thiết bị với hình ảnh hệ thống chung android. |
H
HelloWorldMultiTargetPreparer | Một ví dụ về triển khai IMultiTargetPreparer . |
HistoryLogger | TF History Logger, nhật ký đặc biệt chỉ chứa một số sự kiện cụ thể. |
HprofAllocSiteParser | Lớp trợ giúp để phân tích cú pháp thông tin từ phần Trang web phân bổ của báo cáo hprof. |
HttpRemoteFileResolver | Triển khai IRemoteFileResolver cho phép tải xuống tệp từ xa qua http |
HttpsRemoteFileResolver | Triển khai IRemoteFileResolver cho phép tải xuống tệp từ xa qua https |
Tôi
IAbiReceiver | Một bài kiểm tra cần ABI đang được kiểm tra. |
IAppBuildInfo | Giao diện này không được dùng nữa. Sử dụng trực tiếp IBuildInfo . |
IAutoRetriableTest | Giao diện cho IRemoteTest không triển khai ITestFilterReceiver nhưng vẫn muốn hỗ trợ tự động thử lại. |
IPatteryInfo | Giao diện xác định tương tác với pin của thiết bị. |
IBatteryInfo.BatteryState | Mô tả trạng thái sạc pin hiện tại. |
IBuildProvider | Chịu trách nhiệm cung cấp thông tin về bản dựng đang được thử nghiệm. |
IBuildReceiver | Một thử nghiệm cần tham chiếu đến bản dựng đang thử nghiệm. |
IClusterClient | Một giao diện để tương tác với phần phụ trợ TFC. |
IClusterEvent | Giao diện cho bất kỳ sự kiện cụm nào sẽ được tải lên TFC. |
IClusterEventUploader <T mở rộng IClusterEvent > | Giao diện cho ClusterEventUploader |
IClusterOptions | Một giao diện để nhận các tùy chọn liên quan đến cụm. |
ICommandOptions | Vùng chứa các tùy chọn thực thi cho các lệnh. |
ICommandScheduler | Bộ lập lịch để chạy các lệnh TradeFederation. |
ICommandScheduler.ISchedisedInvocationListener | Trình nghe cho các sự kiện gọi khi hoàn tất yêu cầu. |
ICompressionStrategy | Một giao diện đại diện cho một thuật toán nén có thể được chọn trong thời gian chạy. |
IConfiguration | Thông tin cấu hình cho một lệnh gọi TradeFederation. |
IConfigurationFactory | Nhà máy để tạo IConfiguration |
IConfigurationReceiver | Giao diện đơn giản để biểu diễn đối tượng chấp nhận IConfiguration . |
ICredentialFactory | Một giao diện cho nhà máy thông tin xác thực để tạo Thông tin xác thực Credential . |
IDefaultObjectLoader | Giao diện tải các đối tượng mặc định phải là một phần của cấu hình YAML của chúng tôi. |
IDefaultObjectLoader.LoaderConfiguration | Đối tượng cấu hình tải để chuyển thông tin đến trình tải. |
IDeviceBuildInfo | IBuildInfo đại diện cho một bản dựng thiết bị Android hoàn chỉnh và (tùy chọn) các thử nghiệm của nó. |
IDeviceBuildProvider | IBuildProvider sử dụng thông tin từ ITestDevice để truy xuất một bản dựng. |
IDeviceConfiguration | Giao diện người giữ cấu hình thiết bị. |
IDeviceFlasher | Nhấp nháy hình ảnh thiết bị trên một thiết bị. |
IDeviceFlasher.UserDataFlashOption | Nhiều tùy chọn để xử lý hình ảnh dữ liệu người dùng |
IDeviceManager | Giao diện quản lý tập hợp các thiết bị có sẵn để thử nghiệm. |
IDeviceManager.IFastbootListener | Một trình lắng nghe để thay đổi trạng thái fastboot. |
IDeviceMonitor | Giao diện giám sát trạng thái của các thiết bị. |
IDeviceMonitor.DeviceLister | Một lớp giống Runnable sẽ trả về các thiết bị đã biết và trạng thái của chúng. |
IDeviceSelection | Giao diện cho các tiêu chí lựa chọn thiết bị. |
IDeviceTest | Giao diện cho đối tượng cần tham chiếu đến ITestDevice . |
Có thể nhận biết được | Giao diện mô tả một đối tượng Tradefed có thể bị vô hiệu hóa. |
IFileDownloader | Giao diện tải tệp từ xa. |
IFlashingResourcesParser | Giao diện cung cấp các phiên bản cần thiết của tệp hình ảnh phụ trợ cần thiết để flash thiết bị. |
IFlashingResourcesRetriever | Giao diện truy xuất các tệp hình ảnh phụ trợ cần thiết để flash thiết bị. |
IFolderBuildInfo | IBuildInfo trừu tượng đơn giản có tạo tác bản dựng được chứa trong thư mục hệ thống tệp cục bộ. |
IFormatterGenerator | Giao diện mô tả bộ định dạng cho SuiteResultHolder . |
IHostCleaner | Dọn dẹp máy chủ sau khi quá trình chạy thử nghiệm kết thúc. |
IInvocationContextReceiver | Một bài kiểm tra cần tham chiếu đến ngữ cảnh của lời gọi. |
IInvocationExecution | Giao diện mô tả các hành động sẽ được thực hiện như một phần của lời kêu gọi. |
ILeveledLogOutput | Các lớp triển khai giao diện này cung cấp các phương thức xử lý việc xuất thông báo nhật ký. |
ILogcatReceiver | Một lớp cung cấp đầu ra của logcat của thiết bị dưới dạng InputStreamSource . |
ILogRegistry | Một giao diện cho trình ghi nhật ký đơn ILogOutput kết hợp và quản lý các trình ghi nhật ký khác nhau. |
ILogRegistry.EventType | Các sự kiện hữu ích được ghi lại |
IMetricCollector | Giao diện này sẽ được thêm vào như một trình trang trí khi báo cáo kết quả kiểm tra để thu thập các chỉ số phù hợp. |
IMetricCollectorReceiver | Giao diện cho các IRemoteTest để triển khai nếu họ cần lấy danh sách các IMetricCollector để chạy thử nghiệm. |
IModuleController | Giao diện để kiểm soát xem một mô-đun có được thực thi hay không. |
IModuleController.RunStrategy | Enum mô tả cách thực thi mô-đun. |
IModuleParameterHandler | Giao diện cho các thông số của mô-đun dãy phòng. |
IMultiDeviceTest | Giao diện này không được dùng nữa. Giao diện này được giữ tạm thời để tương thích nhưng thực tế không được sử dụng nữa. Vui lòng không thực hiện nó. |
IMultiTargetPreparer | Chuẩn bị môi trường thử nghiệm cho một số thiết bị cùng nhau. |
INativeDeviceTest | Giao diện cho đối tượng cần tham chiếu đến INativeDevice . |
InstallApexModuleTargetPreparer | |
InstantAppHandler | Trình xử lý cho ModuleParameters#INSTANT_APP . |
InstrumentationResultProtoParser | Phân tích kết quả đo đạc proto được thu thập trong quá trình chạy thử nghiệm thiết bị đo và thông báo cho ITestRunListener về kết quả. |
InvocationContext | Triển khai chung IInvocationContext . |
InvocationExecution | Lớp mô tả tất cả các bước gọi: tải xuống xây dựng, target_prep, chạy thử nghiệm, dọn dẹp. |
InvocationScope | Phạm vi một lời kêu gọi Tradefed duy nhất. |
InvocationScoped | |
InvocationScopeModule | Mô-đun Guice có thể được sử dụng ở bất kỳ đâu trong lệnh gọi TF để yêu cầu các đối tượng được hỗ trợ Guice-Tradefed. |
InvocationStatus | Một lớp để lưu trữ trạng thái lời gọi. |
InvocationToJUnitResultForwarder | Một lớp lắng nghe các sự kiện ITestInvocationListener và chuyển tiếp chúng đến TestListener . |
IPostProcessor | Bộ xử lý bài đăng là một đối tượng của Liên đoàn Thương mại nhằm cho phép xử lý các chỉ số và nhật ký SAU các bài kiểm tra và TRƯỚC khi báo cáo kết quả. |
IRemoteFeature | Giao diện mô tả một tính năng trong Tradefed có thể được thực thi dựa trên yêu cầu. |
IRemoteFileResolver | Giao diện cho các đối tượng có thể phân giải tệp từ xa thành tệp cục bộ. |
IRemoteFileResolver.RemoteFileResolverArgs | Các args được chuyển cho các trình phân giải |
IRemoteFileResolver.ResolvedFile | Lớp nắm giữ thông tin về tệp đã giải quyết và một số siêu dữ liệu. |
IReportNotExecuted | Trong trường hợp thực thi không đầy đủ, IRemoteTest triển khai giao diện này có thể báo cáo các thử nghiệm không được thực thi của họ để cải thiện báo cáo. |
IRescheduler | Giao diện lên lịch lại cấu hình để thực thi trong tương lai. |
IResourceMetricCollector | Giao diện cho người dùng triển khai bộ thu thập tài nguyên tùy chỉnh. |
IRestApiHelper | Giao diện trợ giúp để thực hiện các lệnh gọi API REST. |
IResumableTest | Giao diện này không được dùng nữa. Không cần điều này nữa |
IRetryDecision | Giao diện đưa ra quyết định thử lại và áp dụng bộ lọc trên lớp để thử lại được nhắm mục tiêu hơn. |
IRuntimeHintProvider | |
ISandbox | Giao diện xác định một hộp cát có thể được sử dụng để chạy một lời kêu gọi. |
ISandboxFactory | Nhà máy để tạo ISandbox . |
ISetOptionReceiver | Việc triển khai giao diện này phải có một Option có tên "set-option" được liên kết với HostTest#SET_OPTION_NAME . |
IShardableTest | Một IRemoteTest có thể được chia thành các bài kiểm tra con có thể thực thi riêng biệt. |
IShardHelper | Giao diện của một đối tượng mô tả chiến lược sharding để áp dụng cho một cấu hình. |
ISystemStatusChecker | Trình kiểm tra thực hiện kiểm tra trạng thái hệ thống và trả về boolean để cho biết hệ thống có ở trạng thái mong đợi hay không. |
ISystemStatusCheckerReceiver | IRemoteTest yêu cầu quyền truy cập vào ISystemStatusChecker từ cấu hình. |
ITargetCleaner | Giao diện này không được dùng nữa. ráchDown đã được chuyển sang giao diện ITargetPreparer cơ sở. |
ITargetPreparer | Chuẩn bị môi trường thử nghiệm cho quá trình chạy thử nghiệm. |
ITerribleFailureHandler | Một giao diện để xử lý các lỗi khủng khiếp từ LogUtil.CLog.wtf(String, Throwable) |
ITestAnnotationFilterReceiver | Người chạy có thể lọc thử nghiệm nào sẽ chạy dựa trên các chú thích. |
ITestCollector | Cung cấp hỗ trợ cho việc thu thập thử nghiệm; khi thiết lập, người chạy thử phải thực hiện chạy khô để thu thập các trường hợp thử nghiệm mà không thực sự thực hiện chúng. |
ITestFileFilterReceiver | Người chạy có thể nhận được một tệp chỉ định những bài kiểm tra nào sẽ chạy và / hoặc không chạy. |
ITestFilterReceiver | Một người chạy có thể lọc thử nghiệm nào để chạy. |
ITestInformationReceiver | Giao diện nhận TestInformation cho một số lớp. |
ITestInvocation | Xử lý một lệnh gọi kiểm tra TradeFederation. |
ITestInvocation.ExitInformation | Đại diện cho một số thông tin thoát cho một lời gọi. |
ITestSuite | Lớp trừu tượng được sử dụng để chạy Test Suite. |
ITestSuiteResultLoader | Giao diện mô tả trình trợ giúp để tải các kết quả trước đó theo cách có thể chạy lại. |
ITestsZipInstaller | Cài đặt các bài kiểm tra từ một tệp zip kiểm tra (do hệ thống xây dựng xuất ra) trên một thiết bị. |
J
JavaCodeCoverageCollector | BaseDeviceMetricCollector sẽ kéo các phép đo vùng phủ Java ra khỏi thiết bị và ghi lại chúng dưới dạng tạo tác thử nghiệm. |
JavaCodeCoverageFlusher | Một lớp tiện ích đặt lại và buộc thực hiện các phép đo vùng phủ mã Java từ các quy trình đang chạy trên thiết bị. |
JsonHttpTestResultReporter | Một báo cáo kết quả mã hóa các kết quả chỉ số thử nghiệm và thông tin chi nhánh, thiết bị thành JSON và POST vào một điểm cuối dịch vụ HTTP |
JUnit4TestFilter | Lớp trợ giúp cung cấp bộ lọc cho Á hậu JUnit4 bằng cách mở rộng Filter . |
JUnitToInvocationResultForwarder | Một lớp lắng nghe các sự kiện TestListener và chuyển tiếp chúng đến ITestInvocationListener . |
JUnitXmlParser | Trình phân tích cú pháp trích xuất dữ liệu kết quả kiểm tra từ kết quả JUnit được lưu trữ trong XMLJUnitResultFormatter của kiến và chuyển tiếp nó tới ITestInvocationListener. |
K
KeyguardStatusChecker | Kiểm tra trạng thái khóa phím sau khi thực thi mô-đun. |
KillExistingEmulatorPreparer | A ITargetPreparer that shuts down a running emulator. |
L
LabResourceDeviceMonitor | The lab resource monitor which initializes/manages the gRPC server for LabResourceService. |
LargeOutputReceiver | A class designed to help run long running commands collect output. |
LastShardDetector | When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) . |
LaunchCvdHelper | Utility helper to control Launch_cvd in the Cuttlefish VM. |
LeakedThreadStatusChecker | Status checker to ensure a module does not leak a running Thread. |
LegacySubprocessResultsReporter | A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass. |
ListInstrumentationParser | A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query |
ListInstrumentationParser.InstrumentationTarget | |
LocalAndroidVirtualDevice | The class for local virtual devices running on TradeFed host. |
LocalAppBuildProvider | A IBuildProvider that constructs a IBuildInfo based on a provided local path |
LocalDeviceBuildProvider | A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path. |
LocalEmulatorLaunch | A TargetPreparer that launches an emulator locally from an android build environment. |
LocalEmulatorSnapshot | A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment |
LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
LocalRunInstructionBuilder | Utility to compile the instruction to run test locally. |
LogcatCrashResultForwarder | Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test. |
LogcatEventParser | |
LogcatEventType | Event types for LogcatEventParser . |
LogcatOnFailureCollector | Collector that will capture and log a logcat when a test case fails. |
LogcatReceiver | Class that collects logcat in background. |
LogFileSaver | A helper for ITestInvocationListener 's that will save log data to a file |
LogReceiver | |
LogRegistry | A ILogRegistry implementation that multiplexes and manages different loggers, using the appropriate one based on the ThreadGroup of the thread making the call. |
LogSaverResultForwarder | A ResultForwarder for saving logs with the global file saver. |
M
MainlineModuleHandler | 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 |
MetricFilePostProcessor | Used for uploading the metrics log file collected during the test and run level. |
MetricOption | Annotation for test methods annotated with @Test , or if the annotation is part of the annotation list of TestDescription that allows to specify some extra parameters useful for: Tuning the behavior of the collectors, filtering some methods. |
MetricsXMLResultReporter | MetricsXMLResultReporter writes test metrics and run metrics to an XML file in a folder specified by metrics-folder parameter at the invocationEnded phase of the test. |
MetricUtility | Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file. |
MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
MinSdkModuleController | Base class for a module controller to not run tests on versions below a specified SDK version number. |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleOemTargetPreparer | |
ModuleOemTargetPreparer.ModuleInfo | A simple struct class to store information about a module |
ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
ModuleParametersHelper | Helper to get the IModuleParameterHandler associated with the parameter. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
N
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A DeviceAction for running a OS 'adb ....' command. |
NativeDevice.AdbShellAction | |
NativeDevice.RebootDeviceAction | DeviceAction for rebooting a device. |
NativeDevice.RebootMode | A mode of a reboot. |
NativeDeviceStateMonitor | Helper class for monitoring the state of a IDevice with no framework support. |
NegativeHandler | Handler that specify that nothing should be done and the parameter should not create any extra module. |
NestedDeviceStateMonitor | Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment. |
NestedRemoteDevice | Representation of the device running inside a remote Cuttlefish VM. |
NetworkNotAvailableException | Thrown when a device is not able to connect to network for testing. |
NoDeviceException | Thrown when there's no device to execute a given command. |
NoisyDryRunTest | Run noisy dry run on a command file. |
NotMultiAbiHandler | Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module. |
O
OpenObjectLoader | Loader for the default objects available in AOSP. |
OptionCopier | A helper class that can copy Option field values with same names from one object to another. |
OptionFetcher | Helper to get the test options from the parent process. |
OptionNotAllowedException | Specific ConfigurationException when an option is not allowed to be passed in the command line. |
OptionSetter | Populates Option fields. |
OptionSetter.OptionFieldsForName | Container for the list of option fields with given name. |
OtaDeviceBuildInfo | A IDeviceBuildInfo used for over-the-air update testing. |
OtatoolsBuildInfo | An IBuildInfo that contains otatools artifacts. |
OtaZipfileBuildProvider | Provides a IBuildInfo based on a local OTA zip file. |
P
PackageInstalledModuleController | Module controller to not run tests when the device has not got the given packages installed. |
Pair <A, B> | Define our own Pair class which contains two objects. |
ParallelDeviceExecutor <V> | Wrapper of ERROR(/ExecutorService) to execute a function in parallel. |
ParentSandboxInvocationExecution | Version of InvocationExecution for the parent invocation special actions when running a sandbox. |
ParentShardReplicate | Replicate a setup for one device to all other devices that will be part of sharding. |
PassingTestFileReporter | A ITestInvocationListener that saves the list of passing test cases to a test file |
PrettyPrintDelimiter | Helper utility that helps to print delimited message that stands out. |
PropertyChanger | A utility class for changing (or adding) items in an Android property file |
ProtoResultParser | Parser for the Tradefed results proto format. |
ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
ProtoUtil | Utility methods for dealing with protobuf messages type-agnostically. |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
Q
QuotationAwareTokenizer |
R
RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteManager | Class that receives RemoteOperation s via a socket. |
RemoteSshUtil | Utility to execute ssh commands on remote instances. |
RemoteTestTimeOutEnforcer | Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
ReportPassedTests | Report in a file possible filters to exclude passed test. |
ResourceMetricUtil | Utility functions for composing metrics. |
RestApiHelper | A helper class for performing REST API calls. |
ResultAggregator | Special forwarder that aggregates the results when needed, based on the retry strategy that was taken. |
ResultAndLogForwarder | Forwarder for results and logs events. |
ResultForwarder | A ITestInvocationListener that forwards invocation results to a list of other listeners. |
ResultsPlayer | Special runner that replays the results given to it. |
RetentionFileSaver | Helper class for creating a .retention file in a directory. |
RetryConfigurationFactory | Factory that handles retrying a command. |
RetryLogSaverResultForwarder | Forwarder that also handles passing the current attempt we are at. |
RetryRescheduler | A special runner that allows to reschedule a previous run tests that failed or where not executed. |
RetryRescheduler.RetryType | The types of the tests that can be retried. |
RetryResultForwarder | An Extension of ResultForwarder that always push to a given attempt number. |
RetryResultHelper | Helper class to determine which module or test should run or not. |
RetryStatistics | Structure holding the statistics for a retry session of one IRemoteTest . |
RunCommandTargetPreparer | |
RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
RunOnSecondaryUserParameterHandler | |
RunOnSecondaryUserTargetPreparer | An ITargetPreparer that creates a secondary user in setup, and marks that tests should be run in that user. |
RunOnSystemUserTargetPreparer | An ITargetPreparer that marks that tests should be run on the user (rather than the current user). |
RunOnWorkProfileParameterHandler | |
RunOnWorkProfileTargetPreparer | An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user. |
S
SandboxConfigDump | Runner class that creates a IConfiguration based on a command line and dump it to a file. |
SandboxConfigDump.DumpCmd | |
SandboxConfigurationException | Special Configuration Exception coming from the Sandbox setup. |
SandboxConfigurationFactory | Special Configuration factory to handle creation of configurations for Sandboxing purpose. |
SandboxConfigUtil | A utility class for managing IConfiguration when doing sandboxing. |
SandboxedInvocationExecution | Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command. |
SandboxInvocationRunner | Run the tests associated with the invocation in the sandbox. |
SandboxOptions | Class that can receive and provide options to a ISandbox . |
ScreenshotOnFailureCollector | Collector that will capture and log a screenshot when a test case fails. |
Sdk28ModuleController | A module controller to check if a device is on SDK 28 (Android 9) or above. |
Sdk29ModuleController | Only run tests if the device under test is SDK version 29 or above. |
Sdk30ModuleController | Only run tests if the device under test is SDK version 30 or above. |
Sdk31ModuleController | Only run tests if the device under test is SDK version 31 or above. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:
|
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable |
T
TableBuilder | Helper class to display a matrix of String elements in a table. |
TableFormatter | Helper class to display a matrix of String elements so each element column is lined up |
TarUtil | Utility to manipulate a tar file. |
TelephonyHelper | A utility to use and get information related to the telephony. |
TelephonyHelper.SimCardInformation | An information holder for the sim card related information. |
TelephonyTokenProvider | Token provider for telephony related tokens. |
TemplateResolutionError | Class extending ConfigurationException for template related error during configuration parsing. |
TerribleFailureEmailHandler | A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. |
TestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto device. |
TestContext | A class to model a TestContext message of TFC API. |
TestDependencyResolver | Helper to resolve dependencies if needed. |
TestDescriptionsFile | A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file. |
TestDevice | Implementation of a ITestDevice for a full stack android device |
TestEnvironment | A class to model a TestEnvironment message returned by TFC API. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
TestFilterHelper | Helper class for filtering tests |
TestGroupStatus | A class to store status of a test group. |
TestInfo | Stores the test information set in a TEST_MAPPING file. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
TestOption | Stores the test option details set in a TEST_MAPPING file. |
TestOutputUploader | A class to upload test output files to GCS/HTTP. |
TestRecordInterpreter | Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed. |
TestResource | A class to model a TestResource message returned by TFC API. |
TestResourceDownloader | A class to download test resource files from file system/GCS/HTTP. |
TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
TfSuiteRunner | Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder. |
TfTestLauncher | A IRemoteTest for running unit or functional tests against a separate TF installation. |
TimeStatusChecker | Status checker to ensure that the device and host time are kept in sync. |
TimeVal | This class is deprecated. use Duration instead. |
TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
TradefedConfigObject | A class to model a TradefedConfigObject message of TFC API. |
TradefedConfigObject.Type | A list of configuration object types which can be injected to a cluster command config. |
TradefedDelegator | Objects that helps delegating the invocation to another Tradefed binary. |
TradefedFeatureClient | A grpc client to request feature execution from the server. |
TradefedFeatureServer | A server that responds to requests for triggering features. |
TradefedSandbox | Sandbox container that can run a Trade Federation invocation. |
TradefedSandboxFactory | Default implementation for SandboxFactory |
TradefedSandboxRunner | Runner associated with a TradefedSandbox that will allow executing the sandbox. |
TradefedSandboxRunner.StubScheduledInvocationListener | A stub IScheduledInvocationListener that does nothing. |
U
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
UsbResetMultiDeviceRecovery | A IMultiDeviceRecovery which resets USB buses for offline devices. |
UsbResetRunConfigRecovery | Allow to trigger a command to reset the USB of a device |
UsbResetTest | An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards. |
UserChecker | Checks if users have changed during the test. |
V
ValidateSuiteConfigHelper | This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters |
VmRemoteDevice | A Remote virtual device that we will manage from inside the Virtual Machine. |
W
WaitDeviceRecovery | A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands. |
WifiHelper | Helper class for manipulating wifi services on device. |
X
XmlFormattedGeneratorReporter | Implementation of the FormattedGeneratorReporter which format the suite results in an xml format. |
XmlResultReporter | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
XmlSuiteResultFormatter | Utility class to save a suite run as an XML. |
XmlSuiteResultFormatter.RunHistory | Helper object for JSON conversion. |
Y
YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
Z
ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |