شاخص کلاس
اینها کلاس های API هستند. همه بسته های API را ببینید.
آ
AaptParser | کلاسی که با تجزیه خروجی "aapt dump badging" اطلاعات را از apk استخراج می کند. |
AaptParser.AaptVersion | تعداد گزینه هایی برای نسخه AAPT که برای تجزیه فایل های APK استفاده می شود. |
ابی | کلاسی که یک ABI را نشان می دهد. |
AbiFormatter | کلاس کاربردی برای abi. |
AbiUtils | کلاس کاربردی برای جابجایی ABI های دستگاه |
AbstractConnection | نمایش اتصال انتزاعی |
AbstractHostMonitor | کلاس معمولی برای پایش سلامت میزبان. |
AbstractTunnelMonitor | مانیتور تونل انتزاعی برای GCE AVD. |
AbstractXmlParser | کلاس پایه کمکی برای تجزیه فایل های xml |
AbstractXmlParser.ParseException | اگر ورودی XML قابل تجزیه نباشد، پرتاب میشود |
AcloudConfigParser | کلاس کمکی که یک پیکربندی Acloud را تجزیه می کند (برای شروع یک نمونه دستگاه Cloud استفاده می شود). |
AcloudConfigParser.AcloudKeys | مجموعهای از کلیدها که از پیکربندی قابل جستجو هستند. |
ActionInProgress | اقدام کلی در حال انجام است. |
ActiveTrace | کلاس اصلی که به توصیف و مدیریت یک ردیابی فعال کمک می کند. |
Activity Status Checker | بررسی کننده وضعیت برای فعالیت های باقیمانده در پایان یک ماژول. |
AdbRootElevator | یک AutoCloseable که در صورت نیاز، ریشه adb را در صورت نیاز فعال میکند و پس از تکمیل، حالت root را بازیابی میکند. |
AdbSshConnection | اتصال Adb از طریق یک پل ssh. |
AdbStopServerPreparer | آمادهکننده هدف برای توقف سرور adb روی میزبان قبل و بعد از اجرای آزمایشهای adb. |
AdbTcpConnection | نمایش اتصال پیشفرض یک دستگاه، فرض میشود که یک اتصال adb استاندارد دستگاه است. |
AdbUtils | یک کلاس کاربردی برای عملیات adb. |
AfterClassWithInfo | گارانتی های مشابه AfterClass اما روش مشروح شده باید به پارامتر TestInformation نیاز داشته باشد. |
AggregatePostProcessor | یک جمعکننده متریک که حداقل، حداکثر، میانگین، واریانس، انحراف استاندارد، کل، تعداد و صدکهای اختیاری را برای معیارهای عددی جمعآوریشده در طول اجرای آزمایشی چند تکراری ارائه میکند و آنها را دو برابر میکند. |
AllTestAppsInstallSetup | یک ITargetPreparer که همه برنامهها را از پوشه IDeviceBuildInfo#getTestsDir() روی دستگاه نصب میکند. |
AltDirBehavior | یک عدد برای تعریف رفتارهای دایرکتوری جایگزین برای نصب کننده/فشارکننده های مصنوع مختلف |
AndroidJUnitTest | آزمایشی که یک بسته تست ابزار دقیق را با استفاده از android.support.test.runner.AndroidJUnitRunner روی دستگاه داده شده اجرا می کند. |
AndroidTestOrchestratorRemoteTestRunner | با استفاده از دستور adb و AndroidTestOrchestrator یک تست اندروید ابزاری را اجرا می کند. |
AoaTargetPreparer | ITargetPreparer که با استفاده از پروتکل Android Open Accessory (AOAv2) مجموعه ای از اقدامات (مانند کلیک و کشیدن انگشت) را اجرا می کند. |
AppBuildInfo | یک IBuildInfo که یک برنامه اندروید و بسته(های) آزمایشی آن را نشان می دهد. |
AppDeviceBuildInfo | این کلاس منسوخ شده است. مستقیماً از IDeviceBuildInfo استفاده کنید. |
AppSetup | یک ITargetPreparer که یک apk و تست های آن را نصب می کند. |
AppVersionFetcher | کلاس Utility برای دریافت رشته نسخه برنامه از دستگاه. |
AppVersionFetcher.AppVersionInfo | انواع اطلاعات نسخه برنامه |
ArchModuleController | کنترل کننده ماژول را برای اجرا نکردن آزمایش ها زمانی که با معماری های داده شده مطابقت ندارد، اجرا نمی کند. |
ArgsOptionParser | فیلدهای Option را از آرگومان های خط فرمان تجزیه شده پر می کند. |
ArrayUtil | روش های کاربردی برای آرایه ها |
ArtChrootPreparer | دایرکتوری chroot برای تست های ART ایجاد کنید. |
ArtGTest | |
جزئیات مصنوع | این ساختار محتوا و توصیفگر آن را که توسط ابزار CAS تولید شده است، توصیف می کند |
ArtifactDetails.ArtifactFileDescriptor | |
ArtifactsAnalyzer | ابزاری که به تجزیه و تحلیل مصنوعات ساخت برای بینش کمک می کند. |
ArtRunTest | یک دونده آزمایشی برای اجرای آزمونهای اجرای ART. |
ArtRunTest.AdbShellCommandException | یک کلاس استثنایی برای گزارش خطای رخ داده در حین اجرای دستور پوسته ADB. |
ATestFileSystemLogSaver | این کلاس LogSaver توسط ATest برای ذخیره log ها در یک مسیر خاص استفاده می شود. |
AtestRunner | پیاده سازی ITestSuite |
AtraceCollector | یک IMetricCollector که atrace را در طول تست اجرا می کند و نتیجه را جمع آوری می کند و آنها را در فراخوانی ثبت می کند. |
AtraceRunMetricCollector | ردیابیها را از تمام دایرکتوری آزمایشی زیر فهرست دادهشده از دستگاه آزمایشی جمعآوری میکند، فهرست راهنمای آزمایش را ثبت میکند و فایلهای ردیابی را در زیر فهرست راهنمای آزمایش پردازش میکند و معیارها را جمع میکند. |
AutoLogCollector | شمارش توصیف می کند که کدام جمع کننده می تواند به طور خودکار توسط مهار اداره شود. |
گزارشگران خودکار | کلاسی که نقشه برداری را از خبرنگاران خودکار Tradefed تعریف می کند. |
AveragePostProcessor | پیاده سازی پس پردازشگر که میانگین لیست معیارها را محاسبه می کند. |
ب
BackgroundDeviceAction | دستوری را بر روی یک دستگاه داده شده اجرا می کند و در صورت لزوم تکرار می کند تا زمانی که عمل لغو شود. |
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 <OS گسترش OutputStream> | یک ILeveledLogOutput که پیام های گزارش را به یک جریان خروجی و به stdout هدایت می کند. |
BaseTargetPreparer | کلاس پیاده سازی پایه برای ITargetPreparer که امکان کنترل غیرفعال بودن یا نبودن شی را فراهم می کند. |
BaseTestSuite | آزمایشی برای اجرای مجموعه تست سازگاری با سیستم مجموعه جدید. |
کنترلر باتری | کلاس کاربردی که امکان کنترل وضعیت شارژ باتری دستگاه را فراهم می کند. |
BatteryRechargeDeviceRecovery | هنگامی که سطح باتری دستگاه به زیر آستانه معین می رود، اجازه دهید فرمانی را راه اندازی کند. |
دمای باتری | |
BatteryUnavailableDeviceRecovery | بررسیکننده بازیابی که در صورت در دسترس نبودن سطح باتری، پیکربندی را راهاندازی میکند. |
BeforeClassWithInfo | ضمانتهای مشابه BeforeClass اما روش مشروح شده باید به پارامتر TestInformation نیاز داشته باشد. |
باینری استیت | Enum برای ضبط وضعیت ON/OFF با حالت IGNORE no-op استفاده می شود. |
Bluetooth ConnectionLatency Collector | گردآورنده یک پیکربندی متریک مدت زمان statsd از پیش تعریف شده را به دستگاه ها فشار می دهد و مدت زمان اتصال بلوتوث را برای هر نمایه جمع آوری می کند. |
BluetoothConnectionStateCollector | این گردآورنده معیارهای BluetoothConnectionStateChanged را جمع آوری می کند و شماره وضعیت اتصال را برای هر نمایه ثبت می کند. |
BluetoothConnectionSuccessRatePostProcessor | پیاده سازی پس پردازشگر که میزان موفقیت پروفایل بلوتوث را محاسبه می کند برای مشخص کردن معیارهایی که شامل حالات اتصال بلوتوث در آرایه عددی هستند، از "متریک-کلید-تطابق" استفاده کنید. مثال [0، 1، 2، 3، 0، 1، 2، 3]. |
بلوتوثHciSnoopLogCollector | جمعآوری برای فعال کردن بلوتوث HCI Snoop Logging در DUT و جمعآوری گزارش برای هر آزمایش. |
BluetoothUtils | توابع ابزار برای فراخوانی ابزارهای بلوتوث در دستگاه کد بلوتوث ابزار جانبی دستگاه را میتوانید در AOSP در آدرس زیر پیدا کنید: |
BootstrapBuildProvider | یک IDeviceBuildProvider که اطلاعات ساخت را از دستگاه تست بوت استرپ می کنداین معمولاً برای دستگاههایی با ساختار خارجی استفاده میشود |
BootstrapServiceFileResolverLoader | حلکنندهها را با استفاده از تسهیلات بارگیری سرویس بارگیری میکند. |
گزارش اشکال | شیئی که مرجع فایلهای گزارش اشکال را در خود نگه می دارد، با گزارش خطای مسطح و گزارش خطای فشرده (bugreportz) سازگار است. |
BugreportCollector | یک ITestInvocationListener که در صورت وقوع رویدادهای قابل تنظیم، گزارشهای اشکال را جمعآوری میکند و پس از جمعآوری هر گزارش اشکال ITestInvocationListener#testLog روی فرزندان خود فراخوانی میکند. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | یک گزاره کامل که توضیح می دهد چه زمانی باید یک گزارش اشکال ثبت شود. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | هنگامی که یک مورد آزمایشی با شکست مواجه شد، یک bugreportz جمع آوری کنید. |
BugreportzOnTestCaseFailureCollector | هنگامی که یک مورد آزمایشی در یک اجرا با شکست مواجه می شود، یک bugreportz جمع آوری کنید. |
Build Analysis | نتایج یک تجزیه و تحلیل ساخت واحد را نشان می دهد. |
BuildError | اگر ساخت ارائه شده اجرا نشود، پرتاب می شود. |
BuildInfo | اجرای عمومی یک IBuildInfo که باید با ITestDevice مرتبط باشد. |
BuildInfoKey | شمارش برگزاری کلاس مربوط به پرس و جوهای اطلاعات ساخت. |
BuildInfoKey.BuildInfoFileKey | Enum تمام انواع فایل های شناخته شده را که می توان از طریق IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) جستجو کرد را توصیف می کند. |
BuildInfoRecorder | یک ITargetPreparer که متا اطلاعات ساخت را در یک فایل مشخص می نویسد. |
BuildInfoUtil | یک کلاس Util برای کمک به دستکاری IBuildInfo |
BuildRetrievalError | هنگام بازیابی بیلد برای آزمایش، یک خطای مرگبار روی داد. |
BuildSerializedVersion | کلاسی که شامل نسخه سریال سازی فعلی همه IBuildInfo است. |
BuildTestsZipUtils | یک کلاس کمکی برای عملیات مربوط به تست های فشرده تولید شده توسط سیستم ساخت اندروید |
انبوه ایمیل | یک ابزار فرستنده ایمیل که پیکربندی زیر را امکان پذیر می کند: فاصله ارسال شده، اندازه اولیه انفجار، گیرندگان و تعداد کل پیام ها. |
BundletoolUtil | کلاس Utility که از خط فرمان bundletool برای نصب apks. در deivce استفاده می کند. |
ByteArrayInputStreamSource | |
ByteArrayList | کلاسی برای نمایش یک آرایه بایتی سبک. |
ByteArrayUtil | ابزارهای کاربردی برای کار بر روی آرایه بایت، به عنوان مثال، تبدیل بایت ها به عدد صحیح. |
سی
CarModuleController | این کنترلر از اجرای موارد تست بر روی دستگاه های غیرخودرویی جلوگیری می کند. |
خطای CarryDnae | RuntimeException داخلی برای حمل DeviceNotAvailableException از طریق چارچوب JUnit4. |
CarryInterruptedException | هنگامی که مهلت زمانی فاز آزمایشی راه اندازی می شود و یک InterruptedException باید از رشته اجرای آزمایشی به رشته اجرای فراخوانی منتقل شود، پرتاب می شود. |
CdmaDeviceFlasher | کلاسی که تصویری را روی یک دستگاه اندروید فیزیکی با رادیو CDMA فلش می کند. |
CecControllerTokenProvider | ارائه دهنده توکن برای توکن های مرتبط با کنترل الکترونیک مصرف کننده (CEC). |
CentralDirectoryInfo | CentralDirectoryInfo کلاسی است که حاوی اطلاعات یک فایل/پوشه در داخل یک فایل فشرده است. |
CheckPairingPreparer | CompanionAwarePreparer که اتصال BT را بین دستگاه های اصلی و همراه تأیید می کند |
CircularAtraceUtil | یک ابزار atrace در درجه اول برای شناسایی علل ریشه ای ANR ها در طول آزمایش میمون توسعه یافته است. |
CircularByteArray | ساختار داده برای نگهداری یک آرایه با اندازه ثابت که به عنوان یک بافر دایره ای عمل می کند و مجموع کل مقادیر موجود در آرایه را ردیابی می کند. |
ClangCodeCoverageCollector | یک BaseDeviceMetricCollector که اندازه گیری های پوشش Clang را از دستگاه خارج می کند و آنها را به عنوان مصنوعات آزمایشی ثبت می کند. |
ClangProfileIndexer | یک کلاس کاربردی که اندازه گیری های پوشش کد Clang را نمایه می کند. |
ClassNotFoundConfigurationException | ConfigurationException برای زمانی که کلاس یک شی پیدا نمی شود. |
ClassPathScanner | ورودی های کلاس را پیدا می کند. |
ClassPathScanner.ClassNameFilter | یک IClassPathFilter که نام کلاس های جاوا را فیلتر و تبدیل می کند. |
ClassPathScanner.ExternalClassNameFilter | یک ClassNameFilter که کلاس های داخلی را رد می کند |
ClassPathScanner.IClassPathFilter | فیلتری برای مسیرهای ورودی کلاس با الگوبرداری از |
ClockworkUtils | یک ابزار ساعت برای به اشتراک گذاری منطق چند دستگاه |
CloseableTraceScope | یک کلاس scoped که امکان گزارش بخش ردیابی را از طریق try-with-resources فراهم می کند |
ClusterBuildInfo | یک کلاس IBuildInfo برای ساخت های لوله شده از TFC. |
ClusterBuildProvider | یک IBuildProvider برای دانلود منابع آزمون TFC. |
ClusterClient | پیاده سازی IClusterClient برای تعامل با باطن TFC. |
ClusterCommand | کلاسی که وظیفه واکشی شده از TF Cluster را نشان می دهد. |
ClusterCommand.RequestType | |
ClusterCommand.State | وضعیت فرمان در خوشه TF. |
ClusterCommandConfigBuilder | یک کلاس برای ساخت یک فایل پیکربندی برای یک دستور کلاستر. |
ClusterCommandEvent | کلاسی برای کپسوله کردن رویدادهای فرمان خوشه ای که باید آپلود شوند. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | یک کلاس IRemoteTest برای راهاندازی یک فرمان از TFC از طریق یک پردازش فرعی TF. |
ClusterCommandScheduler | یک ICommandScheduler برای پشتیبانی از TFC (Tradefed Cluster). |
ClusterCommandStatus | کلاسی که حالت و دلیل لغو یک فرمان از TF Cluster را نشان می دهد. |
ClusterDeviceInfo | کلاسی برای کپسوله کردن اطلاعات دستگاه خوشه ای برای آپلود. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | یک پیاده سازی IDeviceMonitor که نتایج را به سرویس Tradefed Cluster گزارش می دهد. |
ClusterEventUloader <T IClusterEvent > را گسترش می دهد | کلاس ClusterEventUploader، که IClusterEvent در TFC آپلود می کند. |
ClusterHostEvent | کلاسی برای کپسوله کردن رویدادهای میزبان خوشه ای که باید آپلود شوند. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | فهرستی از انواع مختلف رویدادهای میزبان. |
ClusterHostUtil | توابع استاتیک Util برای TF Cluster برای دریافت نمونه های پیکربندی جهانی، اطلاعات میزبان و غیره. |
ClusterLogSaver | یک کلاس ILogSaver برای آپلود خروجی های آزمایشی در TFC. |
ClusterLogSaver.FilePickingStrategy | استراتژی های انتخاب فایل |
ClusterOptions | |
CodeCoverageTest | تستی که یک بسته تست ابزار دقیق را روی یک دستگاه مشخص اجرا می کند و گزارش پوشش کد را ایجاد می کند. |
CollectingByteOutputReceiver | یک IShellOutputReceiver که کل خروجی پوسته را در یک byte[] . |
جمع آوری خروجی گیرنده | یک IShellOutputReceiver که کل خروجی پوسته را در یک String جمع می کند. |
CollectingTestListener | یک ITestInvocationListener که تمام نتایج آزمایش را جمع آوری می کند. |
Collector Helper | کمک کننده برای انجام برخی از عملیات IMetricCollector مورد نیاز در چندین مکان. |
CommandFileParser | تجزیه کننده برای فایلی که شامل مجموعه ای از خطوط فرمان است. |
CommandFileParser.CommandLine | |
CommandInterrupter | سرویسی که به دستورات TradeFederation اجازه قطع یا علامت گذاری غیرقابل وقفه را می دهد. |
CommandLineBuildInfoBuilder | ابزار به معنای گرفتن آرگومان های معمول اطلاعات ساخت از یک خط فرمان و ایجاد یک IBuildInfo از آنها است. |
CommandOptions | پیاده سازی ICommandOptions . |
CommandOptionsGetter | پیاده سازی سرویس که مقدار گزینه های فرمان یک فراخوان داده شده را برمی گرداند. |
CommandResult | حاوی نتیجه یک فرمان است. |
CommandRunner | یک نقطه ورودی TradeFederation جایگزین که دستور مشخص شده در آرگومان های خط فرمان را اجرا می کند و سپس خارج می شود. |
CommandRunner.ExitCode | کدهای خطایی که امکان خروج با آنها وجود دارد. |
CommandScheduler | یک زمانبندی برای اجرای دستورات TradeFederation در تمام دستگاه های موجود. |
CommandScheduler.HostState | فهرستی از وضعیت های مختلف میزبان |
وضعیت فرمان | وضعیت یک عملیات زمان بندی شده را نشان می دهد. |
CommandStatus Handler | کنترل کننده به نظارت و به روز رسانی وضعیت فراخوان کمک می کند. |
CommandSuccessModuleController | کلاس پایه برای یک کنترل کننده ماژول برای رد شدن از ماژول آزمایشی بر اساس شکست فرمان پوسته. |
CommonLogRemoteFileUtil | این ابزار اجازه می دهد تا از تکرار کد در نمایش دستگاه های مختلف راه دور برای منطق واکشی گزارش از راه دور فایل های رایج جلوگیری شود. |
CommonLogRemoteFileUtil.KnownLogFileEntry | نمایشی از یک ورودی گزارش شناخته شده برای دستگاه های راه دور. |
CompanionAlocator | کلاس پایه که از تخصیص و آزادسازی دستگاه همراه مراقبت می کند |
CompanionAwarePreparer | یک ITargetPreparer که منطق بدست آوردن یک دستگاه همراه از قبل اختصاص داده شده را در بر می گیرد. |
CompanionAwareTest | کلاس تست پایه که دیگ بخار گرفتن و بررسی دستگاه همراه را در بر می گیرد زیر کلاس ممکن است |
CompanionDeviceTracker | کلاسی برای تخصیص و آزادسازی دستگاه های همراه |
CompanionRunCommandTargetPreparer | یک ITargetPreparer که دستورات مشخص شده را در دستگاه همراه اختصاص داده شده اجرا می کند |
CompanionTestAppInstallSetup | یک ITargetPreparer که یک یا چند برنامه را از پوشه IDeviceBuildInfo#getTestsDir() روی یک دستگاه همراه اختصاص داده شده نصب می کند. |
CompileBootImageWithSpeedTargetPreparer | مسیر کلاس بوت و سرور سیستم را با فیلتر کامپایلر 'speed' دوباره کامپایل می کند. |
ConditionFailureMonitor | برای هر گونه شکست در فراخوانی نظارت کنید. |
ConditionPriorityBlockingQueue <T> | یک کلاس thread-safe با عملیاتی شبیه ERROR(/PriorityBlockingQueue) که می تواند اشیایی را که با شرایط خاصی مطابقت دارند بازیابی کند. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | یک ConditionPriorityBlockingQueue.IMatcher که با هر شیئی مطابقت دارد. |
ConditionPriorityBlockingQueue.IMatcher <T> | یک رابط برای تعیین اینکه آیا عناصر با نوعی شرایط مطابقت دارند یا خیر. |
ConfigCompleter | پیاده سازی Completer برای تنظیمات TF ما. |
ConfigurableGrpcDynamicShardingClient | |
پیکربندی | یک پیاده سازی IConfiguration مشخص که اشیاء پیکربندی بارگذاری شده را در یک نقشه ذخیره می کند. |
ConfigurationDef | یک رکورد از یک پیکربندی، اشیاء مرتبط با آن و گزینه های آنها را نگه می دارد. |
ConfigurationDef.ConfigObjectDef | شیء برای نگهداری اطلاعات کلاسName و شماره ظاهری که دارد (مثلاً اگر یک پیکربندی دو بار یک شیء مشابه را داشته باشد، اولین شماره اولین شماره ظاهری را خواهد داشت). |
ConfigurationDescriptor | Configuration Object که جنبه ای از خود پیکربندی را توصیف می کند. |
ConfigurationDescriptor.LocalTestRunner | Enum برای نشان دادن دونده تست محلی استفاده می شود. |
ConfigurationException | اگر پیکربندی بارگیری نشد، پرتاب میشود. |
ConfigurationFactory | کارخانه ایجاد IConfiguration . |
ConfigurationFactory.ConfigLoader | پیادهسازی IConfigDefLoader که پیکربندیهای ارائهشده را از یک پیکربندی ریشه ردیابی میکند و یک استثنا را روی شامل دایرهای ایجاد میکند. |
ConfigurationFactory.ExceptionLoader | |
ConfigurationUtil | توابع ابزار برای رسیدگی به فایل های پیکربندی. |
ConfigurationXmlParserSettings | یک کلاس ساده برای پذیرش تنظیمات برای ConfigurationXmlParser برای ارسال تنظیمات به این کلاس، نام مستعار اجباری است. |
ConfigurationYamlParser | تجزیه کننده برای تنظیمات به سبک YAML Tradefed |
ConfigUtil | کلاس Utility برای ایجاد، تعامل با، و فشار دادن فایل های پیکربندی statsd. |
ConfigUtil.LogSource | |
کنسول | کنسول اصلی TradeFederation رابط کاربری را برای تعامل در اختیار کاربر قرار می دهد در حال حاضر از عملیات هایی مانند
|
Console.ArgRunnable <T> | یک Runnable با متد run که می تواند آرگومان بگیرد |
Console.CaptureList | یک نوع راحت برای List<List<String>> |
ConsoleReaderOutputStream | یک OutputStream که میتوان از آن برای ساختن System.out.print() با LineReader ناتمام Line کاربر استفاده کرد. |
ConsoleResultReporter | گزارشگر نتیجه برای چاپ نتایج آزمایش در کنسول. |
Content AnalysisContext | زمینه را در اطراف یک محتوا برای تجزیه و تحلیل صحیح آن فراهم کنید. |
ContentAnalysisContext.AnalysisMethod | این توضیح می دهد که برای تجزیه و تحلیل مناسب از ساختار محتوا چه انتظاری باید داشت. |
نتایج تجزیه و تحلیل محتوا | خلاصه تحلیل محتوا. |
اطلاعات محتوا | محتوای یک هدف ساخت داده شده از نسخه پایه و فعلی خود را نشان می دهد. |
ContentProviderHandler | کنترلکنندهای که تعاملات ارائهدهنده محتوا را انتزاعی میکند و امکان استفاده از ارائهدهنده محتوای جانبی دستگاه را برای عملیاتهای مختلف فراهم میکند. |
CountingTestResultListener | یک TestResultListener که تعداد کل تست ها را توسط TestStatus ردیابی می کند |
CountTestCasesCollector | تعداد موارد آزمایش را برای یک IRemoteTest معین بشمارید و گزارش دهید. |
CoverageMeasurementForwarder | یک آزمون نگهدارنده مکان که اندازهگیریهای پوشش را از ارائهدهنده ساخت به لاگر ارسال میکند. |
گزینه های پوشش | شی Tradefed برای نگه داشتن گزینه های پوشش. |
CoverageOptions.Toolchain | |
CpuThrottling Waiter | یک ITargetPreparer که صبر می کند تا حداکثر فرکانس در همه هسته ها به بالاترین سطح موجود بازگردد. |
CreateAvdPreparer | |
CreateUserPreparer | آماده کننده هدف برای ایجاد کاربر و پاکسازی آن در پایان. |
درخواست فعلی | کلاسی که اطلاعات فراخوانی فعلی مفید را در هر نقطه از فراخوانی ردیابی و ارائه می کند. |
CurrentInvocation.InvocationInfo | یک کلید با نام ویژه که همیشه برای فراخوانی پر می کنیم. |
CurrentInvocation.IsolationGrade | سطح انزوا را شرح می دهد |
D
DebugHostLogOnFailureCollector | جمعآوری که در صورت بروز خطای مورد آزمایش، گزارشهای سمت میزبان را جمعآوری و ثبت میکند. |
اتصال پیش فرض | نمایش اتصال پیشفرض یک دستگاه، فرض میشود که یک اتصال adb استاندارد دستگاه است. |
DefaultConnection.ConnectionBuilder | سازنده برای توصیف اتصال استفاده میکرد. |
DefaultRemoteAndroidTestRunner | برنامه افزودنی ddmlib RemoteAndroidTestRunner برای تنظیم مقداری پیش فرض برای موارد استفاده Tradefed. |
DefaultTestsZipInstaller | اجرای پیشفرض تستهای نصبکننده فشرده. |
DelegatedInvocationExecution | InvocationExecution که اجرا را به باینری Tradefed دیگری واگذار می کند. |
DependenciesResolver | نوع جدیدی از ارائه دهنده که به شما امکان می دهد تمام وابستگی ها را برای یک آزمایش دریافت کنید. |
DeviceActionTargetPreparer | یک ITargetPreparer برای انجام اقدامات دستگاه. |
DeviceActionUtil | یک کلاس Utility برای اجرای اقدامات دستگاه. |
DeviceActionUtil.Command | دستورات برای عملکرد دستگاه |
DeviceActionUtil.DeviceActionConfigError | استثنا برای خطای پیکربندی |
DeviceAllocation Result | نتایج تلاش برای تخصیص یک فرمان را نشان می دهد. |
DeviceAllocationState | وضعیت تخصیص دستگاه را از دیدگاه IDeviceManager نشان می دهد |
DeviceAvailableChecker | بررسی کنید تا مطمئن شوید یک ماژول دستگاه را در حالت آفلاین قرار نمیدهد. |
DeviceBaselineChecker | تنظیمات پایه دستگاه را قبل از هر ماژول تنظیم کنید. |
DeviceBaselineSetter | کلاس Abstract برای ایجاد یک تنظیم پایه دستگاه استفاده می شود. |
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 که اشیاء پیکربندی دستگاه بارگذاری شده را در ویژگی های خود ذخیره می کند. |
DeviceDescriptor | یک کلاس حاوی اطلاعاتی که دستگاه تحت آزمایش را توصیف می کند. |
DeviceDisconnectedException | هنگامی که دستگاه دیگر از طریق نوع حمل و نقل آن قابل دسترسی نباشد پرتاب می شود، به عنوان مثال اگر دستگاه دیگر از طریق USB یا اتصال TCP/IP قابل مشاهده نباشد |
DeviceErrorIdentifier | شناسههای خطا از خطاهای دستگاه و خطاهای گزارش شده دستگاه. |
DeviceFailedToBootError | اگر دستگاهی پس از فلش شدن با بیلد بوت نشد، پرتاب می شود. |
Device Feature Flag | |
DeviceFeatureModuleController | یک کنترلر ماژول برای اینکه تست ها را زمانی که از ویژگی خاصی پشتیبانی نمی کند اجرا نمی کند. |
DeviceFileReporter | کلاس ابزاری که دستگاه را برای فایلها بررسی میکند و در صورت یافتن آنها را به ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) میفرستد. |
DeviceFlashPreparer | یک ITargetPreparer که یک تصویر را روی سخت افزار فیزیکی اندروید فلش می کند. |
DeviceFoldableState | نمایش وضعیت تاشو دستگاه همانطور که توسط "cmd device_state print-states" برگردانده شده است. |
DeviceFolderBuildInfo | یک IDeviceBuildInfo که همچنین شامل سایر مصنوعات ساخت موجود در یک فهرست در سیستم فایل محلی است. |
DeviceImageTracker | برای برخی از بهروزرسانیهای افزایشی دستگاه، به فایلهای پایه برای محاسبه تفاوتها نیاز داریم. |
DeviceImageTracker.FileCacheTracker | ردیابی اطلاعات تصویر دستگاه ذخیره شده و فراداده آن |
DeviceImageZipFlashingTargetPreparer | یک آمادهکننده هدف که دستگاه را با تصاویر دستگاه ارائه شده از طریق یک فرمت خاص فلش میکند. |
DeviceInternetAccessibilityResourceMetricCollector | جمعآور به google.com پینگ میزند تا بررسی کند آیا دستگاه دسترسی به اینترنت دارد یا خیر. |
DeviceJUnit4ClassRunner | رانر تست JUnit4 که IDeviceTest نیز در خود جای می دهد. |
DeviceJUnit4ClassRunner.LogAnnotation | حاشیه نویسی جعلی به معنای حمل سیاهههای مربوط به خبرنگاران است. |
DeviceJUnit4ClassRunner.MetricAnnotation | حاشیه نویسی جعلی برای رساندن معیارها به خبرنگاران. |
DeviceJUnit4ClassRunner.TestLogData | پیاده سازی ExternalResource و TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | پیاده سازی ExternalResource و TestRule . |
DeviceManagementGrpcServer | سرور GRPC اجازه رزرو دستگاه از Tradefed را می دهد. |
مدیریت دستگاه | |
DeviceManager.FastbootDevice | نمایش یک دستگاه در حالت Fastboot. |
DeviceMetricData | هدف برای نگهداری تمام دادههای جمعآوریشده توسط جمعآوران متریک. |
دستگاه مانیتور مولتی پلکسر | یک کلاس پروکسی برای انتشار درخواست ها به چندین IDeviceMonitor . |
DeviceNotAvailableException | وقتی دستگاهی دیگر برای آزمایش در دسترس نباشد پرتاب می شود. |
DeviceOwnerTargetPreparer | یک ITargetPreparer که یک جزء مالک دستگاه را تنظیم می کند. |
DeviceParameterized Runner | دونده پارامتری سبک JUnit4 برای تست های پارامتری هدایت شده از سمت میزبان. |
ویژگی های دستگاه | تعاریف ثابت متداول برای نام ویژگی های سمت دستگاه |
DeviceRecoveryModeUtil | |
DeviceReleaseReporter | گزارشگر انتشار دستگاه که ارتباط با والدین را پردازش می کند که دستگاه(های) منتشر می شود. |
ویژگی بازنشانی دستگاه | اجرای بازنشانی دستگاه در سمت سرور. |
DeviceResetHandler | مدیریت ابزار به طور کلی بازنشانی دستگاه. |
DeviceRuntimeException | زمانی پرتاب میشود که عملکرد دستگاه نتایج مورد انتظار را به همراه نداشته باشد. |
DeviceSelectionOptions | ظرف برای معیارهای انتخاب دستگاه. |
DeviceSelectionOptions.DeviceRequestedType | انواع مختلف ممکن از دستگاه های نگهدارنده پشتیبانی می شود. |
DeviceSettingChecker | بررسی کنید که آیا تنظیمات دستگاه در طول اجرای ماژول تغییر کرده است یا خیر. |
DeviceSetup | یک ITargetPreparer که دستگاهی را برای آزمایش بر اساس Option ارائه شده پیکربندی می کند. |
ویژگی DeviceSnapshot | اجرای عکس فوری دستگاه در سمت سرور. |
DeviceSnapshot Handler | عکس فوری دست زدن به دادماهی. |
DeviceStateMonitor | کلاس کمکی برای نظارت بر وضعیت یک IDevice . |
DeviceStorageAgeResourceMetricCollector | تجزیه و تحلیل سن ذخیره سازی از logcat. |
DeviceStorageFiller | آمادهکننده هدف را برای پر کردن فضای ذخیرهسازی تا مقداری فضای آزاد در دسترس قرار دهید. |
DeviceStorageStatusChecker | بررسی کنید که آیا دستگاه فضای دیسک کافی برای پارتیشن های داده شده دارد یا خیر. |
DeviceStringPusher | آمادهکننده هدف برای نوشتن یک رشته در یک فایل. |
DeviceSuite | Suite کانتینر JUnit4 را به منظور ارائه ITestDevice برای آزمایشهایی که به آن نیاز دارند، گسترش میدهد. |
DeviceSyncHelper | کمکی که به همگام سازی تصویر دستگاه جدید با دستگاه کمک می کند. |
DeviceTestCase | کیس تست Helper JUnit که خدمات IRemoteTest و IDeviceTest را ارائه می دهد. |
DeviceTest Result | تخصصی از TestResult که با رخ دادن DeviceNotAvailableException لغو می شود |
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestRunOptions | یک کلاس سازنده برای گزینه های مربوط به اجرای تست های دستگاه از طریق BaseHostJUnit4Test. |
DeviceTestSuite | مجموعه تست Helper JUnit که خدمات IRemoteTest و IDeviceTest را ارائه می دهد. |
DeviceTraceCollector | گردآوری که با شروع اجرای آزمایشی ردیابی پرفتو را شروع می کند و در پایان فایل ردیابی را ثبت می کند. |
Device UnavailableMonitor | این شنونده سعی میکند فقط یک DNAE در سطح مورد آزمایشی را ضبط کند. |
Device UnresponsiveException | تخصصی DeviceNotAvailableException که نشان می دهد دستگاه برای adb قابل مشاهده است، اما پاسخگو نیست (به عنوان مثال، دستورات به پایان می رسد، بوت نمی شود، و غیره) |
DeviceUpdateTargetPreparer | یک ITargetPreparer انتزاعی که مراحل متداول را در مورد بهروزرسانی دستگاهها با فایل تصویر دستگاه از یک منبع خارجی (برخلاف یک سرویس ساخت) انجام میدهد. |
DeviceWifiResourceMetricCollector | کلکتور قدرت سیگنال وای فای متصل فعلی و معیارهای سرعت پیوند را جمع آوری می کند. |
دستگاه پاک کن | یک ITargetPreparer که داده های کاربر را پاک می کند |
DirectedGraph <V> | اجرای گراف های بدون وزن جهت دار. |
SELinuxTargetPreparer را غیرفعال کنید | آمادهکننده هدف که در صورت فعال بودن SELinux را غیرفعال میکند. |
DryRunKeyStore | یک فروشگاه کلید برای اجرای خشک که در آن هر مقدار ذخیره کلید همیشه به درستی جایگزین و پیدا می شود. |
درای رانر | بهجای اجرای واقعی، آزمایشها را بهطور شفاف خشک اجرا میکند. |
DynamicFileStubTest | این یک تست Tradefed برای آزمایش است که می تواند فایل پویا را به درستی حل کند. |
DynamicRemoteFileResolver | کلاسی که به حل مسیر فایل های راه دور کمک می کند. |
DynamicRemoteFileResolver.FileResolverLoader | پیاده سازی های IRemoteFileResolver را بارگیری می کند. |
DynamicShardHelper | استراتژی Sharding برای اجازه دادن به صف کار از راه دور بین چندین نمونه TF |
DynamicShardingConnectionInfoMessage | کلاس نگهداری داده به منظور سهولت ارسال از طریق سرور ویژگی. |
DynamicSystemPreparer | یک ITargetPreparer که یک تصویر سیستم را در بالای بیلد دستگاه با بهروزرسانی Dynamic System تنظیم میکند. |
E
EarlyDeviceRelease Feature | اجرای سرور ویژگی برای انتشار زودهنگام دستگاه. |
پست الکترونیک | کلاس کمکی برای ارسال ایمیل. |
EmailHostHealthAgent | پیاده سازی IHostHealthAgent برای ارسال ایمیل از گزارش های مانیتور میزبان |
EmmaXmlConstants | ثابت هایی که هنگام تجزیه گزارش emma xml استفاده می شوند. |
EmulatorMemoryCpuCapturer | |
EndCentralDirectoryInfo | EndCentralDirectoryInfo کلاسی است که حاوی اطلاعات کلی یک فایل فشرده است. |
EnforcedSeLinuxChecker | بررسی کننده وضعیت که وضعیت Selinux را تضمین می کند. |
EraseUserDataPreparer | یک ITargetPreparer که داده های کاربر را روی دستگاه پاک می کند. |
شناسه خطا | این رابط یک خطای خاص و ویژگی های آن را توصیف می کند. |
ErrorStorageUtil | کلاس کمکی برای دستکاری خطاها به منظور تراز کردن با حافظه مشترک. |
EventsLoggerListener | شنونده ای که تمام رویدادهایی را که دریافت می کند در یک فایل ثبت می کند |
ExceptionThrowingRunnerWrapper | |
ExecutableBaseTest | کلاس پایه برای سبک های اجرایی تست ها. |
ExecutableHostTest | اجرای آزمایشی برای اجرای اجرایی روی هاست. |
ExecutableTargetTest | اجرای آزمایشی برای اجرای قابل اجرا بر روی هدف. |
ExecutionFiles | وابستگیهای فایلهایی که در طول اجرای یک آزمون یا فراخوانی ایجاد میشوند و باید برای آزمایش حمل شوند. |
ExecutionFiles.FilesKey | شمارش کلید استاندارد شناخته شده برای نقشه. |
ExecutionProperties | ویژگی های ایجاد شده در طول اجرای یک آزمون یا فراخوانی. |
ExistingBuildProvider | یک IBuildProvider که یک IBuildInfo از قبل ساخته شده را برمی گرداند. |
ExtendedFile | پسوند فایل استاندارد برای حمل ابرداده مربوط به ساخت. |
ExtensionAtomsRegistry | ExtensionAtomsRegistry برای استفاده محلی از statsd. |
اف
FailureDescription | کلاس توصیف اطلاعات شکست در فدراسیون تجارت. |
تست جعلی | یک تست جعلی که هدف آن آسان کردن تولید نتایج آزمایشی قابل تکرار است. |
FakeTestsZipFolder | یک ابزار آزمایشی که بر اساس فهرستی از محتوا، یک پوشه آزمایشی غیرزیپنشده جعلی ایجاد میکند. |
FakeTestsZipFolder.ItemType | |
FastbootCommandPreparer | آماده ساز هدف که فست بوت را راه اندازی می کند و دستورات فست بوت را ارسال می کند. |
FastbootDeviceFlasher | کلاسی که برای فلش کردن تصویر روی سخت افزار فیزیکی اندروید به فست بوت متکی است. |
FastbootHelper | یک کلاس کمکی برای عملیات فست بوت. |
FastbootUpdateBootstrapPreparer | یک ITargetPreparer که پرونده های مشخص شده (بوت لودر ، رادیو ، ZIP تصویر دستگاه) را به IDeviceBuildInfo می رساند تا دستگاه های خود را با FastbootDeviceFlasher چشمک بزند ، سپس ویژگی های دستگاه پس از بوت را به اطلاعات ساخت برای اهداف گزارش نتیجه می دهد. |
فالستورر | استثنائی که نشان دهنده یک خطای کشنده غیرقابل برگشت است ، در دستگاه میزبان در حال اجرا در تجارت رخ داده است ، و اینکه نمونه تجارت باید خاموش شود. |
ویژگی | DeviceConfig را به روز می کند (پرچم های ویژگی تنظیم شده توسط یک سرویس از راه دور). |
FiledownloadCache | یک کلاس یاور که یک حافظه نهان محلی FileSystem LRU از پرونده های بارگیری شده را حفظ می کند. |
FileDownloadCachefactory | کارخانه ای برای ایجاد FileDownloadCache |
FileDownloadCachewrapper | یک کلاس بسته بندی که در حین اجرای رابط IFileDownloader امکانات FileDownloadCache را ارائه می دهد. |
فاضل | اگر آنها بیکار بوده اند ، پرونده ها را کنترل می کنند و پاسخ به تماس را انجام می دهند (IE) |
FileInputStreamSource | InputStreamSource که یک پرونده ورودی را می گیرد. |
صنایع دستی | ILeveledLogOutput که پیام های ورود به سیستم را به یک پرونده و به Stdout هدایت می کند. |
فایل | گزارشگر Proto که TestRecord در یک پرونده قرار می دهد. |
گله دار | یک BaseDeviceMetricCollector که به کلید معیارها گوش می دهد از دستگاه می آید و آنها را به عنوان پرونده ای از دستگاه می کشد. |
دستگاه گندوست | logger پرونده گزارش شده توسط طرف دستگاه. |
فایل سیستم | گزارش ها را در یک سیستم فایل ذخیره کنید. |
فایل سیستم | |
پرونده | یک کلاس یاور برای عملیات مربوط به پرونده |
fileutil.lowdiskspaceexception | اگر فضای دیسک قابل استفاده زیر آستانه حداقل باشد پرتاب می شود. |
fileredresultforwarder | Variant of ResultForwarder که فقط اجازه می دهد تا لیست Allist of TestDescription گزارش شود. |
FixirebyTearRayoutPutstream | یک ERROR(/OutputStream) که فقط حداکثر مقدار داده را نگه می دارد. |
متقاطع | enum برای توصیف روشی که برای فلش دستگاه تحت آزمایش استفاده می شود |
سرپرست | کلاس که نسخه های مورد نیاز فایلهای تصویری کمکی را که برای چشمک زدن یک دستگاه مورد نیاز است ، تجزیه می کند. |
flashingresourcesparser.androidinfo | یک تایپ برای Map<String, MultiMap<String, String>> . |
flashingresourcesparser.constraint | یک رابط فیلتر ، در نظر گرفته شده برای اجازه دادن به FlashingResourcesParser برای نادیده گرفتن برخی از منابعی که در غیر این صورت ممکن است از آن استفاده کند |
رفیق | این ابزار به تنظیم نسخه مناسب آثار باستانی کمک می کند تا بتوانند از طریق DeviceFlashPreparer چشمک بزنند. |
FoldableExpandingHandler | یک IModuleParameterHandler برای هر پیکربندی تاشو غیرقانونی به موارد بیشتری گسترش می یابد. |
تاشو | کنترل کننده تاشو عمومی که می تواند پارامترهای تاشو را برای ایجاد یک ماژول تخصصی بدست آورد. |
فاش کننده | تهیه کننده هدف که می تواند حالت تاشو یک دستگاه را تغییر دهد. |
فلویلدینفو | اجرای بتن یک IFolderBuildInfo . |
ماشین بند | ITargetPreparer که دایرکتوری ها را از دستگاه خارج می کند ، آن را فشرده می کند و آن را در ورود به سیستم پس زمینه ذخیره می کند. |
FormattedGeneratorReporter | خبرنگار که اجازه می دهد گزارش ها را در یک قالب خاص تولید کند. |
عید | |
فیوزوتیل | یک کلاس یاور برای عملیات فیوز. |
جی
gceavdinfo | ساختار برای نگه داشتن داده های مربوطه برای نمونه GCE AVD. |
gceavdinfo.gcestatus | |
gceavdinfo.logfileentry | |
GCELHPTUNNENLMONITORITOR | |
گسیسته | Helper که مدیریت تماس های GCE برای شروع/متوقف کردن و جمع آوری سیاهههای مربوط از GCE است. |
gceremotecmdformatter | کلاس ابزار برای قالب بندی دستورات برای رسیدن به یک دستگاه GCE از راه دور. |
gceremotecmdformatter.scpmode | SCP می تواند برای فشار یا کشیدن پرونده بسته به ساختار ARG ها استفاده شود. |
gcesshtunnnelmonitor | مانیتور موضوع برای تونل GCE SSH. |
gcovcodecoveragecolector | یک BaseDeviceMetricCollector مبتنی بر اندازه گیری پوشش GCOV از دستگاه خارج شده و آنها را به عنوان مصنوعات آزمایشی وارد می کند. |
gcovkernelcodecoveragecolector | یک BaseDeviceMetricCollector مبتنی بر اندازه گیری پوشش هسته GCOV از اشکال زدایی و خارج از دستگاه خارج می شود و سپس در نهایت آنها را به عنوان مصنوعات تست وارد می کند. |
gcsbucketutil | مدیر فایل برای بارگیری و بارگذاری پرونده ها از Google Cloud Storage (GCS). |
gcsbucketutil.gcsfilemetadata | بسته بندی ساده برای اطلاعات پرونده در GCS. |
GCScommon | کلاس پایه برای عملکرد GCS مانند بارگیری و بارگذاری. |
GCSConfigurationFective | پیکربندی ConfigurationFactory از Google Cloud Storage پیکربندی می کند. |
gcsconfigurationFectory.gcsconfigloader | پسوند ConfigurationFactory.ConfigLoader که از GC ها پیکربندی می کند ، پیکربندی های موجود را از یک پیکربندی ریشه ردیابی می کند ، و یک استثناء را در بخشنامه شامل می کند. |
gcsconfigurationserver | پیکربندی سرور پیکربندی ها را از Google Cloud Storage (GCS) بارگیری می کند. |
gcsdownloaderhelper | بارگیری برای سطل GCS که از ذخیره سازی و حل پیکربندی جهانی مراقبت می کند. |
gcsfiledownloader | بارگیری فایل برای بارگیری فایل از Google Cloud Storage (GCS). |
GCSFileUploader | بارگذاری پرونده برای بارگذاری داده های پرونده در Google Cloud Storage (GCS). |
gcshostresourcemanager | منبع میزبان را از GCS (Google Cloud Storage) بارگیری کنید. |
gcsremotefileresolver | اجرای IRemoteFileResolver که امکان بارگیری از یک سطل GCS را فراهم می کند. |
genericlogcateventparser <logcateventType> | ورودی Logcat برای رویدادها. |
genericlogcateventparser.logcatevent | ساختار برای نگه داشتن یک رویداد LogCat با نوع رویداد و ایجاد پیام LogCat |
GetPreviousedHelper | یاور برای به دست آوردن فیلترهای آزمایش قبلی. |
gkideviceflashpreparer | یک تهیه کننده هدف که دستگاه را با تصویر عمومی هسته Android Common Elical چشمک می زند. |
پیکربندی جهانی | اجرای IGlobalConfiguration که اشیاء پیکربندی بارگذاری شده را در یک نقشه ذخیره می کند |
گل جهانی | اجرای خدمات که فیلترهای یک دعوت خاص را برمی گرداند. |
گل جهانی | گزینه های فیلتر اعمال شده برای دعوت. |
گورستان | استفاده برای ایجاد مشتری Google API. |
googlebenchmarkresultparser | نتایج معیار Google را که از Shell اجرا می شود ، تجزیه می کند و نقشه را با تمام نتایج باز می گرداند. |
GoogleBenchmarkTest | آزمایشی که بسته تست معیار Google را در دستگاه داده شده اجرا می کند. |
رفیق | یک کلاس بسته بندی در IRemoteTest کار می کند تا Iremotetest را در سطح TestCase گرایش دهد. |
GranularRetriableTestwrapper.StartEndCollector | یاور کلاس برای گرفتن شروع و پایان کار. |
GideviceFlashPreparer | تهیه کننده هدف که دستگاه را با تصویر سیستم عمومی Android چشمک می زند. |
سر و صدا | آزمایشی که یک بسته تست بومی را در دستگاه داده شده اجرا می کند. |
گودال | کلاس پایه Gtest |
GTESTLISTASTPARSER | یک تجزیه کننده نتیجه برای حالت اجرای خشک gtest با پارامتر "--gtest_list_tests". |
gtestresultparser | نتایج "حالت خروجی خام" از تست های بومی را با استفاده از GTEST که از پوسته اجرا می شود ، تجزیه می کند و یک itestinoctionlistener را از نتایج مطلع می کند. |
gtestxmlresultparser | نتایج "حالت خروجی XML" از تست های بومی را با استفاده از GTEST که از پوسته اجرا می شود ، تجزیه می کند و از نتایج Itestrunlistener مطلع می شود. |
اچ
مکتب | کلاس استثناء پایه برای استثنائی که درون مهار پرتاب شده است. |
مکتب مهار | استثناء مهار که به حمل مشکلات پرونده کمک می کند. |
HarnessRuntimeException | |
دستگاه پخت کننده | اجرای AbstractHostMonitor که بر حافظه پشته روی میزبان نظارت می کند و آن را به صورت دوره ای به ورود به سیستم تاریخ وارد می کند. |
HelloworldMultitargetPreparer | نمونه ای از اجرای یک IMultiTargetPreparer . |
تاریخچه | TF History Logger ، گزارش ویژه ای که فقط شامل برخی از رویدادهای خاص است. |
میزبان | آزمایشی که یک بسته تست بومی را اجرا می کند. |
میزبان | این کلاس یک نمونه متریک میزبان را نشان می دهد که باید گزارش شود. |
میزبان | کلاس نگهدارنده گزینه های میزبان. |
میزبان | یک IMetricCollector که معیارهای STATSD را از طرف میزبان با استفاده از دستورات ابزار STATSD جمع می کند. |
میزبان | یک دونده تست برای تست های مبتنی بر میزبان Junit. |
میزبان | برخی از روشهای مفید ابزار را برای اجرای تست های میزبان پیاده سازی می کند. |
hprofallocsiteparser | کلاس یاور برای جدا کردن اطلاعات از بخش سایتهای تخصیص گزارش HPROF. |
httphelper | شامل روش های یاور برای درخواست HTTP است |
httphelper.requestrunnable | Runnable برای ایجاد درخواست با IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) . |
httpmultipartpost | کلاس یاور برای ساخت درخواست های چند نفره HTTP. |
httpremotefileresolver | اجرای IRemoteFileResolver که امکان بارگیری پرونده از راه دور از طریق HTTP را فراهم می کند |
httpsremotefileresolver | اجرای IRemoteFileResolver که امکان بارگیری فایل از راه دور از طریق https را فراهم می کند |
من
iabi | رابط نماینده ABI تحت آزمون. |
idabireceiver | آزمایشی که به آزمایش ABI نیاز دارد. |
اندرویدیددبوگبریج | تعریف رابط برای روشهای AndroidDebugBridge مورد استفاده در این بسته. |
IAPPBuildInfo | این رابط مستهلک می شود. مستقیماً از IBuildInfo استفاده کنید. |
iautoretriabletest | رابط برای یک IRemoteTest که ITestFilterReceiver پیاده سازی نمی کند اما هنوز هم مایل به پشتیبانی از خودکار است. |
ibatteryinfo | رابط کاربری تعامل با باتری یک دستگاه. |
ibatteryinfo.batterystate | وضعیت شارژ باتری فعلی را توصیف می کند. |
یان | اطلاعات مربوط به ساخت زیر آزمون را در اختیار شما قرار می دهد. |
ibuildinfo.BuildInfOperperties | برخی از خواصی که یک IBuildInfo می تواند مقداری از آن را انجام دهد. |
پیشرو | مسئول ارائه اطلاعات در مورد ساخت تحت آزمایش. |
اوبولیدر | آزمایشی که نیاز به مراجعه به ساخت زیر آزمون دارد. |
ایکلستر کلین | یک رابط برای تعامل با Backend TFC. |
نماده | رابط برای هر رویداد خوشه بارگذاری شده در TFC. |
iClusterEventUploader <t گسترش iclusterevent > | رابط برای ClusterEventUploader |
ایکلستروپیت های | رابط برای دریافت گزینه های مرتبط با خوشه. |
icommandoptions | کانتینر برای گزینه های اجرای دستورات. |
icommandscheduler | یک برنامه ریز برای اجرای دستورات تجارت. |
icommandscheduler.IscheduleDinVocationListener | شنونده برای رویدادهای فراخوانی هنگام تکمیل دعوت. |
icompressionStrategy | رابط کاربری که یک الگوریتم فشرده سازی را نشان می دهد که می تواند در زمان اجرا انتخاب شود. |
نمادین | رابط برای دستکاری مقدار گزینه پیکربندی |
icon -signaborablevirtualdevice | رابط برای ارائه اطلاعات در مورد اطلاعات دستگاه مجازی احتمالاً از پیش تنظیم شده (IP میزبان ، کاربر میزبان ، افست پورت ها و غیره). |
پیکربندی نماد | اطلاعات پیکربندی برای یک دعوت از تجارت. |
نماد پیکربندی | کارخانه برای ایجاد IConfiguration S |
iconfigurationreceiver | رابط ساده برای نشان دادن شیء که یک IConfiguration می پذیرد. |
iconfigurationserver | رابط کاربری برای سرور پیکربندی. |
بیدادی | رابط کاربری برای کارخانه اعتبار برای ایجاد Credential OAUTH2. |
idefaultObjectLoader | رابط برای بارگذاری اشیاء پیش فرض که باید بخشی از پیکربندی YAML ما باشند. |
idefaultObjectLoader.LoaderConfiguration | شیء پیکربندی بارگیری برای انتقال اطلاعات به لودر. |
ideviceactionreceiver | یک API برای دریافت رویدادهای دستگاه فراهم می کند. |
idevicebuildinfo | IBuildInfo که نمایانگر ساخت کامل دستگاه Android و (اختیاری) تست های آن است. |
idevicebuildprovider | یک IBuildProvider که از اطلاعات مربوط به ITestDevice برای بازیابی یک ساخت استفاده می کند. |
پیکربندی ideviceconfigur | رابط نگهدارنده تنظیمات دستگاه. |
ideviceflasher | یک تصویر دستگاه را روی یک دستگاه چشمک می زند. |
ideviceflasher.Userdataflashoption | شمارش گزینه هایی برای رسیدگی به تصویر UserData |
idevicemanager | رابط برای مدیریت مجموعه دستگاه های موجود برای آزمایش. |
iDeviceManager.IfastBootListener | شنونده ای برای حالت Fastboot تغییر می کند. |
idevicemonitor | رابط برای نظارت بر وضعیت دستگاه ها. |
idevicemonitor.devicelister | یک کلاس مانند Runnable که باید دستگاه های شناخته شده و حالت های آنها را برگرداند. |
IDEVICECOVERINCE | رابط برای بازیابی دستگاهی که آفلاین شده است. |
ideviceelection | رابط برای معیارهای انتخاب دستگاه. |
iDeviceElection.BasedEviceType | |
idevicestatemonitor | امکاناتی را برای نظارت بر وضعیت یک IDevice فراهم می کند. |
iDevicetest | رابط برای شیء که نیاز به مراجعه به ITestDevice دارد. |
مشخص | رابط کاربری که یک شیء تجاری را توصیف می کند که می تواند غیرفعال باشد. |
رفیق | رابط بسته بندی برای مشتری Sharding این وجود دارد به گونه ای که ما می توانیم در یک HTTP مبادله کنیم یا در صورت لزوم یکی را آزمایش کنیم. |
idynamicshardingconnectioninfo | رابط برای کلاسهایی که حاوی اطلاعات اتصال پویا هستند |
منزوی | رابط برای ارسال ایمیل. |
iemail.message | کانتینر برای داده های پیام ایمیل. |
ifiledownloader | رابط برای بارگیری یک فایل از راه دور. |
بی نظمی | تعریف رابط که قرارداد ساده تر و قابل قبول را به روش های FileEntry ارائه می دهد. |
ifileresolverloader | اجرای IRemoteFileResolver را بارگیری می کند. |
ifileresolverloader.resolverloadingException | استثنا در صورت عدم بارگذاری یا ابتدایی ، یک برآمدگی پرتاب می شود. |
iflashingresourcesparser | رابط برای ارائه نسخه های مورد نیاز فایلهای تصویری کمکی مورد نیاز برای چشمک زدن یک دستگاه. |
iflashingresourcesretriever | رابط برای بازیابی پرونده های تصویر کمکی مورد نیاز برای چشمک زدن یک دستگاه. |
IfoLderbuildinfo | یک IBuildInfo انتزاعی ساده که آثار باستانی ساخت آن در یک فهرست سیستم های فایل محلی وجود دارد. |
informattergenerator | رابط توصیف یک فرمتور برای SuiteResultHolder . |
شکل گیری | یک کلاس برای شامل اطلاعات پیکربندی جهانی برای یک نمونه فدراسیون تجاری واحد (شامل هر تعداد از دعوت های تنظیمات واقعی). |
iHarnessException | شرح رابط استثناء مهار که توسط استثنائات مهار اجرا می شود. |
iHostcleaner | بعد از اتمام کار ، میزبان را تمیز می کند. |
IHOSTHEALGEALGENT | رابط برای انتشار معیارهای میزبان یا دستگاه. |
iHostmonitor | رابط برای اعزام داده های میزبان |
ihostmonitor.hostdatapoint | کلاس عمومی برای گزارش داده ها. |
ihostmonitor.hostmetrictype | |
iHostoptions | رابط دارنده گزینه های میزبان. |
ihostoptions.permitlimittype | enum توصیف محدود کننده های مجوز احتمالی |
IHOSTRESOURCEMANAGER | رابط به منبع میزبان مدیر. |
iHttphelper | روشهای یاور برای انجام درخواست های HTTP. |
ihttphelper.datasizeException | |
iinvocationContext | در صورت لزوم اطلاعات مربوط به دعوت برای آزمایشات را در اختیار شما قرار می دهد. |
iinvocationContext.TimingEvent | |
iinvocationcontextreceiver | آزمایشی که نیاز به مراجعه به متن دعوت دارد. |
iinvocationExecution | رابط توصیف اقداماتی که به عنوان بخشی از دعوت انجام می شود. |
ikeystoreclient | رابط برای دسترسی به یک فروشگاه کلیدی برای رمز عبور یا داده های حساس. |
iKeyStorefective | کارخانه ایجاد IKeyStoreClient . |
نابرابر | رابط نشانگر برای تهیه کنندگان آزمایشگاه برای توصیف آنچه در این رابط ها در نظر گرفته شده است ، به |
ileveledlogoutput | کلاس هایی که این رابط را پیاده سازی می کنند ، روش هایی را ارائه می دهند که با پیام های ورود به سیستم وارد می شوند. |
ilogcatreceiver | کلاس که خروجی logcat یک دستگاه را به عنوان یک InputStreamSource ارائه می دهد. |
ilogregistry | رابط کاربری برای یک ILogOutput singleton logger که چندگانه را چند برابر کرده و مدیریت می کند. |
ilogregistry.eventtype | رویدادهایی که برای ورود به سیستم مفید هستند |
ilogsaver | کلاس هایی که این رابط را پیاده سازی می کنند ، روش هایی را برای ذخیره سیاهههای مربوط به یک مکان مرکزی ارائه می دهند. |
ilogsaverlistener | اجازه می دهد تا ITestInvocationListener s هنگام ذخیره پرونده های ورود به سیستم گوش دهید. |
تصویر ساز | آنالایزر برای تجزیه و تحلیل محتوای تصویر دستگاه |
inmanagedtestdevice | ITESTDEVICE که چرخه عمر آن مدیریت شده است. |
iManagedTestDevice.deviceEventResponse | کانتینر برای پاسخ به یک تماس IManagedTestDevice#handleAllocationEvent(DeviceEvent) |
ImanagedTestDeviceFective | رابط سازنده برای IManagedTestDevice s |
جمع کننده | این رابط به عنوان یک دکوراتور هنگام گزارش تست به منظور جمع آوری معیارهای تطبیق اضافه می شود. |
دستگاه پخش کننده | رابط برای IRemoteTest s در صورت نیاز به دریافت لیست IMetricCollector s برای اجرای آزمایش. |
icoblyamlresulthandler | رابط کاربری نتیجه MOBLY YAML. |
imoblyyamlresulthandler.itestresult | رابط نتیجه mobly yaml |
کنترل کننده | رابط برای کنترل اگر یک ماژول باید اجرا شود یا خیر. |
iModuleController.Runstrategy | ENUM توصیف نحوه اجرای ماژول. |
IModuleParameterHandler | رابط پارامترهای ماژول های سوئیت. |
شناور | رابط برای بازیابی چندین دستگاه آفلاین. |
بیشترین | این رابط مستهلک می شود. این رابط به طور موقت برای سازگاری نگهداری می شود اما در واقع دیگر مورد استفاده قرار نمی گیرد. لطفا آن را پیاده سازی نکنید. |
پیش بینی کننده | محیط آزمایش را برای چندین دستگاه با هم آماده می کند. |
نادان | یک API سطح قابل اعتماد و کمی بالاتر را به یک IDevice DDMLIB ارائه می دهد. |
بی نظیر ترین | رابط برای شیء که نیاز به مراجعه به یک INativeDevice دارد. |
افزایشی | ابزاری برای بهره برداری از تصویر افزایشی و به روزرسانی دستگاه. |
intraerroridentififier | شناسه های خطا از فدراسیون تجارت مادون قرمز ، و مادون قرمز وابسته (مانند ساخت مادون قرمز). |
inputstreamsource | این رابط اساساً ERROR(/InputStream) را به هم می پیوندد تا آن را کلون کند. |
installaltestzipappssetup | ITargetPreparer که تمام برنامه ها را در یک زیپ تست نصب می کند. |
نصب کننده | |
InstallApkSetup | ITargetPreparer که یک یا چند APK واقع در سیستم فایل را نصب می کند. |
installbuildenvapksetup | ITargetPreparer که یک یا چند APK تست را از یک پلت فرم Android Build Env نصب می کند. |
نصب شده | تمام ابزار دقیق موجود در دستگاه فعلی را اجرا می کند. |
محرمانه | کنترل کننده برای ModuleParameters#INSTANT_APP . |
سازنده ابزار | یک ITargetPreparer که ابزار را اجرا می کند |
ابزار دقیق | آزمایشی که یک بسته تست ابزار دقیق را در دستگاه داده شده اجرا می کند. |
فراخوانی متن | اجرای عمومی یک IInvocationContext . |
دعوت نامه | کلاس که تمام مراحل دعوت را توصیف می کند: ساخت بارگیری ، Target_Prep ، تست های اجرا ، تمیز کردن. |
InvocationLocal <t> | این کلاس متغیرهای مقیاس دعوت را ارائه می دهد. |
متصدی سنج | یک کلاس ابزار برای دعوت به ثبت برخی از معیارها. |
invocationmetriclogger.invocationGroupMetricKey | گروه بندی اجازه می دهد تا چندین گروه را تحت یک کلید مشابه وارد کنید. |
invocationMetricLogger.InvocationMetricKey | برخی از کلید های خاص که همیشه برای دعوت از آن جمع خواهیم شد. |
رفیق | کلاس برای ذخیره وضعیت دعوت. |
رفیق | یک کنسول یاور برای نشان دادن وضعیت دعوت |
دعوت نامه | کلاس یاور برای جمع آوری و گزارش TestSummary برای مجموعه شنوندگان |
invocationtojunitresultforwarder | کلاس که به وقایع ITestInvocationListener گوش می دهد و آنها را به یک TestListener منتقل می کند. |
پردازنده | پردازنده های پست یک شیء فدراسیون تجارت است که به منظور اجازه پردازش معیارها و سیاهههای مربوط پس از آزمایش و قبل از گزارش نتیجه. |
riemotefeature | رابط توصیف یک ویژگی در TradeFED که براساس درخواست قابل اجرا است. |
IremoteFileresolver | رابط برای اشیاء که می توانند یک پرونده از راه دور را به یک محلی حل کنند. |
iremotefileresolver.remotefileresolverargs | استدلال ها به حل کننده ها منتقل شدند |
IremoteFileresolver.ResolvedFile | کلاس نگه داشتن اطلاعات در مورد پرونده حل شده و برخی از ابرداده ها. |
remotescheledlistenersfeature | گسترش IRemoteFeature برای پشتیبانی از عبور در IScheduledInvocationListener s. |
منزوی ترین | آزمایشی که گزارش می دهد مستقیماً به یک ITestInvocationListener منجر می شود. |
iReportNotExed | در صورت اجرای ناقص ، IRemoteTest که این رابط را پیاده سازی می کند ، ممکن است آزمایش های غیر اجرا شده خود را برای گزارش بهتر گزارش دهد. |
ایزچدولر | رابط برای تنظیم مجدد پیکربندی برای اجرای آینده. |
riesourcemetricalector | رابط کاربری برای اجرای جمع کننده منابع سفارشی. |
اریستاپیلپر | یک رابط یاور برای انجام تماس های API REST. |
isResumableTest | این رابط مستهلک می شود. دیگر نیازی به این نیست |
تصمیم گیری | رابط کاربری تصمیم گیری مجدد و استفاده از فیلتر در کلاس برای آزمایش مجدد هدفمندتر. |
پیشرو | |
بدنام | رابط برای اجرای عملیات به موقع و دستورات سیستم. |
irunutil.envpriority | Enum که تعیین می کند که آیا تنظیم و یا ناآرامی یک ENV خاص است. |
irunutil.irunnableresult | رابط کاربری برای اجرای ناهمزمان عملیاتی که وضعیت بولی را برمی گرداند. |
یبوکس | رابط تعریف یک جعبه ماسه ای که می تواند برای اجرای دعوت استفاده شود. |
isandboxfective | کارخانه ایجاد ISandbox . |
isetoptionreceiver | اجرای این رابط باید Option با نام "تنظیم کننده" داشته باشد که به HostTest#SET_OPTION_NAME مرتبط است. |
ishardablelistener | ITestInvocationListener که می تواند به صورت خرد شود. |
ishardabletest | IRemoteTest که می تواند به تست های فرعی قابل اجرا تقسیم شود. |
ایزاردلپر | رابط یک شیء که استراتژی Sharding را برای اتخاذ یک پیکربندی توصیف می کند. |
جدا شده | یک دونده تجاری را که از یک زیرمجموعه برای اجرای آزمایشات در یک محیط وابستگی کم به جای اجرای آنها در فرآیند اصلی استفاده می کند ، پیاده سازی می کند. |
isupportgranularresults | رابط مشخص می کند که آیا یک ITestInvocationListener از دریافت نتایج گرانول پشتیبانی می کند یا خیر. |
isystemstatuschecker | یک چکر که چک را در وضعیت سیستم انجام می دهد و یک بولی را برمی گرداند تا نشان دهد آیا سیستم در حالت مورد انتظار قرار دارد یا خیر. |
isystemstatuscheckerreeceiver | IRemoteTest که نیاز به دسترسی به ISystemStatusChecker از پیکربندی دارد. |
itargetCleaner | این رابط مستهلک می شود. Teardown به رابط ItArgetParer Base منتقل شده است. |
itargeterer | محیط آزمایش را برای اجرای آزمایش آماده می کند. |
iteriblefailureHandler | یک رابط برای رسیدگی به خرابی های وحشتناک از LogUtil.CLog.wtf(String, Throwable) |
itestannotationfilterreeceiver | دونده ای که می تواند بر اساس حاشیه نویسی ، آزمایش کند. |
itestcolector | پشتیبانی از جمع آوری آزمون را فراهم می کند. در صورت تنظیم ، Test Runner باید برای جمع آوری موارد آزمایش بدون اجرای آنها در واقع یک عمل خشک انجام دهد. |
از روی | یک API سطح قابل اعتماد و کمی بالاتر را به یک IDevice DDMLIB ارائه می دهد. |
itestdevice.apexinfo | یک کلاس ساختار ساده برای ذخیره اطلاعات در مورد یک اوج واحد |
itestdevice.MountPointInfo | یک کلاس ساختار ساده برای ذخیره اطلاعات در مورد یک نقطه کوه |
itestdevice.recoveryMode | |
itestfilefilterreeceiver | دونده ای که می تواند یک پرونده را دریافت کند که مشخص می کند کدام تست ها را برای اجرای و یا اجرا نکشید. |
itestfilterreceiver | دونده ای که می تواند کدام تست ها را برای اجرای آن فیلتر کند. |
itestinformationreceiver | رابط برای دریافت TestInformation برای برخی از کلاس ها. |
محاسبه | یک دعوت آزمون تجاری را کنترل می کند. |
itestinvocation.exitinformation | نشان دهنده برخی از اطلاعات خروج برای دعوت است. |
itestinvocationlistener | شنونده برای نتایج آزمون از دعوت آزمون. |
itestlifecyclereceiver | اعلان های رویداد را در طول آزمون ابزار دقیق دریافت می کند. |
itestlogger | موجودیتی که می تواند ورود به سیستم جریان داده ها را از انواع مختلف انجام دهد. |
itestloggerreceiver | موجودی که می تواند با یک نمونه ITestLogger تزریق شود تا بتواند برای اهداف ورود به سیستم استفاده شود. |
جبهه | رابط توصیف استخر تست هایی که می توانیم به آن دسترسی پیدا کنیم و اجرا کنیم |
itsuSuite | کلاس انتزاعی برای اجرای مجموعه تست استفاده می شود. |
itestsuite.multidevicemodulestrategy | |
itestsuiteresultloader | رابط توصیف یک یاور برای بارگیری نتایج قبلی به روشی که می تواند دوباره اجرا شود. |
itestsummarylistener | رابط کاربری که به ITestInvocationListener اجازه می دهد تا برخی از اطلاعات محدود را از طریق خلاصه ها مبادله کنند. |
itestszipinstaller | تست ها را از یک فایل ZIP Tests (همانطور که توسط سیستم ساخت) روی یک دستگاه نصب می کند ، نصب می کند. |
itokenprovider | رابط توصیف یک شیء که می تواند نشانه های یک دستگاه خاص را فراهم کند. |
ittokenrequest | رابط یک IRemoteTest می تواند برای افشای این واقعیت که به دستگاهی با نشانه خاص نیاز دارد ، پیاده سازی کند. |
جی
جبهه | دونده آزمون برای آزمون های Junit طرف میزبان. |
jarhosttest.hosttestlistener | شنونده بسته بندی که تمام رویدادها را به جز TestRunstarted () و TestRunended () به شنونده تعبیه شده منتقل می کند. |
javacodecoveragecolector | یک BaseDeviceMetricCollector بر مبتنی بر اندازه گیری های پوشش جاوا از دستگاه خارج شده و آنها را به عنوان مصنوعات آزمایشی وارد می کند. |
javacodecoverageflusher | یک کلاس ابزار که مجدداً اندازه گیری های پوشش کد جاوا را از فرآیندهای اجرا شده روی دستگاه بازنشانی و مجبور می کند. |
jsonfilekeystoreclient | اجرای نمونه ای که در آن یک پرونده محلی JSON یک فروشگاه کلیدی انجام می دهد. |
JsonFileKeyStorefactory | اجرای یک کارخانه json keystore ، که یک JSONFileKeyStoreClient را برای دسترسی به یک فایل فروشگاه کلید JSON فراهم می کند. |
jsonhttttestestresultreporter | گزارشگر نتیجه ای که نتایج معیارهای آزمایش و شاخه ، اطلاعات دستگاه را به JSON رمزگذاری کرده و در یک نقطه پایانی سرویس HTTP ارسال می کند |
junit4resultforwarder | نتیجه گیری از Junit4 Runner. |
junit4testfilter | کلاس یاور که با گسترش Filter ، فیلتر برای Runner Junit4 را فراهم می کند. |
جنجال | یک کلاس یاور برای کارگردانی یک تماس IRemoteTest#run(TestInformation, ITestInvocationListener) به یک تماس Test#run(TestResult) . |
JunittoinvocationResultForwarder | کلاس که به رویدادهای TestListener گوش می دهد و آنها را به سمت ITestInvocationListener منتقل می کند. |
رفیق | تجزیه کننده که داده های نتیجه آزمایش را از نتایج JUNIT ذخیره می کند در XMLJunitResultFormatter مورچه ذخیره می شود و آن را به یک itestinvocationlistener منتقل می کند. |
ک
کرنلتارترین | آزمون دونده برای اجرای اجرایی در هدف و تجزیه تست تست هسته. |
kerneltestmodulecontroller | کلاس پایه برای یک کنترلر ماژول در صورت مطابقت با معماری ، تست ها را اجرا نکنید. |
KeyguardControllerstate | یک ظرف برای کشورهای Keyguard. |
راهنما | وضعیت KeyGuard را پس از اجرای ماژول بررسی می کند. |
storeexception | هنگامی که یک خطای کشنده کلید فروشگاه رخ می دهد پرتاب می شود. |
KillexistingEmulatorPreparer | یک ITargetPreparer که یک شبیه ساز در حال اجرا را خاموش می کند. |
شناخته شده | آماده کننده هدف برای پرش مجدد از شکست شناخته شده. |
ktapresultparser | خروجی KTAP را به عنوان تولید شده توسط یک ماژول آزمون KUNIT می خواند و در یک پرونده "نتایج" تحت اشکال زدایی قرار می دهد. |
ktapresultparser.Parseresolution | |
kunitmoduletest | دونده تست برای اجرای ماژول های تست KUNIT در دستگاه. |
L
لابراتوار | مانیتور منابع آزمایشگاهی که سرور GRPC را برای Labresourceservice اولیه/مدیریت می کند. |
بزرگ | کلاس طراحی شده برای کمک به اجرای دستورات طولانی در حال جمع آوری خروجی. |
versharddetector | هنگام اجرای شاردری محلی ، گاهی اوقات فقط می خواهیم برخی از اقدامات را انجام دهیم که آخرین قطعه invocationEnded(long) برسد. |
LaunchcvdHelper | یاور ابزار برای کنترل launch_cvd در Cuttlefish VM. |
ویران | چکر وضعیت برای اطمینان از اینکه یک ماژول یک موضوع در حال اجرا نشت نمی کند. |
LegacysubprocessResultSreporter | اجرای منجمد گزارشگر نتایج فرآیند که باید با وجود تغییر در ابرقهرمان خود با نسخه های قبلی TF/CTS (به عنوان مثال 8+) سازگار باشد. |
لیست | IShellOutputReceiver که خروجی یک پرس و جو "لیست PM" را تجزیه می کند |
ListInstrumentArationParser.InstrumentAtarteget | |
localandroidvirtualdevice | کلاس برای دستگاه های مجازی محلی که در میزبان TradeFed کار می کنند. |
برنامه نویس | یک IBuildProvider که یک IBuildInfo را بر اساس یک مسیر محلی ارائه می دهد |
توسعه دهنده محلی | آیا این یک توسعه دهنده محلی است که در حال اجرا است ، رد می کند و باز می گردد. |
برنامه نویسان | IBuildProvider که یک IDeviceBuildInfo را بر اساس یک مسیر دایرکتوری سیستم فایل ارائه می دهد. |
LocalEmulatorLaunch | یک هدف پیشرو که یک شبیه ساز را به صورت محلی از یک محیط ساخت اندرویدی راه اندازی می کند. |
LocalEmulatorsNapShot | یک هدفمند Target برای تولید عکس فوری شبیه ساز تمیز از یک محیط ساخت/توسعه اندرویدی در نظر گرفته شده است |
سرودر محلی | LocalFileheader یک کلاس است که حاوی اطلاعات یک پرونده/پوشه در داخل یک فایل ZIP است. |
محل کار محلی | اجرای IRemoteFileResolver که امکان پیوند پرونده های محلی را فراهم می کند |
پیش نویس | یک IBuildProvider که یک IFolderBuildInfo را بر اساس یک مسیر محلی ارائه شده می سازد |
LocalHoStresourCemanager | منبع میزبان مدیر. |
محلی | اجرای استخر آزمایشات محلی |
LocalRuninstructionBuilder | ابزار برای تدوین دستورالعمل برای اجرای تست به صورت محلی. |
locksettingsbaselinesetter | یک تنظیم کننده برای حذف تنظیمات قفل صفحه. |
logcatcrashresultforwarder | شنونده ویژه: در مورد خرابی ها (فرایند ابزار دقیق) سعی می کند از Logcat Crash استخراج شود و آن را به پیام خرابی مرتبط با آزمون اضافه کند. |
لاگ | |
نوع logcateventtype | انواع رویداد برای LogcatEventParser . |
LogcatonFailureCollector | جمع کننده ای که در صورت عدم موفقیت یک مورد آزمایش ، یک logcat را ضبط و ثبت می کند. |
لگد | کلاس که LogCat را در پس زمینه جمع می کند. |
legcattimingmetriccolector | یک جمع کننده متریک که اطلاعات زمانبندی (به عنوان مثال زمان سوئیچ کاربر) را از LogCat در طی یک یا چند آزمایش مکرر با استفاده از الگوهای Regex داده شده برای تجزیه و انتهای سیگنال های یک رویداد از خطوط logcat جمع می کند. |
از نوع | نشان دهنده نوع داده داده های ورود به سیستم است. |
ورود به سیستم فایل | کلاس برای نگه داشتن ابرداده برای یک پرونده ورود به سیستم ذخیره شده. |
نای | یک یاور برای ITestInvocationListener که داده های ورود به سیستم را در یک پرونده ذخیره می کند |
لگریزور | |
ورود به سیستم | یک اجرای ILogRegistry که با استفاده از یک مورد مناسب بر اساس ThreadGroup نخ باعث می شود که تماس را انجام دهد و از آن استفاده کند. |
logsaverresultforwarder | یک ResultForwarder برای صرفه جویی در سیاهههای مربوط به Saver File Global. |
گودال | یک کلاس ابزار ورود به سیستم. |
logutil.clog | یک کلاس Shim برای Log که به طور خودکار از نام کلاس ساده تماس گیرنده به عنوان برچسب ورود به سیستم استفاده می کند |
لوسیرساولتر | گزارشگر نتیجه ای که نتایج آزمایش مورد نیاز ResultDB و Luci را در قالب JSON (GO/نتیجه سینک) ذخیره می کند و محل فایل را در کنسول وارد می کند. |
م
اصلی | یک کلاس کنترل کننده ساده برای ماژول های اصلی که یک installApexModuleTargetPreparer ایجاد می کند و پیوند پویا را بر اساس ماژول های اصلی داده شده تزریق می کند تا به طور خودکار آن ماژول ها را بازیابی کند. |
MainlineTestmoduleController | کلاس پایه برای یک کنترلر ماژول برای اجرای تست ها بر اساس ماژول های اصلی از پیش بارگذاری شده در دستگاه تحت آزمایش. |
مدیریت | دستگاهی که در داخل یک ماشین مجازی کار می کند که ما از راه دور از طریق یک نمونه تجاری در داخل VM مدیریت می کنیم. |
مدیریت | کارخانه برای ایجاد نوع متفاوتی از دستگاه هایی که توسط TF قابل کنترل هستند |
حداکثر | کلاس پایه برای یک کنترلر ماژول برای اجرای تست در نسخه های بالاتر از شماره نسخه SDK مشخص نشده است. |
mergedzipentrycollection | ورودی های زیپ انفرادی را در یک پرونده ZIP بزرگ در بلوک ها ادغام کنید تا تلاش های بارگیری به حداقل برسد. |
پیش نویس | یک IMultiTargetPreparer که اجازه می دهد با نامگذاری آنها و کلید پرونده برای کپی کردن در ساخت دیگر ، اطلاعات را از یک ساخت به دیگری منتقل کنید. |
مرجانی | توصیف می کند که چگونه نتایج باید در هنگام وجود چندین تلاش جمع شود. |
پیشرو | مورد استفاده برای بارگذاری پرونده ورود به سیستم معیارهای جمع آوری شده در طول آزمون و سطح اجرا. |
متراکم | حاشیه نویسی برای روشهای آزمایشی حاشیه نویسی با @Test ، یا اگر حاشیه نویسی بخشی از لیست حاشیه نویسی از TestDescription است که امکان مشخص کردن پارامترهای اضافی مفید برای: تنظیم رفتار جمع کننده ها ، فیلتر کردن برخی از روش ها را فراهم می کند. |
معیارهای | metricsxmlresultreporter معیارهای آزمایش را می نویسد و معیارهای مربوط به یک پرونده XML را در یک پوشه مشخص شده توسط پارامتر معیارها در مرحله دعوت شده از آزمون اجرا می کند. |
معیار | پسوند TestCase که امکان ورود به معیارها را هنگام اجرای بخشی از TradeFed فراهم می کند. |
metrictestcase.Logelder | ساختار برای نگه داشتن پرونده ورود به سیستم. |
متریکوتیل | کلاس ابزار برای کشیدن معیارها از تنظیمات StatSD تحت فشار. |
مترادف | حاوی روشهای مشترک مشترک برای ذخیره معیارهای آزمون ، جمع آوری معیارها در تست های مشابه و نوشتن معیارها در یک پرونده است. |
minapileVelmoduleController | کلاس پایه برای یک کنترلر ماژول برای انجام آزمایشات در زیر سطح API مشخص. |
مینز | کلاس پایه برای یک کنترلر ماژول برای اجرای تست در نسخه های زیر شماره نسخه SDK مشخص نشده است. |
پیش بینی کننده | یک IMultiTargetPreparer که تصاویر یک سیستم را در ساخت دستگاه مخلوط می کند. |
متبحر | یک ITargetPreparer که اجازه می دهد یک تصویر هسته را با تصویر دستگاه مخلوط کنید. |
معلق | تست میزبان به معنای اجرای یک فایل باینری Mobly Python از سیستم ساخت Android (Soong) |
moblyamlresultcontrollerinfohandler | MOBLY YAML نتیجه "اطلاعات کنترل کننده" کنترل کننده عنصر. |
moblyamlresultcontrollerinfohandler.controllerinfo | |
moblyamlresultcontrollerinfohandler.controllerinfo.builder | |
moblyamlresulthandlerfective | 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. |
ModulePusher | |
ModulePusher.ModulePushError | Fatal error during Mainline module push. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
ModuleTestTypeUtil | Contains common utility methods for checking module. |
MultiFailureDescription | Collect multiple FailureDescription in one holder. |
MultiMap <K, V> | A ERROR(/Map) that supports multiple values per key. |
ن
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeBenchmarkTest | A Test that runs a native benchmark test executable on given device. |
NativeBenchmarkTestParser | A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation. |
NativeBridgeModuleController | A module controller to check if a device support native bridge. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A 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. |
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 |
O
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.OptionFieldsForName | Container for the list of option fields with given name. |
OptionUpdateRule | Controls the behavior when an option is specified multiple times. |
OtaDeviceBuildInfo | A IDeviceBuildInfo used for over-the-air update testing. |
OtatoolsBuildInfo | An IBuildInfo that contains otatools artifacts. |
OtaZipfileBuildProvider | Provides a IBuildInfo based on a local OTA zip file. |
OxygenClient | A class that manages the use of Oxygen client binary to lease or release Oxygen device. |
OxygenClient.LHPTunnelMode | |
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. |
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 |
PerfettoGenericPostProcessor | A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered. |
PerfettoGenericPostProcessor.AlternativeParseFormat | |
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT | |
PerfettoPreparer | Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to. |
PerfettoPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it. |
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT | |
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. |
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 . |
PropertyChanger | A utility class for changing (or adding) items in an Android property file |
ProtoResultParser | Parser for the Tradefed results proto format. |
ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
ProtoUtil | Utility methods for dealing with protobuf messages type-agnostically. |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
PtsBotTest | Run PTS-bot tests. |
PushFileInvoker | This class is deprecated. Use PushFilePreparer instead |
PushFilePreparer | A ITargetPreparer that attempts to push any number of files from any host path to any device path. |
PythonBinaryHostTest | Host test meant to run a python binary file from the Android Build system (Soong) The test runner supports include-filter and exclude-filter. |
PythonBinaryHostTest.PythonForwarder | Result forwarder to replace the run name by the binary name. |
PythonUnitTestResultParser | Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s. |
PythonUnitTestRunner | This class is deprecated. Use PythonBinaryHostTest instead. |
PythonVirtualenvHelper | A helper class for activating Python 3 virtual environment. |
PythonVirtualenvPreparer | Sets up a Python virtualenv on the host and installs packages. |
س
QuotationAwareTokenizer |
آر
RebootReasonCollector | Collector that collects device reboot during the test run and report them by reason and counts. |
RebootTargetPreparer | Target preparer that reboots the device. |
RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true |
RemoteDynamicPool | Implementation of a pool of remote work queued tests |
RemoteFileResolver | A simple class that allows one to load files from a variety of places using URIs and the service provider functionality. |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteInvocationExecution.FileOptionValueTransformer | |
RemoteSshUtil | Utility to execute ssh commands on remote instances. |
RemoteTestTimeOutEnforcer | Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
RemoveSystemAppPreparer | A ITargetPreparer for removing an apk from the system partition before a test run. |
ReportPassedTests | Report in a file possible filters to exclude passed test. |
ResolvePartialDownload | Resolve a partial download request. |
ResourceMetricUtil | Utility functions for composing metrics. |
ResourceUtil | Utility for reading configuration resources. |
RestApiHelper | 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. |
ResultForwarder | A ITestInvocationListener that forwards invocation results to a list of other listeners. |
ResultsPlayer | Special runner that replays the results given to it. |
RetentionFileSaver | Helper class for creating a .retention file in a directory. |
RetryConfigurationFactory | Factory that handles retrying a command. |
RetryLogSaverResultForwarder | Forwarder that also handles passing the current attempt we are at. |
RetryPreparationDecision | A Class to describe the decisions about whether or not to retry preparation and to fail the module run. |
RetryRescheduler | A special runner that allows to reschedule a previous run tests that failed or where not executed. |
RetryRescheduler.RetryType | The types of the tests that can be retried. |
RetryResultForwarder | An Extension of ResultForwarder that always push to a given attempt number. |
RetryResultHelper | Helper class to determine which module or test should run or not. |
RetryStatistics | Structure holding the statistics for a retry session of one IRemoteTest . |
RetryStrategy | The Retry Strategy to be used when re-running some tests. |
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 | |
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 that creates a secondary user in setup, and marks that tests should be run in that user. |
RunOnSystemUserTargetPreparer | An ITargetPreparer that marks that tests should be run on the user (rather than the current user). |
RunOnWorkProfileParameterHandler | |
RunOnWorkProfileTargetPreparer | An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user. |
RuntimeRestartCollector | Collector 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 . |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SecondaryUserOnDefaultDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY . |
SecondaryUserOnSecondaryDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY . |
SemaphoreTokenTargetPreparer | This is a preparer used to use token to serialize test excution in tradefed host. |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
SettingsBaselineSetter | A common setter to handle device baseline settings via ITestDevice.setSetting. |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:
|
ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
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. |
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. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SwitchUserTargetPreparer | A ITargetPreparer that switches to the specified user kind in setUp. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUpdaterDeviceFlasher | A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable |
تی
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. |
TcpDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true |
TearDownPassThroughPreparer | Allows for running tearDown on preparers that are included in a config as an object. |
TelephonyHelper | A utility to use and get information related to the telephony. |
TelephonyHelper.SimCardInformation | An information holder for the sim card related information. |
TelephonyTokenProvider | Token provider for telephony related tokens. |
TemperatureThrottlingWaiter | An ITargetPreparer that waits until device's temperature gets down to target |
TemplateResolutionError | Class extending ConfigurationException for template related error during configuration parsing. |
TerribleFailureEmailHandler | A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. |
TestAppInstallSetup | 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 . |
محیط آزمایش | A class to model a TestEnvironment message returned by TFC API. |
TestErrorIdentifier | Error identifier from tests and tests runners. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
TestFailureModuleController | Controller for module that simply want to tune how the tests failures log collected are behaving. |
TestFilePushSetup | A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device. |
TestFilterHelper | Helper class for filtering tests |
TestGroupStatus | A class to store status of a test group. |
TestInfo | 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. |
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. |
نتیجه آزمایش | Container for a result of a single test. |
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. |
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. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TestSummary | A class to represent a test summary. |
TestSummary.Type | |
TestSummary.TypedString | |
TestSystemAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device. |
TestTimeoutEnforcer | Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout. |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
TfMetricProtoUtil | Utility class to help with the Map |
TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
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. |
TimeUtil | Contains time related utility methods. |
TimeVal | This is a sentinel type which wraps a Long . |
وقت تلف کن | 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. |
U
UiAutomatorRunner | Runs UI Automator test on device and reports results. |
UiAutomatorTest | |
UiAutomatorTest.LoggingOption | |
UiAutomatorTest.TestFailureAction | |
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
UniqueMultiMap <K, V> | A MultiMap that ensures unique values for each key. |
UsbResetMultiDeviceRecovery | A IMultiDeviceRecovery which resets USB buses for offline devices. |
UsbResetRunConfigRecovery | Allow to trigger a command to reset the USB of a device |
UsbResetTest | An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards. |
UserChecker | Checks if users have changed during the test. |
UserCleaner | A ITargetPreparer that removes secondary users on teardown. |
UserHelper | |
اطلاعات کاربر | Similar to UserInfo class from platform. |
UserInfo.UserType | Supported variants of a user's type in external APIs. |
V
ValidateSuiteConfigHelper | This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters |
VersionedFile | Data structure representing a file that has an associated version. |
VersionParser | Fetch the version of the running tradefed artifacts. |
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. |
ایکس
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. |
ز
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 |
Class Index
These are the API classes. See all API packages .
آ
AaptParser | Class that extracts info from apk by parsing output of 'aapt dump badging'. |
AaptParser.AaptVersion | Enum of options for AAPT version used to parse APK files. |
ابی | A class representing an ABI. |
AbiFormatter | Utility class for abi. |
AbiUtils | Utility class for handling device ABIs |
AbstractConnection | Abstract connection representation. |
AbstractHostMonitor | Typical class for Host Health Monitoring. |
AbstractTunnelMonitor | Abstract tunnel monitor for GCE AVD. |
AbstractXmlParser | Helper base class for parsing xml files |
AbstractXmlParser.ParseException | Thrown if XML input could not be parsed |
AcloudConfigParser | Helper class that parse an Acloud config (used to start a Cloud device instance). |
AcloudConfigParser.AcloudKeys | Sets of key that can be searched from the configuration. |
ActionInProgress | The general action in progress. |
ActiveTrace | Main class helping to describe and manage an active trace. |
ActivityStatusChecker | Status checker for left over activities running at the end of a module. |
AdbRootElevator | An AutoCloseable that enables adb root when constructed if needed and restores root state when complete. |
AdbSshConnection | Adb connection over an ssh bridge. |
AdbStopServerPreparer | Target preparer to stop adb server on the host before and after running adb tests. |
AdbTcpConnection | Default connection representation of a device, assumed to be a standard adb connection of the device. |
AdbUtils | A utility class for adb operations. |
AfterClassWithInfo | Similar guarantees as AfterClass but method annotated must require a TestInformation parameter. |
AggregatePostProcessor | A metric aggregator that gives the min, max, mean, variance, standard deviation, total, count and optionally percentiles for numeric metrics collected during multiple-iteration test runs, treating them as doubles. |
AllTestAppsInstallSetup | A ITargetPreparer that installs all apps from a IDeviceBuildInfo#getTestsDir() folder onto device. |
AltDirBehavior | An enum to define alternative directory behaviors for various test artifact installers/pushers |
AndroidJUnitTest | A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. |
AndroidTestOrchestratorRemoteTestRunner | Runs an instrumented Android test using the adb command and AndroidTestOrchestrator. |
AoaTargetPreparer | ITargetPreparer that executes a series of actions (eg clicks and swipes) using the Android Open Accessory (AOAv2) protocol. |
AppBuildInfo | A IBuildInfo that represents an Android application and its test package(s). |
AppDeviceBuildInfo | This class is deprecated. Use IDeviceBuildInfo directly. |
AppSetup | A ITargetPreparer that installs an apk and its tests. |
AppVersionFetcher | Utility class to get app version string from device. |
AppVersionFetcher.AppVersionInfo | App version info types. |
ArchModuleController | Module controller to not run tests when it doesn't match any given architectures. |
ArgsOptionParser | Populates Option fields from parsed command line arguments. |
ArrayUtil | Utility methods for arrays |
ArtChrootPreparer | Create chroot directory for ART tests. |
ArtGTest | |
ArtifactDetails | This describes the structure of the content and its descriptor as generated by the CAS tool |
ArtifactDetails.ArtifactFileDescriptor | |
ArtifactsAnalyzer | A utility that helps analyze the build artifacts for insight. |
ArtRunTest | A test runner to run ART run-tests. |
ArtRunTest.AdbShellCommandException | An exception class to report an error that occurred during the execution of an ADB shell command. |
ATestFileSystemLogSaver | This LogSaver class is used by ATest to save logs in a specific path. |
AtestRunner | Implementation of ITestSuite |
AtraceCollector | A IMetricCollector that runs atrace during a test and collects the result and log them to the invocation. |
AtraceRunMetricCollector | Collects the traces from all the test directory under the given directory from the test device, log the test directory and post process the trace files under the test directory and aggregate the metrics. |
AutoLogCollector | Enumeration describing which collector can automatically be handled by the harness. |
AutomatedReporters | Class that defines the mapping from Tradefed automated reporters. |
AveragePostProcessor | Implementation of post processor that calculate the average of the list of metrics. |
ب
BackgroundDeviceAction | Runs a command on a given device repeating as necessary until the action is canceled. |
BaseDeviceMetricCollector | Base implementation of IMetricCollector that allows to start and stop collection on onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) and ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulatorPreparer | Common preparer for launching a local emulator. |
BaseHostJUnit4Test | Base test class for running host JUnit4 style tests. |
BaseLeveledLogOutput | A base implementation for ILeveledLogOutput that allows to filtering some tags based on their name or components. |
BaseModuleController | Basic implementation of IModuleController that should be implemented for checking if a module should run or not. |
BaseMultiTargetPreparer | Base implementation of IMultiTargetPreparer that allows to disable the object. |
BasePostProcessor | The base IPostProcessor that every implementation should extend. |
BaseRetryDecision | Base implementation of IRetryDecision . |
BaseStreamLogger <OS extends OutputStream> | A ILeveledLogOutput that directs log messages to an output stream and to stdout. |
BaseTargetPreparer | Base implementation class for ITargetPreparer that allows to control whether the object is disabled or not. |
BaseTestSuite | A Test for running Compatibility Test Suite with new suite system. |
BatteryController | Utility class that allows to control the battery charging state of a device. |
BatteryRechargeDeviceRecovery | Allow to trigger a command when the battery level of the device goes under a given threshold. |
BatteryTemperature | |
BatteryUnavailableDeviceRecovery | Recovery checker that will trigger a configuration if the battery level is not available. |
BeforeClassWithInfo | Similar guarantees as BeforeClass but method annotated must require a TestInformation parameter. |
BinaryState | Enum used to record ON/OFF state with a IGNORE no-op state. |
BluetoothConnectionLatencyCollector | The collector will push a pre-defined statsd duration metric config to devices and collect Bluetooth connection duration for each profile. |
BluetoothConnectionStateCollector | This collector will collect BluetoothConnectionStateChanged metrics and record connection state number for each profile. |
BluetoothConnectionSuccessRatePostProcessor | Implementation of postprocessor which calculates success rate for a bluetooth profile Use "metric-key-match" to specify metrics which contain bluetooth connection states in numeric array Example [0, 1, 2, 3, 0, 1, 2, 3]. |
BluetoothHciSnoopLogCollector | Collector to enable Bluetooth HCI snoop logging on the DUT and to collect the log for each test. |
BluetoothUtils | Utility functions for calling BluetoothInstrumentation on device Device side BluetoothInstrumentation code can be found in AOSP at: |
BootstrapBuildProvider | A IDeviceBuildProvider that bootstraps build info from the test deviceThis is typically used for devices with an externally supplied build, ie |
BootstrapServiceFileResolverLoader | Loads resolvers using the service loading facility. |
گزارش اشکال | Object holding the bugreport files references, compatible of flat bugreport and zipped bugreport (bugreportz). |
BugreportCollector | A pass-through ITestInvocationListener that collects bugreports when configurable events occur and then calls ITestInvocationListener#testLog on its children after each bugreport is collected. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | A full predicate describing when to capture a bugreport. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Collect a bugreportz when a test case fails. |
BugreportzOnTestCaseFailureCollector | Collect a bugreportz when a test case in a run fails. |
BuildAnalysis | Represents the results of a single build analysis. |
BuildError | Thrown if the provided build fails to run. |
BuildInfo | Generic implementation of a IBuildInfo that should be associated with a ITestDevice . |
BuildInfoKey | Class holding enumeration related to build information queries. |
BuildInfoKey.BuildInfoFileKey | Enum describing all the known file types that can be queried through IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
BuildInfoRecorder | An ITargetPreparer that writes build info meta data into a specified file. |
BuildInfoUtil | A util class to help manipulate IBuildInfo |
BuildRetrievalError | A fatal error occurred while retrieving the build for testing. |
BuildSerializedVersion | Class that contains the current serialization version of all IBuildInfo . |
BuildTestsZipUtils | A helper class for operations related to tests zip generated by Android build system |
BulkEmailer | A email sender utility that allows the following configuration: sent interval,initial burst size, recipients and the total number messages. |
BundletoolUtil | Utility class that uses bundletool command line to install the .apks on deivce. |
ByteArrayInputStreamSource | |
ByteArrayList | A class to represent a lightweight byte array. |
ByteArrayUtil | Utilities to operate on byte array, eg, convert bytes to integer. |
سی
CarModuleController | This controller prevents execution of tests cases on non-automotive devices. |
CarryDnaeError | Internal RuntimeException to carry DeviceNotAvailableException through the JUnit4 framework. |
CarryInterruptedException | Thrown when test phase timeout is triggered and an InterruptedException needs to be carried from test execution thread to invocation execution thread. |
CdmaDeviceFlasher | A class that flashes an image on a physical Android device with a CDMA radio. |
CecControllerTokenProvider | Token provider for Consumer Electronics Control (CEC) related tokens. |
CentralDirectoryInfo | CentralDirectoryInfo is a class containing the information of a file/folder inside a zip file. |
CheckPairingPreparer | A CompanionAwarePreparer that verifies BT bonding between primary and companion devices |
CircularAtraceUtil | An atrace utility developed primarily for identifying the root causes of ANRs during Monkey testing. |
CircularByteArray | Data structure for holding a fixed size array that operates as a circular buffer, and tracks the total sum of all values in the array. |
ClangCodeCoverageCollector | A BaseDeviceMetricCollector that will pull Clang coverage measurements off of the device and log them as test artifacts. |
ClangProfileIndexer | A utility class that indexes Clang code coverage measurements. |
ClassNotFoundConfigurationException | ConfigurationException for when the class of an object is not found. |
ClassPathScanner | Finds entries on classpath. |
ClassPathScanner.ClassNameFilter | A IClassPathFilter that filters and transforms java class names. |
ClassPathScanner.ExternalClassNameFilter | A ClassNameFilter that rejects inner classes |
ClassPathScanner.IClassPathFilter | A filter for classpath entry paths Patterned after |
ClockworkUtils | A clockwork utility for sharing multi-device logic |
CloseableTraceScope | A scoped class that allows to report tracing section via try-with-resources |
ClusterBuildInfo | A IBuildInfo class for builds piped from TFC. |
ClusterBuildProvider | A IBuildProvider to download TFC test resources. |
ClusterClient | A IClusterClient implementation for interacting with the TFC backend. |
ClusterCommand | A class that represents a task fetched from TF Cluster. |
ClusterCommand.RequestType | |
ClusterCommand.State | Command's status in the TF cluster. |
ClusterCommandConfigBuilder | A class to build a configuration file for a cluster command. |
ClusterCommandEvent | A class to encapsulate cluster command events to be uploaded. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | A IRemoteTest class to launch a command from TFC via a subprocess TF. |
ClusterCommandScheduler | A ICommandScheduler to support TFC (Tradefed Cluster). |
ClusterCommandStatus | A class that represents the state and the cancel reason for a command from TF Cluster. |
ClusterDeviceInfo | A class to encapsulate cluster device info to be uploaded. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | An IDeviceMonitor implementation that reports results to the Tradefed Cluster service. |
ClusterEventUploader <T extends IClusterEvent > | ClusterEventUploader class, which uploads IClusterEvent to TFC. |
ClusterHostEvent | A class to encapsulate cluster host events to be uploaded. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | Enums of the different types of host events. |
ClusterHostUtil | Static util functions for TF Cluster to get global config instances, host information, etc. |
ClusterLogSaver | A ILogSaver class to upload test outputs to TFC. |
ClusterLogSaver.FilePickingStrategy | File picking strategies. |
ClusterOptions | |
CodeCoverageTest | A Test that runs an instrumentation test package on a given device and generates the code coverage report. |
CollectingByteOutputReceiver | A IShellOutputReceiver which collects the whole shell output into a byte[] . |
CollectingOutputReceiver | A IShellOutputReceiver which collects the whole shell output into one String . |
CollectingTestListener | A ITestInvocationListener that will collect all test results. |
CollectorHelper | Helper to do some IMetricCollector operations needed in several places. |
CommandFileParser | Parser for file that contains set of command lines. |
CommandFileParser.CommandLine | |
CommandInterrupter | Service allowing TradeFederation commands to be interrupted or marked as uninterruptible. |
CommandLineBuildInfoBuilder | Utility meant to capture the usual build information arguments from a command line and create a IBuildInfo from them. |
CommandOptions | Implementation of ICommandOptions . |
CommandOptionsGetter | Service implementation that returns the command options value of a given invocation. |
CommandResult | Contains the result of a command. |
CommandRunner | An alternate TradeFederation entry point that will run command specified in command line arguments and then quit. |
CommandRunner.ExitCode | Error codes that are possible to exit with. |
CommandScheduler | A scheduler for running TradeFederation commands across all available devices. |
CommandScheduler.HostState | Enums of different status of host |
CommandStatus | Represents the status of an timed operation. |
CommandStatusHandler | Handler helping to monitor and update the status of an invocation. |
CommandSuccessModuleController | Base class for a module controller to skip test module based on shell command failure. |
CommonLogRemoteFileUtil | This utility allows to avoid code duplication across the different remote device representation for the remote log fetching logic of common files. |
CommonLogRemoteFileUtil.KnownLogFileEntry | A representation of a known log entry for remote devices. |
CompanionAllocator | Base class that takes care of allocating and freeing companion device |
CompanionAwarePreparer | An ITargetPreparer that encapsulates the logic of getting an already allocated companion device. |
CompanionAwareTest | Base test class that encapsulates boilerpate of getting and checking companion device Subclass may call |
CompanionDeviceTracker | A class for allocating and freeing companion devices |
CompanionRunCommandTargetPreparer | A ITargetPreparer that runs specified commands on the allocated companion device |
CompanionTestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto an allocated companion device. |
CompileBootImageWithSpeedTargetPreparer | Recompiles the boot classpath and system server with the compiler filter 'speed'. |
ConditionFailureMonitor | Monitor for any failures from the invocation. |
ConditionPriorityBlockingQueue <T> | A thread-safe class with ERROR(/PriorityBlockingQueue) -like operations that can retrieve objects that match a certain condition. |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | A ConditionPriorityBlockingQueue.IMatcher that matches any object. |
ConditionPriorityBlockingQueue.IMatcher <T> | An interface for determining if elements match some sort of condition. |
ConfigCompleter | Implementation of the Completer for our TF configurations. |
ConfigurableGrpcDynamicShardingClient | |
پیکربندی | A concrete IConfiguration implementation that stores the loaded config objects in a map. |
ConfigurationDef | Holds a record of a configuration, its associated objects and their options. |
ConfigurationDef.ConfigObjectDef | Object to hold info for a className and the appearance number it has (eg if a config has the same object twice, the first one will have the first appearance number). |
ConfigurationDescriptor | Configuration Object that describes some aspect of the configuration itself. |
ConfigurationDescriptor.LocalTestRunner | Enum used to indicate local test runner. |
ConfigurationException | Thrown if configuration could not be loaded. |
ConfigurationFactory | Factory for creating IConfiguration . |
ConfigurationFactory.ConfigLoader | Implementation of IConfigDefLoader that tracks the included configurations from one root config, and throws an exception on circular includes. |
ConfigurationFactory.ExceptionLoader | |
ConfigurationUtil | Utility functions to handle configuration files. |
ConfigurationXmlParserSettings | A simple class to accept settings for the ConfigurationXmlParser To pass settings to this class, the alias is mandatory. |
ConfigurationYamlParser | Parser for YAML style Tradefed configurations |
ConfigUtil | Utility class for creating, interacting with, and pushing statsd configuration files. |
ConfigUtil.LogSource | |
کنسول | Main TradeFederation console providing user with the interface to interact Currently supports operations such as
|
Console.ArgRunnable <T> | A Runnable with a run method that can take an argument |
Console.CaptureList | A convenience type for List<List<String>> |
ConsoleReaderOutputStream | An OutputStream that can be used to make System.out.print() play nice with the user's LineReader unfinishedLine. |
ConsoleResultReporter | Result reporter to print the test results to the console. |
ContentAnalysisContext | Provide the context surrounding a content to analyze it properly. |
ContentAnalysisContext.AnalysisMethod | This describes what to expect from the content structure for proper analysis. |
ContentAnalysisResults | Summary of the content analysis. |
ContentInformation | Represents the content for a given build target of its base and current version. |
ContentProviderHandler | Handler that abstract the content provider interactions and allow to use the device side content provider for different operations. |
CountingTestResultListener | A TestResultListener that tracks the total number of tests by TestStatus |
CountTestCasesCollector | Count and report the number of test cases for a given IRemoteTest . |
CoverageMeasurementForwarder | A placeholder test that forwards coverage measurements from the build provider to the logger. |
CoverageOptions | Tradefed object to hold coverage options. |
CoverageOptions.Toolchain | |
CpuThrottlingWaiter | An ITargetPreparer that waits until max frequency on all cores are restored to highest level available |
CreateAvdPreparer | |
CreateUserPreparer | Target preparer for creating user and cleaning it up at the end. |
CurrentInvocation | A class that tracks and provides the current invocation information useful anywhere inside the invocation. |
CurrentInvocation.InvocationInfo | Some special named key that we will always populate for the invocation. |
CurrentInvocation.IsolationGrade | Describes the level of isolation |
D
DebugHostLogOnFailureCollector | Collector that will gather and log the host-side logs when a test case failure occurs. |
DefaultConnection | Default connection representation of a device, assumed to be a standard adb connection of the device. |
DefaultConnection.ConnectionBuilder | Builder used to described the connection. |
DefaultRemoteAndroidTestRunner | Extension of the ddmlib RemoteAndroidTestRunner to set some default for Tradefed use cases. |
DefaultTestsZipInstaller | A default implementation of tests zip installer. |
DelegatedInvocationExecution | InvocationExecution which delegate the execution to another Tradefed binary. |
DependenciesResolver | A new type of provider that allows to get all the dependencies for a test. |
DeviceActionTargetPreparer | A ITargetPreparer to perform device actions. |
DeviceActionUtil | A Utility class to execute device actions. |
DeviceActionUtil.Command | Commands for device action. |
DeviceActionUtil.DeviceActionConfigError | Exception for config error. |
DeviceAllocationResult | Represents the results of an allocation attempt for a command. |
DeviceAllocationState | Represents the allocation state of the device from the IDeviceManager perspective |
DeviceAvailableChecker | Checker to ensure a module doesn't leave the device in an offline state. |
DeviceBaselineChecker | Set device baseline settings before each module. |
DeviceBaselineSetter | Abstract class used to create a device baseline setting. |
DeviceBatteryLevelChecker | An IRemoteTest that checks for a minimum battery charge, and waits for the battery to reach a second charging threshold if the minimum charge isn't present. |
DeviceBatteryResourceMetricCollector | This collector collects device battery metrics. |
DeviceBuildDescriptor | A wrapper class for a IBuildInfo , that contains helper methods to retrieve device platform build information. |
DeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
DeviceBuildInfoBootStrapper | A ITargetPreparer that replaces build info fields with attributes read from deviceThis is useful for testing devices with builds generated from an external source (eg |
DeviceBuildInfoInjector | A ITargetPreparer that inserts DeviceBuildDescriptor metadata into the IBuildInfo . |
DeviceCleaner | Performs reboot or format as cleanup action after test, and optionally turns screen off |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | Contains utility methods and classes for concurrent device side command execution Use |
DeviceConcurrentUtil.ShellCommandCallable <V> | A ERROR(/Callable) that wraps the details of executing shell command on an ITestDevice . |
DeviceConfigurationHolder | A concrete IDeviceConfiguration implementation that stores the loaded device configuration objects in its attributes. |
DeviceDescriptor | A class containing information describing a device under test. |
DeviceDisconnectedException | Thrown when a device is no longer reachable via it's transport type, eg if the device is no longer visible via USB, or TCP/IP connection |
DeviceErrorIdentifier | Error Identifiers from Device errors and device reported errors. |
DeviceFailedToBootError | Thrown if a device fails to boot after being flashed with a build. |
DeviceFeatureFlag | |
DeviceFeatureModuleController | A module controller to not run tests when it doesn't support certain feature. |
DeviceFileReporter | A utility class that checks the device for files and sends them to ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) if found. |
DeviceFlashPreparer | A ITargetPreparer that flashes an image on physical Android hardware. |
DeviceFoldableState | Representation of device foldable state as returned by "cmd device_state print-states". |
DeviceFolderBuildInfo | A IDeviceBuildInfo that also contains other build artifacts contained in a directory on the local filesystem. |
DeviceImageTracker | For some of the incremental device update, we need the baseline files to compute diffs. |
DeviceImageTracker.FileCacheTracker | Track information of the device image cached and its metadata |
DeviceImageZipFlashingTargetPreparer | A target preparer that flashes the device with device images provided via a specific format. |
DeviceInternetAccessibilityResourceMetricCollector | The collector pings google.com to check if the device has internet accessibility or not. |
DeviceJUnit4ClassRunner | JUnit4 test runner that also accommodates IDeviceTest . |
DeviceJUnit4ClassRunner.LogAnnotation | Fake annotation meant to carry logs to the reporters. |
DeviceJUnit4ClassRunner.MetricAnnotation | Fake annotation meant to carry metrics to the reporters. |
DeviceJUnit4ClassRunner.TestLogData | Implementation of ExternalResource and TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | Implementation of ExternalResource and TestRule . |
DeviceManagementGrpcServer | GRPC server allowing to reserve a device from Tradefed. |
مدیریت دستگاه | |
DeviceManager.FastbootDevice | Representation of a device in Fastboot mode. |
DeviceMetricData | Object to hold all the data collected by metric collectors. |
DeviceMonitorMultiplexer | A proxy class to propagate requests to multiple IDeviceMonitor s. |
DeviceNotAvailableException | Thrown when a device is no longer available for testing. |
DeviceOwnerTargetPreparer | An ITargetPreparer that sets up a device owner component. |
DeviceParameterizedRunner | JUnit4 style parameterized runner for host-side driven parameterized tests. |
DeviceProperties | Common constant definitions for device side property names |
DeviceRecoveryModeUtil | |
DeviceReleaseReporter | Device release reporter that handles communicating with the parent process the device(s) to be released. |
DeviceResetFeature | Server side implementation of device reset. |
DeviceResetHandler | Utility handling generically device resetting. |
DeviceRuntimeException | Thrown when a device action did not results in the expected results. |
DeviceSelectionOptions | Container for for device selection criteria. |
DeviceSelectionOptions.DeviceRequestedType | The different possible types of placeholder devices supported. |
DeviceSettingChecker | Check if device settings have changed during a module run. |
DeviceSetup | A ITargetPreparer that configures a device for testing based on provided Option s. |
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 |
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. |
E
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. |
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 | |
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. |
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. |
FileLogger | A ILeveledLogOutput that directs log messages to a file and to stdout. |
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 | |
FuseUtil | A helper class for FUSE operations. |
جی
GceAvdInfo | Structure to hold relevant data for a given GCE AVD instance. |
GceAvdInfo.GceStatus | |
GceAvdInfo.LogFileEntry | |
GceLHPTunnelMonitor | |
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 | 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). |
GCSFileUploader | File uploader to upload file data to google cloud storage (GCS). |
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. |
GlobalConfiguration | An IGlobalConfiguration implementation that stores the loaded config objects in a map |
GlobalFilterGetter | Service implementation that returns the filters of a given invocation. |
GlobalTestFilter | Filter options applied to the invocation. |
GoogleApiClientUtil | Utils for create Google API client. |
GoogleBenchmarkResultParser | Parses the results of Google Benchmark that run from shell, and return a map with all the results. |
GoogleBenchmarkTest | A Test that runs a Google benchmark test package on given device. |
GranularRetriableTestWrapper | 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. |
اچ
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. |
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 AndroidDebugBridge methods used in this package. |
IAppBuildInfo | This interface is deprecated. Use IBuildInfo directly. |
IAutoRetriableTest | Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry. |
IBatteryInfo | The interface defining the interaction with a battery of a device. |
IBatteryInfo.BatteryState | Describes the current battery charging state. |
IBuildInfo | Holds information about the build under test. |
IBuildInfo.BuildInfoProperties | Some properties that a IBuildInfo can have to tweak some handling of it. |
IBuildProvider | Responsible for providing info regarding the build under test. |
IBuildReceiver | A test that needs reference to the build under test. |
IClusterClient | An interface for interacting with the TFC backend. |
IClusterEvent | Interface for any cluster event to be uploaded to TFC. |
IClusterEventUploader <T extends IClusterEvent > | Interface for ClusterEventUploader |
IClusterOptions | An interface for getting cluster-related options. |
ICommandOptions | Container for execution options for commands. |
ICommandScheduler | A scheduler for running TradeFederation commands. |
ICommandScheduler.IScheduledInvocationListener | Listener for invocation events when invocation completes. |
ICompressionStrategy | An interface representing a compression algorithm that can be selected at runtime. |
IConfigOptionValueTransformer | An interface for manipulating config option value |
IConfigurableVirtualDevice | An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.). |
IConfiguration | Configuration information for a TradeFederation invocation. |
IConfigurationFactory | Factory for creating IConfiguration s |
IConfigurationReceiver | Simple interface to represent object that accepts an IConfiguration . |
IConfigurationServer | An interface for config server. |
ICredentialFactory | An interface for credential factory to create oauth2 Credential . |
IDefaultObjectLoader | Interface for loading the default objects that should be part of our YAML configuration. |
IDefaultObjectLoader.LoaderConfiguration | The loading configuration object to pass information to the loader. |
IDeviceActionReceiver | Provides an API to receive device events. |
IDeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
IDeviceBuildProvider | A IBuildProvider that uses information from a ITestDevice to retrieve a build. |
IDeviceConfiguration | Device Configuration Holder Interface. |
IDeviceFlasher | Flashes a device image on a device. |
IDeviceFlasher.UserDataFlashOption | Enum of options for handling the userdata image |
IDeviceManager | Interface for managing the set of available devices for testing. |
IDeviceManager.IFastbootListener | A listener for fastboot state changes. |
IDeviceMonitor | Interface for monitoring state of devices. |
IDeviceMonitor.DeviceLister | A 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. |
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 . |
IGlobalConfiguration | A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations). |
IHarnessException | Description of the harness exception interface that will be implemented by harness exceptions. |
IHostCleaner | Cleans up the host after the test run has finished. |
IHostHealthAgent | An interface to emit host or device metrics. |
IHostMonitor | Interface to dispatch host data |
IHostMonitor.HostDataPoint | Generic class for data to be reported. |
IHostMonitor.HostMetricType | |
IHostOptions | Host options holder interface. |
IHostOptions.PermitLimitType | Enum describing the possible permit limiters |
IHostResourceManager | Interface to manager host resource. |
IHttpHelper | Helper methods for performing http requests. |
IHttpHelper.DataSizeException | |
IInvocationContext | Holds information about the Invocation for the tests to access if needed. |
IInvocationContext.TimingEvent | |
IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
IInvocationExecution | Interface describing the actions that will be done as part of an invocation. |
IKeyStoreClient | Interface to access a key store for password or sensitive data. |
IKeyStoreFactory | Factory for creating IKeyStoreClient . |
ILabPreparer | Marker interface for lab preparers See |
ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
ILogRegistry.EventType | Events that are useful to be logged |
ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
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. |
InfraErrorIdentifier | Error Identifiers from Trade Federation infra, and dependent infra (like Build infra). |
InputStreamSource | This interface basically wraps an ERROR(/InputStream) to make it clonable. |
InstallAllTestZipAppsSetup | A ITargetPreparer that installs all apps in a test zip. |
InstallApexModuleTargetPreparer | |
InstallApkSetup | A ITargetPreparer that installs one or more apks located on the filesystem. |
InstallBuildEnvApkSetup | A ITargetPreparer that installs one or more test apks from an Android platform build env. |
InstalledInstrumentationsTest | Runs all instrumentation found on current device. |
InstantAppHandler | Handler for ModuleParameters#INSTANT_APP . |
InstrumentationPreparer | A ITargetPreparer that runs instrumentation |
InstrumentationTest | A Test that runs an instrumentation test package on given device. |
InvocationContext | Generic implementation of a IInvocationContext . |
InvocationExecution | Class that describes all the invocation steps: build download, target_prep, run tests, clean up. |
InvocationLocal <T> | This class provides invocation-scope variables. |
InvocationMetricLogger | A utility class for an invocation to log some metrics. |
InvocationMetricLogger.InvocationGroupMetricKey | Grouping allows to log several groups under a same key. |
InvocationMetricLogger.InvocationMetricKey | Some special named key that we will always populate for the invocation. |
InvocationStatus | A class to store invocation status. |
InvocationStatus | A helper enum to represent the invocation status |
InvocationSummaryHelper | Helper class for gathering and reporting TestSummary for set of listeners |
InvocationToJUnitResultForwarder | A class that listens to ITestInvocationListener events and forwards them to a TestListener . |
IPostProcessor | Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting. |
IRemoteFeature | Interface describing a feature in Tradefed that can be executed based on the request. |
IRemoteFileResolver | Interface for objects that can resolve a remote file into a local one. |
IRemoteFileResolver.RemoteFileResolverArgs | The args passed to the resolvers |
IRemoteFileResolver.ResolvedFile | Class holding information about the resolved file and some metadata. |
IRemoteScheduledListenersFeature | Extension of IRemoteFeature to support passing in IScheduledInvocationListener s. |
IRemoteTest | A test that reports results directly to a ITestInvocationListener . |
IReportNotExecuted | In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting. |
IRescheduler | Interface for rescheduling a config for future execution. |
IResourceMetricCollector | The interface for user to implement customized resource collectors. |
IRestApiHelper | A helper interface for performing REST API calls. |
IResumableTest | This interface is deprecated. No need for this anymore |
IRetryDecision | Interface driving the retry decision and applying the filter on the class for more targeted retry. |
IRuntimeHintProvider | |
IRunUtil | Interface for running timed operations and system commands. |
IRunUtil.EnvPriority | Enum that defines whether setting or unsetting a particular env. |
IRunUtil.IRunnableResult | An interface for asynchronously executing an operation that returns a boolean status. |
ISandbox | Interface defining a sandbox that can be used to run an invocation. |
ISandboxFactory | Factory for creating ISandbox . |
ISetOptionReceiver | Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME . |
IShardableListener | A ITestInvocationListener that can be sharded. |
IShardableTest | A IRemoteTest that can be split into separately executable sub-tests. |
IShardHelper | Interface of an object that describes the sharding strategy to adopt for a configuration. |
IsolatedHostTest | Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process. |
ISupportGranularResults | Interface specifying whether a ITestInvocationListener supports receiving the granular results or not. |
ISystemStatusChecker | An checker that performs checks on system status and returns a boolean to indicate if the system is in an expected state. |
ISystemStatusCheckerReceiver | A IRemoteTest that requires access to the ISystemStatusChecker from the configuration. |
ITargetCleaner | This interface is deprecated. tearDown has been moved to the base ITargetPreparer interface. |
ITargetPreparer | Prepares the test environment for the test run. |
ITerribleFailureHandler | An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable) |
ITestAnnotationFilterReceiver | A runner that can filter which tests to run based on annotations. |
ITestCollector | Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them. |
ITestDevice | Provides an reliable and slightly higher level API to a ddmlib IDevice . |
ITestDevice.ApexInfo | A simple struct class to store information about a single APEX |
ITestDevice.MountPointInfo | A simple struct class to store information about a single mountpoint |
ITestDevice.RecoveryMode | |
ITestFileFilterReceiver | A runner that can receive a file specifying which tests to run and/or not to run. |
ITestFilterReceiver | A runner that can filter which tests to run. |
ITestInformationReceiver | Interface to receive the TestInformation for some classes. |
ITestInvocation | Handles one TradeFederation test invocation. |
ITestInvocation.ExitInformation | Represents some exit information for an invocation. |
ITestInvocationListener | Listener for test results from the test invocation. |
ITestLifeCycleReceiver | Receives event notifications during instrumentation test runs. |
ITestLogger | An entity that can perform logging of data streams of various types. |
ITestLoggerReceiver | An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes. |
ITestsPool | Interface describing a pool of tests that we can access and run |
ITestSuite | Abstract class used to run Test Suite. |
ITestSuite.MultiDeviceModuleStrategy | |
ITestSuiteResultLoader | Interface describing an helper to load previous results in a way that can be re-run. |
ITestSummaryListener | Interface that allows ITestInvocationListener to exchange some limited information via summaries. |
ITestsZipInstaller | Installs tests from a tests zip file (as outputted by the build system) on a device. |
ITokenProvider | Interface describing an object that can provide the tokens of a particular device. |
ITokenRequest | Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token. |
جی
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. |
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. |
ک
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. |
L
LabResourceDeviceMonitor | The lab resource monitor which initializes/manages the gRPC server for LabResourceService. |
LargeOutputReceiver | A class designed to help run long running commands collect output. |
LastShardDetector | When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) . |
LaunchCvdHelper | Utility helper to control Launch_cvd in the Cuttlefish VM. |
LeakedThreadStatusChecker | Status checker to ensure a module does not leak a running Thread. |
LegacySubprocessResultsReporter | A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass. |
ListInstrumentationParser | A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query |
ListInstrumentationParser.InstrumentationTarget | |
LocalAndroidVirtualDevice | The class for local virtual devices running on TradeFed host. |
LocalAppBuildProvider | A IBuildProvider that constructs a IBuildInfo based on a provided local path |
LocalDeveloper | Detects and returns whether this is a local developer running Tradefed. |
LocalDeviceBuildProvider | A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path. |
LocalEmulatorLaunch | A TargetPreparer that launches an emulator locally from an android build environment. |
LocalEmulatorSnapshot | A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment |
LocalFileHeader | LocalFileHeader is a class containing the information of a file/folder inside a zip file. |
LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
LocalHostResourceManager | Manager host resource. |
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. |
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. |
ورود به سیستم فایل | 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. |
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. |
MetricTestCase | Extension of TestCase that allows to log metrics when running as part of TradeFed. |
MetricTestCase.LogHolder | Structure to hold a log file to be reported. |
MetricUtil | Utility class for pulling metrics from pushed statsd configurations. |
MetricUtility | Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file. |
MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
MinSdkModuleController | Base class for a module controller to not run tests on versions below a specified SDK version number. |
MixImageZipPreparer | An IMultiTargetPreparer that mixes a system build's images in a device build. |
MixKernelTargetPreparer | A ITargetPreparer that allows to mix a kernel image with the device image. |
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. |
ModulePusher | |
ModulePusher.ModulePushError | Fatal error during Mainline module push. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
ModuleTestTypeUtil | Contains common utility methods for checking module. |
MultiFailureDescription | Collect multiple FailureDescription in one holder. |
MultiMap <K, V> | A ERROR(/Map) that supports multiple values per key. |
ن
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeBenchmarkTest | A Test that runs a native benchmark test executable on given device. |
NativeBenchmarkTestParser | A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation. |
NativeBridgeModuleController | A module controller to check if a device support native bridge. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A 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. |
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 |
O
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.OptionFieldsForName | Container for the list of option fields with given name. |
OptionUpdateRule | Controls the behavior when an option is specified multiple times. |
OtaDeviceBuildInfo | A IDeviceBuildInfo used for over-the-air update testing. |
OtatoolsBuildInfo | An IBuildInfo that contains otatools artifacts. |
OtaZipfileBuildProvider | Provides a IBuildInfo based on a local OTA zip file. |
OxygenClient | A class that manages the use of Oxygen client binary to lease or release Oxygen device. |
OxygenClient.LHPTunnelMode | |
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. |
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 |
PerfettoGenericPostProcessor | A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered. |
PerfettoGenericPostProcessor.AlternativeParseFormat | |
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT | |
PerfettoPreparer | Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to. |
PerfettoPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it. |
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT | |
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. |
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 . |
PropertyChanger | A utility class for changing (or adding) items in an Android property file |
ProtoResultParser | Parser for the Tradefed results proto format. |
ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
ProtoUtil | Utility methods for dealing with protobuf messages type-agnostically. |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
PtsBotTest | Run PTS-bot tests. |
PushFileInvoker | This class is deprecated. Use PushFilePreparer instead |
PushFilePreparer | A ITargetPreparer that attempts to push any number of files from any host path to any device path. |
PythonBinaryHostTest | Host test meant to run a python binary file from the Android Build system (Soong) The test runner supports include-filter and exclude-filter. |
PythonBinaryHostTest.PythonForwarder | Result forwarder to replace the run name by the binary name. |
PythonUnitTestResultParser | Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s. |
PythonUnitTestRunner | This class is deprecated. Use PythonBinaryHostTest instead. |
PythonVirtualenvHelper | A helper class for activating Python 3 virtual environment. |
PythonVirtualenvPreparer | Sets up a Python virtualenv on the host and installs packages. |
س
QuotationAwareTokenizer |
آر
RebootReasonCollector | Collector that collects device reboot during the test run and report them by reason and counts. |
RebootTargetPreparer | Target preparer that reboots the device. |
RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true |
RemoteDynamicPool | Implementation of a pool of remote work queued tests |
RemoteFileResolver | A simple class that allows one to load files from a variety of places using URIs and the service provider functionality. |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteInvocationExecution.FileOptionValueTransformer | |
RemoteSshUtil | Utility to execute ssh commands on remote instances. |
RemoteTestTimeOutEnforcer | Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
RemoveSystemAppPreparer | A ITargetPreparer for removing an apk from the system partition before a test run. |
ReportPassedTests | Report in a file possible filters to exclude passed test. |
ResolvePartialDownload | Resolve a partial download request. |
ResourceMetricUtil | Utility functions for composing metrics. |
ResourceUtil | Utility for reading configuration resources. |
RestApiHelper | 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. |
ResultForwarder | A ITestInvocationListener that forwards invocation results to a list of other listeners. |
ResultsPlayer | Special runner that replays the results given to it. |
RetentionFileSaver | Helper class for creating a .retention file in a directory. |
RetryConfigurationFactory | Factory that handles retrying a command. |
RetryLogSaverResultForwarder | Forwarder that also handles passing the current attempt we are at. |
RetryPreparationDecision | A Class to describe the decisions about whether or not to retry preparation and to fail the module run. |
RetryRescheduler | A special runner that allows to reschedule a previous run tests that failed or where not executed. |
RetryRescheduler.RetryType | The types of the tests that can be retried. |
RetryResultForwarder | An Extension of ResultForwarder that always push to a given attempt number. |
RetryResultHelper | Helper class to determine which module or test should run or not. |
RetryStatistics | Structure holding the statistics for a retry session of one IRemoteTest . |
RetryStrategy | The Retry Strategy to be used when re-running some tests. |
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 | |
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 that creates a secondary user in setup, and marks that tests should be run in that user. |
RunOnSystemUserTargetPreparer | An ITargetPreparer that marks that tests should be run on the user (rather than the current user). |
RunOnWorkProfileParameterHandler | |
RunOnWorkProfileTargetPreparer | An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user. |
RuntimeRestartCollector | Collector 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 . |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SecondaryUserOnDefaultDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY . |
SecondaryUserOnSecondaryDisplayHandler | Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY . |
SemaphoreTokenTargetPreparer | This is a preparer used to use token to serialize test excution in tradefed host. |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
SettingsBaselineSetter | A common setter to handle device baseline settings via ITestDevice.setSetting. |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:
|
ShowmapPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it. |
SideloadOtaTargetPreparer | A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
SkipHWASanModuleController | Base class for a module controller to not run tests on HWASan builds. |
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. |
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. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SwitchUserTargetPreparer | A ITargetPreparer that switches to the specified user kind in setUp. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUpdaterDeviceFlasher | A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable |
تی
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. |
TcpDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true |
TearDownPassThroughPreparer | Allows for running tearDown on preparers that are included in a config as an object. |
TelephonyHelper | A utility to use and get information related to the telephony. |
TelephonyHelper.SimCardInformation | An information holder for the sim card related information. |
TelephonyTokenProvider | Token provider for telephony related tokens. |
TemperatureThrottlingWaiter | An ITargetPreparer that waits until device's temperature gets down to target |
TemplateResolutionError | Class extending ConfigurationException for template related error during configuration parsing. |
TerribleFailureEmailHandler | A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. |
TestAppInstallSetup | 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 . |
محیط آزمایش | A class to model a TestEnvironment message returned by TFC API. |
TestErrorIdentifier | Error identifier from tests and tests runners. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
TestFailureModuleController | Controller for module that simply want to tune how the tests failures log collected are behaving. |
TestFilePushSetup | A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device. |
TestFilterHelper | Helper class for filtering tests |
TestGroupStatus | A class to store status of a test group. |
TestInfo | 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. |
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. |
نتیجه آزمایش | Container for a result of a single test. |
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. |
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. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TestSummary | A class to represent a test summary. |
TestSummary.Type | |
TestSummary.TypedString | |
TestSystemAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device. |
TestTimeoutEnforcer | Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout. |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
TfMetricProtoUtil | Utility class to help with the Map |
TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
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. |
TimeUtil | Contains time related utility methods. |
TimeVal | This is a sentinel type which wraps a Long . |
وقت تلف کن | 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. |
U
UiAutomatorRunner | Runs UI Automator test on device and reports results. |
UiAutomatorTest | |
UiAutomatorTest.LoggingOption | |
UiAutomatorTest.TestFailureAction | |
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
UniqueMultiMap <K, V> | A MultiMap that ensures unique values for each key. |
UsbResetMultiDeviceRecovery | A IMultiDeviceRecovery which resets USB buses for offline devices. |
UsbResetRunConfigRecovery | Allow to trigger a command to reset the USB of a device |
UsbResetTest | An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards. |
UserChecker | Checks if users have changed during the test. |
UserCleaner | A ITargetPreparer that removes secondary users on teardown. |
UserHelper | |
اطلاعات کاربر | Similar to UserInfo class from platform. |
UserInfo.UserType | Supported variants of a user's type in external APIs. |
V
ValidateSuiteConfigHelper | This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters |
VersionedFile | Data structure representing a file that has an associated version. |
VersionParser | Fetch the version of the running tradefed artifacts. |
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. |
ایکس
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. |
ز
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 |