summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBubble Fang <bubblefang@google.com>2024-02-01 21:29:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-01 21:29:52 +0000
commita8a90ff4122dd2729e7a6592a956e2734dfc7a3e (patch)
treeb507a5bbc16b2facfe9b7bf843976980b42ebe99
parent0dda712f1029561278bc2a2920e5397226c3f8a0 (diff)
parent0c2f056c6e5d8ef43d6118e5282639ad19d2aa8f (diff)
downloadlibsysprop-a8a90ff4122dd2729e7a6592a956e2734dfc7a3e.tar.gz
Revert "[CrashRecovery] Refactor SystemProperties as api" am: 0c2f056c6e
Original change: https://android-review.googlesource.com/c/platform/system/libsysprop/+/2943268 Change-Id: I1f4ac04f673c8d2162b00b05ccba2cb67dca2378 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--srcs/android/sysprop/CrashRecoveryProperties.sysprop92
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"
-}