Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DIngressRateLimitPreferenceControllerTest.java64 final long newRateLimit = 625000; // 5mbit == 625000 B/s in onPreferenceChanged_select5Mbits_shouldEnableIngressRateLimit() local
65 assertThat(mController.onPreferenceChange(mPreference, newRateLimit)).isTrue(); in onPreferenceChanged_select5Mbits_shouldEnableIngressRateLimit()
69 assertThat(configuredRateLimit).isEqualTo(newRateLimit); in onPreferenceChanged_select5Mbits_shouldEnableIngressRateLimit()
90 final long newRateLimit = 625000; // 5mbit == 625000 B/s in updateState_preferenceShouldBeSelected() local
91 ConnectivitySettingsManager.setIngressRateLimitInBytesPerSecond(mContext, newRateLimit); in updateState_preferenceShouldBeSelected()
93 assertThat(Long.parseLong(mPreference.getValue())).isEqualTo(newRateLimit); in updateState_preferenceShouldBeSelected()
98 final long newRateLimit = 625000; // 5mbit == 625000 B/s in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
99 ConnectivitySettingsManager.setIngressRateLimitInBytesPerSecond(mContext, newRateLimit); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()