Searched refs:KEY_MAX_EXTENSION_MILLIS (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | AttentionDetectorTest.java | 24 import static com.android.server.power.AttentionDetector.KEY_MAX_EXTENSION_MILLIS; 99 KEY_MAX_EXTENSION_MILLIS, in setUp() 115 KEY_MAX_EXTENSION_MILLIS, in tearDown() 380 KEY_MAX_EXTENSION_MILLIS, "123", false); in testGetMaxExtensionMillis_handlesGoodFlagValue() 387 KEY_MAX_EXTENSION_MILLIS, "-50", false); in testGetMaxExtensionMillis_rejectsNegativeValue() 395 KEY_MAX_EXTENSION_MILLIS, "9900000", false); in testGetMaxExtensionMillis_rejectsTooBigValue() 403 KEY_MAX_EXTENSION_MILLIS, "20000k", false); in testGetMaxExtensionMillis_handlesBadFlagValue() 408 KEY_MAX_EXTENSION_MILLIS, "0.25", false); in testGetMaxExtensionMillis_handlesBadFlagValue()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AttentionDetector.java | 92 static final String KEY_MAX_EXTENSION_MILLIS = "max_extension_millis"; field in AttentionDetector 356 KEY_MAX_EXTENSION_MILLIS, in getMaxExtensionMillis() 360 Slog.w(TAG, "Bad flag value supplied for: " + KEY_MAX_EXTENSION_MILLIS); in getMaxExtensionMillis() 370 case KEY_MAX_EXTENSION_MILLIS: in onDeviceConfigChange()
|