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.sysprop.WatchdogProperties"
16owner: Platform
17
18# To escape the watchdog timeout loop, fatal reboot the system when
19# watchdog timed out 'fatal_count' times in 'fatal_window_seconds'
20# seconds, if both values are not 0. Default value of both is 0.
21prop {
22    api_name: "fatal_count"
23    type: Integer
24    prop_name: "framework_watchdog.fatal_count"
25    scope: Internal
26    access: Readonly
27}
28
29# See 'fatal_count' for documentation.
30prop {
31    api_name: "fatal_window_seconds"
32    type: Integer
33    prop_name: "framework_watchdog.fatal_window.second"
34    scope: Internal
35    access: Readonly
36}
37
38# The fatal counting can be disabled by setting property
39# 'should_ignore_fatal_count' to true.
40prop {
41    api_name: "should_ignore_fatal_count"
42    type: Boolean
43    prop_name: "persist.debug.framework_watchdog.fatal_ignore"
44    scope: Internal
45    access: Readonly
46}
47