Searched refs:TIME_SPENT_IN_FOREGROUND (Results 1 – 1 of 1) sorted by relevance
55 private static final long TIME_SPENT_IN_FOREGROUND = 2000; field in BatteryStatsValidationTest196 Thread.sleep(TIME_SPENT_IN_FOREGROUND); // should be in foreground for about this long in testUidForegroundDuration()197 assertApproximateTimeInState(STATE_TIME_FOREGROUND_INDEX, TIME_SPENT_IN_FOREGROUND); in testUidForegroundDuration()