Home
last modified time | relevance | path

Searched refs:getCycleTime (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java266 assertThat(mSummaryPreference.getCycleTime(mHolder).getVisibility()) in testSetUsageInfo_cycleRemainingTimeIsLessOneDay()
268 assertThat(mSummaryPreference.getCycleTime(mHolder).getText()).isEqualTo( in testSetUsageInfo_cycleRemainingTimeIsLessOneDay()
280 assertThat(mSummaryPreference.getCycleTime(mHolder).getVisibility()) in testSetUsageInfo_cycleRemainingTimeNegativeDaysLeft_shouldDisplayNoneLeft()
282 assertThat(mSummaryPreference.getCycleTime(mHolder).getText()).isEqualTo( in testSetUsageInfo_cycleRemainingTimeNegativeDaysLeft_shouldDisplayNoneLeft()
295 assertThat(mSummaryPreference.getCycleTime(mHolder).getVisibility()) in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()
297 assertThat(mSummaryPreference.getCycleTime(mHolder).getText()) in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()
514 assertThat(mSummaryPreference.getCycleTime(mHolder).getVisibility()) in testSetWifiMode_withUsageInfo_dataUsageShown()
516 assertThat(mSummaryPreference.getCycleTime(mHolder).getText()).isEqualTo(cycleText); in testSetWifiMode_withUsageInfo_dataUsageShown()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java191 TextView cycleTime = getCycleTime(holder); in onBindViewHolder()
279 TextView cycleTime = getCycleTime(holder); in updateCycleTimeText()
380 protected TextView getCycleTime(PreferenceViewHolder holder) { in getCycleTime() method