LaunchControlProvider

public class LaunchControlProvider
extends Object implements IBuildProvider, IConfigurationReceiver, IDiscoverDependencies, IInvocationContextReceiver, ITestLoggerReceiver

java.lang.Object
   ↳ com.google.android.tradefed.build.LaunchControlProvider


הטמעה של IBuildProvider שאילתה בשרתי בקרת ההשקה של Google כדי לבדוק גרסת build.

לא מומלץ להשתמש בתת-סיווג. כדי לציין ארטיפקטים להורדה, משתמשים באפשרויות extra-target-downloads ו-‎--additional-files-filter.

TODO: refactor out the launch control client and download logic, and merge it with the future "One Common Device Flasher Library To Rule Them All" (tm)

סיכום

כיתות מוטמעות

class LaunchControlProvider.DownloadFileDescriptor

 

ערכים קבועים

String BUILD_ID_PARAM

String BUILD_NAME_PARAM

String LC_BASE_URL

String MIN_BUILD_ID_PARAM

String QUERY_TYPE_PARAM

String QUERY_WINDOW_PARAM

String TEST_TAG_PARAM

שדות

protected boolean mEnableResolveSymlinks

‫constructors ציבוריים

LaunchControlProvider()

‫methods ציבוריים

void addFileFilter(String filter)
void addOptionalFileFilter(String optionalFilter)
void addRemoteZipFilter(String fileFilter)

הוספת מסנן של קובץ ZIP מרוחק שאפשר להוריד אותו באופן חלקי.

void cleanUp(IBuildInfo info)

מפנים את כל קובצי ה-build הזמניים.

void clearExtraDownloads()
IFileDownloader createLaunchControlDownloader(RemoteBuildInfo remoteBuild)

שיטת Factory ליצירת כלי להורדה לשימוש בקבצים של בקרת ההפעלה.

void decrementTestBuild(String buildId)
IBuildInfo fetchRemoteBuild(RemoteBuildInfo remoteBuild)

המרת התגובה של בקר ההשקה לקובץ IBuildInfo מקומי שמכיל את כל הקבצים הדרושים.

void forceUseCas(boolean useCas)
Collection<String> getAdditionalFilesFilters()
String getBranch()

קבלת הענף שצוין כרגע לשאילתה

IBuildInfo getBuild()

שליפת הנתונים של הגרסה שנבדקת.

String getBuildArchivePath()

קבלת הנתיב לארכיון של פריטי ה-build

String getBuildFlavor()

קבלת טעם הבנייה לשאילתה

String getBuildId()

קבלת מזהה ה-build לשאילתה

String getBuildOs()
IConfiguration getConfiguration()

החזרת IConfiguration מוזרק בשימוש.

Set<String> getContentBasedReportingDefault()
IInvocationContext getInvocationContext()
String getLcHostname()

איך מקבלים את שם המארח של Launch Control לשימוש בשאילתה

String getLcProtocol()

קבלת פרוטוקול Launch Control לשימוש בשאילתה

QueryType getQueryType()

קבלת סוג השאילתה לשימוש

RemoteBuildInfo getRemoteBuild()

לקבל את התגובה של בקרת ההשקה בלי להוריד את כל הקבצים.

Set<String> getRemoteZipFilters()

קבלת קבוצת מסננים לקובצי ZIP שאפשר להוריד באופן חלקי.

boolean getReportContentBasedRollout()
boolean getReportContentInformation()
String getTestConfigOnlyZip()

מורידים את קובץ ה-ZIP של ההגדרה לבדיקה בלבד.

ITestLogger getTestLogger()
String getTestTag()

איך מקבלים את תג הבדיקה לשימוש בשאילתה

boolean getUseSsoClient()

Get if sso client should be used

static void handleExtraTargetDownloads(IBuildInfo build, List<Entry<String, File>> entries)

הטיפול בקבצים מתבצע באופן דינמי, וההורדה שלהם מתבצעת כדי למלא את המטא-נתונים שלהם

boolean isChunkingUncompressedDisabled()
boolean isSecondaryParallelDownload()

האם ההורדה המקבילה מופעלת או לא.

Set<String> reportTestZipFileFilter()
void resetTestBuild()

מבצע שאילתת QueryType.RESET_TEST_BUILD כדי לבקש שליטה בהשקה להסרת גרסת build שהוגדרה מהקבוצה 'גרסאות build שנבדקו'.

void resetTestBuild(String buildId)

מבצעת שאילתת QueryType.RESET_TEST_BUILD כדי לבקש מבקרת ההשקה להסיר גרסה מסוימת מהקבוצה 'גרסאות שנבדקו'.

void setAdditionalFilesFilters(Collection<String> additionalFilesFilters)
void setBranch(String branch)

הגדרת הענף לשאילתה

void setBuildArchivePath(String buildArchivePath)

הגדרת הנתיב לארכיון של ארטיפקטים של build

void setBuildFlavor(String flavor)

הגדרת טעם ה-build לשאילתה

void setBuildId(String buildId)

הגדרת מזהה ה-build לשאילתה

void setBuildOs(String os)
void setConfiguration(IConfiguration configuration)

הוספת ה-IConfiguration שנמצא בשימוש.

void setContentBasedReportingDefault(Set<String> contentBasedReportingDefault)
void setEnableResolveSymlinks(boolean enableResolveSymlinks)
void setFetchSigned(boolean fetchSigned)
void setInvocationContext(IInvocationContext invocationContext)

void setLcHostname(String lcHostname)

הגדרת שם המארח של Launch Control לשימוש בשאילתה

void setLcProtocol(String lcProtocol)

הגדרת פרוטוקול Launch Control לשימוש בשאילתה

void setMinBuildId(int minBuildId)

מגדירים את מזהה הגרסה המינימלי לשימוש.

void setParallelSecondaryDownload(boolean parallel)
void setPartialDownloadForZip(boolean enableZipPartialDownload)
void setQueryType(QueryType queryType)

הגדרת סוג השאילתה לשימוש

void setReportContentBasedRollout(boolean reportContentBasedRollout)
void setReportContentInformation(boolean reportContentInfo)
void setSkipCloudContent(boolean skipCloudContent)
void setTestLogger(ITestLogger testLogger)

החדרת המופע של ITestLogger

void setTestTag(String tag)

מגדירים את תג הבדיקה שבו רוצים להשתמש.

void setUseBuildApi(boolean useBuildApi)

הגדרת הערך כדי לקבוע אם ספק ה-Build צריך להשתמש ב-Android Build API

void setUseSsoClient(boolean useSsoClient)

האם להשתמש בלקוח SSO

boolean shouldFetchSigned()
boolean shouldReportContentInformation()
boolean shouldUseBuildApi()

החזרה אם ספק ה-Build צריך להשתמש ב-Android Build API

שיטות מוגנות

void convertBuildToSigned(RemoteBuildInfo remoteBuild)

משנים את הפרמטרים ב-RemoteBuildInfo כדי לתאר גרסת build חתומה.

IHttpHelper createHttpHelper()

שיטת יצירה של HttpHelper.

String createSignedParameter(String param)

שינוי של פרמטר יחיד כך שייצג פרמטר חתום. אם הפרמטר כבר בפורמט חתום, הוא מוחזר ללא שינוי.

void deleteCacheEntry(String remoteFilePath)

מסירים את הקובץ מהמטמון למקרה שהוא פגום.

void downloadAdditionalFiles(RemoteBuildInfo remoteBuild, IFileDownloader downloader, IBuildInfo localBuild)
IBuildInfo downloadBuildFiles(RemoteBuildInfo remoteBuild, String testTargetName, String buildName, IFileDownloader downloader)

מורידים את מפתחות הקבצים הנדרשים כפי שהוגדרו ב-‎--download-build-key מ-remoteBuild, ושומרים אותם ב-IBuildInfo.

final List<Entry<LaunchControlProvider.DownloadFileDescriptor, File>> downloadFilesNonBlocking(IFileDownloader downloader, List<LaunchControlProvider.DownloadFileDescriptor> toBeDownloaded)

מורידים את קבוצת נתיבי הקבצים ומחילים אותם אם הם נדרשים.

AndroidBuildArtifactHelper getBuildArtifactHelper()
MultiMap<String, File> getExtraDownloadMap()

הפונקציה מחזירה את המפה של יעדים נוספים שהורדו.

Set<String> getGlobalDownloadExclusionPatterns()
final File getWorkFolder()

הפונקציה מחזירה את תיקיית העבודה של ההפעלה הנוכחית.

final File handleDirectoryDownload(File downloadedFile)
RemoteBuildInfo performBuildApiQuery()
void performValidityCheckForBuildApi()
RemoteBuildInfo queryForBuild(MultiMap<String, String> params)

מבצעים את שאילתת בקרת ההפעלה, ומנסים שוב ושוב במקרה של שגיאה.

RemoteBuildInfo queryForBuild()

מבצעים את שאילתת בקרת ההפעלה, ומנסים שוב ושוב במקרה של שגיאה.

RemoteBuildInfo queryForBuildWithBuildApi()

מבצעת את שאילתת ה-build מול build API.

void replaceParamWithSigned(RemoteBuildInfo buildInfo, RemoteBuildInfo.BuildAttributeKey key)
boolean useCasDefaultRollout()

ערכים קבועים

BUILD_ID_PARAM

protected static final String BUILD_ID_PARAM

ערך קבוע: "bid"

BUILD_NAME_PARAM

protected static final String BUILD_NAME_PARAM

ערך קבוע: "id"

LC_BASE_URL

protected static final String LC_BASE_URL

ערך קבוע: "%s://%s/buildbot-update"

MIN_BUILD_ID_PARAM

protected static final String MIN_BUILD_ID_PARAM

ערך קבוע: "min_build_id"

QUERY_TYPE_PARAM

protected static final String QUERY_TYPE_PARAM

ערך קבוע: "op"

QUERY_WINDOW_PARAM

protected static final String QUERY_WINDOW_PARAM

ערך קבוע: "query_window"

TEST_TAG_PARAM

protected static final String TEST_TAG_PARAM

ערך קבוע: "test_tag"

שדות

protected boolean mEnableResolveSymlinks

‫constructors ציבוריים

LaunchControlProvider

public LaunchControlProvider ()

‫methods ציבוריים

addFileFilter

public void addFileFilter (String filter)

פרמטרים
filter String

addOptionalFileFilter

public void addOptionalFileFilter (String optionalFilter)

פרמטרים
optionalFilter String

addRemoteZipFilter

public void addRemoteZipFilter (String fileFilter)

הוספת מסנן של קובץ ZIP מרוחק שאפשר להוריד אותו באופן חלקי.

פרמטרים
fileFilter String

cleanUp

public void cleanUp (IBuildInfo info)

מפנים את כל קובצי ה-build הזמניים.

פרמטרים
info IBuildInfo

clearExtraDownloads

public void clearExtraDownloads ()

createLaunchControlDownloader

public IFileDownloader createLaunchControlDownloader (RemoteBuildInfo remoteBuild)

שיטת Factory ליצירת כלי להורדה לשימוש בקבצים של בקרת ההפעלה.

פרמטרים
remoteBuild RemoteBuildInfo

החזרות
IFileDownloader

decrementTestBuild

public void decrementTestBuild (String buildId)

פרמטרים
buildId String

fetchRemoteBuild

public IBuildInfo fetchRemoteBuild (RemoteBuildInfo remoteBuild)

המרת התגובה של בקר ההשקה לקובץ IBuildInfo מקומי שמכיל את כל הקבצים הדרושים.

הפכנו את המאפיין הזה לציבורי כדי שמומחיות מחוץ לחבילה הזו יוכלו להשתמש בו ישירות. במקומה, בדרך כלל צריך להשתמש ב-getBuild().

פרמטרים
remoteBuild RemoteBuildInfo: תגובת השרת של כלי ההפעלה

החזרות
IBuildInfo IBuildInfo מאוכלס בגרסאות מקומיות של קובצי build

הקפצת הודעות שגיאה (throw)
BuildRetrievalError אם לא ניתן להוריד קבצים של גרסת Build

forceUseCas

public void forceUseCas (boolean useCas)

פרמטרים
useCas boolean

getAdditionalFilesFilters

public Collection<String> getAdditionalFilesFilters ()

החזרות
Collection<String>

getBranch

public String getBranch ()

קבלת הענף שצוין כרגע לשאילתה

החזרות
String הענף

getBuild

public IBuildInfo getBuild ()

שליפת הנתונים של הגרסה שנבדקת.

החזרות
IBuildInfo הערך IBuildInfo אם יש גרסת build לבדיקה, או null אם אין גרסת build זמינה לבדיקה

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

getBuildArchivePath

public String getBuildArchivePath ()

קבלת הנתיב לארכיון של פריטי ה-build

החזרות
String

getBuildFlavor

public String getBuildFlavor ()

קבלת טעם הבנייה לשאילתה

החזרות
String

getBuildId

public String getBuildId ()

קבלת מזהה ה-build לשאילתה

החזרות
String

getBuildOs

public String getBuildOs ()

החזרות
String

getConfiguration

public IConfiguration getConfiguration ()

החזרת IConfiguration מוזרק בשימוש.

החזרות
IConfiguration

getContentBasedReportingDefault

public Set<String> getContentBasedReportingDefault ()

החזרות
Set<String>

getInvocationContext

public IInvocationContext getInvocationContext ()

החזרות
IInvocationContext

getLcHostname

public String getLcHostname ()

איך מקבלים את שם המארח של Launch Control לשימוש בשאילתה

החזרות
String

getLcProtocol

public String getLcProtocol ()

קבלת פרוטוקול Launch Control לשימוש בשאילתה

החזרות
String

getQueryType

public QueryType getQueryType ()

קבלת סוג השאילתה לשימוש

החזרות
QueryType

getRemoteBuild

public RemoteBuildInfo getRemoteBuild ()

לקבל את התגובה של בקרת ההשקה בלי להוריד את כל הקבצים.

הפכנו את המאפיין הזה לציבורי כדי שמומחיות מחוץ לחבילה הזו יוכלו להשתמש בו ישירות. במקומה, בדרך כלל צריך להשתמש ב-getBuild().

החזרות
RemoteBuildInfo התשובה RemoteBuildInfo מבקרת ההשקה

הקפצת הודעות שגיאה (throw)
BuildRetrievalError אם לא ניתן לאחזר את פרטי הגרסה בגלל שגיאה לא צפויה

getRemoteZipFilters

public Set<String> getRemoteZipFilters ()

קבלת קבוצת מסננים לקובצי ZIP שאפשר להוריד באופן חלקי.

החזרות
Set<String>

getReportContentBasedRollout

public boolean getReportContentBasedRollout ()

החזרות
boolean

getReportContentInformation

public boolean getReportContentInformation ()

החזרות
boolean

getTestConfigOnlyZip

public String getTestConfigOnlyZip ()

מורידים את קובץ ה-ZIP של ההגדרה לבדיקה בלבד.

החזרות
String

getTestLogger

public ITestLogger getTestLogger ()

החזרות
ITestLogger

getTestTag

public String getTestTag ()

איך מקבלים את תג הבדיקה לשימוש בשאילתה

החזרות
String

getUseSsoClient

public boolean getUseSsoClient ()

Get if sso client should be used

החזרות
boolean

handleExtraTargetDownloads

public static void handleExtraTargetDownloads (IBuildInfo build, 
                List<Entry<String, File>> entries)

הטיפול בקבצים מתבצע באופן דינמי, וההורדה שלהם מתבצעת כדי למלא את המטא-נתונים שלהם

פרמטרים
build IBuildInfo

entries List

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

isChunkingUncompressedDisabled

public boolean isChunkingUncompressedDisabled ()

החזרות
boolean

isSecondaryParallelDownload

public boolean isSecondaryParallelDownload ()

האם ההורדה המקבילה מופעלת או לא.

החזרות
boolean

reportTestZipFileFilter

public Set<String> reportTestZipFileFilter ()

החזרות
Set<String>

resetTestBuild

public void resetTestBuild ()

מבצע שאילתת QueryType.RESET_TEST_BUILD כדי לבקש שליטה בהשקה להסרת גרסת build שהוגדרה מהקבוצה 'גרסאות build שנבדקו'.

יש לו טיפול מוגבל בשגיאות ומנגנוני ניסיון חוזר. הוצא משימוש כי LCProxy יצא משימוש.

resetTestBuild

public void resetTestBuild (String buildId)

מבצעת שאילתת QueryType.RESET_TEST_BUILD כדי לבקש מבקרת ההשקה להסיר גרסה מסוימת מהקבוצה 'גרסאות שנבדקו'.

יש לו מנגנונים מוגבלים לטיפול בשגיאות ולניסיונות חוזרים. הוצא משימוש כי LCProxy יצא משימוש.

פרמטרים
buildId String: מזהה ה-build לאיפוס

setAdditionalFilesFilters

public void setAdditionalFilesFilters (Collection<String> additionalFilesFilters)

פרמטרים
additionalFilesFilters Collection

setBranch

public void setBranch (String branch)

הגדרת הענף לשאילתה

setBuildArchivePath

public void setBuildArchivePath (String buildArchivePath)

הגדרת הנתיב לארכיון של ארטיפקטים של build

setBuildFlavor

public void setBuildFlavor (String flavor)

הגדרת טעם ה-build לשאילתה

setBuildId

public void setBuildId (String buildId)

הגדרת מזהה ה-build לשאילתה

setBuildOs

public void setBuildOs (String os)

פרמטרים
os String

setConfiguration

public void setConfiguration (IConfiguration configuration)

הוספת ה-IConfiguration שנמצא בשימוש.

פרמטרים
configuration IConfiguration

setContentBasedReportingDefault

public void setContentBasedReportingDefault (Set<String> contentBasedReportingDefault)

פרמטרים
contentBasedReportingDefault Set

setEnableResolveSymlinks

public void setEnableResolveSymlinks (boolean enableResolveSymlinks)

פרמטרים
enableResolveSymlinks boolean

setFetchSigned

public void setFetchSigned (boolean fetchSigned)

פרמטרים
fetchSigned boolean

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

פרמטרים
invocationContext IInvocationContext

setLcHostname

public void setLcHostname (String lcHostname)

הגדרת שם המארח של Launch Control לשימוש בשאילתה

פרמטרים
lcHostname String

setLcProtocol

public void setLcProtocol (String lcProtocol)

הגדרת פרוטוקול Launch Control לשימוש בשאילתה

setMinBuildId

public void setMinBuildId (int minBuildId)

מגדירים את מזהה הגרסה המינימלי לשימוש.

פרמטרים
minBuildId int

setParallelSecondaryDownload

public void setParallelSecondaryDownload (boolean parallel)

פרמטרים
parallel boolean

setPartialDownloadForZip

public void setPartialDownloadForZip (boolean enableZipPartialDownload)

פרמטרים
enableZipPartialDownload boolean

setQueryType

public void setQueryType (QueryType queryType)

הגדרת סוג השאילתה לשימוש

setReportContentBasedRollout

public void setReportContentBasedRollout (boolean reportContentBasedRollout)

פרמטרים
reportContentBasedRollout boolean

setReportContentInformation

public void setReportContentInformation (boolean reportContentInfo)

פרמטרים
reportContentInfo boolean

setSkipCloudContent

public void setSkipCloudContent (boolean skipCloudContent)

פרמטרים
skipCloudContent boolean

setTestLogger

public void setTestLogger (ITestLogger testLogger)

החדרת המופע של ITestLogger

פרמטרים
testLogger ITestLogger

setTestTag

public void setTestTag (String tag)

מגדירים את תג הבדיקה שבו רוצים להשתמש.

פרמטרים
tag String

setUseBuildApi

public void setUseBuildApi (boolean useBuildApi)

הגדרת הערך כדי לקבוע אם ספק ה-Build צריך להשתמש ב-Android Build API

פרמטרים
useBuildApi boolean

setUseSsoClient

public void setUseSsoClient (boolean useSsoClient)

האם להשתמש בלקוח SSO

פרמטרים
useSsoClient boolean

shouldFetchSigned

public boolean shouldFetchSigned ()

החזרות
boolean

shouldReportContentInformation

public boolean shouldReportContentInformation ()

החזרות
boolean

shouldUseBuildApi

public boolean shouldUseBuildApi ()

החזרה אם ספק ה-Build צריך להשתמש ב-Android Build API

החזרות
boolean

שיטות מוגנות

convertBuildToSigned

protected void convertBuildToSigned (RemoteBuildInfo remoteBuild)

משנים את הפרמטרים ב-RemoteBuildInfo כדי לתאר גרסת build חתומה.

פרמטרים
remoteBuild RemoteBuildInfo: RemoteBuildInfo שרוצים לשנות

הקפצת הודעות שגיאה (throw)
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

createHttpHelper

protected IHttpHelper createHttpHelper ()

שיטת יצירה של HttpHelper.

הפונקציה חשופה כדי שאפשר יהיה ליצור ממנה אובייקט לצורך בדיקות יחידה.

החזרות
IHttpHelper

createSignedParameter

protected String createSignedParameter (String param)

שינוי של פרמטר יחיד כך שייצג פרמטר חתום. אם הפרמטר כבר בפורמט חתום, הוא מוחזר ללא שינוי.

פרמטרים
param String: הפרמטר הראשוני (יכול להיות לא חתום או כבר חתום)

החזרות
String הפרמטר החתום

הקפצת הודעות שגיאה (throw)
BuildRetrievalError אם הפרמטר לא תקין ולא ניתן לעבד אותו

deleteCacheEntry

protected void deleteCacheEntry (String remoteFilePath)

מסירים את הקובץ מהמטמון למקרה שהוא פגום.

פרמטרים
remoteFilePath String: אותו קובץ מרוחק שצוין ב-IFileDownloader.downloadFile(String).

downloadAdditionalFiles

protected void downloadAdditionalFiles (RemoteBuildInfo remoteBuild, 
                IFileDownloader downloader, 
                IBuildInfo localBuild)

פרמטרים
remoteBuild RemoteBuildInfo

downloader IFileDownloader

localBuild IBuildInfo

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

downloadBuildFiles

protected IBuildInfo downloadBuildFiles (RemoteBuildInfo remoteBuild, 
                String testTargetName, 
                String buildName, 
                IFileDownloader downloader)

מורידים את מפתחות הקבצים הנדרשים כפי שהוגדרו ב-‎--download-build-key מ-remoteBuild, ושומרים אותם ב-IBuildInfo.

פרמטרים
remoteBuild RemoteBuildInfo: תגובת השרת של כלי ההפעלה

testTargetName String: שם יעד הבדיקה

buildName String: השם של הגרסה, כפי שהוגדר על ידי בקר ההשקה

downloader IFileDownloader: IFileDownloader שמשמש להורדת קובצי build

החזרות
IBuildInfo IBuildInfo מאוכלס בגרסאות מקומיות של קובצי build

הקפצת הודעות שגיאה (throw)
BuildRetrievalError אם לא ניתן להוריד קבצים של גרסת Build

downloadFilesNonBlocking

protected final List<Entry<LaunchControlProvider.DownloadFileDescriptor, File>> downloadFilesNonBlocking (IFileDownloader downloader, 
                List<LaunchControlProvider.DownloadFileDescriptor> toBeDownloaded)

מורידים את קבוצת נתיבי הקבצים ומחילים אותם אם הם נדרשים.

פרמטרים
downloader IFileDownloader

toBeDownloaded List

החזרות
List<Entry<LaunchControlProvider.DownloadFileDescriptor, File>>

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

getBuildArtifactHelper

protected AndroidBuildArtifactHelper getBuildArtifactHelper ()

החזרות
AndroidBuildArtifactHelper

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

getExtraDownloadMap

protected MultiMap<String, File> getExtraDownloadMap ()

הפונקציה מחזירה את המפה של יעדים נוספים שהורדו.

החזרות
MultiMap<String, File>

getGlobalDownloadExclusionPatterns

protected Set<String> getGlobalDownloadExclusionPatterns ()

החזרות
Set<String>

getWorkFolder

protected final File getWorkFolder ()

הפונקציה מחזירה את תיקיית העבודה של ההפעלה הנוכחית.

החזרות
File

handleDirectoryDownload

protected final File handleDirectoryDownload (File downloadedFile)

פרמטרים
downloadedFile File

החזרות
File

performBuildApiQuery

protected RemoteBuildInfo performBuildApiQuery ()

החזרות
RemoteBuildInfo

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

performValidityCheckForBuildApi

protected void performValidityCheckForBuildApi ()

queryForBuild

protected RemoteBuildInfo queryForBuild (MultiMap<String, String> params)

מבצעים את שאילתת בקרת ההפעלה, ומנסים שוב ושוב במקרה של שגיאה.

פרמטרים
params MultiMap: פרמטרים של בקרת השקה

החזרות
RemoteBuildInfo הערך RemoteBuildInfo שאוחזר מ-Launch Control

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

queryForBuild

protected RemoteBuildInfo queryForBuild ()

מבצעים את שאילתת בקרת ההפעלה, ומנסים שוב ושוב במקרה של שגיאה.

החזרות
RemoteBuildInfo הערך RemoteBuildInfo שאוחזר מ-Launch Control

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

queryForBuildWithBuildApi

protected RemoteBuildInfo queryForBuildWithBuildApi ()

מבצעת את שאילתת ה-build מול build API.

הערה: פרמטרים של קלט משתמעים ממשתנים שונים בהיקף המחלקה

החזרות
RemoteBuildInfo RemoteBuildInfo שנותח מהתגובה.

הקפצת הודעות שגיאה (throw)
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError

replaceParamWithSigned

protected void replaceParamWithSigned (RemoteBuildInfo buildInfo, 
                RemoteBuildInfo.BuildAttributeKey key)

פרמטרים
buildInfo RemoteBuildInfo

key RemoteBuildInfo.BuildAttributeKey

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

useCasDefaultRollout

protected boolean useCasDefaultRollout ()

החזרות
boolean