Home
last modified time | relevance | path

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

/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanNetworkServiceTest.java48 private static final int DEFAULT_SLOT_INDEX = 0; field in IwlanNetworkServiceTest
78 eq(DEFAULT_SLOT_INDEX))) in setUp()
90 mBinder.createNetworkServiceProvider(DEFAULT_SLOT_INDEX); in setUp()
91 mBinder.registerForNetworkRegistrationInfoChanged(DEFAULT_SLOT_INDEX, mCallback); in setUp()
96 mBinder.removeNetworkServiceProvider(DEFAULT_SLOT_INDEX); in cleanUp()
110 mIwlanNetworkService.getNetworkServiceProvider(DEFAULT_SLOT_INDEX); in testRequestNetworkRegistrationInfo()
152 mIwlanNetworkService.getNetworkServiceProvider(DEFAULT_SLOT_INDEX); in testNetworkRegistrationInfoForCellularAndCstDisabled()
161 eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testNetworkRegistrationInfoForCellularAndCstDisabled()
164 .when(IwlanHelper.isDefaultDataSlot(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testNetworkRegistrationInfoForCellularAndCstDisabled()
205 mIwlanNetworkService.getNetworkServiceProvider(DEFAULT_SLOT_INDEX); in testNetworkRegistrationInfoForCellularAndCstEnabled()
[all …]
DIwlanEventListenerTest.java63 private static final int DEFAULT_SLOT_INDEX = 0; field in IwlanEventListenerTest
93 eq(DEFAULT_SLOT_INDEX))) in setUp()
104 mIwlanEventListener = IwlanEventListener.getInstance(mMockContext, DEFAULT_SLOT_INDEX); in setUp()
144 eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testCrossSimCallingSettingEnableChanged()
165 eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testCrossSimCallingSettingDisableChanged()
189 validCarrierIdintent.putExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, DEFAULT_SLOT_INDEX); in testOnReceivedCarrierConfigChangedIntent()
199 invalidCarrierIdintent.putExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, DEFAULT_SLOT_INDEX); in testOnReceivedCarrierConfigChangedIntent()
DIwlanDataServiceTest.java80 private static final int DEFAULT_SLOT_INDEX = 0; field in IwlanDataServiceTest
207 when(EpdgSelector.getSelectorInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in setUp()
217 mIwlanDataService.onCreateDataServiceProvider(DEFAULT_SLOT_INDEX); in setUp()
490 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testHandoverFailureModeNormal()
528 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testHandoverFailureModeHandover()
655 eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanSetupDataCallWithCellularAndCstDisabled()
658 .when(IwlanHelper.isDefaultDataSlot(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanSetupDataCallWithCellularAndCstDisabled()
696 eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanSetupDataCallWithCellularAndCstEnabled()
699 .when(IwlanHelper.isDefaultDataSlot(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanSetupDataCallWithCellularAndCstEnabled()
734 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanTunnelStatsFailureCounts()
DErrorPolicyManagerTest.java59 private static final int DEFAULT_SLOT_INDEX = 0; field in ErrorPolicyManagerTest
88 mErrorPolicyManager = spy(ErrorPolicyManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)); in setUp()
742 .getActiveSubscriptionInfoForSimSlotIndex(DEFAULT_SLOT_INDEX); in setupMockForCarrierConfig()
744 doReturn(bundle).when(mMockCarrierConfigManager).getConfigForSubId(DEFAULT_SLOT_INDEX); in setupMockForCarrierConfig()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java60 public static final int DEFAULT_SLOT_INDEX = 0; field in EpdgSelectorTest
96 mEpdgSelector = new EpdgSelector(mMockContext, DEFAULT_SLOT_INDEX); in setUp()
DEpdgTunnelManagerTest.java79 public static final int DEFAULT_SLOT_INDEX = 0; field in EpdgTunnelManagerTest
109 mEpdgTunnelManager = spy(EpdgTunnelManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)); in setUp()
780 when(mMockSubscriptionManager.getActiveSubscriptionInfoForSimSlotIndex(DEFAULT_SLOT_INDEX)) in setupMockForGetConfig()
786 when(mMockCarrierConfigManager.getConfigForSubId(DEFAULT_SLOT_INDEX)).thenReturn(bundle); in setupMockForGetConfig()