Home
last modified time | relevance | path

Searched refs:UsageBytesThresholdPickerDialog (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialogTest.java46 private UsageBytesThresholdPickerDialog.BytesThresholdPickedListener
57 long twoGB = 2 * UsageBytesThresholdPickerDialog.GIB_IN_BYTES; in dialogInit_validValue_showsCurrentValue()
58 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in dialogInit_validValue_showsCurrentValue()
66 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in dialogInit_lowInvalidValue_showsLowestPossibleValue()
74 long twoGB = 2 * UsageBytesThresholdPickerDialog.GIB_IN_BYTES; in positiveButtonClick_noChangeInValue_dialogListenerNotCalled()
75 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in positiveButtonClick_noChangeInValue_dialogListenerNotCalled()
88 long twoGB = 2 * UsageBytesThresholdPickerDialog.GIB_IN_BYTES; in positiveButtonClick_changeInValue_dialogListenerCalled()
89 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in positiveButtonClick_changeInValue_dialogListenerCalled()
94 long threeGB = 3 * UsageBytesThresholdPickerDialog.GIB_IN_BYTES; in positiveButtonClick_changeInValue_dialogListenerCalled()
105 long limitGBTimesTwo = 2 * UsageBytesThresholdPickerDialog.MAX_DATA_LIMIT_BYTES; in getCurrentThreshold_aboveLimit_returnLimit()
[all …]
DDataWarningPreferenceControllerTest.java160 verify(mFragmentController).showDialog(any(UsageBytesThresholdPickerDialog.class), in onPreferenceClicked_showsPickerDialog()
161 eq(UsageBytesThresholdPickerDialog.TAG)); in onPreferenceClicked_showsPickerDialog()
DDataLimitPreferenceControllerTest.java183 verify(mFragmentController).showDialog(any(UsageBytesThresholdPickerDialog.class), in onPreferenceClicked_showsPickerDialog()
184 eq(UsageBytesThresholdPickerDialog.TAG)); in onPreferenceClicked_showsPickerDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningPreferenceController.java30 import com.android.car.settings.datausage.UsageBytesThresholdPickerDialog.BytesThresholdPickedListe…
67 UsageBytesThresholdPickerDialog dialog = in onCreateInternal()
68 (UsageBytesThresholdPickerDialog) getFragmentController().findDialogByTag( in onCreateInternal()
69 UsageBytesThresholdPickerDialog.TAG); in onCreateInternal()
101 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in onPreferenceClick()
105 getFragmentController().showDialog(dialog, UsageBytesThresholdPickerDialog.TAG); in onPreferenceClick()
DDataLimitPreferenceController.java35 import com.android.car.settings.datausage.UsageBytesThresholdPickerDialog.BytesThresholdPickedListe…
81 UsageBytesThresholdPickerDialog dialog = in onCreateInternal()
82 (UsageBytesThresholdPickerDialog) getFragmentController().findDialogByTag( in onCreateInternal()
83 UsageBytesThresholdPickerDialog.TAG); in onCreateInternal()
142 UsageBytesThresholdPickerDialog dialog = UsageBytesThresholdPickerDialog.newInstance( in onPreferenceClick()
146 getFragmentController().showDialog(dialog, UsageBytesThresholdPickerDialog.TAG); in onPreferenceClick()
DUsageBytesThresholdPickerDialog.java35 public class UsageBytesThresholdPickerDialog extends CarUiDialogFragment { class
62 public static UsageBytesThresholdPickerDialog newInstance(@IntegerRes int dialogTitle, in newInstance()
64 UsageBytesThresholdPickerDialog dialog = new UsageBytesThresholdPickerDialog(); in newInstance()