Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java70 private long mCycleEnd; field in DataUsageSummaryPreferenceTest
90 mCycleEnd = now + CYCLE_DURATION_MILLIS; in setUp()
97 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, FAKE_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withLaunchIntent_launchButtonShown()
107 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, FAKE_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withoutLaunchIntent_launchButtonNotShown()
117 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, FAKE_CARRIER, 1 /* numPlans */, in testSetUsageInfo_withDataPlans_carrierInfoShown()
127 mSummaryPreference.setUsageInfo(mCycleEnd, mUpdateTime, FAKE_CARRIER, 0 /* numPlans */, in testSetUsageInfo_withNoDataPlans_carrierInfoNotShown()
141 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, FAKE_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatDaysCorrectly()
155 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, FAKE_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatHoursCorrectly()
169 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, FAKE_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatMinutesCorrectly()
180 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, FAKE_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java90 private long mCycleEnd; field in DataUsageSummaryPreferenceController
188 long millisLeft = mCycleEnd - System.currentTimeMillis(); in getRemainingBillingCycleTimeText()
236 mCycleEnd = info.cycleEnd; in refreshDataplanInfo()
256 mCycleEnd = rule.end.toEpochSecond() * MILLIS_IN_A_SECOND; in refreshDataplanInfo()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java101 private long mCycleEnd; field in DataUsageSummaryPreferenceController
277 summaryPreference.setUsageInfo(mCycleEnd, mSnapshotTime, mCarrierName, in updateState()
303 mCycleEnd = info.cycleEnd; in refreshDataplanInfo()
323 mCycleEnd = rule.end.toEpochSecond() * 1000L; in refreshDataplanInfo()