Home
last modified time | relevance | path

Searched refs:BillingCycleSettings (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java67 private BillingCycleSettings mMockBillingCycleSettings;
68 private BillingCycleSettings.ConfirmLimitFragment mConfirmLimitFragment;
96 mConfirmLimitFragment = new BillingCycleSettings.ConfirmLimitFragment(); in setUp()
103 args.putLong(BillingCycleSettings.ConfirmLimitFragment.EXTRA_LIMIT_BYTES, LIMIT_BYTES); in setUp()
106 BillingCycleSettings.KEY_SET_DATA_LIMIT, false).apply(); in setUp()
113 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, true)) in testDataUsageLimit_shouldNotBeSetOnCancel()
122 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, false)) in testDataUsageLimit_shouldBeSetOnConfirmation()
129 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in testDataUsageSummary_shouldBeNull()
146 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
DDataUsageSummaryPreferenceControllerTest.java75 private static final long USAGE1 = 373 * BillingCycleSettings.MIB_IN_BYTES;
76 private static final long LIMIT1 = BillingCycleSettings.GIB_IN_BYTES;
271 info.warningLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_warningOnly()
293 info.limitLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitOnly()
313 info.warningLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitAndWarning()
314 info.limitLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitAndWarning()
336 info.warningLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_noSim_shouldSetWifiMode()
337 info.limitLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_noSim_shouldSetWifiMode()
DDataUsageSummaryPreferenceTest.java375 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()
376 10 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()
392 11 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withDataOverusage()
393 10 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withDataOverusage()
408 BillingCycleSettings.MIB_IN_BYTES, -1L, true /* hasMobileData */); in testSetUsageInfo_withUsageInfo_dataUsageShown()
454 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
455 10 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java55 public class BillingCycleSettings extends DataUsageBaseFragment implements class
355 public static void show(BillingCycleSettings parent) { in show()
424 public static void show(BillingCycleSettings parent) { in show()
466 final BillingCycleSettings target = (BillingCycleSettings) getTargetFragment(); in onClick()
DBillingCyclePreference.java79 .setDestination(BillingCycleSettings.class.getName()) in getIntent()
DDataUsageSummary.java118 BillingCycleSettings.BytesEditorFragment.show(this, false); in onPreferenceTreeClick()
DDataUsageList.java155 .setDestination(BillingCycleSettings.class.getName()) in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java55 public class BillingCycleSettings extends DataUsageBaseFragment implements class
355 public static void show(BillingCycleSettings parent) { in show()
424 public static void show(BillingCycleSettings parent) { in show()
466 final BillingCycleSettings target = (BillingCycleSettings) getTargetFragment(); in onClick()
DBillingCyclePreference.java79 .setDestination(BillingCycleSettings.class.getName()) in getIntent()
DDataUsageSummary.java123 BillingCycleSettings.BytesEditorFragment.show(this, false); in onPreferenceTreeClick()
DDataUsageList.java154 .setDestination(BillingCycleSettings.class.getName()) in onViewCreated()