Searched refs:getPercentOfTotal (Results 1 – 7 of 7) sorted by relevance
85 assertThat(entry.getPercentOfTotal()).isEqualTo(22.0); in testSetTotalConsumePower_returnExpectedResult()99 assertThat(entry.getPercentOfTotal()).isEqualTo(0); in testSetTotalConsumePower_setZeroValue_returnsZeroValue()111 assertThat(entryList.get(0).getPercentOfTotal()).isEqualTo(30); in testComparator_sortCollectionsInDescOrder()112 assertThat(entryList.get(1).getPercentOfTotal()).isEqualTo(20); in testComparator_sortCollectionsInDescOrder()113 assertThat(entryList.get(2).getPercentOfTotal()).isEqualTo(10); in testComparator_sortCollectionsInDescOrder()
424 assertThat((int) entry.getPercentOfTotal()).isEqualTo(percentOfTotal); in assertBatteryDiffEntry()
47 (a, b) -> Double.compare(b.getPercentOfTotal(), a.getPercentOfTotal());89 public double getPercentOfTotal() { in getPercentOfTotal() method in BatteryDiffEntry
335 if (entry.getPercentOfTotal() < PERCENTAGE_OF_TOTAL_THRESHOLD in purgeLowPercentageAndFakeData()
427 pref.setPercent(entry.getPercentOfTotal()); in addPreferenceToScreen()
131 mBatteryDiffEntry.getPercentOfTotal(), /* round */ true), in handlePreferenceTreeClick()218 mBatteryDiffEntry.getPercentOfTotal(), /* round */ true);
172 when(mBatteryDiffEntry.getPercentOfTotal()).thenReturn(60.0); in updateBatteryWithDiffEntry_withConsumePower_summaryPercent()