Home
last modified time | relevance | path

Searched refs:setPolicyWarningBytes (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java186 setPolicyWarningBytes(mDataUsageController.getDefaultWarningLevel()); in onPreferenceChange()
188 setPolicyWarningBytes(WARNING_DISABLED); in onPreferenceChange()
217 private void setPolicyWarningBytes(long warningBytes) { in setPolicyWarningBytes() method in BillingCycleSettings
219 services.mPolicyEditor.setPolicyWarningBytes(mNetworkTemplate, warningBytes); in setPolicyWarningBytes()
349 editor.setPolicyWarningBytes(template, correctedBytes); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningPreferenceController.java40 getNetworkPolicyEditor().setPolicyWarningBytes(getNetworkTemplate(), numBytes);
93 getNetworkPolicyEditor().setPolicyWarningBytes(getNetworkTemplate(), in onPreferenceChange()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataWarningPreferenceControllerTest.java144 verify(mPolicyEditor).setPolicyWarningBytes(mNetworkTemplate, WARNING_DISABLED); in onPreferenceChanged_toggleFalse_warningBytesDisabled()
152 verify(mPolicyEditor).setPolicyWarningBytes(eq(mNetworkTemplate), setWarning.capture()); in onPreferenceChanged_toggleTrue_warningBytesNotDisabled()