/frameworks/base/tests/net/java/android/net/ |
D | NetworkCapabilitiesTest.java | 19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS; 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_EIMS; 23 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 24 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS; 25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED; 26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED; 27 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 28 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; [all …]
|
D | ConnectivityManagerTest.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS; 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN; 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOTA; 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_IMS; 23 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 24 import static android.net.NetworkCapabilities.NET_CAPABILITY_MMS; 25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED; 26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 27 import static android.net.NetworkCapabilities.NET_CAPABILITY_SUPL; 28 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED; [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 52 public final class NetworkCapabilities implements Parcelable { class 59 public NetworkCapabilities() { in NetworkCapabilities() method in NetworkCapabilities 64 public NetworkCapabilities(NetworkCapabilities nc) { in NetworkCapabilities() method in NetworkCapabilities 89 public void set(NetworkCapabilities nc) { in set() 374 public NetworkCapabilities addCapability(@NetCapability int capability) { in addCapability() 410 public NetworkCapabilities removeCapability(@NetCapability int capability) { in removeCapability() 424 public NetworkCapabilities setCapability(@NetCapability int capability, boolean value) { in setCapability() 493 private void combineNetCapabilities(NetworkCapabilities nc) { in combineNetCapabilities() 517 private boolean satisfiedByNetCapabilities(NetworkCapabilities nc, boolean onlyImmutable) { in satisfiedByNetCapabilities() 531 public boolean equalsNetCapabilities(NetworkCapabilities nc) { in equalsNetCapabilities() [all …]
|
D | NetworkRequest.java | 20 import android.net.NetworkCapabilities.NetCapability; 21 import android.net.NetworkCapabilities.Transport; 41 public final @NonNull NetworkCapabilities networkCapabilities; 114 public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId, Type type) { in NetworkRequest() 128 networkCapabilities = new NetworkCapabilities(that.networkCapabilities); in NetworkRequest() 139 private final NetworkCapabilities mNetworkCapabilities; 148 mNetworkCapabilities = new NetworkCapabilities(); in Builder() 160 final NetworkCapabilities nc = new NetworkCapabilities(mNetworkCapabilities); in build() 176 public Builder addCapability(@NetworkCapabilities.NetCapability int capability) { in addCapability() 187 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() [all …]
|
D | ConnectivityManager.java | 1137 public NetworkCapabilities[] getDefaultNetworkCapabilitiesForUser(int userId) { in getDefaultNetworkCapabilitiesForUser() 1211 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() 1264 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in startUsingNetworkFeature() 1321 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in stopUsingNetworkFeature() 1334 private NetworkCapabilities networkCapabilitiesForFeature(int networkType, String feature) { in networkCapabilitiesForFeature() 1386 private int inferLegacyTypeForNetworkCapabilities(NetworkCapabilities netCap) { in inferLegacyTypeForNetworkCapabilities() 1391 if (!netCap.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in inferLegacyTypeForNetworkCapabilities() 1396 if (!netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in inferLegacyTypeForNetworkCapabilities() 1406 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in inferLegacyTypeForNetworkCapabilities() 1409 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in inferLegacyTypeForNetworkCapabilities() [all …]
|
D | IConnectivityManager.aidl | 22 import android.net.NetworkCapabilities; 55 NetworkCapabilities[] getDefaultNetworkCapabilitiesForUser(int userId); in getDefaultNetworkCapabilitiesForUser() 63 NetworkCapabilities getNetworkCapabilities(in Network network); in getNetworkCapabilities() 145 in NetworkCapabilities nc, int score, in NetworkMisc misc); in registerNetworkAgent() 147 NetworkRequest requestNetwork(in NetworkCapabilities networkCapabilities, in requestNetwork() 150 NetworkRequest pendingRequestForNetwork(in NetworkCapabilities networkCapabilities, in pendingRequestForNetwork() 155 NetworkRequest listenForNetwork(in NetworkCapabilities networkCapabilities, in listenForNetwork() 158 void pendingListenForNetwork(in NetworkCapabilities networkCapabilities, in pendingListenForNetwork()
|
D | NetworkFactory.java | 104 private NetworkCapabilities mCapabilityFilter; 110 NetworkCapabilities filter) { in NetworkFactory() 149 handleSetFilter((NetworkCapabilities) msg.obj); in handleMessage() 202 private void handleSetFilter(NetworkCapabilities netCap) { in handleSetFilter() 294 public void setCapabilityFilter(NetworkCapabilities netCap) { in setCapabilityFilter() 295 sendMessage(obtainMessage(CMD_SET_FILTER, new NetworkCapabilities(netCap))); in setCapabilityFilter()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcRequest.java | 30 import android.net.NetworkCapabilities; 71 NetworkCapabilities nc = nr.networkCapabilities; in apnIdForNetworkRequest() 74 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest() 83 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest() 87 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in apnIdForNetworkRequest() 91 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in apnIdForNetworkRequest() 95 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest() 99 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in apnIdForNetworkRequest() 103 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in apnIdForNetworkRequest() 107 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in apnIdForNetworkRequest() [all …]
|
D | TelephonyNetworkFactory.java | 22 import android.net.NetworkCapabilities; 100 private NetworkCapabilities makeNetworkFilter(SubscriptionController subscriptionController, in makeNetworkFilter() 106 private NetworkCapabilities makeNetworkFilter(int subscriptionId) { in makeNetworkFilter() 107 NetworkCapabilities nc = new NetworkCapabilities(); in makeNetworkFilter() 108 nc.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeNetworkFilter() 109 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in makeNetworkFilter() 110 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in makeNetworkFilter() 111 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter() 112 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_FOTA); in makeNetworkFilter() 113 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_IMS); in makeNetworkFilter() [all …]
|
D | ApnContext.java | 21 import android.net.NetworkCapabilities; 458 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasNoRestrictedRequests() 462 NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) == false) { in hasNoRestrictedRequests() 569 NetworkCapabilities nc = nr.networkCapabilities; in apnIdForNetworkRequest() 572 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest() 581 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest() 584 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in apnIdForNetworkRequest() 588 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in apnIdForNetworkRequest() 592 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest() 596 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in apnIdForNetworkRequest() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 4 import android.net.NetworkCapabilities; 47 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testWifiIcon() 49 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, false, true); in testWifiIcon() 68 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testQsWifiIcon() 71 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, false, true); in testQsWifiIcon() 85 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testQsDataDirection() 110 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testRoamingIconDuringWifi() 116 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testRoamingIconDuringWifi() 117 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_CELLULAR, false, false); in testRoamingIconDuringWifi() 131 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testWifiIconInvalidatedViaCallback() [all …]
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 27 import android.net.NetworkCapabilities; 71 private final ConcurrentHashMap<String, NetworkCapabilities> mNetworkCapabilities = 106 NetworkCapabilities nc = createNetworkCapabilities(true /* clear default capabilities */); in EthernetTracker() 158 final NetworkCapabilities nc = mNetworkCapabilities.get(iface); in isRestrictedInterface() 159 return nc != null && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestrictedInterface() 193 NetworkCapabilities nc = mNetworkCapabilities.get(iface); in addInterface() 301 NetworkCapabilities nc = createNetworkCapabilities( in parseEthernetConfig() 311 private static NetworkCapabilities createDefaultNetworkCapabilities() { in createDefaultNetworkCapabilities() 312 NetworkCapabilities nc = createNetworkCapabilities(false /* clear default capabilities */); in createDefaultNetworkCapabilities() 313 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in createDefaultNetworkCapabilities() [all …]
|
D | EthernetNetworkFactory.java | 27 import android.net.NetworkCapabilities; 63 public EthernetNetworkFactory(Handler handler, Context context, NetworkCapabilities filter) { in EthernetNetworkFactory() 124 void addInterface(String ifaceName, String hwAddress, NetworkCapabilities capabilities, in addInterface() 144 NetworkCapabilities capabilitiesFilter = new NetworkCapabilities(); in updateCapabilityFilter() 223 private final NetworkCapabilities mCapabilities; 257 NetworkCapabilities capabilities) { in NetworkInterfaceState() 274 boolean statisified(NetworkCapabilities requestedCapabilities) { in statisified() 279 return mCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestricted()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED; 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED; 28 import android.net.NetworkCapabilities; 113 NetworkCapabilities capabilities, Constants constants) { in isInsane() 122 final long slowest = NetworkCapabilities.minBandwidth( in isInsane() 144 NetworkCapabilities capabilities, Constants constants) { in isCongestionDelayed() 156 NetworkCapabilities capabilities, Constants constants) { in isStrictSatisfied() 163 NetworkCapabilities capabilities, Constants constants) { in isRelaxedSatisfied() 170 final NetworkCapabilities relaxed = new NetworkCapabilities( in isRelaxedSatisfied() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 27 import android.net.NetworkCapabilities; 135 NetworkCapabilities netCap = new NetworkCapabilities(); in PhoneSwitcher() 136 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in PhoneSwitcher() 137 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in PhoneSwitcher() 138 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in PhoneSwitcher() 139 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in PhoneSwitcher() 140 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_FOTA); in PhoneSwitcher() 141 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_IMS); in PhoneSwitcher() 142 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in PhoneSwitcher() 143 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_IA); in PhoneSwitcher() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED; 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED; 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 42 import android.net.NetworkCapabilities; 140 final NetworkCapabilities caps = createCapabilities() in testCongestion() 149 final NetworkCapabilities caps = createCapabilities(); in testCongestion() 171 final NetworkCapabilities caps = createCapabilities() in testRelaxed() 183 final NetworkCapabilities caps = createCapabilities() in testRelaxed() 201 final NetworkCapabilities meteredCaps = createCapabilities(); in testUpdates() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 35 import android.net.NetworkCapabilities; 61 static final NetworkCapabilities CELL_CAPABILITIES = new NetworkCapabilities(); 62 static final NetworkCapabilities WIFI_CAPABILITIES = new NetworkCapabilities(); 64 CELL_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); 65 CELL_CAPABILITIES.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); 67 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); 68 WIFI_CAPABILITIES.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); 146 mWifiNai.networkCapabilities = new NetworkCapabilities(); in testNotificationsNotShownIfNoInternetCapability() 147 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
|
D | IpConnectivityMetricsTest.java | 39 import android.net.NetworkCapabilities; 178 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testDefaultNetworkEvents() 179 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testDefaultNetworkEvents() 299 NetworkCapabilities ncWifi = new NetworkCapabilities(); in testEndToEndLogging() 300 NetworkCapabilities ncCell = new NetworkCapabilities(); in testEndToEndLogging() 301 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging() 302 ncCell.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in testEndToEndLogging() 374 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testEndToEndLogging() 375 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testEndToEndLogging() 634 nai.networkCapabilities = new NetworkCapabilities(); in makeNai()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 21 import android.net.NetworkCapabilities; 124 NetworkCapabilities netCap = (new NetworkCapabilities()). in makeSubSpecificDefaultRequest() 125 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest() 126 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest() 127 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest() 132 NetworkCapabilities netCap = (new NetworkCapabilities()). in makeSubSpecificMmsRequest() 133 addCapability(NetworkCapabilities.NET_CAPABILITY_MMS). in makeSubSpecificMmsRequest() 134 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest() 135 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 13 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 14 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 20 import android.net.NetworkCapabilities; 55 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 56 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build(); 61 Network network, NetworkCapabilities networkCapabilities) { 148 final NetworkCapabilities networkCapabilities in updateStatusLabel()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 28 import android.net.NetworkCapabilities; 56 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob() 57 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in onStartJob() 58 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in onStartJob()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 23 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED; 24 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 25 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR; 44 import android.net.NetworkCapabilities; 196 private NetworkCapabilities mNetworkCapabilities; 198 public MultipathTracker(Network network, NetworkCapabilities nc) { in MultipathTracker() 200 this.mNetworkCapabilities = new NetworkCapabilities(nc); in MultipathTracker() 237 public void setNetworkCapabilities(NetworkCapabilities nc) { in setNetworkCapabilities() 238 mNetworkCapabilities = new NetworkCapabilities(nc); in setNetworkCapabilities() [all …]
|
D | NetworkAgentInfo.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 24 import android.net.NetworkCapabilities; 128 public NetworkCapabilities networkCapabilities; 249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, in NetworkAgentInfo() 420 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN() 449 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty() 450 networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in ignoreWifiUnvalidationPenalty() 478 new NetworkCapabilities(networkCapabilities), network, subscriberId, null); in getNetworkState()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/ |
D | NetworkStateTracker.java | 25 import android.net.NetworkCapabilities; 121 NetworkCapabilities capabilities = mConnectivityManager.getNetworkCapabilities(network); in isActiveNetworkValidated() 123 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in isActiveNetworkValidated() 129 public void onCapabilitiesChanged(Network network, NetworkCapabilities capabilities) { in onCapabilitiesChanged()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 21 import android.net.NetworkCapabilities; 155 NetworkCapabilities netCap = (new NetworkCapabilities()). in makeSubSpecificDefaultRequest() 156 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest() 157 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest() 158 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificDefaultRequest() 164 NetworkCapabilities netCap = (new NetworkCapabilities()). in makeSubSpecificMmsRequest() 165 addCapability(NetworkCapabilities.NET_CAPABILITY_MMS). in makeSubSpecificMmsRequest() 166 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest() 167 addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in makeSubSpecificMmsRequest()
|