/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | EmergencySmsDomainSelectorTest.java | 78 @Mock private WwanSelectorCallback mWwanSelectorCallback; field in EmergencySmsDomainSelectorTest 162 mWwanSelectorCallback = null; in tearDown() 216 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testIsDomainSelectionReadyAndSelectDomain() 490 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testSelectDomainWhilePreviousRequestInProgress() 508 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegisteredAndConfigDisabled() 525 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegisteredAndUmtsNetwork() 542 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegisteredAndUnknownNetwork() 559 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testSelectDomainWhenImsNotRegisteredAndLteInService() 576 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegisteredAndLteEmcBsNotSupported() 593 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegisteredAndLteEmergencyBarred() [all …]
|
D | SmsDomainSelectorTest.java | 65 @Mock private WwanSelectorCallback mWwanSelectorCallback; field in SmsDomainSelectorTest 107 mWwanSelectorCallback = null; in tearDown() 143 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testSelectDomainWhenImsNotRegistered() 186 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testSelectDomainWhilePreviousRequestInProgress() 218 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testReselectDomain() 245 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testReselectDomainWhilePreviousRequestInProgress() 265 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testOnImsRegistrationStateChangedWhenNotRegistered() 283 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testOnImsRegistrationStateChangedWhenRegisteredAndSmsCapable() 301 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_CS), in testOnImsRegistrationStateChangedWhenRegisteredAndSmsIncapable() 319 verify(mWwanSelectorCallback).onDomainSelected(eq(NetworkRegistrationInfo.DOMAIN_PS), in testOnImsMmTelCapabilitiesChangedWhenSmsCapable() [all …]
|
D | EmergencyCallDomainSelectorTest.java | 161 @Mock private WwanSelectorCallback mWwanSelectorCallback; field in EmergencyCallDomainSelectorTest 283 consumer.accept(mWwanSelectorCallback); in setUp() 296 }).when(mWwanSelectorCallback).onRequestEmergencyNetworkScan( in setUp() 322 verify(mWwanSelectorCallback, times(0)).onRequestEmergencyNetworkScan( in testInit() 324 verify(mWwanSelectorCallback, times(0)).onDomainSelected(anyInt(), eq(true)); in testInit() 411 verify(mWwanSelectorCallback, times(1)).onDomainSelected(anyInt(), anyBoolean()); in testNoRedundantDomainSelectionFromInitialState() 462 verify(mWwanSelectorCallback, times(1)).onRequestEmergencyNetworkScan( in testNoRedundantScanRequestFromInitialState() 1089 verify(mWwanSelectorCallback, times(1)).onRequestEmergencyNetworkScan( in testNotSupportPsEmergency() 1607 verify(mWwanSelectorCallback, never()).onDomainSelected(anyInt(), anyBoolean()); in testDefaultEpsImsRegisteredBarredScanTimeoutWifi() 1904 verify(mWwanSelectorCallback, times(1)).onRequestEmergencyNetworkScan( in testDualSimNormalServiceOnTheOtherSubscriptionAfterScan() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | NormalCallDomainSelector.java | 244 if (mWwanSelectorCallback == null) { in notifyPsSelected() 246 mWwanSelectorCallback = callback; in notifyPsSelected() 256 if (mWwanSelectorCallback != null) { in notifyPsSelectedInternal() 258 mWwanSelectorCallback.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS, false); in notifyPsSelectedInternal() 274 if (mWwanSelectorCallback == null) { in notifyCsSelected() 276 mWwanSelectorCallback = callback; in notifyCsSelected() 285 if (mWwanSelectorCallback != null) { in notifyCsSelectedInternal() 287 mWwanSelectorCallback.onDomainSelected(NetworkRegistrationInfo.DOMAIN_CS, false); in notifyCsSelectedInternal()
|
D | SmsDomainSelector.java | 94 mWwanSelectorCallback = null; in finishSelection() 181 if (mWwanSelectorCallback == null) { in notifyWwanSelected() 183 mWwanSelectorCallback = callback; in notifyWwanSelected() 198 if (mWwanSelectorCallback != null) { in notifyWwanSelectedInternal() 199 mWwanSelectorCallback.onDomainSelected(domain, useEmergencyPdn); in notifyWwanSelectedInternal()
|
D | EmergencySmsDomainSelector.java | 218 if (mWwanSelectorCallback == null) { in requestEmergencyNetworkScan() 220 mWwanSelectorCallback = callback; in requestEmergencyNetworkScan() 231 mWwanSelectorCallback.onRequestEmergencyNetworkScan( in requestEmergencyNetworkScanInternal()
|
D | EmergencyCallDomainSelector.java | 359 mWwanSelectorCallback.onRequestEmergencyNetworkScan( in handleScanResult() 368 mWwanSelectorCallback.onRequestEmergencyNetworkScan( in handleScanResult() 1033 mWwanSelectorCallback.onRequestEmergencyNetworkScan( in requestScan() 1601 mWwanSelectorCallback = null; in onWlanSelected() 1615 mWwanSelectorCallback = callback; in onWwanSelected() 1622 if (mWwanSelectorCallback == null) { in onWwanNetworkTypeSelected() 1634 mWwanSelectorCallback.onDomainSelected(domain, in onWwanNetworkTypeSelected()
|
D | DomainSelectorBase.java | 59 protected WwanSelectorCallback mWwanSelectorCallback; field in DomainSelectorBase
|