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