Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8290)

Unified Diff: chrome/test/data/policy/policy_test_cases.json

Issue 12217068: Add policies to control Chrome OS power management (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/policy/policy_test_cases.json
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json
index 12fd37e5f1118efaa1d26ef5a1092c318a4fe637..cfe5cb74d7c8120c99daed38bce2f847608e420f 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -1558,6 +1558,110 @@
]
},
+ "ScreenDimDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenDimDelayAC": 420000 },
+ "pref_mappings": [
+ { "pref": "session.length_limit" }
+ ]
+ },
+
+ "ScreenOffDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenOffDelayAC": 480000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_dim_delay_ms" }
+ ]
+ },
+
+ "ScreenLockDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenLockDelayAC": 600000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_off_delay_ms" }
+ ]
+ },
+
+ "IdleDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleDelayAC": 1800000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_lock_delay_ms" }
+ ]
+ },
+
+ "ScreenDimDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenDimDelayBattery": 300000 },
+ "pref_mappings": [
+ { "pref": "power.ac_idle_delay_ms" }
+ ]
+ },
+
+ "ScreenOffDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenOffDelayBattery": 360000 },
+ "pref_mappings": [
+ { "pref": "power.battery_screen_dim_delay_ms" }
+ ]
+ },
+
+ "ScreenLockDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenLockDelayBattery": 600000 },
+ "pref_mappings": [
+ { "pref": "power.battery_screen_lock_delay_ms" }
+ ]
+ },
+
+ "IdleDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleDelayBattery": 600000 },
+ "pref_mappings": [
+ { "pref": "power.battery_idle_delay_ms" }
+ ]
+ },
+
+ "IdleAction": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleAction": 0 },
+ "pref_mappings": [
+ { "pref": "power.idle_action" }
+ ]
+ },
+
+ "LidCloseAction": {
+ "os": ["chromeos"],
+ "test_policy": { "LidCloseAction": 0 },
+ "pref_mappings": [
+ { "pref": "power.lid_closed_action" }
+ ]
+ },
+
+ "PowerManagementUsesAudioActivity": {
+ "os": ["chromeos"],
+ "test_policy": { "PowerManagementUsesAudioActivity": true },
+ "pref_mappings": [
+ { "pref": "power.use_audio_activity" }
+ ]
+ },
+
+ "PowerManagementUsesVideoActivity": {
+ "os": ["chromeos"],
+ "test_policy": { "PowerManagementUsesVideoActivity": true },
+ "pref_mappings": [
+ { "pref": "power.use_video_activity" }
+ ]
+ },
+
+ "PresentationIdleDelayScale": {
+ "os": ["chromeos"],
+ "test_policy": { "PresentationIdleDelayScale": 200 },
+ "pref_mappings": [
+ { "pref": "power.presentation_idle_delay_factor" }
+ ]
+ },
+
"----- Chrome OS device policies ---------------------------------------": {},
"DevicePolicyRefreshRate": {

Powered by Google App Engine
This is Rietveld 408576698