Searched refs:KEY_PRE_DIM_CHECK_DURATION_MILLIS (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | AttentionDetectorTest.java | 25 import static com.android.server.power.AttentionDetector.KEY_PRE_DIM_CHECK_DURATION_MILLIS; 109 KEY_PRE_DIM_CHECK_DURATION_MILLIS, in tearDown() 315 KEY_PRE_DIM_CHECK_DURATION_MILLIS, "555", false); in testGetPreDimCheckDurationMillis_handlesGoodFlagValue() 322 KEY_PRE_DIM_CHECK_DURATION_MILLIS, "-50", false); in testGetPreDimCheckDurationMillis_rejectsNegativeValue() 330 KEY_PRE_DIM_CHECK_DURATION_MILLIS, "20000", false); in testGetPreDimCheckDurationMillis_rejectsTooBigValue() 338 KEY_PRE_DIM_CHECK_DURATION_MILLIS, "20000k", false); in testGetPreDimCheckDurationMillis_handlesBadFlagValue() 343 KEY_PRE_DIM_CHECK_DURATION_MILLIS, "0.25", false); in testGetPreDimCheckDurationMillis_handlesBadFlagValue()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AttentionDetector.java | 66 static final String KEY_PRE_DIM_CHECK_DURATION_MILLIS = "pre_dim_check_duration_millis"; field in AttentionDetector 324 KEY_PRE_DIM_CHECK_DURATION_MILLIS, in getPreDimCheckDurationMillis() 328 Slog.w(TAG, "Bad flag value supplied for: " + KEY_PRE_DIM_CHECK_DURATION_MILLIS); in getPreDimCheckDurationMillis()
|