Home
last modified time | relevance | path

Searched refs:mTransportSelectorCallback (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DEmergencyCallDomainSelectorTest.java162 @Mock private TransportSelectorCallback mTransportSelectorCallback; field in EmergencyCallDomainSelectorTest
286 }).when(mTransportSelectorCallback).onWwanSelected(any()); in setUp()
337 mDomainSelector.selectDomain(attr, mTransportSelectorCallback); in testDestroyed()
346 verify(mTransportSelectorCallback, never()).onWwanSelected(any()); in testDestroyed()
365 mDomainSelector.selectDomain(attr, mTransportSelectorCallback); in testDomainPreferenceConfigurationError()
381 mDomainSelector.selectDomain(attr, mTransportSelectorCallback); in testNullEmergencyRegistrationResult()
399 mDomainSelector.selectDomain(attr, mTransportSelectorCallback); in testNoRedundantDomainSelectionFromInitialState()
410 verify(mTransportSelectorCallback, times(1)).onWwanSelected(any()); in testNoRedundantDomainSelectionFromInitialState()
433 mDomainSelector.selectDomain(attr, mTransportSelectorCallback); in testNoUnexpectedTransportChangeFromInitialState()
441 verify(mTransportSelectorCallback, times(1)).onWwanSelected(any()); in testNoUnexpectedTransportChangeFromInitialState()
[all …]
DSmsDomainSelectorTest.java64 @Mock private TransportSelectorCallback mTransportSelectorCallback; field in SmsDomainSelectorTest
108 mTransportSelectorCallback = null; in tearDown()
137 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenImsNotRegistered()
158 }).when(mTransportSelectorCallback).onWwanSelected(any(Consumer.class)); in testSelectDomainWhenWwanSelectorCallbackNull()
160 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenWwanSelectorCallbackNull()
166 verify(mTransportSelectorCallback).onSelectionTerminated(anyInt()); in testSelectDomainWhenWwanSelectorCallbackNull()
176 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhilePreviousRequestInProgress()
180 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhilePreviousRequestInProgress()
196 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testFinishSelection()
212 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testReselectDomain()
[all …]
DEmergencySmsDomainSelectorTest.java77 @Mock private TransportSelectorCallback mTransportSelectorCallback; field in EmergencySmsDomainSelectorTest
163 mTransportSelectorCallback = null; in tearDown()
174 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testFinishSelection()
207 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testIsDomainSelectionReadyAndSelectDomain()
478 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhilePreviousRequestInProgress()
484 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhilePreviousRequestInProgress()
504 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenImsNotRegisteredAndConfigDisabled()
521 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenImsNotRegisteredAndUmtsNetwork()
538 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenImsNotRegisteredAndUnknownNetwork()
555 mDomainSelector.selectDomain(mSelectionAttributes, mTransportSelectorCallback); in testSelectDomainWhenImsNotRegisteredAndLteInService()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DNormalCallDomainSelector.java114 mTransportSelectorCallback = callback; in selectDomain()
157 selectDomain(attributes, mTransportSelectorCallback); in reselectDomain()
173 mTransportSelectorCallback = null; in finishSelection()
202 if (mTransportSelectorCallback != null) { in cancelSelection()
203 mTransportSelectorCallback.onSelectionTerminated(DisconnectCause.OUTGOING_CANCELED); in cancelSelection()
242 mTransportSelectorCallback.onWlanSelected(false); in notifyPsSelected()
245 mTransportSelectorCallback.onWwanSelected((callback) -> { in notifyPsSelected()
261 mTransportSelectorCallback.onSelectionTerminated(DisconnectCause.OUTGOING_FAILURE); in notifyPsSelectedInternal()
275 mTransportSelectorCallback.onWwanSelected((callback) -> { in notifyCsSelected()
290 mTransportSelectorCallback.onSelectionTerminated(DisconnectCause.OUTGOING_FAILURE); in notifyCsSelectedInternal()
[all …]
DSmsDomainSelector.java93 mTransportSelectorCallback = null; in finishSelection()
107 mTransportSelectorCallback = callback; in selectDomain()
175 mTransportSelectorCallback.onWlanSelected(useEmergencyPdn); in notifyWlanSelected()
182 mTransportSelectorCallback.onWwanSelected((callback) -> { in notifyWwanSelected()
201 mTransportSelectorCallback.onSelectionTerminated(DisconnectCause.LOCAL); in notifyWwanSelectedInternal()
DDomainSelectorBase.java58 protected TransportSelectorCallback mTransportSelectorCallback; field in DomainSelectorBase
DEmergencyCallDomainSelector.java609 mTransportSelectorCallback = cb; in selectDomain()
1600 mTransportSelectorCallback.onWlanSelected(mVoWifiOverEmergencyPdn); in onWlanSelected()
1614 mTransportSelectorCallback.onWwanSelected((callback) -> { in onWwanSelected()
1760 mTransportSelectorCallback.onSelectionTerminated(cause); in terminateSelection()
DEmergencySmsDomainSelector.java219 mTransportSelectorCallback.onWwanSelected((callback) -> { in requestEmergencyNetworkScan()