2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
システム プロパティ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android システムでは、ページサイズ サポートに関連して、さまざまな状態を示すシステム プロパティが多数存在します。特定のデバイスの構成方法を理解しようとする場合、これらのオプションを利用して、Android でのページサイズの構成 / 使用方法の概要を確認できます。
ro.boot.hardware.cpu.pagesize
は OEM 固有の値で、実行中のページサイズを示します。Android 16(AOSP 試験運用版)では、ブートローダーから渡されない場合、CPU のページサイズに基づいて、init がデフォルトでこれを設定します。
ro.product.cpu.pagesize.max
は PRODUCT_MAX_PAGE_SIZE_SUPPORTED
の値、つまりデバイス上のバイナリの期待されるアライメントを意味します。
ro.product.page_size
(Android 16(AOSP 試験運用版)で導入)は、(TARGET_BOOTS_16K
に基づく)製品定義のページサイズです。これがページサイズを定義し、Vts16KPageSizeTest
で検証されます。間違ったカーネルを使用した場合、このプロパティと一致しません。
ro.product.build.16k_page.enabled
は、4 KB と 16 KB とを切り替える開発者向けオプションをデバイスがサポートしているかどうかを示します。詳しくは、このオプションを有効にして使用する方法をご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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。"],[],[],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)."]]