Searched refs:BillingCycleSettings (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | BillingCycleSettingsTest.java | 68 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()
|
D | DataUsageSummaryPreferenceControllerTest.java | 81 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/ |
D | DataUsageSummaryPreferenceTest.java | 378 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/ |
D | BillingCycleSettings.java | 55 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()
|
D | BillingCyclePreference.java | 93 .setDestination(BillingCycleSettings.class.getName()) in getIntent()
|
D | DataUsageSummary.java | 120 BillingCycleSettings.BytesEditorFragment.show(this, false); in onPreferenceTreeClick()
|
D | DataUsageList.java | 168 .setDestination(BillingCycleSettings.class.getName()) in onViewCreated()
|