Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
106 assertTrue(new NetworkRequest.Builder().addCapability(NET_CAPABILITY_MMS).build() in testCapabilities()
107 .hasCapability(NET_CAPABILITY_MMS)); in testCapabilities()
108 assertFalse(new NetworkRequest.Builder().removeCapability(NET_CAPABILITY_MMS).build() in testCapabilities()
109 .hasCapability(NET_CAPABILITY_MMS)); in testCapabilities()
119 builder.addForbiddenCapability(NET_CAPABILITY_MMS); in testForbiddenCapabilities()
120 assertTrue(builder.build().hasForbiddenCapability(NET_CAPABILITY_MMS)); in testForbiddenCapabilities()
121 builder.removeForbiddenCapability(NET_CAPABILITY_MMS); in testForbiddenCapabilities()
122 assertFalse(builder.build().hasCapability(NET_CAPABILITY_MMS)); in testForbiddenCapabilities()
123 builder.addCapability(NET_CAPABILITY_MMS); in testForbiddenCapabilities()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DCellularNetworkStatusTrackerTest.java70 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler, 2); in testRegisterQnsTelephonyInfoChanged()
73 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler, 2, null, true); in testRegisterQnsTelephonyInfoChanged()
98 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler); in testUnregisterQnsTelephonyInfoChanged()
101 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler); in testUnregisterQnsTelephonyInfoChanged()
DQnsCarrierConfigManagerTest.java182 NetworkCapabilities.NET_CAPABILITY_MMS); in testIsAccessNetworkAllowedWithDefaultValues()
585 supportedNetCapabilities.add(NetworkCapabilities.NET_CAPABILITY_MMS); in testGetQnsSupportedNetCapabilitiesWithTestBundle()
600 supportedNetCapabilities.add(NetworkCapabilities.NET_CAPABILITY_MMS); in testGetQnsSupportedNetCapabilitiesWithTestBundle()
700 ratPreference = mConfigManager.getRatPreference(NetworkCapabilities.NET_CAPABILITY_MMS); in testGetRatPreference()
715 mConfigManager.getQnsSupportedTransportType(NetworkCapabilities.NET_CAPABILITY_MMS); in testGetQnsSupportedTransportTypeWithDefaultValues()
782 NetworkCapabilities.NET_CAPABILITY_MMS, CALL_TYPE_IDLE); in testGetWwanHysteresisTimerWithDefaultValues()
786 NetworkCapabilities.NET_CAPABILITY_MMS, CALL_TYPE_VOICE); in testGetWwanHysteresisTimerWithDefaultValues()
790 NetworkCapabilities.NET_CAPABILITY_MMS, CALL_TYPE_VIDEO); in testGetWwanHysteresisTimerWithDefaultValues()
817 mConfigManager.getWwanHysteresisTimer(NetworkCapabilities.NET_CAPABILITY_MMS, -1); in testGetWwanHysteresisTimerWithDefaultValues()
930 NetworkCapabilities.NET_CAPABILITY_MMS, CALL_TYPE_IDLE); in testGetWlanHysteresisTimerWithDefaultValues()
[all …]
DQualifiedNetworksServiceImplTest.java174 info.setNetCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in testQualifiedNetworksInfo()
175 assertEquals(NetworkCapabilities.NET_CAPABILITY_MMS, info.getNetCapability()); in testQualifiedNetworksInfo()
183 supportedNetCapabilities1.add(NetworkCapabilities.NET_CAPABILITY_MMS); in testAneCreation()
DQnsUtilsTest.java1146 assertTrue(capabilities.contains(NetworkCapabilities.NET_CAPABILITY_MMS)); in testGetNetworkCapabilitiesFromString()
1153 set.add(NetworkCapabilities.NET_CAPABILITY_MMS); in testNetworkCapabilitiesToString()
1166 NetworkCapabilities.NET_CAPABILITY_MMS, in testGetNetworkCapabilityFromString()
1216 "MMS", QnsUtils.networkCapabilityToString(NetworkCapabilities.NET_CAPABILITY_MMS)); in testNetworkCapabilityToString()
1262 NetworkCapabilities.NET_CAPABILITY_MMS, in testTransitionBtwApnTypeAndNetCapability()
1288 NetworkCapabilities.NET_CAPABILITY_MMS, in testTransitionBtwApnTypeNameAndNetCapabilityName()
1317 NetworkCapabilities.NET_CAPABILITY_MMS, in testGetNetCapabilitiesFromApnTypesString()
DQnsTelephonyListenerTest.java123 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler, 1, null, false); in testNotifyQnsTelephonyInfo()
132 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler); in testNotifyQnsTelephonyInfo()
151 NetworkCapabilities.NET_CAPABILITY_MMS, mHandler, 1, null, false); in testNotifyQnsTelephonyInfoIms()
DAccessNetworkEvaluatorTest.java683 NetworkCapabilities.NET_CAPABILITY_MMS, in testReportQualifiedNetwork_WithListAndCellularLimtedCaseSet_NonIms()
787 NetworkCapabilities.NET_CAPABILITY_MMS, in testUseDifferentApnOverIwlan()
806 NetworkCapabilities.NET_CAPABILITY_MMS, in testUseDifferentApnOverIwlan()
1609 NetworkCapabilities.NET_CAPABILITY_MMS, in testEvaluationOnCst_MmsRatPreferenceWifiWhenWfcAvailable()
1618 when(mMockQnsConfigManager.getRatPreference(NetworkCapabilities.NET_CAPABILITY_MMS)) in testEvaluationOnCst_MmsRatPreferenceWifiWhenWfcAvailable()
DWifiQualityMonitorTest.java279 mThresholdListener, NetworkCapabilities.NET_CAPABILITY_MMS, mThs3, 0); in testBackhaulTimer()
DCellularQualityMonitorTest.java309 int apn1 = NetworkCapabilities.NET_CAPABILITY_MMS; in testDiffApnDiffThresholdSameMeasurementType()
374 int apn1 = NetworkCapabilities.NET_CAPABILITY_MMS; in testDiffApnSameThresholdSameMeasurementType()
DQnsCallStatusTrackerTest.java202 assertFalse(mCallTracker.isCallIdle(NetworkCapabilities.NET_CAPABILITY_MMS)); in testForEmergencyCallTypeChangedScenarios()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQnsRatPreferenceMismatchInfoTest.java100 mInfoEmpty.setNetCapability(QnsProtoEnums.NET_CAPABILITY_MMS); in testGetSetNetCapability()
104 assertEquals(QnsProtoEnums.NET_CAPABILITY_MMS, mInfoEmpty.getNetCapability()); in testGetSetNetCapability()
204 QnsProtoEnums.NET_CAPABILITY_MMS, 0, 0, mCarrierId, mSlotIndex); in testHashCode()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java29 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
124 (1L << NET_CAPABILITY_MMS) |
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java343 case NetworkCapabilities.NET_CAPABILITY_MMS: in networkCapabilityToString()
430 return NetworkCapabilities.NET_CAPABILITY_MMS; in getNetworkCapabilityFromString()
478 return NetworkCapabilities.NET_CAPABILITY_MMS; in getNetCapabilityFromApnType()
500 case NetworkCapabilities.NET_CAPABILITY_MMS: in getApnTypeFromNetCapability()
526 case NetworkCapabilities.NET_CAPABILITY_MMS: in getNameOfNetCapability()
DQnsCarrierConfigManager.java1970 } else if (netCapability == NetworkCapabilities.NET_CAPABILITY_MMS) { in getQnsSupportedTransportType()
2013 case NetworkCapabilities.NET_CAPABILITY_MMS: in getWwanHysteresisTimer()
2047 case NetworkCapabilities.NET_CAPABILITY_MMS: in getWlanHysteresisTimer()
2425 netCapabilities.add(NetworkCapabilities.NET_CAPABILITY_MMS); in getQnsSupportedNetCapabilities()
2560 case NetworkCapabilities.NET_CAPABILITY_MMS: in getRatPreference()
DRestrictManager.java1553 case NetworkCapabilities.NET_CAPABILITY_MMS: in getGuardingTimeMillis()
DAccessNetworkEvaluator.java1467 if (mNetCapability != NetworkCapabilities.NET_CAPABILITY_MMS in useDifferentApnOverIwlan()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
595 nc1.addCapability(NET_CAPABILITY_MMS); in testEqualsNetCapabilities()
598 nc2.addCapability(NET_CAPABILITY_MMS); in testEqualsNetCapabilities()
1336 .addCapability(NET_CAPABILITY_MMS) in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()
1404 .addCapability(NET_CAPABILITY_MMS) in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
1459 .addCapability(NET_CAPABILITY_MMS) in testDescribeCapsDifferences()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
184 NET_CAPABILITY_MMS, in testNetworkCapabilitiesForTypeMobileMms()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java299 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in MmsNetworkManager()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java428 NET_CAPABILITY_MMS,
473 public static final int NET_CAPABILITY_MMS = 0; field in NetworkCapabilities
2601 case NET_CAPABILITY_MMS: return "MMS"; in capabilityNameOf()
DConnectivityManager.java2201 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in legacyTypeForNetworkCapabilities()
2335 sLegacyTypeToCapability.put(TYPE_MOBILE_MMS, NetworkCapabilities.NET_CAPABILITY_MMS); in sLegacyTypeToCapability.put() argument
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java268 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_MMS, "[MMS]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java110 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS;
3055 net2.addCapability(NET_CAPABILITY_MMS);
3085 mCm.requestNetwork(new NetworkRequest.Builder().addCapability(NET_CAPABILITY_MMS).build(),
4359 tryNetworkFactoryRequests(NET_CAPABILITY_MMS);
4506 mCellAgent.addCapability(NET_CAPABILITY_MMS);
4522 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS);
4528 mCellAgent.addCapability(NET_CAPABILITY_MMS);
4550 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS);
4557 mmsNetworkAgent.addCapability(NET_CAPABILITY_MMS);
15765 .addTransportType(TRANSPORT_CELLULAR).addCapability(NET_CAPABILITY_MMS).build();
[all …]
/packages/modules/Connectivity/framework/api/
Dcurrent.txt338 field public static final int NET_CAPABILITY_MMS = 0; // 0x0
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt677 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_MMS:I