Searched refs:newRateLimit (Results 1 – 1 of 1) sorted by relevance
64 final long newRateLimit = 625000; // 5mbit == 625000 B/s in onPreferenceChanged_select5Mbits_shouldEnableIngressRateLimit() local65 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() local91 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() local99 ConnectivitySettingsManager.setIngressRateLimitInBytesPerSecond(mContext, newRateLimit); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()