ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
พร็อพเพอร์ตี้ของระบบ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
พร็อพเพอร์ตี้ของระบบมีหลายรายการที่บ่งบอกสถานะต่างๆ ของระบบ Android ที่เกี่ยวข้องกับการรองรับขนาดหน้าเว็บ หากคุณพยายามทำความเข้าใจวิธีกำหนดค่าอุปกรณ์หนึ่งๆ ตัวเลือกเหล่านี้จะให้ภาพรวมเกี่ยวกับวิธีกำหนดค่าและการใช้ขนาดหน้าใน Android
ro.boot.hardware.cpu.pagesize
คือค่าเฉพาะ OEM ซึ่งระบุขนาดหน้าเว็บที่ใช้งานอยู่ ใน Android 16 ค่านี้จะกำหนดโดย init โดยค่าเริ่มต้นตามขนาดหน้าของ CPU หากไม่ได้ส่งมาจาก bootloader
ro.product.cpu.pagesize.max
คือค่าของ PRODUCT_MAX_PAGE_SIZE_SUPPORTED
หรืออีกนัยหนึ่งคือการจัดแนวที่คาดไว้ของไบนารีในอุปกรณ์
ro.product.page_size
(เปิดตัวใน Android 16)
คือขนาดหน้าเว็บที่ผลิตภัณฑ์กำหนด (อิงตาม TARGET_BOOTS_16K
) ซึ่งจะกำหนดขนาดหน้าเว็บที่ควรจะเป็นและได้รับการยืนยันใน Vts16KPageSizeTest
หากใช้เคอร์เนลที่ไม่ถูกต้อง ระบบจะแจ้งให้คุณทราบด้วยการจับคู่ที่ไม่ตรงกันกับพร็อพเพอร์ตี้นี้
ro.product.build.16k_page.enabled
ระบุว่าอุปกรณ์รองรับตัวเลือกสำหรับนักพัฒนาแอปในการสลับระหว่างโหมด 4 KB กับ 16 KB หรือไม่ อ่านข้อมูลเพิ่มเติมเกี่ยวกับวิธีเปิดใช้และใช้ตัวเลือกนี้
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 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-07-27 UTC"],[],[],null,["# System properties\n\nThere are many different system properties that indicate various states of\nan Android system related to its page size support. If you're trying to\nunderstand how a specific device is configured, these options provide an\noverview of how page size is configured and used in Android.\n\n- `ro.boot.hardware.cpu.pagesize` is an OEM-specific value, indicating the page size that is running. In Android 16, this is set by init by default based on the CPU page size if it isn't passed from the bootloader.\n- `ro.product.cpu.pagesize.max` is the value of `PRODUCT_MAX_PAGE_SIZE_SUPPORTED` or in other words, the expected alignment of binaries on device.\n- `ro.product.page_size` (introduced in Android 16) is the product-defined page size (based on `TARGET_BOOTS_16K`). This defines what the page size should be and is verfied in `Vts16KPageSizeTest`. If the wrong kernel is used, the mismatch with this property tells you.\n- `ro.product.build.16k_page.enabled` indicates whether the device supports a developer option to switch between 4 KB and 16 KB mode. Read more how to [enable and use this option](/docs/core/architecture/16kb-page-size/16kb-developer-option)."]]