xref: /aosp_15_r20/system/libsysprop/srcs/android/sysprop/MemoryProperties.sysprop (revision 84dc9db433a600c0ca231d638135de5b8181a4b9)
1# Copyright (C) 2022 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15owner: Platform
16module: "android.sysprop.MemoryProperties"
17
18# Provides the hardware memory ddr size. This property is populated by
19# the property service from the kernel command line parameter
20# androidboot.ddr_size=XXXX. Vendors can set this command line option
21# from the bootloader.
22# This value is usually different from MemTotal in /proc/meminfo.
23prop {
24    api_name: "memory_ddr_size"
25    type: String
26    scope: Public
27    access: Readonly
28    prop_name: "ro.boot.ddr_size"
29}
30