Searched refs:setPolicyLimitBytes (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
D | DataLimitPreferenceControllerTest.java | 165 verify(mMockPolicyEditor).setPolicyLimitBytes(mMockNetworkTemplate, LIMIT_DISABLED); in onPreferenceChanged_toggleFalse_limitBytesDisabled() 180 verify(mMockPolicyEditor).setPolicyLimitBytes(mMockNetworkTemplate, 5 * GIB_IN_BYTES); in onDialogConfirm_noWarningThreshold_setsLimitTo5GB() 190 verify(mMockPolicyEditor).setPolicyLimitBytes(eq(mMockNetworkTemplate), setLimit.capture()); in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier()
|
D | DataLimitSetThresholdFragmentTest.java | 84 verify(mMockNetworkPolicyEditor).setPolicyLimitBytes(mMockNetworkTemplate, MIB_IN_BYTES); in onActivityCreated_saveButtonClicked_savesLimit()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | BillingCycleSettings.java | 199 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange() 233 void setPolicyLimitBytes(long limitBytes) { in setPolicyLimitBytes() method in BillingCycleSettings 235 services.mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate, limitBytes); in setPolicyLimitBytes() 378 editor.setPolicyLimitBytes(template, correctedBytes); in onClick() 518 target.setPolicyLimitBytes(limitBytes); in onClick()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataLimitPreferenceController.java | 101 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange() 129 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), limitBytes); in onConfirm()
|
D | DataLimitSetThresholdFragment.java | 45 mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate, threshold); in onSave()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | BillingCycleSettingsTest.java | 118 verify(mMockBillingCycleSettings, never()).setPolicyLimitBytes(anyLong()); in testDataUsageLimit_shouldNotBeSetOnCancel() 127 verify(mMockBillingCycleSettings).setPolicyLimitBytes(LIMIT_BYTES); in testDataUsageLimit_shouldBeSetOnConfirmation()
|