1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2022, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<!-- These resources are around just to allow their values to be customized 21 for different hardware and product builds. Do not translate. 22 23 NOTE: The naming convention is "config_camelCaseValue". Some legacy 24 entries do not follow the convention, but all new entries should. --> 25 26<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 27 <!-- Default for DeviceIdleController.Constants.FLEX_TIME_SHORT --> 28 <integer name="device_idle_flex_time_short_ms">60000</integer> 29 30 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT --> 31 <integer name="device_idle_light_after_inactive_to_ms">60000</integer> 32 33 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_TIMEOUT --> 34 <integer name="device_idle_light_idle_to_ms">300000</integer> 35 36 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_TIMEOUT_MAX_FLEX --> 37 <integer name="device_idle_light_idle_to_init_flex_ms">60000</integer> 38 39 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_TIMEOUT_MAX_FLEX --> 40 <integer name="device_idle_light_idle_to_max_flex_ms">900000</integer> 41 42 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_FACTOR --> 43 <item name="device_idle_light_idle_factor" format="float" type="integer">2.0</item> 44 45 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_INCREASE_LINEARLY --> 46 <bool name="device_idle_light_idle_increase_linearly">true</bool> 47 48 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_LINEAR_INCREASE_FACTOR_MS --> 49 <integer name="device_idle_light_idle_linear_increase_factor_ms">300000</integer> 50 51 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_FLEX_LINEAR_INCREASE_FACTOR_MS --> 52 <integer name="device_idle_light_idle_flex_linear_increase_factor_ms">60000</integer> 53 54 <!-- Default for DeviceIdleController.Constants.LIGHT_MAX_IDLE_TIMEOUT --> 55 <integer name="device_idle_light_max_idle_to_ms">1800000</integer> 56 57 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET --> 58 <integer name="device_idle_light_idle_maintenance_min_budget_ms">60000</integer> 59 60 <!-- Default for DeviceIdleController.Constants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET --> 61 <integer name="device_idle_light_idle_maintenance_max_budget_ms">300000</integer> 62 63 <!-- Default for DeviceIdleController.Constants.MIN_LIGHT_MAINTENANCE_TIME --> 64 <integer name="device_idle_min_light_maintenance_time_ms">5000</integer> 65 66 <!-- Default for DeviceIdleController.Constants.MIN_DEEP_MAINTENANCE_TIME --> 67 <integer name="device_idle_min_deep_maintenance_time_ms">30000</integer> 68 69 <!-- Default for DeviceIdleController.Constants.INACTIVE_TIMEOUT --> 70 <integer name="device_idle_inactive_to_ms">60000</integer> 71 72 <!-- Default for DeviceIdleController.Constants.SENSING_TIMEOUT --> 73 <integer name="device_idle_sensing_to_ms">30000</integer> 74 75 <!-- Default for DeviceIdleController.Constants.LOCATING_TIMEOUT --> 76 <integer name="device_idle_locating_to_ms">15000</integer> 77 78 <!-- Default for DeviceIdleController.Constants.LOCATION_ACCURACY --> 79 <item name="device_idle_location_accuracy" format="float" type="integer">20.0</item> 80 81 <!-- Default for DeviceIdleController.Constants.MOTION_INACTIVE_TIMEOUT --> 82 <integer name="device_idle_motion_inactive_to_ms">600000</integer> 83 84 <!-- Default for DeviceIdleController.Constants.MOTION_INACTIVE_TIMEOUT_FLEX --> 85 <integer name="device_idle_motion_inactive_to_flex_ms">60000</integer> 86 87 <!-- Default for DeviceIdleController.Constants.IDLE_AFTER_INACTIVE_TIMEOUT --> 88 <integer name="device_idle_idle_after_inactive_to_ms">60000</integer> 89 90 <!-- Default for DeviceIdleController.Constants.IDLE_PENDING_TIMEOUT --> 91 <integer name="device_idle_idle_pending_to_ms">300000</integer> 92 93 <!-- Default for DeviceIdleController.Constants.MAX_IDLE_PENDING_TIMEOUT --> 94 <integer name="device_idle_max_idle_pending_to_ms">600000</integer> 95 96 <!-- Default for DeviceIdleController.Constants.IDLE_PENDING_FACTOR --> 97 <item name="device_idle_idle_pending_factor" format="float" type="integer">2.0</item> 98 99 <!-- Default for DeviceIdleController.Constants.QUICK_DOZE_DELAY_TIMEOUT --> 100 <integer name="device_idle_quick_doze_delay_to_ms">60000</integer> 101 102 <!-- Default for DeviceIdleController.Constants.IDLE_TIMEOUT --> 103 <integer name="device_idle_idle_to_ms">900000</integer> 104 105 <!-- Default for DeviceIdleController.Constants.MAX_IDLE_TIMEOUT --> 106 <integer name="device_idle_max_idle_to_ms">21600000</integer> 107 108 <!-- Default for DeviceIdleController.Constants.IDLE_FACTOR --> 109 <item name="device_idle_idle_factor" format="float" type="integer">2.0</item> 110 111 <!-- Default for DeviceIdleController.Constants.MIN_TIME_TO_ALARM --> 112 <integer name="device_idle_min_time_to_alarm_ms">3600000</integer> 113 114 <!-- Default for DeviceIdleController.Constants.MAX_TEMP_APP_ALLOWLIST_DURATION_MS --> 115 <integer name="device_idle_max_temp_app_allowlist_duration_ms">300000</integer> 116 117 <!-- Default for DeviceIdleController.Constants.MMS_TEMP_APP_ALLOWLIST_DURATION_MS --> 118 <integer name="device_idle_mms_temp_app_allowlist_duration_ms">60000</integer> 119 120 <!-- Default for DeviceIdleController.Constants.SMS_TEMP_APP_ALLOWLIST_DURATION_MS --> 121 <integer name="device_idle_sms_temp_app_allowlist_duration_ms">20000</integer> 122 123 <!-- Default for DeviceIdleController.Constants.NOTIFICATION_ALLOWLIST_DURATION_MS --> 124 <integer name="device_idle_notification_allowlist_duration_ms">30000</integer> 125 126 <!-- Default for DeviceIdleController.Constants.WAIT_FOR_UNLOCK --> 127 <bool name="device_idle_wait_for_unlock">true</bool> 128 129 <!-- Default for DeviceIdleController.Constants.USE_WINDOW_ALARMS --> 130 <bool name="device_idle_use_window_alarms">true</bool> 131 132 <!-- Default for DeviceIdleController.Constants.USE_MODE_MANAGER --> 133 <bool name="device_idle_use_mode_manager">false</bool> 134</resources> 135 136