1*84dc9db4SAndroid Build Coastguard Worker# Copyright (C) 2019 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 Workermodule: "android.sysprop.OtaProperties" 16*84dc9db4SAndroid Build Coastguard Workerowner: Platform 17*84dc9db4SAndroid Build Coastguard Workerprop { 18*84dc9db4SAndroid Build Coastguard Worker api_name: "warm_reset" 19*84dc9db4SAndroid Build Coastguard Worker type: Boolean 20*84dc9db4SAndroid Build Coastguard Worker scope: Public 21*84dc9db4SAndroid Build Coastguard Worker access: ReadWrite 22*84dc9db4SAndroid Build Coastguard Worker prop_name: "ota.warm_reset" 23*84dc9db4SAndroid Build Coastguard Worker integer_as_bool : true 24*84dc9db4SAndroid Build Coastguard Worker} 25*84dc9db4SAndroid Build Coastguard Worker 26*84dc9db4SAndroid Build Coastguard Workerprop { 27*84dc9db4SAndroid Build Coastguard Worker api_name: "ab_ota_partitions" 28*84dc9db4SAndroid Build Coastguard Worker type: String 29*84dc9db4SAndroid Build Coastguard Worker scope: Public 30*84dc9db4SAndroid Build Coastguard Worker access: Readonly 31*84dc9db4SAndroid Build Coastguard Worker prop_name: "ro.product.ab_ota_partitions" 32*84dc9db4SAndroid Build Coastguard Worker} 33*84dc9db4SAndroid Build Coastguard Worker 34*84dc9db4SAndroid Build Coastguard Workerprop { 35*84dc9db4SAndroid Build Coastguard Worker api_name: "virtual_ab_enabled" 36*84dc9db4SAndroid Build Coastguard Worker type: Boolean 37*84dc9db4SAndroid Build Coastguard Worker scope: Public 38*84dc9db4SAndroid Build Coastguard Worker access: Readonly 39*84dc9db4SAndroid Build Coastguard Worker prop_name: "ro.virtual_ab.enabled", 40*84dc9db4SAndroid Build Coastguard Worker} 41*84dc9db4SAndroid Build Coastguard Worker 42*84dc9db4SAndroid Build Coastguard Workerprop { 43*84dc9db4SAndroid Build Coastguard Worker api_name: "virtual_ab_retrofit" 44*84dc9db4SAndroid Build Coastguard Worker type: Boolean 45*84dc9db4SAndroid Build Coastguard Worker scope: Public 46*84dc9db4SAndroid Build Coastguard Worker access: Readonly 47*84dc9db4SAndroid Build Coastguard Worker prop_name: "ro.virtual_ab.retrofit", 48*84dc9db4SAndroid Build Coastguard Worker} 49*84dc9db4SAndroid Build Coastguard Worker 50*84dc9db4SAndroid Build Coastguard Worker# The VBMeta digest is a digest over all VBMeta structs, usually a SHA256 51*84dc9db4SAndroid Build Coastguard Worker# digest. Details in 52*84dc9db4SAndroid Build Coastguard Worker# https://android.googlesource.com/platform/external/avb/+/master/README.md#The-VBMeta-Digest 53*84dc9db4SAndroid Build Coastguard Worker# 54*84dc9db4SAndroid Build Coastguard Worker# Update_engine sets the vbmeta digest for the inactive slot, after installing 55*84dc9db4SAndroid Build Coastguard Worker# ota updates to the b partition of a/b devices. 56*84dc9db4SAndroid Build Coastguard Workerprop { 57*84dc9db4SAndroid Build Coastguard Worker api_name: "other_vbmeta_digest" 58*84dc9db4SAndroid Build Coastguard Worker type: String 59*84dc9db4SAndroid Build Coastguard Worker scope: Internal 60*84dc9db4SAndroid Build Coastguard Worker access: ReadWrite 61*84dc9db4SAndroid Build Coastguard Worker prop_name: "ota.other.vbmeta_digest", 62*84dc9db4SAndroid Build Coastguard Worker} 63*84dc9db4SAndroid Build Coastguard Worker 64