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