summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2020-02-26 09:35:01 +0800
committerJimmy Chen <jimmycmchen@google.com>2020-02-26 10:07:42 +0800
commit9b09f332a406d8df9870faca1bb646d4e750c97d (patch)
treea09a7e41d6ac5225b42b0a52b7ac73464ae85f71 /tests
parentb66edf6a39b0038c885b98134679d491ddfffd84 (diff)
Wifi: revise WIFI off deferring constant name
Per API council comments, revise the constant name. Bug: 150204842 Test: make Change-Id: I8a54fd17fa87ddeed12a9d6b8a6673ef8883fe29
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java
index 19ec05e14..95dfd7066 100644
--- a/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java
@@ -163,7 +163,7 @@ public class ClientModeManagerTest extends WifiBaseTest {
.thenReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN);
when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfigBundle);
when(mCarrierConfigBundle
- .getInt(eq(CarrierConfigManager.Ims.KEY_WIFI_OFF_DEFERRING_TIME_INT)))
+ .getInt(eq(CarrierConfigManager.Ims.KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT)))
.thenReturn(0);
mLooper = new TestLooper();
@@ -554,7 +554,7 @@ public class ClientModeManagerTest extends WifiBaseTest {
when(mTelephonyManager.getVoiceNetworkType())
.thenReturn(voiceNetworkType);
when(mCarrierConfigBundle
- .getInt(eq(CarrierConfigManager.Ims.KEY_WIFI_OFF_DEFERRING_TIME_INT)))
+ .getInt(eq(CarrierConfigManager.Ims.KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT)))
.thenReturn(wifiOffDeferringTimeMs);
}