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