Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataLimitPreferenceControllerTest.java165 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()
DDataLimitSetThresholdFragmentTest.java84 verify(mMockNetworkPolicyEditor).setPolicyLimitBytes(mMockNetworkTemplate, MIB_IN_BYTES); in onActivityCreated_saveButtonClicked_savesLimit()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java199 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/
DDataLimitPreferenceController.java101 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange()
129 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), limitBytes); in onConfirm()
DDataLimitSetThresholdFragment.java45 mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate, threshold); in onSave()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java118 verify(mMockBillingCycleSettings, never()).setPolicyLimitBytes(anyLong()); in testDataUsageLimit_shouldNotBeSetOnCancel()
127 verify(mMockBillingCycleSettings).setPolicyLimitBytes(LIMIT_BYTES); in testDataUsageLimit_shouldBeSetOnConfirmation()