xref: /aosp_15_r20/system/apex/apexd/sysprop/ApexProperties.sysprop (revision 33f3758387333dbd2962d7edbd98681940d895da)
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
15owner: Platform
16module: "android.sysprop.ApexProperties"
17
18prop {
19    api_name: "updatable"
20    type: Boolean
21    scope: Internal
22    access: Readonly
23    prop_name: "ro.apex.updatable"
24}
25
26prop {
27    api_name: "dm_delete_timeout"
28    type: UInt
29    scope: Internal
30    access: Readonly
31    prop_name: "apexd.config.dm_delete.timeout"
32}
33
34prop {
35    api_name: "dm_create_timeout"
36    type: UInt
37    scope: Internal
38    access: Readonly
39    prop_name: "apexd.config.dm_create.timeout"
40}
41
42prop {
43    api_name: "loop_wait_attempts"
44    type: UInt
45    scope: Internal
46    access: Readonly
47    prop_name: "apexd.config.loop_wait.attempts"
48}
49
50# This sysprop allows adjusting the number of threads that are used
51# to activate Apex Packages. If this sysprop is not set or set to 0,
52# the total number of threads equal the number of packages.
53# The maximum number of threads is capped to the number of packages.
54prop {
55    api_name: "boot_activation_threads"
56    type: UInt
57    scope: Internal
58    access: Readonly
59    prop_name: "apexd.config.boot_activation.threads"
60}
61
62prop {
63    api_name: "loopback_readahead"
64    type: UInt
65    scope: Internal
66    access: Readonly
67    prop_name: "apexd.config.loopback.readahead"
68}
69