Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java68 private BillingCycleSettings mMockBillingCycleSettings;
69 private BillingCycleSettings.ConfirmLimitFragment mConfirmLimitFragment;
97 mConfirmLimitFragment = new BillingCycleSettings.ConfirmLimitFragment(); in setUp()
104 args.putLong(BillingCycleSettings.ConfirmLimitFragment.EXTRA_LIMIT_BYTES, LIMIT_BYTES); in setUp()
107 BillingCycleSettings.KEY_SET_DATA_LIMIT, false).apply(); in setUp()
114 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, true)) in testDataUsageLimit_shouldNotBeSetOnCancel()
123 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, false)) in testDataUsageLimit_shouldBeSetOnConfirmation()
130 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in testDataUsageSummary_shouldBeNull()
149 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
DDataUsageSummaryPreferenceControllerTest.java81 private static final long USAGE1 = 373 * BillingCycleSettings.MIB_IN_BYTES;
82 private static final long LIMIT1 = BillingCycleSettings.GIB_IN_BYTES;
297 info.warningLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_warningOnly()
318 info.limitLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitOnly()
337 info.warningLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitAndWarning()
338 info.limitLevel = BillingCycleSettings.MIB_IN_BYTES; in testSummaryUpdate_limitAndWarning()
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java378 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()
379 10 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()
399 11 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withDataOverusage()
400 10 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withDataOverusage()
418 BillingCycleSettings.MIB_IN_BYTES, -1L, true /* hasMobileData */); in testSetUsageInfo_withUsageInfo_dataUsageShown()
464 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
465 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
368 public static void show(BillingCycleSettings parent) { in show()
437 public static void show(BillingCycleSettings parent) { in show()
479 final BillingCycleSettings target = (BillingCycleSettings) getTargetFragment(); in onClick()
DBillingCyclePreference.java93 .setDestination(BillingCycleSettings.class.getName()) in getIntent()
DDataUsageSummary.java120 BillingCycleSettings.BytesEditorFragment.show(this, false); in onPreferenceTreeClick()
DDataUsageList.java168 .setDestination(BillingCycleSettings.class.getName()) in onViewCreated()