Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DDataUsageFormatterTest.kt22 import com.android.settings.datausage.lib.DataUsageFormatter.Companion.getBytesDisplayUnit
60 val displayName = context.resources.getBytesDisplayUnit(ONE_MEGA_BYTE_IN_BYTES) in getUnitDisplayName_megaByte()
67 val displayName = context.resources.getBytesDisplayUnit(ONE_GIGA_BYTE_IN_BYTES) in getUnitDisplayName_gigaByte()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DDataUsageFormatter.kt61 fun Resources.getBytesDisplayUnit(bytes: Long): String = method
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java326 DataUsageFormatter.Companion.getBytesDisplayUnit(getResources(), MIB_IN_BYTES), in setupPicker()
327 DataUsageFormatter.Companion.getBytesDisplayUnit(getResources(), GIB_IN_BYTES), in setupPicker()