Searched refs:getDataUsageInfo (Results 1 – 9 of 9) sorted by relevance
184 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()
37 protected DataUsageController.DataUsageInfo getDataUsageInfo(NetworkTemplate template) { in getDataUsageInfo() method in ShadowDataUsageController38 return sInstance.getDataUsageInfo(template); in getDataUsageInfo()
101 .setDataUsageInfo(mDataUsageController.getDataUsageInfo(mNetworkTemplate)); in onAttach()103 long usage = mDataUsageController.getDataUsageInfo(mNetworkTemplate).usageLevel; in onAttach()124 mDataUsageController.getDataUsageInfo(mNetworkTemplate); in getBundleForNetworkStats()
57 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in getLimitText()
63 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
103 .setDataUsageInfo(dataUsageController.getDataUsageInfo(networkTemplate)); in onAttach()
123 DataUsageController.DataUsageInfo info = mDataUsageController.getDataUsageInfo( in updateState()
59 controller.getDataUsageInfo(mTemplate); in setTemplate()
158 DataUsageController.DataUsageInfo usage = controller.getDataUsageInfo(template); in dumpDataUsage()