/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 229 DataUsageUtils.formatDataUsage(mContext, info.warningLevel), in updateState() 230 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState() 234 DataUsageUtils.formatDataUsage(mContext, info.warningLevel))); in updateState() 238 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState() 249 summaryPreference.setLabels(DataUsageUtils.formatDataUsage(mContext, 0 /* sizeBytes */), in updateState() 250 DataUsageUtils.formatDataUsage(mContext, mDataBarSize)); in updateState()
|
D | DataUsageSummary.java | 284 DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in setListening() 305 return DataUsageUtils.formatDataUsage(mActivity, dfltPlan.getDataUsageBytes()); in formatUsedData() 315 return DataUsageUtils.formatDataUsage(mActivity, 0); in formatFallbackData() 317 return DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in formatFallbackData()
|
D | WifiDataUsageSummaryPreferenceController.java | 68 mPreference.setLabels(DataUsageUtils.formatDataUsage(mContext, /* sizeBytes */ 0), in updateState() 69 DataUsageUtils.formatDataUsage(mContext, info.usageLevel)); in updateState()
|
D | AppDataUsage.java | 320 mTotalUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, totalBytes)); in bindData() 321 mForegroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, foregroundBytes)); in bindData() 322 mBackgroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, backgroundBytes)); in bindData()
|
D | DataUsageSummaryPreference.java | 262 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels() 268 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
|
D | BillingCycleSettings.java | 136 mDataWarning.setSummary(DataUsageUtils.formatDataUsage(getContext(), warningBytes)); in updatePrefs() 146 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs()
|
D | AppDataUsagePreference.java | 44 setSummary(DataUsageUtils.formatDataUsage(context, item.total)); in AppDataUsagePreference()
|
D | DataUsagePreference.java | 63 DataUsageUtils.formatDataUsage(getContext(), usageInfo.usageLevel), in setTemplate()
|
D | DataUsageUtils.java | 55 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() method in DataUsageUtils
|
D | DataUsageList.java | 316 final CharSequence totalPhrase = DataUsageUtils.formatDataUsage(getActivity(), totalBytes); in updateDetailData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreferenceController.java | 230 DataUsageUtils.formatDataUsage(mContext, info.warningLevel), in updateState() 231 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState() 235 DataUsageUtils.formatDataUsage(mContext, info.warningLevel))); in updateState() 239 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState() 251 DataUsageUtils.formatDataUsage(mContext, mDataBarSize)); in updateState()
|
D | DataUsageSummary.java | 295 DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in setListening() 316 return DataUsageUtils.formatDataUsage(mActivity, dfltPlan.getDataUsageBytes()); in formatUsedData() 326 return DataUsageUtils.formatDataUsage(mActivity, 0); in formatFallbackData() 328 return DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in formatFallbackData()
|
D | AppDataUsage.java | 320 mTotalUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, totalBytes)); in bindData() 321 mForegroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, foregroundBytes)); in bindData() 322 mBackgroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, backgroundBytes)); in bindData()
|
D | DataUsageSummaryPreference.java | 262 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels() 268 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
|
D | WifiDataUsageSummaryPreferenceController.java | 70 DataUsageUtils.formatDataUsage(mContext, info.usageLevel)); in updateState()
|
D | BillingCycleSettings.java | 136 mDataWarning.setSummary(DataUsageUtils.formatDataUsage(getContext(), warningBytes)); in updatePrefs() 146 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs()
|
D | AppDataUsagePreference.java | 44 setSummary(DataUsageUtils.formatDataUsage(context, item.total)); in AppDataUsagePreference()
|
D | DataUsagePreference.java | 63 DataUsageUtils.formatDataUsage(getContext(), usageInfo.usageLevel), in setTemplate()
|
D | DataUsageUtils.java | 54 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() method in DataUsageUtils
|
D | DataUsageList.java | 313 final CharSequence totalPhrase = DataUsageUtils.formatDataUsage(getActivity(), totalBytes); in updateDetailData()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | AppDataUsageTest.java | 294 DataUsageUtils.formatDataUsage(context, backgroundBytes + foregroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary() 295 verify(backgroundPref).setSummary(DataUsageUtils.formatDataUsage(context, backgroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary() 296 verify(foregroundPref).setSummary(DataUsageUtils.formatDataUsage(context, foregroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary()
|
D | DataUsageUtilsTest.java | 94 final CharSequence formattedDataUsage = DataUsageUtils.formatDataUsage( in formatDataUsage_useIECUnit()
|
D | DataUsageSummaryTest.java | 109 final CharSequence formattedInIECUnit = DataUsageUtils.formatDataUsage(mContext, usage); in formatUsage_shouldLookLikeFormatFileSize()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DataUsagePreferenceController.java | 79 DataUsageUtils.formatDataUsage(mContext, mDataUsageInfo.usageLevel), in updateState()
|