Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java122 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasUsage_titleSet()
138 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_noLimits_doesntSetDataLimitText()
152 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasLimit_setsDataLimitText()
168 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasWarning_setsDataLimitText()
184 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasWarningAndLimit_setsDataLimitText()
203 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText()
218 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_endTimeIsLessThanOneDay_setsBillingCycleText()
232 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_endTimeIsNow_setsBillingCycleText()
246 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasCarrierName_hasRecentUpdate_setsCarrierInfoText()
263 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java153 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_onePlan_basic()
178 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noPlan_basic()
201 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noCarrier_basic()
229 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noPlanData_basic()
259 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noLimitNoWarning()
276 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_warningOnly()
297 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_limitOnly()
318 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_limitAndWarning()
341 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noSim_shouldSetWifiMode()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java201 info = mDataUsageController.getDataUsageInfo(mDefaultTemplate); in updateState()
206 info = mDataUsageController.getDataUsageInfo( in updateState()
DWifiDataUsageSummaryPreferenceController.java57 final DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
DDataUsagePreference.java60 controller.getDataUsageInfo(mTemplate); in setTemplate()
DDataUsageSummary.java324 DataUsageController.DataUsageInfo info = mDataController.getDataUsageInfo(); in formatFallbackData()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java204 info = mDataUsageController.getDataUsageInfo(mDefaultTemplate); in updateState()
209 info = mDataUsageController.getDataUsageInfo( in updateState()
DWifiDataUsageSummaryPreferenceController.java56 final DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
DDataUsagePreference.java60 controller.getDataUsageInfo(mTemplate); in setTemplate()
DDataUsageSummary.java313 DataUsageController.DataUsageInfo info = mDataController.getDataUsageInfo(); in formatFallbackData()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataUsagePreferenceController.java92 mDataUsageInfo = controller.getDataUsageInfo(mTemplate); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DDataUsagePreferenceController.java92 mDataUsageInfo = controller.getDataUsageInfo(mTemplate); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/
DDataUsageSlice.java72 final DataUsageController.DataUsageInfo info = dataUsageController.getDataUsageInfo(); in getSlice()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDataUsageSlice.java72 final DataUsageController.DataUsageInfo info = dataUsageController.getDataUsageInfo(); in getSlice()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java132 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsDumpService.java130 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java117 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()