1# Copyright (C) 2020 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.automotive.watchdog.sysprop" 16owner: Platform 17 18# Interval in seconds between consecutive boot-time performance data collections. 19prop { 20 api_name: "systemEventCollectionInterval" 21 type: Integer 22 scope: Internal 23 access: Readonly 24 prop_name: "ro.carwatchdog.system_event_collection_interval" 25} 26 27# Duration in seconds of timeout when final signal not received during user-switch. 28prop { 29 api_name: "userSwitchTimeout" 30 type: Integer 31 scope: Internal 32 access: Readonly 33 prop_name: "ro.carwatchdog.user_switch_timeout" 34} 35 36# Duration in seconds of data collection after final signal received for system event. 37prop { 38 api_name: "postSystemEventDuration" 39 type: Integer 40 scope: Internal 41 access: Readonly 42 prop_name: "ro.carwatchdog.post_system_event_duration" 43} 44 45# Duration in seconds of data collection for a system wake up event. 46prop { 47 api_name: "wakeUpEventDuration" 48 type: Integer 49 scope: Internal 50 access: Readonly 51 prop_name: "ro.carwatchdog.wake_up_event_duration" 52} 53 54# Maximum number of periodically collected records to be cached in memory. 55prop { 56 api_name: "periodicCollectionBufferSize" 57 type: Integer 58 scope: Internal 59 access: Readonly 60 prop_name: "ro.carwatchdog.periodic_collection_buffer_size" 61} 62 63# Interval in seconds between consecutive periodic performance data collections. 64prop { 65 api_name: "periodicCollectionInterval" 66 type: Integer 67 scope: Internal 68 access: Readonly 69 prop_name: "ro.carwatchdog.periodic_collection_interval" 70} 71 72# Maximum number of periodically monitored records to be cached in memory. 73prop { 74 api_name: "periodicMonitorBufferSize" 75 type: Integer 76 scope: Internal 77 access: Readonly 78 prop_name: "ro.carwatchdog.periodic_monitor_buffer_size" 79} 80 81# Interval in seconds between consecutive periodic performance data monitoring. 82prop { 83 api_name: "periodicMonitorInterval" 84 type: Integer 85 scope: Internal 86 access: Readonly 87 prop_name: "ro.carwatchdog.periodic_monitor_interval" 88} 89 90# Top N per-UID statistics/category collected by the performance data collector. 91prop { 92 api_name: "topNStatsPerCategory" 93 type: Integer 94 scope: Internal 95 access: Readonly 96 prop_name: "ro.carwatchdog.top_n_stats_per_category" 97} 98 99# Top N per-process statistics/category collected by the performance data collector. 100prop { 101 api_name: "topNStatsPerSubcategory" 102 type: Integer 103 scope: Internal 104 access: Readonly 105 prop_name: "ro.carwatchdog.top_n_stats_per_subcategory" 106} 107 108# Max cache size of user-switch events. 109prop { 110 api_name: "maxUserSwitchEvents" 111 type: Integer 112 scope: Internal 113 access: Readonly 114 prop_name: "ro.carwatchdog.max_user_switch_events" 115} 116 117# Duration in seconds that a system event's data is cached. 118prop { 119 api_name: "systemEventDataCacheDuration" 120 type: Integer 121 scope: Internal 122 access: Readonly 123 prop_name: "ro.carwatchdog.system_event_data_cache_duration" 124} 125 126# Percentage of I/O overuse threshold. 127prop { 128 api_name: "ioOveruseWarnPercentage" 129 type: Integer 130 scope: Internal 131 access: Readonly 132 prop_name: "ro.carwatchdog.io_overuse_warn_percentage" 133} 134 135# Flag for sending resource usage stats from daemon to CarService. 136prop { 137 api_name: "syncResourceUsageStatsWithCarServiceEnabled" 138 type: Boolean 139 scope: Internal 140 access: Writeonce 141 prop_name: "carwatchdog.sync_resource_usage_stats_with_carservice.enabled" 142} 143