summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Makoto Onuki <omakoto@google.com> 2021-01-08 22:11:57 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-01-08 22:11:57 +0000
commita5b49aef96f9990d53f88a33fd8ca50cb1371d20 (patch)
treef15357155e5dfa33a90ce5fd7cd6cf61c35b9e6e
parent70be38008c504382cfc1cdc9e1b4a01283645ee4 (diff)
parent32504841c4ef562e31dd94c52e62adb7d9d0e5be (diff)
Merge "Update SyncManager.md"
-rw-r--r--services/core/java/com/android/server/content/SyncManager.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/content/SyncManager.md b/services/core/java/com/android/server/content/SyncManager.md
index 8507abdcc40e..8564fea650ff 100644
--- a/services/core/java/com/android/server/content/SyncManager.md
+++ b/services/core/java/com/android/server/content/SyncManager.md
@@ -29,8 +29,10 @@ exempted from app-standby throttling.
### Two Levels of Exemption
Specifically, there are two different levels of exemption, depending on the state of the caller:
-1. `ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET`
+1. `ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET`.
+ This is shown as `STANDBY-EXEMPTED` in `dumpsys content`.
2. `ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET_WITH_TEMP`, which is more powerful than 1.
+ This is shown as `STANDBY-EXEMPTED(TOP)` in `dumpsys content`.
The exemption level is calculated in
[ContentService.getSyncExemptionAndCleanUpExtrasForCaller()](https://cs.android.com/android/platform/superproject/+/master:frameworks/base/services/core/java/com/android/server/content/ContentService.java?q=%22int%20getSyncExemptionAndCleanUpExtrasForCaller%22&ss=android%2Fplatform%2Fsuperproject),