Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialog.java133 String bytesString = mThresholdEditor.getText().toString(); in getCurrentThreshold() local
134 if (bytesString.isEmpty() || bytesString.equals(".")) { in getCurrentThreshold()
135 bytesString = "0"; in getCurrentThreshold()
138 long bytes = (long) (Float.valueOf(bytesString) * (mBytesUnits.getValue() == 0 in getCurrentThreshold()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java324 String bytesString = bytesField.getText().toString(); in onClick() local
325 if (bytesString.isEmpty() || bytesString.equals(".")) { in onClick()
326 bytesString = "0"; in onClick()
328 final long bytes = (long) (Float.valueOf(bytesString) in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java324 String bytesString = bytesField.getText().toString(); in onClick() local
325 if (bytesString.isEmpty() || bytesString.equals(".")) { in onClick()
326 bytesString = "0"; in onClick()
328 final long bytes = (long) (Float.valueOf(bytesString) in onClick()