/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | EmergencyCallDomainSelectionTestOnMockModem.java | 149 private static MockModemManager sMockModemManager; field in EmergencyCallDomainSelectionTestOnMockModem 184 sMockModemManager = new MockModemManager(); in beforeAllTests() 185 assertNotNull(sMockModemManager); in beforeAllTests() 186 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 206 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests() 219 sMockModemManager.notifyEmergencyNumberList(sTestSlot, in beforeAllTests() 245 if (sMockModemManager != null) { in afterAllTests() 246 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 247 sMockModemManager = null; in afterAllTests() 261 if (sMockModemManager != null) { in beforeTest() [all …]
|
D | MmTelFeatureTestOnMockModem.java | 110 private static MockModemManager sMockModemManager; field in MmTelFeatureTestOnMockModem 169 sMockModemManager = new MockModemManager(); in beforeAllTests() 170 assertNotNull(sMockModemManager); in beforeAllTests() 171 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 233 if (sMockModemManager != null) { in afterAllTests() 235 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 236 sMockModemManager = null; in afterAllTests() 247 if (sMockModemManager != null) { in beforeTest() 248 sMockModemManager.clearImsTrafficState(); in beforeTest() 249 sMockModemManager.resetImsAllLatchCountdown(); in beforeTest() [all …]
|
D | DomainSelectionCrossSimRedialingTestOnMockModem.java | 112 private static MockModemManager sMockModemManager; field in DomainSelectionCrossSimRedialingTestOnMockModem 155 sMockModemManager = new MockModemManager(); in beforeAllTests() 156 assertNotNull(sMockModemManager); in beforeAllTests() 157 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 173 assertTrue(sMockModemManager.insertSimCard(sOtherSlot, MOCK_SIM_PROFILE_ID_TWN_FET)); in beforeAllTests() 186 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests() 199 sMockModemManager.notifyEmergencyNumberList(0, new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests() 200 sMockModemManager.notifyEmergencyNumberList(1, new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests() 229 if (sMockModemManager != null) { in afterAllTests() 230 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() [all …]
|
D | ImsServiceTestOnMockModem.java | 66 private static MockModemManager sMockModemManager; field in ImsServiceTestOnMockModem 95 sMockModemManager = new MockModemManager(); in beforeAllTests() 96 assertNotNull(sMockModemManager); in beforeAllTests() 97 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 139 if (sMockModemManager != null) { in afterAllTests() 140 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 141 sMockModemManager = null; in afterAllTests() 192 assertTrue(sMockModemManager.triggerImsDeregistration(sTestSlot, REASON_SIM_REFRESH)); in testTriggerImsDeregistration()
|
D | ImsCallingTestOnMockModem.java | 85 private static MockModemManager sMockModemManager; field in ImsCallingTestOnMockModem 112 sMockModemManager = new MockModemManager(); in beforeAllTests() 113 assertNotNull(sMockModemManager); in beforeAllTests() 114 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 133 assertTrue(sMockModemManager.changeNetworkService(sTestSlot, 310260, true)); in beforeAllTests() 153 if (sMockModemManager != null) { in afterAllTests() 154 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 155 sMockModemManager = null; in afterAllTests() 166 if (sMockModemManager != null) { in beforeTest() 167 sMockModemManager.resetImsAllLatchCountdown(); in beforeTest() [all …]
|
D | CallDomainSelectionTestOnMockModem.java | 81 private static MockModemManager sMockModemManager; field in CallDomainSelectionTestOnMockModem 126 sMockModemManager = new MockModemManager(); in beforeAllTests() 127 assertNotNull(sMockModemManager); in beforeAllTests() 128 assertTrue(sMockModemManager.connectMockModemService(MOCK_SIM_PROFILE_ID_TWN_CHT)); in beforeAllTests() 158 assumeTrue(sMockModemManager != null); in setup() 183 if (sMockModemManager != null) { in afterAllTests() 184 sMockModemManager.removeSimCard(sTestSlot); in afterAllTests() 185 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 186 sMockModemManager = null; in afterAllTests() 195 if (sMockModemManager != null) { in afterTest() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ConnectivityManagerTestOnMockModem.java | 74 private static MockModemManager sMockModemManager; field in ConnectivityManagerTestOnMockModem 196 sMockModemManager = new MockModemManager(); in beforeAllTests() 197 assertNotNull(sMockModemManager); in beforeAllTests() 198 assertTrue(sMockModemManager.connectMockModemService()); in beforeAllTests() 209 assertNotNull(sMockModemManager); in afterAllTests() 210 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 211 sMockModemManager = null; in afterAllTests() 350 sMockModemManager.insertSimCard(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT); in testNetworkValidated() 354 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, true); in testNetworkValidated() 385 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, false); in testNetworkValidated() [all …]
|
D | DomainSelectionServiceTestOnMockModem.java | 104 private static MockModemManager sMockModemManager; field in DomainSelectionServiceTestOnMockModem 140 sMockModemManager = new MockModemManager(); in beforeAllTests() 141 assertNotNull(sMockModemManager); in beforeAllTests() 142 assertTrue(sMockModemManager.connectMockModemService()); in beforeAllTests() 148 sMockModemManager.notifyEmergencyNumberList(sTestSlot, in beforeAllTests() 164 if (sMockModemManager != null) { in afterAllTests() 165 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 166 sMockModemManager = null; in afterAllTests() 183 if (sMockModemManager != null) { in beforeTest() 185 sMockModemManager.setLastCallFailCause(sTestSlot, DisconnectCause.POWER_OFF); in beforeTest() [all …]
|
D | TelephonyManagerTestOnMockModem.java | 105 private static MockModemManager sMockModemManager; field in TelephonyManagerTestOnMockModem 149 sMockModemManager = new MockModemManager(); in beforeAllTests() 150 assertNotNull(sMockModemManager); in beforeAllTests() 151 assertTrue(sMockModemManager.connectMockModemService()); in beforeAllTests() 218 assertNotNull(sMockModemManager); in afterAllTests() 221 sMockModemManager.forceErrorResponse(0, RIL_REQUEST_RADIO_POWER, -1); in afterAllTests() 222 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTests() 223 sMockModemManager = null; in afterAllTests() 387 sMockModemManager.removeSimCard(slotId); in testSimStateChange() 397 assertTrue(sMockModemManager.insertSimCard(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT)); in testSimStateChange() [all …]
|
D | SimultaneousCallingRestrictionsTest.java | 95 private static MockModemManager sMockModemManager; field in SimultaneousCallingRestrictionsTest 169 sMockModemManager = new MockModemManager(); in beforeAllTests() 170 assertNotNull(sMockModemManager); in beforeAllTests() 171 assertTrue(sMockModemManager.connectMockModemService()); in beforeAllTests() 172 sMockModemManager.insertSimCard(TEST_SLOT_0, MOCK_SIM_PROFILE_ID_TWN_CHT); in beforeAllTests() 174 sMockModemManager.insertSimCard(TEST_SLOT_1, MOCK_SIM_PROFILE_ID_TWN_FET); in beforeAllTests() 239 if (sMockModemManager == null) { in afterAllTests() 245 sMockModemManager.removeSimCard(TEST_SLOT_0); in afterAllTests() 246 sMockModemManager.removeSimCard(TEST_SLOT_1); in afterAllTests() 253 sMockModemManager.forceErrorResponse(0, RIL_REQUEST_RADIO_POWER, -1); in afterAllTests() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 117 private static MockWifiModemManager sMockModemManager; field in MockWifiTest 187 sMockModemManager = new MockWifiModemManager(sContext); in setUpClass() 188 assertNotNull(sMockModemManager); in setUpClass() 326 assertTrue(sMockModemManager.connectMockWifiModemService(sContext)); in testMockSignalPollOnMockWifi() 327 assertTrue(sMockModemManager.configureClientInterfaceMock(getIfaceName(), in testMockSignalPollOnMockWifi() 338 sMockModemManager.updateConfiguredMockedMethods(); in testMockSignalPollOnMockWifi() 346 sMockModemManager.disconnectMockWifiModemService(); in testMockSignalPollOnMockWifi() 440 assertTrue(sMockModemManager.connectMockWifiModemService(sContext)); in testMockPnoScanResultsOnMockWifi() 442 sMockModemManager.getWifiNL80211ManagerImp(); in testMockPnoScanResultsOnMockWifi() 444 assertTrue(sMockModemManager.configureWifiScannerInterfaceMock(currentStaIfaceName, in testMockPnoScanResultsOnMockWifi() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteTestBase.java | 70 protected static MockModemManager sMockModemManager; field in CarrierRoamingSatelliteTestBase 80 sMockModemManager = new MockModemManager(); in beforeAllTestsBase() 81 assertNotNull(sMockModemManager); in beforeAllTestsBase() 82 assertTrue(sMockModemManager.connectMockModemService()); in beforeAllTestsBase() 95 assertTrue(sMockModemManager.disconnectMockModemService()); in afterAllTestsBase() 96 sMockModemManager = null; in afterAllTestsBase() 416 assertTrue(sMockModemManager.insertSimCard(slotId, profile)); in insertSatelliteEnabledSim() 421 String mccmnc = sMockModemManager.getSimInfo(slotId, in insertSatelliteEnabledSim() 442 sMockModemManager.changeNetworkService(slotId, profile, true); in insertSatelliteEnabledSim() 454 sMockModemManager.changeNetworkService(slotId, profile, false); in removeSatelliteEnabledSim() [all …]
|
D | CarrierRoamingSatelliteSmsTest.java | 266 assertTrue(sMockModemManager.triggerIncomingSms(SLOT_ID_0)); in receiveMessage() 321 sMockModemManager.changeNetworkService(SLOT_ID_0, MOCK_SIM_PROFILE_ID_TWN_CHT, false); in sendMessageAutomaticallyAfterSatelliteConnectionIsRestored() 329 sMockModemManager.changeNetworkService(SLOT_ID_0, MOCK_SIM_PROFILE_ID_TWN_CHT, true); in sendMessageAutomaticallyAfterSatelliteConnectionIsRestored()
|
D | CarrierRoamingSatelliteTest.java | 95 sMockModemManager.changeNetworkService(SLOT_ID_0, MOCK_SIM_PROFILE_ID_TWN_CHT, false); in testCarrierRoamingNtnModeListener()
|