xref: /aosp_15_r20/system/apex/apexd/sysprop/ApexProperties.sysprop (revision 33f3758387333dbd2962d7edbd98681940d895da)
1*33f37583SAndroid Build Coastguard Worker# Copyright (C) 2019 The Android Open Source Project
2*33f37583SAndroid Build Coastguard Worker#
3*33f37583SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
4*33f37583SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
5*33f37583SAndroid Build Coastguard Worker# You may obtain a copy of the License at
6*33f37583SAndroid Build Coastguard Worker#
7*33f37583SAndroid Build Coastguard Worker#      http://www.apache.org/licenses/LICENSE-2.0
8*33f37583SAndroid Build Coastguard Worker#
9*33f37583SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*33f37583SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
11*33f37583SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*33f37583SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
13*33f37583SAndroid Build Coastguard Worker# limitations under the License.
14*33f37583SAndroid Build Coastguard Worker
15*33f37583SAndroid Build Coastguard Workerowner: Platform
16*33f37583SAndroid Build Coastguard Workermodule: "android.sysprop.ApexProperties"
17*33f37583SAndroid Build Coastguard Worker
18*33f37583SAndroid Build Coastguard Workerprop {
19*33f37583SAndroid Build Coastguard Worker    api_name: "updatable"
20*33f37583SAndroid Build Coastguard Worker    type: Boolean
21*33f37583SAndroid Build Coastguard Worker    scope: Internal
22*33f37583SAndroid Build Coastguard Worker    access: Readonly
23*33f37583SAndroid Build Coastguard Worker    prop_name: "ro.apex.updatable"
24*33f37583SAndroid Build Coastguard Worker}
25*33f37583SAndroid Build Coastguard Worker
26*33f37583SAndroid Build Coastguard Workerprop {
27*33f37583SAndroid Build Coastguard Worker    api_name: "dm_delete_timeout"
28*33f37583SAndroid Build Coastguard Worker    type: UInt
29*33f37583SAndroid Build Coastguard Worker    scope: Internal
30*33f37583SAndroid Build Coastguard Worker    access: Readonly
31*33f37583SAndroid Build Coastguard Worker    prop_name: "apexd.config.dm_delete.timeout"
32*33f37583SAndroid Build Coastguard Worker}
33*33f37583SAndroid Build Coastguard Worker
34*33f37583SAndroid Build Coastguard Workerprop {
35*33f37583SAndroid Build Coastguard Worker    api_name: "dm_create_timeout"
36*33f37583SAndroid Build Coastguard Worker    type: UInt
37*33f37583SAndroid Build Coastguard Worker    scope: Internal
38*33f37583SAndroid Build Coastguard Worker    access: Readonly
39*33f37583SAndroid Build Coastguard Worker    prop_name: "apexd.config.dm_create.timeout"
40*33f37583SAndroid Build Coastguard Worker}
41*33f37583SAndroid Build Coastguard Worker
42*33f37583SAndroid Build Coastguard Workerprop {
43*33f37583SAndroid Build Coastguard Worker    api_name: "loop_wait_attempts"
44*33f37583SAndroid Build Coastguard Worker    type: UInt
45*33f37583SAndroid Build Coastguard Worker    scope: Internal
46*33f37583SAndroid Build Coastguard Worker    access: Readonly
47*33f37583SAndroid Build Coastguard Worker    prop_name: "apexd.config.loop_wait.attempts"
48*33f37583SAndroid Build Coastguard Worker}
49*33f37583SAndroid Build Coastguard Worker
50*33f37583SAndroid Build Coastguard Worker# This sysprop allows adjusting the number of threads that are used
51*33f37583SAndroid Build Coastguard Worker# to activate Apex Packages. If this sysprop is not set or set to 0,
52*33f37583SAndroid Build Coastguard Worker# the total number of threads equal the number of packages.
53*33f37583SAndroid Build Coastguard Worker# The maximum number of threads is capped to the number of packages.
54*33f37583SAndroid Build Coastguard Workerprop {
55*33f37583SAndroid Build Coastguard Worker    api_name: "boot_activation_threads"
56*33f37583SAndroid Build Coastguard Worker    type: UInt
57*33f37583SAndroid Build Coastguard Worker    scope: Internal
58*33f37583SAndroid Build Coastguard Worker    access: Readonly
59*33f37583SAndroid Build Coastguard Worker    prop_name: "apexd.config.boot_activation.threads"
60*33f37583SAndroid Build Coastguard Worker}
61*33f37583SAndroid Build Coastguard Worker
62*33f37583SAndroid Build Coastguard Workerprop {
63*33f37583SAndroid Build Coastguard Worker    api_name: "loopback_readahead"
64*33f37583SAndroid Build Coastguard Worker    type: UInt
65*33f37583SAndroid Build Coastguard Worker    scope: Internal
66*33f37583SAndroid Build Coastguard Worker    access: Readonly
67*33f37583SAndroid Build Coastguard Worker    prop_name: "apexd.config.loopback.readahead"
68*33f37583SAndroid Build Coastguard Worker}
69