Searched refs:DEFAULT_SUB_INDEX (Results 1 – 2 of 2) sorted by relevance
61 private static final int DEFAULT_SUB_INDEX = 0; field in IwlanNetworkServiceTest96 when(SubscriptionManager.getDefaultDataSubscriptionId()).thenReturn(DEFAULT_SUB_INDEX); in setUp()97 when(SubscriptionManager.getSlotIndex(DEFAULT_SUB_INDEX)).thenReturn(DEFAULT_SLOT_INDEX); in setUp()98 when(SubscriptionManager.getSlotIndex(DEFAULT_SUB_INDEX + 1)) in setUp()101 when(mMockSubscriptionInfo.getSubscriptionId()).thenReturn(DEFAULT_SUB_INDEX); in setUp()191 prepareCellularNetworkCapabilitiesForTest(DEFAULT_SUB_INDEX, false /* is Vcn */); in testNetworkRegistrationInfoSearchingForCellularAndCstDisabled()219 prepareCellularNetworkCapabilitiesForTest(DEFAULT_SUB_INDEX, false /* is Vcn */); in testNetworkRegistrationInfoSearchingForCellularOnSameSubAndCstEnabled()249 DEFAULT_SUB_INDEX + 1, false /* is Vcn */); in testNetworkRegistrationInfoHomeForCellularOnDifferentSubAndCstEnabled()278 prepareCellularNetworkCapabilitiesForTest(DEFAULT_SUB_INDEX + 1, true /* is Vcn */); in testNetworkRegistrationInfoHomeForCellularVcnOnDifferentSubAndCstEnabled()
123 private static final int DEFAULT_SUB_INDEX = 0; field in IwlanDataServiceTest227 .thenReturn(DEFAULT_SUB_INDEX); in setUp()229 .when(SubscriptionManager.getSlotIndex(eq(DEFAULT_SUB_INDEX))) in setUp()230 .thenReturn(DEFAULT_SUB_INDEX); in setUp()232 .when(SubscriptionManager.getSlotIndex(eq(DEFAULT_SUB_INDEX + 1))) in setUp()233 .thenReturn(DEFAULT_SUB_INDEX + 1); in setUp()251 when(mMockSubscriptionInfo.getSubscriptionId()).thenReturn(DEFAULT_SUB_INDEX); in setUp()256 when(mMockTelephonyManager.createForSubscriptionId(eq(DEFAULT_SUB_INDEX))) in setUp()341 newNetwork, mLinkProperties, transportType, DEFAULT_SUB_INDEX); in onSystemDefaultNetworkConnected()482 TRANSPORT_CELLULAR, DEFAULT_SUB_INDEX, false /* isVcn */); in testNetworkNotConnectedWithCellularOnSameSubAndCrossSimEnabled()[all …]