Home
last modified time | relevance | path

Searched refs:sTestSlot (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DEmergencyCallDomainSelectionTestOnMockModem.java201 int sub = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
206 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests()
219 sMockModemManager.notifyEmergencyNumberList(sTestSlot, in beforeAllTests()
263 sMockModemManager.setLastCallFailCause(sTestSlot, DisconnectCause.POWER_OFF); in beforeTest()
264 sMockModemManager.resetNetworkAllLatchCountdown(sTestSlot); in beforeTest()
265 sMockModemManager.resetVoiceAllLatchCountdown(sTestSlot); in beforeTest()
277 sMockModemManager.clearAllCalls(sTestSlot, DisconnectCause.POWER_OFF); in afterTest()
278 sMockModemManager.resetEmergencyNetworkScan(sTestSlot); in afterTest()
313 sMockModemManager.setEmergencyRegResult(sTestSlot, regResult); in testDefaultCombinedImsRegisteredBarredSelectCs()
329 sMockModemManager.setEmergencyRegResult(sTestSlot, regResult); in testDefaultCombinedImsRegisteredSelectPs()
[all …]
DMmTelFeatureTestOnMockModem.java112 private static int sTestSlot = 0; field in MmTelFeatureTestOnMockModem
186 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
193 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
404 sMockModemManager.resetEpsFallbackReason(sTestSlot); in testTriggerEpsFallback()
407 sMockModemManager.getEpsFallbackReason(sTestSlot)); in testTriggerEpsFallback()
414 sMockModemManager.getEpsFallbackReason(sTestSlot)); in testTriggerEpsFallback()
421 sMockModemManager.getEpsFallbackReason(sTestSlot)); in testTriggerEpsFallback()
435 sMockModemManager.blockStartImsTrafficResponse(sTestSlot, true); in testStartAndStopImsTrafficSession()
449 assertTrue(sMockModemManager.isImsTrafficStarted(sTestSlot, IMS_TRAFFIC_TYPE_EMERGENCY)); in testStartAndStopImsTrafficSession()
451 assertTrue(sMockModemManager.sendStartImsTrafficResponse(sTestSlot, in testStartAndStopImsTrafficSession()
[all …]
DCallDomainSelectionTestOnMockModem.java148 int sub = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
184 sMockModemManager.removeSimCard(sTestSlot); in afterAllTests()
197 sTestSlot, MOCK_SIM_PROFILE_ID_TWN_CHT, false, Domain.CS | Domain.PS); in afterTest()
228 return sMockModemManager.getNumberOfOngoingCSCalls(sTestSlot) > 0; in isCsDialing()
304 sTestSlot, MOCK_SIM_PROFILE_ID_TWN_CHT, true, Domain.CS | Domain.PS); in testCombinedAttachPsSelected()
311 int subId = getActiveSubId(sTestSlot); in testCombinedAttachPsSelected()
366 sTestSlot, MOCK_SIM_PROFILE_ID_TWN_CHT, true, Domain.PS); in testVoiceCallOverPs()
373 int subId = getActiveSubId(sTestSlot); in testVoiceCallOverPs()
424 sTestSlot, MOCK_SIM_PROFILE_ID_TWN_CHT, true, Domain.CS); in testVoiceCallOverCs()
427 int subId = getActiveSubId(sTestSlot); in testVoiceCallOverCs()
[all …]
DDomainSelectionCrossSimRedialingTestOnMockModem.java181 int sub = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
186 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests()
247 unsolBarringInfoChanged(sTestSlot, false, false); in beforeTest()
248 setLastCallFailCause(sTestSlot, DisconnectCause.POWER_OFF); in beforeTest()
249 resetNetworkAllLatchCountdown(sTestSlot); in beforeTest()
250 resetVoiceAllLatchCountdown(sTestSlot); in beforeTest()
267 clearAllCalls(sTestSlot, DisconnectCause.POWER_OFF); in afterTest()
268 resetEmergencyNetworkScan(sTestSlot); in afterTest()
269 unsolBarringInfoChanged(sTestSlot, false, true); in afterTest()
270 waitForVoiceLatchCountdown(sTestSlot, in afterTest()
[all …]
DImsServiceTestOnMockModem.java68 private static int sTestSlot = 0; field in ImsServiceTestOnMockModem
110 int sub = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
121 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
192 assertTrue(sMockModemManager.triggerImsDeregistration(sTestSlot, REASON_SIM_REFRESH)); in testTriggerImsDeregistration()
209 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in triggerFrameworkConnectToCarrierImsService()
220 assertEquals("The slot specified for the test (" + sTestSlot + ") does not match the " in triggerFrameworkConnectToCarrierImsService()
222 sTestSlot, serviceSlot); in triggerFrameworkConnectToCarrierImsService()
DImsCallingTestOnMockModem.java129 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests()
133 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests()
270 sMockModemManager.resetAnbrValues(sTestSlot); in testSendAnbrQuery()
274 int[] retValues = sMockModemManager.getAnbrValues(sTestSlot); in testSendAnbrQuery()
306 assertTrue(sMockModemManager.notifyAnbr(sTestSlot, 2, 1, 24400)); in testNotifyAnbr()
493 assertTrue(sMockModemManager.srvccStateNotify(sTestSlot, state)); in verifySrvccStateChange()
513 List<MockSrvccCall> srvccCalls = sMockModemManager.getSrvccCalls(sTestSlot); in verifySrvccTypeFiltered()
DEabControllerTest.java81 private static int sTestSlot = SubscriptionManager.INVALID_SIM_SLOT_INDEX; field in EabControllerTest
152 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
155 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
594 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in connectTestImsService()
595 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in connectTestImsService()
611 assertEquals("The slot specified for the test (" + sTestSlot + ") does not match the " in connectTestImsService()
613 sTestSlot, serviceSlot); in connectTestImsService()
627 sServiceConnector.removeEabContacts(sTestSlot, sTestPhoneNumber); in removeTestContactFromEab()
DEabBulkCapabilityUpdaterTest.java82 private static int sTestSlot = SubscriptionManager.INVALID_SIM_SLOT_INDEX; field in EabBulkCapabilityUpdaterTest
146 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
153 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
523 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in connectTestImsService()
539 assertEquals("The slot specified for the test (" + sTestSlot + ") does not match the " in connectTestImsService()
541 sTestSlot, serviceSlot); in connectTestImsService()
DImsCallingBase.java107 protected static int sTestSlot = 0; field in ImsCallingBase
219 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTestsBase()
329 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in bindImsServiceForCapabilities()
330 .addFeature(sTestSlot, ImsFeature.FEATURE_EMERGENCY_MMTEL) in bindImsServiceForCapabilities()
350 .getRegistrationForSubscription(sTestSlot, sTestSub) in bindImsServiceForCapabilities()
DImsServiceTest.java175 private static int sTestSlot = 0; field in ImsServiceTest
357 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
359 if (tm.getSimState(sTestSlot) != TelephonyManager.SIM_STATE_READY) { in beforeAllTests()
364 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
419 if (tm.getSimState(sTestSlot) != TelephonyManager.SIM_STATE_READY) { in beforeTest()
423 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeTest()
457 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in testCarrierImsServiceBindRcsFeature()
477 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in testCarrierImsServiceBindRcsFeatureForExecutor()
494 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in testCarrierImsServiceBindMmTelFeature()
516 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in testCarrierImsServiceBindRcsFeatureEnableDisableIms()
[all …]
DSipDelegateManagerTest.java187 private static int sTestSlot = 0; field in SipDelegateManagerTest
204 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
205 if (tm.getSimState(sTestSlot) != TelephonyManager.SIM_STATE_READY) { in beforeAllTests()
215 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
268 if (tm.getSimState(sTestSlot) != TelephonyManager.SIM_STATE_READY) { in beforeTest()
272 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeTest()
2470 .addFeature(sTestSlot, ImsFeature.FEATURE_EMERGENCY_MMTEL) in getConfigForMmTelAndRcs()
2471 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in getConfigForMmTelAndRcs()
2472 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in getConfigForMmTelAndRcs()
2478 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in getConfigForRcs()
DRcsUceAdapterTest.java126 private static int sTestSlot = 0; field in RcsUceAdapterTest
180 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
189 sServiceConnector.clearAllActiveImsServices(sTestSlot); in beforeAllTests()
3723 .addFeature(sTestSlot, ImsFeature.FEATURE_MMTEL) in connectTestImsService()
3724 .addFeature(sTestSlot, ImsFeature.FEATURE_RCS) in connectTestImsService()
3740 assertEquals("The slot specified for the test (" + sTestSlot + ") does not match the " in connectTestImsService()
3742 sTestSlot, serviceSlot); in connectTestImsService()
3795 sServiceConnector.removeEabContacts(sTestSlot, builder.toString()); in removeTestContactFromEab()
3803 sServiceConnector.removeUceRequestDisallowedStatus(sTestSlot); in removeUceRequestDisallowedStatus()
3811 sServiceConnector.setCapabilitiesRequestTimeout(sTestSlot, timeoutAfterMillis); in setCapabilitiesRequestTimeout()
DImsCallingTest.java125 sTestSlot = SubscriptionManager.getSlotIndex(sTestSub); in beforeAllTests()
139 if (sTelephonyManager.getSimState(sTestSlot) != TelephonyManager.SIM_STATE_READY) { in isSimReady()
170 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeTest()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceTestOnMockModem.java148 sMockModemManager.notifyEmergencyNumberList(sTestSlot, in beforeAllTests()
185 sMockModemManager.setLastCallFailCause(sTestSlot, DisconnectCause.POWER_OFF); in beforeTest()
186 sMockModemManager.resetNetworkAllLatchCountdown(sTestSlot); in beforeTest()
187 sMockModemManager.resetVoiceAllLatchCountdown(sTestSlot); in beforeTest()
191 sMockModemManager.setEmergencyRegResult(sTestSlot, regResult); in beforeTest()
208 sMockModemManager.clearAllCalls(sTestSlot, DisconnectCause.POWER_OFF); in afterTest()
209 sMockModemManager.resetEmergencyNetworkScan(sTestSlot); in afterTest()
296 sMockModemManager.clearAllCalls(sTestSlot, DisconnectCause.ERROR_UNSPECIFIED); in testDomainSelectionServiceEmergencyCallReselectDomain()
382 sMockModemManager.unsolEmergencyNetworkScanResult(sTestSlot, regResult); in testDomainSelectionServiceEmergencyNetworkScan()
429 assertTrue(sMockModemManager.unsolBarringInfoChanged(sTestSlot, serviceInfos)); in unsolBarringInfoChanged()
[all …]
DDomainSelectionCallingBase.java74 protected static int sTestSlot = 0; field in DomainSelectionCallingBase