Searched refs:BillingCycleSettings (Results 1 – 6 of 6) sorted by relevance
70 private BillingCycleSettings mMockBillingCycleSettings;71 private BillingCycleSettings.ConfirmLimitFragment mConfirmLimitFragment;99 mConfirmLimitFragment = new BillingCycleSettings.ConfirmLimitFragment(); in setUp()106 args.putLong(BillingCycleSettings.ConfirmLimitFragment.EXTRA_LIMIT_BYTES, LIMIT_BYTES); in setUp()109 BillingCycleSettings.KEY_SET_DATA_LIMIT, false).apply(); in setUp()116 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, true)) in testDataUsageLimit_shouldNotBeSetOnCancel()125 assertThat(mSharedPreferences.getBoolean(BillingCycleSettings.KEY_SET_DATA_LIMIT, false)) in testDataUsageLimit_shouldBeSetOnConfirmation()132 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in testDataUsageSummary_shouldBeNull()151 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
332 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()333 10 * BillingCycleSettings.MIB_IN_BYTES); in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown()351 11 * BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withDataOverusage()352 10 * BillingCycleSettings.MIB_IN_BYTES); in testSetUsageInfo_withDataOverusage()368 BillingCycleSettings.MIB_IN_BYTES, -1L); in testSetUsageInfo_withUsageInfo_dataUsageShown()384 BillingCycleSettings.MIB_IN_BYTES, in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()385 10 * BillingCycleSettings.MIB_IN_BYTES); in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
62 public class BillingCycleSettings extends DataUsageBaseFragment implements class399 public static void show(BillingCycleSettings parent) { in show()470 public static void show(BillingCycleSettings parent) { in show()514 final BillingCycleSettings target = (BillingCycleSettings) getTargetFragment(); in onClick()
64 setDestination(BillingCycleSettings::class.java.name) in launchBillingCycleSettings()
84 setDestination(BillingCycleSettings::class.java.name) in <lambda>()
210 warningBytes = BillingCycleSettings.GIB_IN_BYTES / 2 in onViewCreated_policyHasWarningAndLimit()211 limitBytes = BillingCycleSettings.GIB_IN_BYTES in onViewCreated_policyHasWarningAndLimit()