Home
last modified time | relevance | path

Searched refs:LIMIT_DISABLED (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataLimitPreferenceControllerTest.java19 import static android.net.NetworkPolicy.LIMIT_DISABLED;
111 .thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_summaryEmpty()
120 .thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_preferenceDisabled()
129 .thenReturn(LIMIT_DISABLED); in refreshUi_limitDisabled_switchUnchecked()
165 verify(mMockPolicyEditor).setPolicyLimitBytes(mMockNetworkTemplate, LIMIT_DISABLED); in onPreferenceChanged_toggleFalse_limitBytesDisabled()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataLimitPreferenceController.java19 import static android.net.NetworkPolicy.LIMIT_DISABLED;
86 if (limitBytes == LIMIT_DISABLED) { in updateState()
101 getNetworkPolicyEditor().setPolicyLimitBytes(getNetworkTemplate(), LIMIT_DISABLED); in onPreferenceChange() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java23 import static android.net.NetworkPolicy.LIMIT_DISABLED;
210 if (policyWarning != WARNING_DISABLED || policyLimit != LIMIT_DISABLED) { in prepareGetMultipathPreferenceTest()
294 LIMIT_DISABLED, in testGetMultipathPreference_SubscriptionQuota()
312 LIMIT_DISABLED, in testGetMultipathPreference_UserWarningQuota()
364 LIMIT_DISABLED, in testGetMultipathPreference_SettingChanged()
389 LIMIT_DISABLED, in testGetMultipathPreference_ResourceChanged()
416 LIMIT_DISABLED, in testOnThresholdReached()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.kt160 limitBytes = NetworkPolicy.LIMIT_DISABLED in <lambda>()
175 limitBytes = NetworkPolicy.LIMIT_DISABLED in <lambda>()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java17 import static android.net.NetworkPolicy.LIMIT_DISABLED;
165 if (limitBytes != LIMIT_DISABLED) { in updatePrefs()
199 setPolicyLimitBytes(LIMIT_DISABLED); in onPreferenceChange()
DChartDataUsagePreference.java261 if (policy.limitBytes != NetworkPolicy.LIMIT_DISABLED) { in bindNetworkPolicy()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt805 Landroid/net/NetworkPolicy;->LIMIT_DISABLED:J