Home
last modified time | relevance | path

Searched refs:mCycleEnd (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java81 private long mCycleEnd; field in DataUsageSummaryPreferenceTest
96 mCycleEnd = now + CYCLE_DURATION_MILLIS; in setUp()
102 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, DUMMY_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withLaunchIntent_launchButtonShown()
111 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, DUMMY_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withoutLaunchIntent_launchButtonNotShown()
120 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, DUMMY_CARRIER, 1 /* numPlans */, in testSetUsageInfo_withDataPlans_carrierInfoShown()
129 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, DUMMY_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withNoDataPlans_carrierInfoNotShown()
143 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatDaysCorrectly()
158 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatHoursCorrectly()
173 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatMinutesCorrectly()
185 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java97 private long mCycleEnd; field in DataUsageSummaryPreferenceController
185 mCycleEnd = cycleEnd; in setCarrierValues()
254 summaryPreference.setUsageInfo(mCycleEnd, mSnapshotTime, mCarrierName, in updateState()
268 mCycleEnd = info.cycleEnd; in refreshDataplanInfo()
295 mCycleEnd = rule.end.toEpochSecond() * 1000L; in refreshDataplanInfo()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java100 private long mCycleEnd; field in DataUsageSummaryPreferenceController
188 mCycleEnd = cycleEnd; in setCarrierValues()
257 summaryPreference.setUsageInfo(mCycleEnd, mSnapshotTime, mCarrierName, in updateState()
271 mCycleEnd = info.cycleEnd; in refreshDataplanInfo()
297 mCycleEnd = rule.end.toEpochSecond() * 1000L; in refreshDataplanInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java85 private long mCycleEnd; field in DataUsageSummaryPreferenceController
183 long millisLeft = mCycleEnd - System.currentTimeMillis(); in getRemainingBillingCycleTimeText()
231 mCycleEnd = info.cycleEnd; in refreshDataplanInfo()
251 mCycleEnd = rule.end.toEpochSecond() * MILLIS_IN_A_SECOND; in refreshDataplanInfo()