Searched refs:setPolicyWarningBytes (Results 1 – 5 of 5) sorted by relevance
208 setPolicyWarningBytes(mDataUsageController.getDefaultWarningLevel()); in onPreferenceChange()210 setPolicyWarningBytes(WARNING_DISABLED); in onPreferenceChange()239 private void setPolicyWarningBytes(long warningBytes) { in setPolicyWarningBytes() method in BillingCycleSettings241 services.mPolicyEditor.setPolicyWarningBytes(mNetworkTemplate, warningBytes); in setPolicyWarningBytes()380 editor.setPolicyWarningBytes(template, correctedBytes); in onClick()
161 verify(mPolicyEditor).setPolicyWarningBytes(mNetworkTemplate, WARNING_DISABLED); in onPreferenceChanged_toggleFalse_warningBytesDisabled()169 verify(mPolicyEditor).setPolicyWarningBytes(eq(mNetworkTemplate), setWarning.capture()); in onPreferenceChanged_toggleTrue_warningBytesNotDisabled()
84 verify(mMockNetworkPolicyEditor).setPolicyWarningBytes(mMockNetworkTemplate, MIB_IN_BYTES); in onActivityCreated_saveButtonClicked_savesThreshold()
45 mPolicyEditor.setPolicyWarningBytes(mNetworkTemplate, threshold); in onSave()
87 getNetworkPolicyEditor().setPolicyWarningBytes(getNetworkTemplate(), in onPreferenceChange()