Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_MMS (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataUtilsTest.java62 NetworkCapabilities.NET_CAPABILITY_MMS, in testGetGroupedNetworkRequestList()
63 NetworkCapabilities.NET_CAPABILITY_MMS, in testGetGroupedNetworkRequestList()
116 NetworkCapabilities.NET_CAPABILITY_MMS)).isTrue(); in testGetGroupedNetworkRequestList()
118 NetworkCapabilities.NET_CAPABILITY_MMS)).isTrue(); in testGetGroupedNetworkRequestList()
161 NetworkCapabilities.NET_CAPABILITY_MMS); in testGetNetworkCapabilitiesFromString()
164 NetworkCapabilities.NET_CAPABILITY_MMS, NetworkCapabilities.NET_CAPABILITY_IMS); in testGetNetworkCapabilitiesFromString()
167 NetworkCapabilities.NET_CAPABILITY_MMS, NetworkCapabilities.NET_CAPABILITY_IMS); in testGetNetworkCapabilitiesFromString()
DAccessNetworksManagerTest.java282 eq(NetworkCapabilities.NET_CAPABILITY_MMS), eq(false)); in testCallback()
287 NetworkCapabilities.NET_CAPABILITY_MMS)).isEqualTo( in testCallback()
310 eq(NetworkCapabilities.NET_CAPABILITY_MMS), eq(false)); in testCallback()
318 NetworkCapabilities.NET_CAPABILITY_MMS)).isEqualTo( in testCallback()
364 eq(NetworkCapabilities.NET_CAPABILITY_MMS), eq(true)); in testCallbackForReconnectQualifiedNetworkTypeWithFlagEnabled()
371 NetworkCapabilities.NET_CAPABILITY_MMS)).isEqualTo( in testCallbackForReconnectQualifiedNetworkTypeWithFlagEnabled()
389 eq(NetworkCapabilities.NET_CAPABILITY_MMS), eq(true)); in testCallbackForReconnectQualifiedNetworkTypeWithFlagDisabled()
396 NetworkCapabilities.NET_CAPABILITY_MMS)).isEqualTo( in testCallbackForReconnectQualifiedNetworkTypeWithFlagDisabled()
DTelephonyNetworkRequestTest.java179 assertThat(internetRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) in testGetCapabilities()
188 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testGetApnTypeNetworkCapability()
222 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testCanBeSatisfiedBy()
236 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testCanBeSatisfiedBy()
253 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testCanBeSatisfiedByApnDataProfile()
DDataProfileTest.java179 assertThat(dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_MMS)).isFalse(); in testCanSatisfy()
181 NetworkCapabilities.NET_CAPABILITY_MMS})).isFalse(); in testCanSatisfy()
DDataNetworkControllerTest.java1171 NetworkCapabilities.NET_CAPABILITY_MMS); in testNetworkRequestList()
1180 .isEqualTo(NetworkCapabilities.NET_CAPABILITY_MMS); in testNetworkRequestList()
1192 .isEqualTo(NetworkCapabilities.NET_CAPABILITY_MMS); in testNetworkRequestList()
1807 netCaps.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testMobileDataDisabledIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
1815 verifyNoConnectedNetworkHasCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testMobileDataDisabledIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
1842 netCaps.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testOnMmsAlwaysALlowedIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
1850 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_MMS); in testOnMmsAlwaysALlowedIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
2087 createNetworkRequest(NetworkCapabilities.NET_CAPABILITY_MMS)); in testMmsAlwaysAllowedDataDisabled()
2091 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_MMS); in testMmsAlwaysAllowedDataDisabled()
2102 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_MMS); in testMmsAlwaysAllowedDataDisabled()
[all …]
DDataRetryManagerTest.java225 NetworkCapabilities.NET_CAPABILITY_MMS, in testDataSetupRetryRulesParsingFromString()
262 assertThat(rule.canBeMatched(NetworkCapabilities.NET_CAPABILITY_MMS, 65537)).isTrue(); in testDataSetupRetryRuleMatchingByFailCause()
263 assertThat(rule.canBeMatched(NetworkCapabilities.NET_CAPABILITY_MMS, 12345)) in testDataSetupRetryRuleMatchingByFailCause()
272 assertThat(rule.canBeMatched(NetworkCapabilities.NET_CAPABILITY_MMS, 123456)) in testDataSetupRetryRuleMatchingByNetworkCapabilities()
284 assertThat(rule.canBeMatched(NetworkCapabilities.NET_CAPABILITY_MMS, 3)).isTrue(); in testDataSetupRetryRuleMatchingByBothFailCauseAndNetworkCapabilities()
DDataConfigManagerTest.java158 NetworkCapabilities.NET_CAPABILITY_MMS, NetworkCapabilities.NET_CAPABILITY_INTERNET, in testMeteredNetworkCapabilities()
DDataNetworkTest.java2426 .hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)).isTrue(); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2435 .getPreferredTransportByNetworkCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2454 .onPreferredTransportChanged(NetworkCapabilities.NET_CAPABILITY_MMS, false); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2459 .hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)).isTrue(); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2466 .onPreferredTransportChanged(NetworkCapabilities.NET_CAPABILITY_MMS, false); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2471 .hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)).isFalse(); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2475 .getPreferredTransportByNetworkCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2477 .onPreferredTransportChanged(NetworkCapabilities.NET_CAPABILITY_MMS, false); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2482 .hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)).isTrue(); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
DTelephonyNetworkFactoryTest.java114 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in makeSubSpecificMmsRequest()
DDataProfileManagerTest.java899 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testGetDataProfileForNetworkRequest()
2014 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in testDifferentNetworkRequestProfilesOnEsimBootStrapProvisioning()
/frameworks/base/core/java/android/net/vcn/
DVcnCellUnderlyingNetworkTemplate.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
87 capsMatchCriteria.put(NET_CAPABILITY_MMS, MATCH_ANY); in capsMatchCriteria.put() argument
343 return mCapabilitiesMatchCriteria.get(NET_CAPABILITY_MMS); in getMms()
700 mCapabilitiesMatchCriteria.put(NET_CAPABILITY_MMS, matchCriteria); in setMms()
DVcnGatewayConnectionConfig.java105 allowedCaps.add(NetworkCapabilities.NET_CAPABILITY_MMS);
126 NetworkCapabilities.NET_CAPABILITY_MMS,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataUtils.java77 case "MMS" -> NetworkCapabilities.NET_CAPABILITY_MMS; in getNetworkCapabilityFromString()
132 case NetworkCapabilities.NET_CAPABILITY_MMS -> "MMS"; in networkCapabilityToString()
275 case NetworkCapabilities.NET_CAPABILITY_MMS -> ApnSetting.TYPE_MMS;
303 case ApnSetting.TYPE_MMS -> NetworkCapabilities.NET_CAPABILITY_MMS;
DTelephonyNetworkRequest.java104 new SimpleImmutableEntry<>(NetworkCapabilities.NET_CAPABILITY_MMS,
DTelephonyNetworkFactory.java141 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in makeNetworkFilter()
DDataNetwork.java1267 if (mDataProfile.canSatisfy(NetworkCapabilities.NET_CAPABILITY_MMS)) {
1273 if (networkCapability == NetworkCapabilities.NET_CAPABILITY_MMS) {
2472 if ((capability == NetworkCapabilities.NET_CAPABILITY_MMS
2492 .hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)
2498 NetworkCapabilities.NET_CAPABILITY_MMS)
2505 NetworkCapabilities.NET_CAPABILITY_MMS).build(), mPhone, mFlags),
2513 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_MMS);
DPhoneSwitcher.java601 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in PhoneSwitcher()
1109 NetworkCapabilities.NET_CAPABILITY_MMS)) { in collectRequestNetworkMetrics()
1121 NetworkCapabilities.NET_CAPABILITY_MMS)) { in collectReleaseNetworkMetrics()
/frameworks/proto_logging/stats/enums/telephony/qns/
Denums.proto25 NET_CAPABILITY_MMS = 0; enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DNetworkRequestsStats.java73 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in addNetworkRequest()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java24 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
87 new int[] {NET_CAPABILITY_MMS}
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
335 Collections.singleton(NET_CAPABILITY_MMS), in testNetworkCallbacksRegisteredOnStartupForNonInternetCapabilities()
374 Collections.singleton(NET_CAPABILITY_MMS), in testNetworkCallbacksRegisteredOnStartupWithDedupedtCapabilities()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto37 NET_CAPABILITY_MMS = 0; enumerator
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnGatewayConnectionConfigTest.java58 NetworkCapabilities.NET_CAPABILITY_INTERNET, NetworkCapabilities.NET_CAPABILITY_MMS
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java406 case NetworkCapabilities.NET_CAPABILITY_MMS: in networkCapabilityToApnType()
/frameworks/base/telephony/java/android/telephony/
DAnnotation.java680 NetworkCapabilities.NET_CAPABILITY_MMS,

12