ตั้งแต่ปี 2026 เป็นต้นไป เราจะเผยแพร่ซอร์สโค้ดไปยัง AOSP ในไตรมาสที่ 2 และ 4 เพื่อให้สอดคล้องกับโมเดลการพัฒนาแบบ Trunk Stable และรับประกันความเสถียรของแพลตฟอร์มสำหรับระบบนิเวศ หากต้องการสร้างและมีส่วนร่วมใน AOSP ให้ใช้ android-latest-release android-latest-release สาขา Manifest จะอ้างอิงถึงรุ่นล่าสุดที่พุชไปยัง AOSP เสมอ ดูข้อมูลเพิ่มเติมได้ที่การเปลี่ยนแปลงใน AOSP
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
SandboxConfigurationFactory
public
class
SandboxConfigurationFactory
extends ConfigurationFactory
Special Configuration factory to handle creation of configurations for Sandboxing purpose.
TODO: Split the configuration dump part to another class
สรุป
ทุ่ง
OPTION_IGNORED_ELEMENTS
public static final Set<String> OPTION_IGNORED_ELEMENTS
เครื่องมือสร้างสาธารณะ
SandboxConfigurationFactory
public SandboxConfigurationFactory ()
เมธอดสาธารณะ
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] args,
IKeyStoreClient keyStoreClient,
ISandbox sandbox,
IRunUtil runUtil,
File globalConfig,
boolean skipJavaCheck)
สร้าง IConfiguration ตามบรรทัดคำสั่งและแซนด์บ็อกซ์ที่ให้ไว้
| พารามิเตอร์ |
args |
String: บรรทัดคำสั่งสำหรับการเรียกใช้ |
keyStoreClient |
IKeyStoreClient: IKeyStoreClient ที่ใช้โหลดคีย์ |
sandbox |
ISandbox: ISandbox ที่ใช้ในการเรียกใช้ |
runUtil |
IRunUtil: IRunUtil เพื่อเรียกใช้คำสั่ง |
globalConfig |
File |
skipJavaCheck |
boolean |
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] arrayArgs,
SandboxConfigDump.DumpCmd command)
เมื่อเรียกใช้การดัมพ์สำหรับคำสั่ง สร้างการกำหนดค่าตามความคาดหวังที่เฉพาะเจาะจง
| พารามิเตอร์ |
arrayArgs |
String: บรรทัดคำสั่งสำหรับการเรียกใช้ |
command |
SandboxConfigDump.DumpCmd: คำสั่งดัมพ์กำลังดำเนินการ |
วิธีการที่ได้รับการป้องกัน
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
Map<String, String> templateMap)
ดึงข้อมูล ConfigurationDef สำหรับชื่อที่ระบุ
| พารามิเตอร์ |
name |
String: ชื่อของการกำหนดค่าในตัวที่จะโหลดหรือเส้นทางไฟล์ไปยังไฟล์กำหนดค่า
ที่จะโหลด |
isGlobal |
boolean |
templateMap |
Map |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2026-06-22 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"]],["อัปเดตล่าสุด 2026-06-22 UTC"],[],[]]