summaryrefslogtreecommitdiff
path: root/overlay/TvFrameworkOverlay/res/values/config_device_idle.xml
blob: 1509641a4e7742cc6fb6c55fabbdc562ee48efb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2022, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<!-- These resources are around just to allow their values to be customized
     for different hardware and product builds.  Do not translate.

     NOTE: The naming convention is "config_camelCaseValue". Some legacy
     entries do not follow the convention, but all new entries should. -->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET -->
    <integer name="device_idle_light_idle_maintenance_min_budget_ms">60</integer>

    <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET -->
    <integer name="device_idle_light_idle_maintenance_max_budget_ms">300</integer>

    <!-- Default for DeviceIdleController.Constants.MIN_LIGHT_MAINTENANCE_TIME -->
    <integer name="device_idle_min_light_maintenance_time_ms">5</integer>

    <!-- Default for DeviceIdleController.Constants.SENSING_TIMEOUT -->
    <integer name="device_idle_sensing_to_ms">10</integer>

    <!-- Default for DeviceIdleController.Constants.LOCATING_TIMEOUT -->
    <integer name="device_idle_locating_to_ms">10</integer>

    <!-- Default for DeviceIdleController.Constants.LOCATION_ACCURACY -->
    <item name="device_idle_location_accuracy" format="float" type="integer">20.0</item>

    <!-- Default for DeviceIdleController.Constants.MOTION_INACTIVE_TIMEOUT -->
    <integer name="device_idle_motion_inactive_to_ms">600</integer>

    <!-- Default for DeviceIdleController.Constants.MOTION_INACTIVE_TIMEOUT_FLEX -->
    <integer name="device_idle_motion_inactive_to_flex_ms">600</integer>

    <!-- Default for DeviceIdleController.Constants.IDLE_AFTER_INACTIVE_TIMEOUT -->
    <integer name="device_idle_idle_after_inactive_to_ms">60</integer>

    <!-- Default for DeviceIdleController.Constants.IDLE_PENDING_TIMEOUT -->
    <integer name="device_idle_idle_pending_to_ms">300000</integer>

    <!-- Default for DeviceIdleController.Constants.QUICK_DOZE_DELAY_TIMEOUT -->
    <integer name="device_idle_quick_doze_delay_to_ms">60</integer>

    <!-- Default for DeviceIdleController.Constants.IDLE_TIMEOUT -->
    <integer name="device_idle_idle_to_ms">5400000</integer>

    <!-- Default for DeviceIdleController.Constants.MAX_IDLE_TIMEOUT -->
    <integer name="device_idle_max_idle_to_ms">5400000</integer>

    <!-- Default for DeviceIdleController.Constants.IDLE_FACTOR -->
    <item name="device_idle_idle_factor" format="float" type="integer">1.0</item>

    <!-- Default for DeviceIdleController.Constants.MIN_TIME_TO_ALARM -->
    <integer name="device_idle_min_time_to_alarm_ms">3600</integer>

    <!-- Default for DeviceIdleController.Constants.MAX_TEMP_APP_ALLOWLIST_DURATION_MS -->
    <integer name="device_idle_max_temp_app_allowlist_duration_ms">300</integer>

    <!-- Default for DeviceIdleController.Constants.MMS_TEMP_APP_ALLOWLIST_DURATION_MS -->
    <integer name="device_idle_mms_temp_app_allowlist_duration_ms">60</integer>

    <!-- Default for DeviceIdleController.Constants.SMS_TEMP_APP_ALLOWLIST_DURATION_MS -->
    <integer name="device_idle_sms_temp_app_allowlist_duration_ms">20</integer>

    <!-- Default for DeviceIdleController.Constants.NOTIFICATION_ALLOWLIST_DURATION_MS -->
    <integer name="device_idle_notification_allowlist_duration_ms">30</integer>
</resources>