ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ExtendedFile
public
class
ExtendedFile
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.config.remote.ExtendedFile
|
ส่วนขยายของไฟล์มาตรฐานเพื่อนำข้อมูลเมตาที่เกี่ยวข้องกับบิลด์
สรุป
ตัวสร้างแบบสาธารณะ |
ExtendedFile(File file, String buildId, String buildTarget)
|
ExtendedFile(File file, String buildId, String buildTarget, String branch)
|
ExtendedFile(File file, String buildId, String buildTarget, String branch, String remoteFilePath)
|
ตัวสร้างแบบสาธารณะ
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget)
พารามิเตอร์ |
file |
File |
buildId |
String |
buildTarget |
String |
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget,
String branch)
พารามิเตอร์ |
file |
File |
buildId |
String |
buildTarget |
String |
branch |
String |
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget,
String branch,
String remoteFilePath)
พารามิเตอร์ |
file |
File |
buildId |
String |
buildTarget |
String |
branch |
String |
remoteFilePath |
String |
เมธอดสาธารณะ
cancelDownload
public void cancelDownload ()
getBranch
public String getBranch ()
แสดงผลข้อมูลเมตาของสาขา
getBuildId
public String getBuildId ()
แสดงผลข้อมูลเมตาของรหัสการสร้าง
getBuildTarget
public String getBuildTarget ()
แสดงผลข้อมูลเมตาเป้าหมาย
getRemoteFilePath
public String getRemoteFilePath ()
แสดงผลข้อมูลเมตาของเส้นทางไฟล์ระยะไกล
isDoneDownloadingInParallel
public boolean isDoneDownloadingInParallel ()
isDownloadingInParallel
public boolean isDownloadingInParallel ()
setDownloadFuture
public void setDownloadFuture (ExecutorService serviceUsed,
download)
พารามิเตอร์ |
serviceUsed |
ExecutorService |
download |
|
setDownloadFuture
public void setDownloadFuture ( download)
waitForDownload
public void waitForDownload ()
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-26 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-03-26 UTC"],[],[]]