1# Copyright (C) 2025 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.MmdProperties" 17 18# Whether mmd manages zram or not. 19# 20# If this is empty, it means either: 21# 22# * swapon_all command or other system manages zram or, 23# * zram is disabled on the system 24prop { 25 api_name: "mmd_zram_enabled" 26 type: Boolean 27 prop_name: "mmd.zram.enabled" 28 scope: Internal 29 access: Readonly 30} 31 32# The actual zram backing device size that was set up by mmd. 33# This value might be different from the requested size due to mmd adjustments 34# based on current available disk space. 35prop { 36 api_name: "actual_zram_backing_device_size" 37 type: ULong 38 prop_name: "mmd.status.zram.writeback.device_size" 39 scope: Internal 40 access: ReadWrite 41} 42