فهرس الفصل
هذه هي فئات API. اطلع على جميع حزم API .
أ
AaptParser | فئة تستخرج المعلومات من apk بتحليل إخراج "aapt dump badging". |
AaptParser.AaptVersion | تعداد خيارات إصدار AAPT المستخدم لتحليل ملفات APK. |
AbiFormatter | فئة المنفعة لأبي. |
مجردة XmlParser | الصنف الأساسي المساعد لتحليل ملفات xml |
AbstractXmlParser.ParseException | يتم طرحه إذا تعذر تحليل إدخال XML |
AcloudConfigParser | فئة المساعد التي تحلل تكوين Acloud (تستخدم لبدء مثيل جهاز Cloud). |
AcloudConfigParser.AcloudKeys | مجموعات المفاتيح التي يمكن البحث عنها من التكوين. |
ActivityStatusChecker | مدقق الحالة للأنشطة المتبقية التي تعمل في نهاية الوحدة النمطية. |
AggregatePostProcessor | مُجمِّع مقاييس يعطي الحد الأدنى ، والحد الأقصى ، والمتوسط ، والتباين ، والانحراف المعياري للمقاييس الرقمية التي تم جمعها أثناء عمليات اختبار التكرار المتعدد ، ومعاملتها كمضاعفات. |
AltDirBehavior | تعداد لتعريف سلوكيات الدليل البديلة للعديد من أدوات التثبيت / أدوات الدفع |
AppBuildInfo | IBuildInfo يمثل تطبيق Android وحزمة (حزم) الاختبار الخاصة به. |
AppDeviceBuildInfo | هذه الفئة مهملة. استخدم IDeviceBuildInfo مباشرة. |
AppVersionFetcher | فئة الأداة المساعدة للحصول على سلسلة إصدار التطبيق من الجهاز. |
AppVersionFetcher.AppVersionInfo | أنواع معلومات إصدار التطبيق. |
ArgsOptionParser | يملأ حقول Option من وسيطات سطر الأوامر الموزعة. |
ATestFileSystemLogSaver | يتم استخدام فئة LogSaver هذه بواسطة ATest لحفظ السجلات في مسار معين. |
AutoLogCollector | التعداد الذي يصف المجمّع الذي يمكن التعامل معه تلقائيًا بواسطة الأداة. |
AutomatedReporters | فئة تحدد رسم الخرائط من المراسلين الآليين لشركة Tradefed. |
متوسط المعالج | تنفيذ معالج ما بعد الذي يحسب متوسط قائمة المقاييس. |
ب
BackgroundDeviceAction | يقوم بتشغيل أمر على جهاز معين يتكرر حسب الضرورة حتى يتم إلغاء الإجراء. |
BaseDeviceMetricCollector | التنفيذ الأساسي لـ IMetricCollector الذي يسمح ببدء وإيقاف التجميع على onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) و ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseLeveledLogOutput | تطبيق أساسي لـ ILeveledLogOutput يسمح بتصفية بعض العلامات بناءً على ILeveledLogOutput أو مكوناتها. |
BaseModuleController | التنفيذ الأساسي لـ IModuleController الذي يجب تنفيذه للتحقق مما إذا كان يجب تشغيل الوحدة أم لا. |
BaseMultiTargetPreparer | التنفيذ الأساسي لـ IMultiTargetPreparer الذي يسمح بتعطيل الكائن. |
BasePostProcessor | IPostProcessor الأساسي الذي يجب أن يمتد كل تطبيق. |
BaseRetryDecision | تنفيذ قاعدة IRetryDecision . |
BaseStreamLogger <OS يوسع OutputStream > | ILeveledLogOutput الذي يوجه رسائل السجل إلى تدفق الإخراج وإلى stdout. |
BaseTargetPreparer | فئة التنفيذ الأساسية لـ ITargetPreparer التي تسمح بالتحكم في ما إذا كان الكائن معطلاً أم لا. |
BaseTestSuite | اختبار لتشغيل مجموعة اختبار التوافق مع نظام المجموعة الجديد. |
BatteryController | فئة المنفعة التي تسمح بالتحكم في حالة شحن بطارية الجهاز. |
BatteryRechargeDeviceRecovery | اسمح بتشغيل أمر عندما يكون مستوى بطارية الجهاز أقل من عتبة معينة. |
البطاريةدرجة الحرارة | |
BatteryUnavailableDeviceRecovery | مدقق الاسترداد الذي سيطلق التكوين إذا لم يكن مستوى البطارية متاحًا. |
بيناريستيت | يُستخدم Enum لتسجيل حالة التشغيل / الإيقاف مع حالة عدم التشغيل في IGNORE. |
البلوتوث | وظائف الأداة المساعدة للاتصال بأجهزة Bluetooth على الجهاز يمكن العثور على رمز Bluetooth الخاص بالجهاز في AOSP على: |
BootstrapBuildProvider | IDeviceBuildProvider يقوم IDeviceBuildProvider إنشاء المعلومات من جهاز الاختباريستخدم هذا عادةً للأجهزة المزودة ببنية خارجية ، مثل |
جامع بوغريبورت | برنامج ITestInvocationListener الذي يجمع تقارير الأخطاء عند حدوث أحداث قابلة للتكوين ثم يستدعي ITestInvocationListener#testLog على ITestInvocationListener#testLog بعد جمع كل تقرير عن الأخطاء. |
BugreportCollector.Filter | |
جامع الأخطاء | |
جامع بوغريبورت | |
BugreportCollector. إهداء | مسند كامل يصف متى يتم التقاط تقرير خطأ. |
BugreportCollector. العلاقة | |
BugreportCollector.SubPredicate | |
جامع BugreportzOnFailure | اجمع تقرير الأخطاء عندما تفشل حالة الاختبار. |
معلومات البناء | التنفيذ العام لـ IBuildInfo الذي يجب أن يرتبط بجهاز ITestDevice . |
BuildInfoRecorder | برنامج ITargetPreparer الذي يكتب بيانات meta الخاصة بالبناء في ملف محدد. |
معلومات البناء | فئة استخدام للمساعدة في التعامل مع IBuildInfo |
BuildRetrievalError | حدث خطأ فادح أثناء استرداد الإصدار للاختبار. |
BuildTestsZipUtils | فئة مساعدة للعمليات المتعلقة باختبارات zip التي تم إنشاؤها بواسطة نظام إنشاء Android |
البريد الإلكتروني بالجملة | أداة مساعدة لمرسل البريد الإلكتروني تتيح التهيئة التالية: الفاصل الزمني المرسل وحجم الاندفاع الأولي والمستلمين وإجمالي عدد الرسائل. |
Bundletool | فئة المرافق التي تستخدم سطر أوامر bundletool لتثبيت ملفات apk. على deivce. |
ج
CircularAtraceUtil | تم تطوير أداة atrace بشكل أساسي لتحديد الأسباب الجذرية لحالات ANR أثناء اختبار Monkey. |
CircularByteArray | بنية البيانات للاحتفاظ بمصفوفة ذات حجم ثابت تعمل كمخزن مؤقت دائري ، وتتتبع المجموع الكلي لجميع القيم في المصفوفة. |
ClassNotFoundConfigurationException | ConfigurationException عندما لا يتم العثور على فئة الكائن. |
ClassPathScanner | يبحث عن إدخالات في classpath. |
ClassPathScanner.ClassNameFilter | IClassPathFilter بترشيح وتحويل أسماء فئات جافا. |
ClassPathScanner.ExternalClassNameFilter | ClassNameFilter الذي يرفض الفئات الداخلية |
ClassPathScanner.IClassPathFilter | مرشح لمسارات دخول مسار الفصل منقوشة بعد |
ClusterBuildInfo | فئة IBuildInfo يتم IBuildInfo بأنابيب من TFC. |
ClusterBuildProvider | برنامج IBuildProvider لتنزيل موارد اختبار TFC. |
ClusterClient. العميل | تطبيق IClusterClient للتفاعل مع الواجهة الخلفية لـ TFC. |
الكتلة | فئة تمثل مهمة تم جلبها من مجموعة TF. |
ClusterCommand.RequestType | |
ClusterCommand.State | مكانة القيادة في مجموعة قوات التحالف. |
ClusterCommandConfigBuilder | فئة لبناء ملف تكوين لأمر كتلة. |
ClusterCommandEvent | فئة لتغليف أحداث أمر الكتلة ليتم تحميلها. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | فئة IRemoteTest أمر من TFC عبر عملية فرعية TF. |
ClusterCommandScheduler. الكتلة | برنامج ICommandScheduler لدعم TFC (مجموعة Tradefed). |
ClusterCommandStatus | فئة تمثل الحالة وسبب الإلغاء لأمر من TF Cluster. |
ClusterDeviceInfo | فئة لتغليف معلومات جهاز الكتلة ليتم تحميلها. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | تطبيق IDeviceMonitor الذي IDeviceMonitor تقارير بالنتائج إلى خدمة Tradefed Cluster. |
ClusterEventUploader <T يمد IClusterEvent > | فئة ClusterEventUploader ، والتي تقوم بتحميل IClusterEvent إلى TFC. |
ClusterHostEvent | فئة لتغليف أحداث مضيف الكتلة ليتم تحميلها. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | تعداد الأنواع المختلفة من الأحداث المضيفة. |
الكتلة المضيف | Static تستخدم وظائف TF Cluster للحصول على مثيلات التكوين العامة ومعلومات المضيف وما إلى ذلك. |
ClusterLogSaver | فئة ILogSaver لتحميل مخرجات الاختبار إلى TFC. |
ClusterLogSaver.FilePickingStrategy | إستراتيجيات انتقاء الملفات. |
ClusterOptions | |
CollectingByteOutputReceiver | IShellOutputReceiver الذي يجمع ناتج الصدفة بالكامل في byte[] . |
CollectingOutputReceiver | IShellOutputReceiver الذي يجمع إخراج الصدفة بالكامل في String واحدة. |
CollectingTestListener | برنامج ITestInvocationListener الذي سيجمع جميع نتائج الاختبار. |
جامعالمساعدة | مساعد للقيام ببعض عمليات IMetricCollector اللازمة في عدة أماكن. |
CommandFileParser | محلل للملف الذي يحتوي على مجموعة من سطور الأوامر. |
CommandFileParser.CommandLine | |
CommandOptions | تنفيذ ICommandOptions . |
CommandRunner | نقطة إدخال بديلة لـ TradeFederation تقوم بتشغيل الأمر المحدد في وسيطات سطر الأوامر ثم الإنهاء. |
CommandRunner.ExitCode | رموز الخطأ التي يمكن الخروج بها. |
CommandScheduler | برنامج جدولة لتشغيل أوامر TradeFederation عبر جميع الأجهزة المتاحة. |
CommandScheduler.HostState | أعداد مختلفة من حالة المضيف |
CommonLogRemoteFileUtil | تسمح هذه الأداة المساعدة بتجنب تكرار الكود عبر تمثيل مختلف للجهاز البعيد لمنطق جلب السجل البعيد للملفات الشائعة. |
CommonLogRemoteFileUtil.KnownLogFileEntry | تمثيل إدخال سجل معروف للأجهزة البعيدة. |
أولوية الشرط حظر قائمة الانتظار <T> | فئة مؤشر الترابط الآمن مع ERROR(/PriorityBlockingQueue) مثل العمليات التي يمكنها استرداد الكائنات التي تطابق شرطًا معينًا. |
أولوية الشرط حظر صف. تطابق دائمًا <T> | ConditionPriorityBlockingQueue.IMatcher يطابق أي كائن. |
ConditionPriorityBlockingQueue.IMatcher <T> | واجهة لتحديد ما إذا كانت العناصر تتطابق مع نوع من الشروط. |
ConfigCompletor | تنفيذ أداة Completor TF الخاصة بنا. |
ترتيب | A الخرسانة IConfiguration التنفيذ التي يخزن التكوين تحميل كائنات في خريطة. |
التكوين | يحتفظ بسجل للتكوين والكائنات المرتبطة به وخياراتها. |
ConfigurationDef.ConfigObjectDef | يحتوي الكائن على معلومات عن className ورقم المظهر الخاص به (على سبيل المثال ، إذا كان للتكوين نفس الكائن مرتين ، فسيكون الأول له رقم الظهور الأول). |
التكوينمصنع | مصنع لإنشاء IConfiguration . |
ConfigurationFactory.ConfigLoader | تنفيذ IConfigDefLoader الذي يتتبع التكوينات المضمنة من تكوين جذر واحد ، IConfigDefLoader استثناءً على التعميم. |
التكوين | وظائف الأداة المساعدة للتعامل مع ملفات التكوين. |
التكوينYamlParser | محلل لتكوينات Tradefed نمط YAML |
وحدة التحكم | توفر وحدة التحكم الرئيسية في TradeFederation للمستخدم واجهة للتفاعل يدعم حاليًا عمليات مثل
|
Console.ArgRunnable <T> | Runnable مع طريقة run يمكن أن تأخذ وسيطة |
قائمة الالتقاط | نوع ملائم List<List<String>> |
ConsoleReaderOutputStream | OutputStream يمكن استخدامه لجعل System.out.print() جيد مع المخزن المؤقت ConsoleReader الخاص ConsoleReader . |
ConsoleResultReporter | نتيجة مراسل لطباعة نتائج الاختبار على وحدة التحكم. |
CountingTestResultListener | TestResultListener الذي يتتبع العدد الإجمالي للاختبارات بواسطة TestStatus |
التغطية الخيارات | كائن Tradefed لعقد خيارات التغطية. |
CoverageOptions. سلسلة الأدوات | |
CreateUserPreparer | معد الهدف لإنشاء المستخدم وتنظيفه في النهاية. |
د
DebugHostLogOnFailureCollector | المُجمع الذي سيقوم بجمع وتسجيل سجلات جانب المضيف عند حدوث فشل في حالة الاختبار. |
DefaultRemoteAndroidTestRunner | تمديد ddmlib RemoteAndroidTestRunner لتعيين بعض الإعدادات الافتراضية لحالات الاستخدام Tradefed. |
DefaultTestsZipInstaller | تطبيق افتراضي لاختبار zip installer. |
تنفيذ المفوضين | InvocationExecution الذي يفوض تنفيذ إلى ثنائي Tradefed آخر. |
التبعيات | نوع جديد من الموفر يسمح بالحصول على كل التبعيات للاختبار. |
نتيجة تخصيص الجهاز | يمثل نتائج محاولة التخصيص للأمر. |
DeviceBatteryLevelChecker | IRemoteTest الذي يتحقق من الحد الأدنى لشحن البطارية ، وينتظر وصول البطارية إلى حد الشحن الثاني إذا لم يكن الحد الأدنى للشحن موجودًا. |
DeviceBuildDescriptor | فئة IBuildInfo لـ IBuildInfo ، تحتوي على طرق مساعدة لاسترداد معلومات إنشاء النظام الأساسي للجهاز. |
DeviceBuildInfo | IBuildInfo الذي يمثل بنية كاملة لجهاز Android واختباراته (اختياريًا). |
DeviceBuildInfoBootStrapper | برنامج ITargetPreparer الذي يستبدل إنشاء حقول المعلومات بسمات مقروءة من الجهازهذا مفيد لاختبار الأجهزة ذات الإنشاءات التي تم إنشاؤها من مصدر خارجي (على سبيل المثال |
DeviceBuildInfoInjector | برنامج ITargetPreparer الذي يقوم بإدراج بيانات تعريف DeviceBuildDescriptor في IBuildInfo . |
DeviceCleaner | يقوم بإعادة التشغيل أو التنسيق كإجراء تنظيف بعد الاختبار ، ويتم إيقاف تشغيل الشاشة اختياريًا |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
DeviceConcurrentUtil | يحتوي على طرق وفئات مساعدة لتنفيذ الأوامر المتزامنة من جانب الجهاز استخدم |
DeviceConcurrentUtil.ShellCommandCallable <V> | ERROR(/Callable) يلف تفاصيل تنفيذ أمر shell على جهاز ITestDevice . |
DeviceConfigurationHolder | تطبيق IDeviceConfiguration ملموس يخزن كائنات تكوين الجهاز المحملة في سماته. |
DeviceDiagTest | اختبار يقوم بتشخيص الأجهزة المتاحة لإجراء الاختبارات. |
DeviceFailedToBootError | يتم إلقاؤه في حالة فشل الجهاز في التمهيد بعد وميضه ببنية. |
DeviceFeatureModuleController | وحدة تحكم في الوحدة النمطية لا تقوم بتشغيل الاختبارات عندما لا تدعم ميزة معينة. |
DeviceFileReporter | فئة أداة تقوم بفحص الجهاز بحثًا عن الملفات وترسلها إلى ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) إذا وجدت. |
DeviceFlashPreparer | ITargetPreparer الذي يُومض صورة على أجهزة Android المادية. |
DeviceFlashPreparer.EncryptionOptions | عدد من الخيارات لمعالجة تشفير صورة بيانات المستخدم |
DeviceFolderBuildInfo | IDeviceBuildInfo الذي يحتوي أيضًا على عناصر بناء أخرى موجودة في دليل على نظام الملفات المحلي. |
DeviceImageZipFlashingTargetPreparer | مُعِد الهدف الذي يُومِض الجهاز بصور الجهاز المقدمة عبر تنسيق محدد. |
مدير الجهاز | |
DeviceManager.FastbootDevice | تمثيل جهاز في وضع Fastboot. |
DeviceMetricData | الهدف هو الاحتفاظ بجميع البيانات التي تم جمعها بواسطة جامعي المقاييس. |
DeviceMonitorMultiplexer | فئة الوكيل لنشر الطلبات إلى عدة IDeviceMonitor s. |
خصائص الجهاز | التعريفات الثابتة الشائعة لأسماء خصائص جانب الجهاز |
DeviceRecoveryModeUtil | |
DeviceSelectionOptions | حاوية لمعايير اختيار الجهاز. |
DeviceSelectionOptions.DeviceRequestedType | الأنواع المختلفة الممكنة من الأجهزة النائبة المدعومة. |
DeviceSettingChecker | تحقق مما إذا كانت إعدادات الجهاز قد تغيرت أثناء تشغيل الوحدة. |
إعداد الجهاز | برنامج ITargetPreparer الذي يقوم بتكوين جهاز للاختبار بناءً على Option المتوفرة. |
DeviceStateMonitor | فئة المساعد لمراقبة حالة IDevice . |
DeviceStorageStatusChecker | تحقق مما إذا كان الجهاز يحتوي على مساحة قرص كافية للأقسام المحددة. |
DeviceUnavailEmailResultReporter | EmailResultReporter سيرسل بريدًا إلكترونيًا عند فشل الاستدعاء بسبب عدم توفر استثناء للجهاز. |
DeviceUpdateTargetPreparer | ITargetPreparer مجردة يتولى تنفيذ الخطوات الشائعة حول تحديث الأجهزة بملف صورة جهاز من مصدر خارجي (على عكس خدمة ITargetPreparer ). |
DirectedGraph <V> | تنفيذ رسوم بيانية موجهة غير مرجحة. |
DynamicFileStubTest | هذا اختبار تم إجراؤه لاختبار Tradefed يمكنه حل الملف الديناميكي بشكل صحيح. |
DynamicRemoteFileResolver | فئة تساعد في حل مسار الملفات البعيدة. |
DynamicRemoteFileResolver.FileResolverLoader | تطبيقات تحميل IRemoteFileResolver . |
ه
EmailResultReporter | فئة أساسية لمراسل النتائج البسيطة التي ترسل رسائل بريد إلكتروني لنتائج الاختبار. |
EmmaXml الثوابت | الثوابت المستخدمة عند تحليل تقرير emma xml. |
EnforcedSeLinuxChecker | مدقق الحالة الذي يضمن حالة Selinux. |
ExistingBuildProvider | A IBuildProvider يقوم بإرجاع شيدت بالفعل IBuildInfo . |
F
فشل EmailResultReporter | EmailResultReporter يرسل إشعارات في حالة حدوث فشل في الاختبار أو فشل الاستدعاء. |
FakeTest | اختبار مزيف هدفه تسهيل الحصول على نتائج اختبار قابلة للتكرار. |
FakeTestsZipFolder | أداة اختبار تنشئ مجلد اختبارات مزيفًا غير مضغوط بناءً على قائمة بالمحتوى. |
FakeTestsZipFolder.emType | |
FastbootDeviceFlasher | فئة تعتمد على fastboot لفلاش صورة على أجهزة Android المادية. |
FastbootHelper | فئة المساعد لعمليات Fastboot. |
FastbootUpdateBootstrap المُعد | برنامج ITargetPreparer الذي يقوم ITargetPreparer الملفات المحددة (أداة تحميل التشغيل ، والراديو ، وصورة الجهاز المضغوط) إلى IDeviceBuildInfo للحصول على وميض الأجهزة باستخدام FastbootDeviceFlasher ، ثم يقوم بحقن سمات جهاز ما بعد التمهيد في معلومات FastbootDeviceFlasher لأغراض الإبلاغ عن النتائج. |
FileDownloadCache | فئة مساعدة تحافظ على ذاكرة تخزين مؤقت LRU لنظام ملفات محلي للملفات التي تم تنزيلها. |
FileDownloadCacheFactory | مصنع لإنشاء FileDownloadCache |
FileDownloadCacheWrapper | فئة FileDownloadCache توفر تسهيلات FileDownloadCache أثناء تنفيذ واجهة IFileDownloader . |
FileIdleMonitor | يراقب الملفات وينفذ رد نداء إذا كانت خاملة (أي |
FileLogger | ILeveledLogOutput يوجه رسائل السجل إلى ملف وإلى stdout. |
FileProtoResultReporter | مراسل TestRecord يقوم بتفريغ TestRecord في ملف. |
FilePullerDeviceMetricCollector | BaseDeviceMetricCollector الذي يستمع لمفتاح المقاييس القادم من الجهاز BaseDeviceMetricCollector كملف من الجهاز. |
FilePullerLogCollector | مسجل الملف المبلغ عنه من جانب الجهاز. |
FileSystemLogSaver | حفظ السجلات في نظام الملفات. |
FilteredResultForwarder | متغير ResultForwarder الذي يسمح فقط بالإبلاغ عن قائمة TestDescription من TestDescription . |
FixedByteArrayOutputStream | ERROR(/OutputStream) في الذاكرة ERROR(/OutputStream) يحتفظ فقط بأقصى قدر من البيانات. |
وميض الموارد المحلل اللغوي | فئة تقوم بتوزيع الإصدارات المطلوبة من ملفات الصور المساعدة اللازمة لوميض الجهاز. |
اللمعانResourcesParser.AndroidInfo | Map<String, MultiMap<String, String>> . |
وميض الموارد المحلل اللغوي | واجهة تصفية ، تهدف إلى السماح لبرنامج FlashingResourcesParser بتجاهل بعض الموارد التي قد يستخدمها بخلاف ذلك |
FolderBuildInfo | التنفيذ IFolderBuildInfo . |
FormattedGeneratorReporter | المراسل الذي يسمح بإنشاء التقارير بتنسيق معين. |
جي
GceAvdInfo | بنية للاحتفاظ بالبيانات ذات الصلة لمثيل GCE AVD معين. |
GceAvdInfo.GceStatus | |
GceManager | المساعد الذي يدير مكالمات GCE لبدء / إيقاف وجمع السجلات من GCE. |
GceRemoteCmdFormatter | فئة الأداة المساعدة لتنسيق الأوامر للوصول إلى جهاز gce بعيد. |
GceRemoteCmdFormatter.ScpMode | يمكن استخدام SCP لدفع أو سحب الملف اعتمادًا على هيكل الأرجس. |
GceSshTunnelMonitor | مراقب الموضوع لنفق Gce ssh. |
GCSBucket حتى | مدير الملفات لتنزيل وتحميل الملفات من Google Cloud Storage (GCS). |
GCSBucketUtil.GCSFileMetadata | غلاف بسيط لمعلومات الملف في GCS. |
GCS شائع | الصنف الأساسي لعمليات Gcs مثل التنزيل والتحميل. |
مساعده | أداة تنزيل لحاوية GCS تهتم بالتخزين المؤقت وحل التكوين العام. |
GCSFileDownloader | أداة تنزيل الملفات لتنزيل الملف من Google Cloud Storage (GCS). |
GCSFileUploader | أداة تحميل الملفات لتحميل بيانات الملف إلى التخزين السحابي من Google (GCS). |
GCSHostResourceManager | قم بتنزيل مورد المضيف من GCS (تخزين Google السحابي). |
GcsRemoteFileResolver | تنفيذ IRemoteFileResolver الذي يسمح بالتنزيل من IRemoteFileResolver GCS. |
GkiDeviceFlashPreparer | أداة إعداد الهدف التي تومض الجهاز بالصورة العامة للنواة الشائعة لنظام Android. |
GoogleApiClientUtil | Utils لإنشاء عميل Google API. |
محبب قابل لإعادة الاختبار | تعمل فئة الغلاف على IRemoteTest لتحبيب اختبار IRemoteTest في مستوى علبة الاختبار. |
GsiDeviceFlashPreparer | أداة إعداد الهدف التي تومض الجهاز بصورة عامة لنظام android. |
ح
HelloWorldMultiTargetPreparer | مثال على تنفيذ IMultiTargetPreparer . |
HistoryLogger | TF History Logger ، سجل خاص يحتوي فقط على بعض الأحداث المحددة. |
HprofAllocSiteParser | فئة المساعدة لتحليل المعلومات من قسم "مواقع التخصيص" في تقارير hprof. |
HttpRemoteFileResolver | تنفيذ برنامج IRemoteFileResolver الذي يسمح بتنزيل الملف البعيد عبر http |
HttpsRemoteFileResolver | تنفيذ برنامج IRemoteFileResolver الذي يسمح بتنزيل الملف البعيد عبر https |
أنا
IAbiReceiver | اختبار يحتاج إلى ABI قيد الاختبار. |
IAppBuildInfo | هذه الواجهة مهملة. استخدم IBuildInfo مباشرة. |
IAutoRetriableTest | واجهة لـ IRemoteTest لا ITestFilterReceiver ولكنها لا تزال ترغب في دعم إعادة المحاولة تلقائيًا. |
معلومات البطارية | الواجهة التي تحدد التفاعل مع بطارية الجهاز. |
معلومات البطارية | يصف حالة شحن البطارية الحالية. |
IBuildProvider | مسؤول عن توفير المعلومات المتعلقة بالبناء قيد الاختبار. |
iBuildR Receiver | اختبار يحتاج إلى مرجع للبناء قيد الاختبار. |
IClusterClient | واجهة للتفاعل مع الواجهة الخلفية TFC. |
IClusterEvent | واجهة لأي حدث عنقود يتم تحميله على TFC. |
IClusterEventUploader <T يمد IClusterEvent > | واجهة ClusterEventUploader |
خيارات ICluster | واجهة للحصول على الخيارات المتعلقة بالكتلة. |
خيارات ICommand | حاوية لخيارات التنفيذ للأوامر. |
ICommandScheduler | برنامج جدولة لتشغيل أوامر TradeFederation. |
ICommandScheduler.IScheduledInvocationListener | مستمع لأحداث الاحتجاج عند اكتمال الاستدعاء. |
ICompression الإستراتيجية | واجهة تمثل خوارزمية ضغط يمكن تحديدها في وقت التشغيل. |
التكوين | معلومات التكوين لاستدعاء TradeFederation. |
IConfigurationFactory. مصنع | مصنع لإنشاء IConfiguration s |
المتلقي | واجهة بسيطة لتمثيل الكائن الذي يقبل IConfiguration . |
IDefaultObjectLoader | واجهة لتحميل الكائنات الافتراضية التي يجب أن تكون جزءًا من تكوين YAML الخاص بنا. |
IDefaultObjectLoader.LoaderConfiguration | كائن تكوين التحميل لتمرير المعلومات إلى المحمل. |
IDeviceBuildInfo | IBuildInfo الذي يمثل بنية كاملة لجهاز Android واختباراته (اختياريًا). |
IDeviceBuildProvider | IBuildProvider الذي يستخدم المعلومات من ITestDevice لاسترداد بناء. |
IDeviceConfiguration | واجهة حامل تكوين الجهاز. |
IDeviceFlasher | يومض صورة الجهاز على الجهاز. |
IDeviceFlasher.UserDataFlashOption | عدد خيارات التعامل مع صورة بيانات المستخدم |
IDeviceManager | واجهة لإدارة مجموعة الأجهزة المتاحة للاختبار. |
IDeviceManager.IFastbootListener | مستمع لتغييرات حالة Fastboot. |
IDeviceMonitor | واجهة لمراقبة حالة الأجهزة. |
IDeviceMonitor.DeviceLister | فئة Runnable يجب أن تعيد الأجهزة المعروفة Runnable . |
IDeviceSelection | واجهة لمعايير اختيار الجهاز. |
IDeviceTest | واجهة للكائن الذي يحتاج إلى مرجع ITestDevice . |
قابل للعزل | واجهة تصف كائن Tradefed يمكن تعطيله. |
IFileDownloader | واجهة لتنزيل ملف بعيد. |
IFlashingResourcesParser | واجهة لتوفير الإصدارات المطلوبة من ملفات الصور المساعدة اللازمة لوميض الجهاز. |
IFlashingResourcesRetriever | واجهة لاسترداد ملفات الصور المساعدة اللازمة لفلاش الجهاز. |
IFolderBuildInfo | IBuildInfo مجردة بسيطة IBuildInfo بنائها في دليل نظام ملفات محلي. |
IF المولد | واجهة تصف منسق لـ SuiteResultHolder . |
IHostCleaner | ينظف المضيف بعد انتهاء التشغيل التجريبي. |
IInvocationContextR Receiver | اختبار يحتاج إلى مرجع لسياق الاستدعاء. |
IInvocationExecution | واجهة تصف الإجراءات التي سيتم إجراؤها كجزء من الاستدعاء. |
ILeveledLogOutput | توفر الفئات التي تطبق هذه الواجهة طرقًا تتعامل مع إخراج رسائل السجل. |
ILogcatR Receiver | فئة توفر إخراج logcat الجهاز كمصدر InputStreamSource . |
ILogRegistry | واجهة ILogOutput المفرد يقوم ILogOutput الإرسال وإدارة ILogOutput المختلفة. |
ILogRegistry.EventType | الأحداث التي من المفيد أن يتم تسجيلها |
جامع متري | ستتم إضافة هذه الواجهة كديكور عند الإبلاغ عن نتائج الاختبارات من أجل جمع المقاييس المتطابقة. |
جامع متري | واجهة لـ IRemoteTest ليتم تنفيذها إذا كانوا بحاجة إلى الحصول على قائمة IMetricCollector s للتشغيل التجريبي. |
IModuleController | واجهة للتحكم في ما إذا كان يجب تنفيذ الوحدة أم لا. |
IModuleController.RunStrategy | تعداد الذي يصف كيفية تنفيذ الوحدة. |
IModuleParameter | واجهة معلمات وحدات الوحدات. |
IMULTiDeviceTest | هذه الواجهة مهملة. يتم الاحتفاظ بهذه الواجهة مؤقتًا من أجل التوافق ولكنها لم تعد مستخدمة فعليًا بعد الآن. من فضلك لا تنفذه. |
IMultiTargetPreparer | يجهز بيئة الاختبار لعدة أجهزة معًا. |
INativeDeviceTest | واجهة للكائن الذي يحتاج إلى مرجع إلى جهاز INativeDevice . |
IncidentR ReportCollector | يسحب ويعالج تقارير الحوادث التي يتم الإبلاغ عنها من جانب الجهاز ويجمع تقارير الحوادث من جانب المضيف في نهاية التشغيل التجريبي إذا تم تكوينه للقيام بذلك. |
InstallApexModuleTargetPreparer | |
InstantAppHandler | معالج لـ ModuleParameters#INSTANT_APP . |
أجهزة القياس النتيجةProtoParser | يوزع نتائج الأجهزة التي تم جمعها أثناء تشغيل اختبار الأجهزة ويبلغ ITestRunListener بالنتائج. |
InvocationContext | التنفيذ العام لـ IInvocationContext . |
الدعاء | فئة تصف جميع خطوات الاستدعاء: إنشاء التنزيل ، والهدف_prep ، وتشغيل الاختبارات ، والتنظيف. |
الاحتجاج فشل البريد الإلكتروني نتيجة ريبورتير | EmailResultReporter يمكنه أيضًا تقييد الإخطارات لإخفاقات الاستدعاء فقط. |
دعاء النطاق | نطاقات الاحتجاج Tradefed واحد. |
الدعاء | |
InvocationScopeModule | وحدة Guice التي يمكن استخدامها في أي مكان في استدعاء TF لطلب الكائنات المدعومة Guice-Tradefed. |
الدعاء | فئة لتخزين حالة الاستدعاء. |
InvocationToJUnitResultForwarder | فئة تستمع إلى أحداث ITestInvocationListener توجيهها إلىTestListener . |
معالج IPost | المعالجات اللاحقة هي أحد عناصر الاتحاد التجاري التي تهدف إلى السماح بمعالجة المقاييس والسجلات بعد الاختبارات وقبل الإبلاغ عن النتائج. |
IRemoteFileResolver | واجهة للكائنات التي يمكنها حل ملف بعيد إلى ملف محلي. |
لم يتم تنفيذ IReport | في حالة التنفيذ غير الكامل ، قد يقوم IRemoteTest الذي ينفذ هذه الواجهة بالإبلاغ عن الاختبارات غير المنفذة لتحسين التقارير. |
جدولة | واجهة لإعادة جدولة التكوين للتنفيذ المستقبلي. |
IRestApiHelper | واجهة مساعدة لإجراء مكالمات REST API. |
غير قابل للاختبار | هذه الواجهة مهملة. لا حاجة لهذا بعد الآن |
IRetryDecision | واجهة تقود قرار إعادة المحاولة وتطبق عامل التصفية على الفئة لمزيد من إعادة المحاولة المستهدفة. |
IRuntimeHintProvider | |
ISandbox | واجهة تحدد آلية تحديد الوصول التي يمكن استخدامها لتشغيل استدعاء. |
ISandboxFactory | مصنع لإنشاء ISandbox . |
ISetOptionReceiver | يجب أن يحتوي تنفيذ هذه الواجهة على Option مع اسم "خيار مجموعة" مرتبط بـ HostTest#SET_OPTION_NAME . |
قابل للاختبار | IRemoteTest الذي يمكن تقسيمه إلى اختبارات فرعية قابلة للتنفيذ بشكل منفصل. |
IshardHelper | واجهة الكائن التي تصف استراتيجية التجزئة التي يجب اعتمادها للتكوين. |
ISystemStatusChecker | المدقق الذي يقوم بالتحقق من حالة النظام ويعيد قيمة منطقية للإشارة إلى ما إذا كان النظام في حالة متوقعة. |
ISystemStatusCheckerR Receiver | IRemoteTest الذي يتطلب الوصول إلى ISystemStatusChecker من التكوين. |
ITargetCleaner | هذه الواجهة مهملة. تم نقل tearDown إلى واجهة ITargetPreparer الأساسية. |
ITargetPreparer | تحضير بيئة الاختبار للتشغيل التجريبي. |
ITerribleFailureHandler | واجهة للتعامل مع حالات الفشل الرهيبة من LogUtil.CLog.wtf(String, Throwable) |
ITestAnnotationFilterR Receiver | عداء يمكنه تصفية الاختبارات التي سيتم تشغيلها بناءً على التعليقات التوضيحية. |
ITestCollector | يوفر الدعم لجمع الاختبار ؛ عند التعيين ، يجب أن يقوم عداء الاختبار بإجراء تشغيل جاف لجمع حالات الاختبار دون تنفيذها فعليًا. |
ITestFileFilterR Receiver | عداء يمكنه تلقي ملف يحدد الاختبارات المطلوب تشغيلها و / أو عدم تشغيلها. |
ITestFilterR Receiver | عداء يمكنه تصفية الاختبارات التي سيتم تشغيلها. |
ITestInformationRiver | واجهة لتلقي معلومات TestInformation لبعض الفئات. |
ITest الدعوة | يتعامل مع طلب واحد لاختبار TradeFederation. |
ITestSuite | فئة الملخص تستخدم لتشغيل Test Suite. |
ITestSuiteResultLoader | واجهة تصف المساعد لتحميل النتائج السابقة بطريقة يمكن إعادة تشغيلها. |
ITestsZipInstaller | يثبت الاختبارات من ملف مضغوط للاختبارات (كما تم إخراجه بواسطة نظام الإنشاء) على الجهاز. |
ي
JavaCodeCoverageFlusher | فئة مساعدة تقوم بإعادة تعيين وفرض تدفق لقياسات تغطية كود Java من العمليات التي تعمل على الجهاز. |
JsonHttpTestResultReporter | مراسل النتائج الذي يقوم بترميز نتائج مقاييس الاختبار والفرع ، ومعلومات الجهاز في JSON و POST في نقطة نهاية خدمة HTTP |
JUnit4TestFilter | فئة المساعد التي توفر التصفية لعداء JUnit4 عن طريق تمديد عامل Filter . |
JUnitToInvocationResultForwarder | فئة تستمع إلى أحداثTestListener توجيهها إلى ITestInvocationListener . |
JUnitXmlParser | المحلل اللغوي الذي يستخرج بيانات نتيجة الاختبار من نتائج JUnit المخزنة في XMLJUnitResultFormatter الخاص بالنملة ويعيد توجيهها إلى ITestInvocationListener. |
ك
KeyguardStatusChecker | يتحقق من حالة حارس المفاتيح بعد تنفيذ الوحدة. |
إل
جهاز استقبال كبير الحجم | فئة مصممة للمساعدة في تشغيل أوامر تشغيل طويلة وتجميع المخرجات. |
LastShardDetector | عند تشغيل التجزئة المحلية ، نريد أحيانًا تنفيذ بعض الإجراءات فقط عندما يصل الجزء الأخير إلى invocationEnded(long) . |
LaunchCvdHelper | أداة مساعدة للتحكم في Launch_cvd في Cuttlefish VM. |
LeakedThreadStatusChecker | مدقق الحالة للتأكد من أن الوحدة النمطية لا تتسرب من مؤشر ترابط قيد التشغيل. |
LegacySubprocessResultsReporter | تنفيذ مجمّد لمراسل نتائج العملية الفرعية والذي يجب أن يظل متوافقًا مع الإصدارات السابقة من TF / CTS (على سبيل المثال 8+) ، على الرغم من التغييرات في الفئة الفائقة. |
ListIn InstrumentationParser | IShellOutputReceiver الذي يوزع إخراج استعلام "pm list IShellOutputReceiver " |
قائمةالآلات محلل. الآلات الهدف | |
LocalAndroidVirtualDevice | فئة الأجهزة الافتراضية المحلية التي تعمل على مضيف TradeFed. |
LocalAppBuildProvider | IBuildProvider الذي يبني IBuildInfo بناءً على مسار محلي متوفر |
LocalDeviceBuildProvider | IBuildProvider الذي IDeviceBuildInfo بناءً على مسار دليل نظام الملفات المقدم. |
لوكالفايلريسولفر | تنفيذ IRemoteFileResolver الذي يسمح بربط الملفات المحلية |
LocalFolderBuildProvider | IBuildProvider الذي IFolderBuildInfo بناءً على المسار المحلي المقدم |
LocalRunInstructionBuilder | أداة لتجميع التعليمات لتشغيل الاختبار محليًا. |
LogcatCrashResultForwarder | مستمع خاص: عند الإخفاقات (تعطل عملية الأجهزة) ، سيحاول استخراج العطل من logcat وإضافته إلى رسالة الفشل المرتبطة بالاختبار. |
LogcatEventParser | تحليل المدخلات logcat للأحداث. |
LogcatEventParser.LogcatEvent | بنية لعقد حدث logcat مع نوع الحدث وتشغيل رسالة logcat |
LogcatEventType | أنواع الأحداث لـ LogcatEventParser . |
جامع LogcatOnFailure | المُجمع الذي سيقوم بالتقاط وتسجيل logcat عند فشل حالة الاختبار. |
لوجكات ريسيفر | فئة تجمع logcat في الخلفية. |
LogFileSaver | مساعد ITestInvocationListener الذي سيحفظ بيانات السجل إلى ملف |
مستلم السجل | |
السجل | تطبيق ILogRegistry بتعدد إرسال وإدارة مسجلات مختلفة ، باستخدام الأداة المناسبة بناءً على ThreadGroup في مؤشر الترابط الذي يجري المكالمة. |
LogSaverResultForwarder | A ResultForwarder لحفظ السجلات مع ملف التوقف العام. |
م
MainlineModuleHandler | فئة معالج بسيط لـ Mainline Modules تقوم بإنشاء InstallApexModuleTargetPreparer وتقوم بحقن الارتباط الديناميكي فيه بناءً على وحدات الخط الرئيسي المحددة لاسترداد هذه الوحدات تلقائيًا. |
MainlineTestModuleController | الفئة الأساسية لوحدة التحكم في الوحدة النمطية لإجراء الاختبارات بناءً على وحدات الخط الرئيسي المحملة مسبقًا على الجهاز قيد الاختبار. |
جهاز مدار عن بعد | 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 |
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. |
MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
ModuleParametersHelper | Helper to get the IModuleParameter associated with the parameter. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
N
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A DeviceAction for running a OS 'adb ....' command. |
NativeDevice.AdbShellAction | |
NativeDevice.RebootDeviceAction | DeviceAction for rebooting a device. |
NativeDevice.RebootMode | A mode of a reboot. |
NativeDeviceStateMonitor | Helper class for monitoring the state of a IDevice with no framework support. |
NegativeHandler | Handler that specify that nothing should be done and the parameter should not create any extra module. |
NestedDeviceStateMonitor | Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment. |
NestedRemoteDevice | Representation of the device running inside a remote Cuttlefish VM. |
NetworkNotAvailableException | Thrown when a device is not able to connect to network for testing. |
NoDeviceException | Thrown when there's no device to execute a given command. |
NoisyDryRunTest | Run noisy dry run on a command file. |
NotMultiAbiHandler | Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module. |
O
OpenObjectLoader | Loader for the default objects available in AOSP. |
OptionCopier | A helper class that can copy Option field values with same names from one object to another. |
OptionNotAllowedException | Specific ConfigurationException when an option is not allowed to be passed in the command line. |
OptionSetter | Populates Option fields. |
OptionSetter.OptionFieldsForName | Container for the list of option fields with given name. |
OtaDeviceBuildInfo | A IDeviceBuildInfo used for over-the-air update testing. |
OtatoolsBuildInfo | An IBuildInfo that contains otatools artifacts. |
OtaToolsDeviceBuildInfo | An OtaDeviceBuildInfo that also contains an otatools directory. |
OtaZipfileBuildProvider | Provides a IBuildInfo based on a local OTA zip file. |
P
Pair <A, B> | Define our own Pair class which contains two objects. |
ParallelDeviceExecutor <V> | Wrapper of ERROR(/ExecutorService) to execute a function in parallel. |
ParentSandboxInvocationExecution | Version of InvocationExecution for the parent invocation special actions when running a sandbox. |
ParentShardReplicate | Replicate a setup for one device to all other devices that will be part of sharding. |
PassingTestFileReporter | A ITestInvocationListener that saves the list of passing test cases to a test file |
PrettyPrintDelimiter | Helper utility that helps to print delimited message that stands out. |
PropertyChanger | A utility class for changing (or adding) items in an Android property file |
ProtoResultParser | Parser for the Tradefed results proto format. |
ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
Q
QuotationAwareTokenizer |
R
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions#gceDeviceRequested() is true |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteManager | Class that receives RemoteOperation s via a socket. |
RemoteSshUtil | Utility to execute ssh commands on remote instances. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
RestApiHelper | A helper class for performing REST API calls. |
ResultAggregator | Special forwarder that aggregates the results when needed, based on the retry strategy that was taken. |
ResultAndLogForwarder | Forwarder for results and logs events. |
ResultForwarder | A ITestInvocationListener that forwards invocation results to a list of other listeners. |
ResultsPlayer | Special runner that replays the results given to it. |
RetentionFileSaver | Helper class for creating a .retention file in a directory. |
RetryConfigurationFactory | Factory that handles retrying a command. |
RetryLogSaverResultForwarder | Forwarder that also handles passing the current attempt we are at. |
RetryRescheduler | A special runner that allows to reschedule a previous run tests that failed or where not executed. |
RetryRescheduler.RetryType | The types of the tests that can be retried. |
RetryResultForwarder | An Extension of ResultForwarder that always push to a given attempt number. |
RetryResultHelper | Helper class to determine which module or test should run or not. |
RetryStatistics | Structure holding the statistics for a retry session of one IRemoteTest . |
RunCommandTargetPreparer | |
RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
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. |
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
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. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
SystemServerFileDescriptorChecker | Checks if system server appears to be running out of FDs. |
SystemServerStatusChecker | Check if the pid of system_server has changed from before and after a module run. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable |
T
TableBuilder | Helper class to display a matrix of String elements in a table. |
TableFormatter | Helper class to display a matrix of String elements so each element column is lined up |
TarUtil | Utility to manipulate a tar file. |
TelephonyHelper | A utility to use and get information related to the telephony. |
TelephonyHelper.SimCardInformation | An information holder for the sim card related information. |
TelephonyTokenProvider | Token provider for telephony related tokens. |
TemplateResolutionError | Class extending ConfigurationException for template related error during configuration parsing. |
TerribleFailureEmailHandler | A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. |
TestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto device. |
TestContext | A class to model a TestContext message of TFC API. |
TestDependencyResolver | Helper to resolve dependencies if needed. |
TestDescriptionsFile | A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file. |
TestDevice | Implementation of a ITestDevice for a full stack android device |
TestEnvironment | A class to model a TestEnvironment message returned by TFC API. |
TestFailureEmailResultReporter | An EmailResultReporter that can also restrict notifications to just test failures. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
TestFilterHelper | Helper class for filtering tests |
TestGroupStatus | A class to store status of a test group. |
TestInfo | Stores the test information set in a TEST_MAPPING file. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
TestLoader | A class for loading all JUnit3 tests in a jar file |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
TestOption | Stores the test option details set in a TEST_MAPPING file. |
TestOutputUploader | A class to upload test output files to GCS/HTTP. |
TestRecordInterpreter | Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed. |
TestResource | A class to model a TestResource message returned by TFC API. |
TestResourceDownloader | A class to download test resource files from file system/GCS/HTTP. |
TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
TfObjectTracker | A utility to track the usage of the different Trade Fedederation objects. |
TfSuiteRunner | Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder. |
TfTestLauncher | A IRemoteTest for running unit or functional tests against a separate TF installation. |
TimeStatusChecker | Status checker to ensure that the device and host time are kept in sync. |
TimeVal | This class is deprecated. use Duration instead. |
TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
TradefedConfigObject | A class to model a TradefedConfigObject message of TFC API. |
TradefedConfigObject.Type | A list of configuration object types which can be injected to a cluster command config. |
TradefedDelegator | Objects that helps delegating the invocation to another Tradefed binary. |
TradefedSandbox | Sandbox container that can run a Trade Federation invocation. |
TradefedSandboxFactory | Default implementation for SandboxFactory |
TradefedSandboxRunner | Runner associated with a TradefedSandbox that will allow executing the sandbox. |
TradefedSandboxRunner.StubScheduledInvocationListener | A stub IScheduledInvocationListener that does nothing. |
U
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
UsbResetMultiDeviceRecovery | A IMultiDeviceRecovery which resets USB buses for offline devices. |
UsbResetRunConfigRecovery | Allow to trigger a command to reset the USB of a device |
UsbResetTest | An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards. |
UserChecker | Checks if users have changed during the test. |
V
ValidateSuiteConfigHelper | This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters |
VmRemoteDevice | A Remote virtual device that we will manage from inside the Virtual Machine. |
W
WaitDeviceRecovery | A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands. |
WifiHelper | Helper class for manipulating wifi services on device. |
X
XmlFormattedGeneratorReporter | Implementation of the FormattedGeneratorReporter which format the suite results in an xml format. |
XmlResultReporter | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
XmlSuiteResultFormatter | Utility class to save a suite run as an XML. |
XmlSuiteResultFormatter.RunHistory | Helper object for JSON conversion. |
Y
YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
Z
ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |