diff options
author | Bubble Fang <bubblefang@google.com> | 2024-02-01 06:42:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-01 06:42:33 +0000 |
commit | 0c2f056c6e5d8ef43d6118e5282639ad19d2aa8f (patch) | |
tree | bf88fba09d6f0385b840a1bc208a0ba6553c5cfa | |
parent | 54c8e4a3cd6fe646550266e31b895d2a5891a035 (diff) | |
download | libsysprop-0c2f056c6e5d8ef43d6118e5282639ad19d2aa8f.tar.gz |
Revert "[CrashRecovery] Refactor SystemProperties as api"
Revert submission 2931990-cr-sysprop
Reason for revert: Causing CTS fail at b/323272250 b/323278067 b/323284822
Reverted changes: /q/submissionid:2931990-cr-sysprop
Change-Id: I96da439fa35427a5ebe15d7c7e4f84176f34d5ed
-rw-r--r-- | srcs/android/sysprop/CrashRecoveryProperties.sysprop | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/srcs/android/sysprop/CrashRecoveryProperties.sysprop b/srcs/android/sysprop/CrashRecoveryProperties.sysprop deleted file mode 100644 index c9aaa71..0000000 --- a/srcs/android/sysprop/CrashRecoveryProperties.sysprop +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright (C) 2024 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. - -module: "android.sysprop.CrashRecoveryProperties" -owner: Platform - -prop { - api_name: "lastFactoryResetTimeMs" - type: Long - scope: Internal - access: ReadWrite - prop_name: "persist.crashrecovery.last_factory_reset" -} - -# Below two properties track individual system server boot events, and are reset once the boot -# threshold is met, or the boot loop trigger window is exceeded between boot events. -prop { - api_name: "rescueBootStart" - type: Long - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.rescue_boot_start" -} - -prop { - api_name: "rescueBootCount" - type: Integer - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.rescue_boot_count" -} - -# Below two properties track multiple calls made to observers tracking boot loops. They are reset -# when the de-escalation window is exceeded between boot events. -prop { - api_name: "bootMitigationStart" - type: Long - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.boot_mitigation_start" -} - -prop { - api_name: "bootMitigationCount" - type: Integer - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.boot_mitigation_count" -} - -prop { - api_name: "attemptingReboot" - type: Boolean - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.attempting_reboot" -} - -prop { - api_name: "attemptingFactoryReset" - type: Boolean - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.attempting_factory_reset" -} - -prop { - api_name: "maxRescueLevelAttempted" - type: Integer - scope: Internal - access: ReadWrite - prop_name: "crashrecovery.max_rescue_level_attempted" -} - -prop { - api_name: "enableRescueParty" - type: Boolean - scope: Internal - access: ReadWrite - prop_name: "persist.crashrecovery.enable_rescue" -} |