Searched refs:appUsagePeriodMap (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | DataProcessManagerTest.java | 293 appUsagePeriodMap = dataProcessManager.getAppUsagePeriodMap(); in start_loadExpectedAppUsageData() local 294 assertThat(appUsagePeriodMap.size()).isEqualTo(3); in start_loadExpectedAppUsageData() 296 assertThat(appUsagePeriodMap.get(0).size()).isEqualTo(2); in start_loadExpectedAppUsageData() 297 Map<Long, Map<String, List<AppUsagePeriod>>> hourlyMap = appUsagePeriodMap.get(0).get(0); in start_loadExpectedAppUsageData() 299 hourlyMap = appUsagePeriodMap.get(0).get(1); in start_loadExpectedAppUsageData() 306 assertThat(appUsagePeriodMap.get(1).size()).isEqualTo(0); in start_loadExpectedAppUsageData() 308 assertThat(appUsagePeriodMap.get(2).size()).isEqualTo(1); in start_loadExpectedAppUsageData() 309 hourlyMap = appUsagePeriodMap.get(2).get(0); in start_loadExpectedAppUsageData()
|
D | DataProcessorTest.java | 943 appUsagePeriodMap = in getBatteryDiffDataMap_normalFlow_returnExpectedResult() local 960 appUsagePeriodMap, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 1149 appUsagePeriodMap = new HashMap<>(); in generateBatteryUsageMap_returnsExpectedResult() local 1150 appUsagePeriodMap.put(0, new HashMap<>()); in generateBatteryUsageMap_returnsExpectedResult() 1151 appUsagePeriodMap.put(1, new HashMap<>()); in generateBatteryUsageMap_returnsExpectedResult() 1158 appUsagePeriodMap.get(0).put(0, appUsageMap); in generateBatteryUsageMap_returnsExpectedResult() 1167 appUsagePeriodMap.get(1).put(0, appUsageMap); in generateBatteryUsageMap_returnsExpectedResult() 1177 appUsagePeriodMap, in generateBatteryUsageMap_returnsExpectedResult() 1558 appUsagePeriodMap = new HashMap<>(); in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult() local 1559 appUsagePeriodMap.put(0, new HashMap<>()); in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | DataProcessor.java | 524 appUsagePeriodMap, in getBatteryDiffDataMap() argument 568 appUsagePeriodMap == null in getBatteryDiffDataMap() 569 || appUsagePeriodMap.get(dailyIndex) == null in getBatteryDiffDataMap() 571 : appUsagePeriodMap.get(dailyIndex).get(hourlyIndex), in getBatteryDiffDataMap()
|