Home
last modified time | relevance | path

Searched refs:getDataUsageInfo (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java184 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_hasUsage_titleSet()
198 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_hasCarrierName_hasRecentUpdate_setsCarrierInfoText()
215 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText()
234 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_noCarrierName_hasRecentUpdate_setsCarrierInfoText()
249 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText()
267 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_hasUpdateTimeOlderThanWarning_setsCarrierInfoStyle()
287 when(mMockDataUsageController.getDataUsageInfo(any())).thenReturn(info); in refreshUi_hasUpdateTimeYoungerThanWarning_setsCarrierInfoStyle()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowDataUsageController.java37 protected DataUsageController.DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo() method in ShadowDataUsageController
38 return sInstance.getDataUsageInfo(template); in getDataUsageInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java101 .setDataUsageInfo(mDataUsageController.getDataUsageInfo(mNetworkTemplate)); in onAttach()
103 long usage = mDataUsageController.getDataUsageInfo(mNetworkTemplate).usageLevel; in onAttach()
124 mDataUsageController.getDataUsageInfo(mNetworkTemplate); in getBundleForNetworkStats()
DDataWarningAndLimitPreferenceController.java57 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in getLimitText()
DDataUsagePreferenceController.java63 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
DAppSpecificDataUsageFragment.java103 .setDataUsageInfo(dataUsageController.getDataUsageInfo(networkTemplate)); in onAttach()
DDataUsageSummaryPreferenceController.java123 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsagePreference.java59 controller.getDataUsageInfo(mTemplate); in setTemplate()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java158 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage()