BuildApiFlashingResourcesRetriever

public class BuildApiFlashingResourcesRetriever
extends Object implements IFlashingResourcesRetriever

java.lang.Object
   ↳ com.google.android.tradefed.targetprep.BuildApiFlashingResourcesRetriever


IFlashingResourcesRetriever שמחלץ קובצי תמונות עזר מ-android build apiary, וחוזר ל-nfs אם ה-apiary לא זמין.

סיכום

‫constructors ציבוריים

BuildApiFlashingResourcesRetriever(String deviceProductType, String buildEnvironment)

Constructor

‫methods ציבוריים

File retrieveFile(String imageName, String version)

הפונקציה מחזירה את קובץ התמונה עם השם והגרסה שצוינו

‫constructors ציבוריים

BuildApiFlashingResourcesRetriever

public BuildApiFlashingResourcesRetriever (String deviceProductType, 
                String buildEnvironment)

Constructor

פרמטרים
deviceProductType String: סוג המכשיר

buildEnvironment String: סביבת Build API שממנה מורידים

‫methods ציבוריים

retrieveFile

public File retrieveFile (String imageName, 
                String version)

הפונקציה מחזירה את קובץ התמונה עם השם והגרסה שצוינו

פרמטרים
imageName String: השם של התמונה (למשל radio)

version String: הגרסה של הקובץ שרוצים להחזיר

החזרות
File תמונה מקומית זמנית File

הקפצת הודעות שגיאה (throw)
TargetSetupError