Searched refs:getBytesDisplayUnit (Results 1 – 3 of 3) sorted by relevance
22 import com.android.settings.datausage.lib.DataUsageFormatter.Companion.getBytesDisplayUnit60 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()
61 fun Resources.getBytesDisplayUnit(bytes: Long): String = method
326 DataUsageFormatter.Companion.getBytesDisplayUnit(getResources(), MIB_IN_BYTES), in setupPicker()327 DataUsageFormatter.Companion.getBytesDisplayUnit(getResources(), GIB_IN_BYTES), in setupPicker()