Searched refs:setPolicyLimitBytes (Results 1 – 4 of 4) sorted by relevance
48 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), numBytes);108 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange()136 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), limitBytes); in onConfirm()
177 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange()211 void setPolicyLimitBytes(long limitBytes) { in setPolicyLimitBytes() method in BillingCycleSettings213 services.mPolicyEditor.setPolicyLimitBytes(mNetworkTemplate, limitBytes); in setPolicyLimitBytes()347 editor.setPolicyLimitBytes(template, correctedBytes); in onClick()483 target.setPolicyLimitBytes(limitBytes); in onClick()
143 verify(mPolicyEditor).setPolicyLimitBytes(mNetworkTemplate, LIMIT_DISABLED); in onPreferenceChanged_toggleFalse_limitBytesDisabled()158 verify(mPolicyEditor).setPolicyLimitBytes(mNetworkTemplate, 5 * GIB_IN_BYTES); in onDialogConfirm_noWarningThreshold_setsLimitTo5GB()167 verify(mPolicyEditor).setPolicyLimitBytes(eq(mNetworkTemplate), setLimit.capture()); in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier()
116 verify(mMockBillingCycleSettings, never()).setPolicyLimitBytes(anyLong()); in testDataUsageLimit_shouldNotBeSetOnCancel()125 verify(mMockBillingCycleSettings).setPolicyLimitBytes(LIMIT_BYTES); in testDataUsageLimit_shouldBeSetOnConfirmation()