Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java91 private static final int DATA_SUBID = 1; field in WifiCarrierInfoManagerTest
192 when(mTelephonyManager.createForSubscriptionId(eq(DATA_SUBID))) in setUp()
201 doReturn(DATA_SUBID).when( in setUp()
204 () -> SubscriptionManager.isValidSubscriptionId(DATA_SUBID)); in setUp()
209 when(mDataSubscriptionInfo.getSubscriptionId()).thenReturn(DATA_SUBID); in setUp()
222 .thenReturn(new int[]{DATA_SUBID, NON_DATA_SUBID}); in setUp()
297 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)) in receivedCarrierConfigChangedIntent()
308 assertTrue(mWifiCarrierInfoManager.requiresImsiEncryption(DATA_SUBID)); in receivedCarrierConfigChangedIntent()
317 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)) in imsiEncryptionRequiredInfoIsCleared()
328 assertTrue(mWifiCarrierInfoManager.requiresImsiEncryption(DATA_SUBID)); in imsiEncryptionRequiredInfoIsCleared()
[all …]
DClientModeImplTest.java201 private static final int DATA_SUBID = 1; field in ClientModeImplTest
542 .thenReturn(new int[]{DATA_SUBID}); in setUp()
1063 doReturn(DATA_SUBID).when(mWifiCarrierInfoManager) in setupEapSimConnection()
1090 doReturn(true).when(mWifiCarrierInfoManager).isSimPresent(eq(DATA_SUBID)); in testResetSimWhenNonConnectedSimRemoved()
1107 doReturn(false).when(mWifiCarrierInfoManager).isSimPresent(eq(DATA_SUBID)); in testResetSimWhenConnectedSimRemoved()
1146 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1202 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1256 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1883 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testEapSimErrorVendorSpecific()
4163 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testSupRequestIdentity_setsIdentityResponse()
DWifiConfigManagerTest.java119 private static final int DATA_SUBID = 1; field in WifiConfigManagerTest
4348 .thenReturn(new int[]{DATA_SUBID}); in testResetSimNetworks()
4367 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testResetSimNetworks()
4404 .thenReturn(new int[]{DATA_SUBID}); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
4425 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DATA_SUBID); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()