Searched refs:batteryUsageSlotList (Results 1 – 4 of 4) sorted by relevance
398 final List<BatteryUsageSlot> batteryUsageSlotList = in loadBatteryUsageSlotList() local405 batteryUsageSlotList.size(), in loadBatteryUsageSlotList()407 return batteryUsageSlotList; in loadBatteryUsageSlotList()411 protected void onPostExecute(final List<BatteryUsageSlot> batteryUsageSlotList) { in loadBatteryUsageSlotList() argument412 if (batteryUsageSlotList == null || batteryUsageSlotList.isEmpty()) { in loadBatteryUsageSlotList()416 mBatteryUsageSlotList.addAll(batteryUsageSlotList); in loadBatteryUsageSlotList()
284 final List<BatteryUsageSlot> batteryUsageSlotList = in getBatteryUsageSlots() local291 batteryUsageSlotList.size(), (System.currentTimeMillis() - startTime))); in getBatteryUsageSlots()292 return batteryUsageSlotList; in getBatteryUsageSlots()636 final Context context, final List<BatteryUsageSlot> batteryUsageSlotList) { in sendBatteryUsageSlotData() argument640 batteryUsageSlotList.stream() in sendBatteryUsageSlotData()
374 List<BatteryUsageSlot> batteryUsageSlotList = new ArrayList<>(); in convertToBatteryUsageSlotList() local378 batteryUsageSlotList.add( in convertToBatteryUsageSlotList()381 return batteryUsageSlotList; in convertToBatteryUsageSlotList()
626 final List<BatteryUsageSlot> batteryUsageSlotList = in convertToBatteryUsageSlotList_normalCase_returnsExpectedResult() local629 assertThat(batteryUsageSlotList).hasSize(3); in convertToBatteryUsageSlotList_normalCase_returnsExpectedResult()630 assertThat(batteryUsageSlotList.stream().map((s) -> s.getScreenOnTime()).sorted().toList()) in convertToBatteryUsageSlotList_normalCase_returnsExpectedResult()