Home
last modified time | relevance | path

Searched refs:getSummaryLimit (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java55 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.limitLevel); in getSummaryLimit_LowUsageLowWarning_LimitUsed()
64 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.limitLevel); in getSummaryLimit_LowUsageEqualWarning_LimitUsed()
73 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.warningLevel); in getSummaryLimit_NoLimitNoUsage_WarningUsed()
82 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.warningLevel); in getSummaryLimit_NoLimitLowUsage_WarningUsed()
91 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.usageLevel); in getSummaryLimit_LowWarningNoLimit_UsageUsed()
100 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.usageLevel); in getSummaryLimit_LowWarningLowLimit_UsageUsed()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java234 mDataplanTrackingThreshold = getSummaryLimit(info); in refreshDataplanInfo()
319 private static long getSummaryLimit(DataUsageController.DataUsageInfo info) { in getSummaryLimit() method in DataUsageSummaryPreferenceController
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageInfoController.java45 public long getSummaryLimit(DataUsageInfo info) { in getSummaryLimit() method in DataUsageInfoController
DDataUsageSummaryPreferenceController.java300 mDataBarSize = mDataInfoController.getSummaryLimit(info); in refreshDataplanInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java135 doReturn(-1L).when(mDataInfoController).getSummaryLimit(any()); in setUp()
408 doReturn(dataPlanSize).when(mDataInfoController).getSummaryLimit(any()); in setupTestDataUsage()