Searched refs:USE_FAKE_DATA (Results 1 – 8 of 8) sorted by relevance
66 static final boolean USE_FAKE_DATA = false; field in BatteryAppListPreferenceController67 private static final int MAX_ITEMS_TO_LIST = USE_FAKE_DATA ? 30 : 20;183 final int dischargeAmount = USE_FAKE_DATA ? 5000 in refreshAppListGroup()189 if (averagePower >= MIN_AVERAGE_POWER_THRESHOLD_MILLI_AMP || USE_FAKE_DATA) { in refreshAppListGroup()191 USE_FAKE_DATA ? getFakeStats() : statsHelper.getUsageList()); in refreshAppListGroup()199 double totalPower = USE_FAKE_DATA ? 4000 : statsHelper.getTotalPower(); in refreshAppListGroup()
45 static final boolean USE_FAKE_DATA = false; field in RestrictAppDetector64 if (USE_FAKE_DATA) { in detect()
49 private static final boolean USE_FAKE_DATA = false; field in BatteryTipLoader63 if (USE_FAKE_DATA) { in loadInBackground()
216 assertThat(BatteryAppListPreferenceController.USE_FAKE_DATA).isFalse(); in testNeverUseFakeData()
206 assertThat(RestrictAppDetector.USE_FAKE_DATA).isFalse(); in testUseFakeData_alwaysFalse()