Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAccessNetworksManagerTest.java182 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testQualifiedNetworkTypesChanged()
184 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testQualifiedNetworkTypesChanged()
192 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testQualifiedNetworkTypesChanged()
194 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testQualifiedNetworkTypesChanged()
221 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_EMERGENCY)) in testGuideTransportTypeForEmergencyDataNetwork()
233 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testEmptyNetworkTypes()
235 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testEmptyNetworkTypes()
250 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testInvalidNetworkTypes()
252 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testInvalidNetworkTypes()
266 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testEmptyList()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DEmergencySmsDomainSelectionConnectionTest.java122 when(mAnm.getPreferredTransport(anyInt())) in testOnWlanSelected()
142 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnWlanSelectedWithDifferentTransportType()
180 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnWlanSelectedWithDifferentTransportTypeAndImsPdn()
205 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged()
256 when(mAnm.getPreferredTransport(anyInt())) in testOnDomainSelectedPs()
274 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnDomainSelectedPsWithDifferentTransportType()
310 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnDomainSelectedPsWithDifferentTransportTypeAndImsPdn()
332 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnDomainSelectedPsWithDifferentTransportTypeAndNotChanged()
365 when(mAnm.getPreferredTransport(anyInt())).thenReturn( in testOnDomainSelectedPsWithDifferentTransportTypeWhilePreferredTransportChanged()
405 when(mAnm.getPreferredTransport(anyInt())) in testOnDomainSelectedCs()
[all …]
DEmergencyCallDomainSelectionConnectionTest.java115 doReturn(TRANSPORT_TYPE_WWAN).when(mAnm).getPreferredTransport(anyInt()); in testSelectDomainWifi()
164 doReturn(TRANSPORT_TYPE_WWAN).when(mAnm).getPreferredTransport(anyInt()); in testSelectDomainCs()
202 doReturn(TRANSPORT_TYPE_WWAN).when(mAnm).getPreferredTransport(anyInt()); in testSelectDomainPs()
DDomainSelectionConnectionTest.java517 assertThat(mDsc.getPreferredTransport(ApnSetting.TYPE_EMERGENCY, networksList)) in testQualifiedNetworkTypesChanged()
523 assertThat(mDsc.getPreferredTransport(ApnSetting.TYPE_EMERGENCY, networksList)) in testQualifiedNetworkTypesChanged()
530 assertThat(mDsc.getPreferredTransport(ApnSetting.TYPE_EMERGENCY, networksList)) in testQualifiedNetworkTypesChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DEmergencySmsDomainSelectionConnection.java79 if (anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY) in onWlanSelected()
117 if (anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY) in onDomainSelected()
146 int preferredTransportType = getPreferredTransport(ApnSetting.TYPE_EMERGENCY, networksList); in onQualifiedNetworksChanged()
DEmergencyCallDomainSelectionConnection.java99 int transportType = anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY); in onWlanSelected()
130 int transportType = anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY); in onDomainSelected()
175 int preferredTransport = getPreferredTransport(ApnSetting.TYPE_EMERGENCY, networksList); in onQualifiedNetworksChanged()
DDomainSelectionConnection.java755 public int getPreferredTransport(@ApnType int apnType, in getPreferredTransport() method in DomainSelectionConnection
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAccessNetworksManager.java281 if (getPreferredTransport(apnType) in handleQualifiedNetworksChanged()
641 if (getPreferredTransport(networks.apnType) != transport) { in setPreferredTransports()
664 public int getPreferredTransport(@ApnType int apnType) { in getPreferredTransport() method in AccessNetworksManager
683 return getPreferredTransport(apnType); in getPreferredTransportByNetworkCapability()
693 if (getPreferredTransport(apnType) == AccessNetworkConstants.TRANSPORT_TYPE_WLAN) { in isAnyApnOnIwlan()
763 getPreferredTransport(apnType))); in dump()