Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java70 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()
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java332 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()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java62 public class BillingCycleSettings extends DataUsageBaseFragment implements class
399 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()
DBillingCyclePreference.kt64 setDestination(BillingCycleSettings::class.java.name) in launchBillingCycleSettings()
DDataUsageListHeaderController.kt84 setDestination(BillingCycleSettings::class.java.name) in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.kt210 warningBytes = BillingCycleSettings.GIB_IN_BYTES / 2 in onViewCreated_policyHasWarningAndLimit()
211 limitBytes = BillingCycleSettings.GIB_IN_BYTES in onViewCreated_policyHasWarningAndLimit()