Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DNetworkMonitorUtils.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
73 && nc.hasCapability(NET_CAPABILITY_TRUSTED); in isPrivateDnsValidationRequired()
75 && nc.hasCapability(NET_CAPABILITY_TRUSTED); in isPrivateDnsValidationRequired()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt22 import android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED in <lambda>()
144 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>()
158 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>()
261 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>()
283 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>()
308 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>()
DNetworkCapabilitiesTest.java36 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
1165 assertFalse(nc.hasCapability(NET_CAPABILITY_TRUSTED)); in testBuilderWithoutDefaultCap()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java29 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
114 NET_CAPABILITY_TRUSTED); in verifyUnrestrictedNetworkCapabilities()
123 NET_CAPABILITY_TRUSTED); in verifyRestrictedMobileNetworkCapabilities()
172 NET_CAPABILITY_TRUSTED); in testNetworkCapabilitiesForTypeMobileMms()
184 NET_CAPABILITY_TRUSTED); in testNetworkCapabilitiesForTypeMobileSupl()
201 NET_CAPABILITY_TRUSTED, NET_CAPABILITY_WIFI_P2P); in testNetworkCapabilitiesForTypeWifiP2p()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
73 .removeCapability(NET_CAPABILITY_TRUSTED) in setupAndGetTestNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DUntrustedWifiNetworkFactory.java50 if (!networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)) { in needNetworkFor()
59 if (!networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)) { in releaseNetworkFor()
DWifiShellCommand.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
717 networkRequestBuilder.removeCapability(NET_CAPABILITY_TRUSTED); in onCommand()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
317 assertFalse(networkRequestCaptor.getValue().hasCapability(NET_CAPABILITY_TRUSTED)); in verifyWifiConfigurationForOsuNetwork()
350 assertFalse(networkRequestCaptor.getValue().hasCapability(NET_CAPABILITY_TRUSTED)); in verifyWifiConfigurationForOsenOsuNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
214 .removeCapability(NET_CAPABILITY_TRUSTED) in connect()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java247 NET_CAPABILITY_TRUSTED,
360 public static final int NET_CAPABILITY_TRUSTED = 14; field in NetworkCapabilities
514 (1 << NET_CAPABILITY_TRUSTED)
540 & ~(1 << NET_CAPABILITY_TRUSTED)
548 | (1 << NET_CAPABILITY_TRUSTED)
2122 case NET_CAPABILITY_TRUSTED: return "TRUSTED"; in capabilityNameOf()
DNetworkRequest.java32 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
198 NET_CAPABILITY_TRUSTED,
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
156 NET_CAPABILITY_TRUSTED).build(), in onCreate()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt27 import android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED
98 .removeCapability(NET_CAPABILITY_TRUSTED)
DConnectivityDiagnosticsManagerTest.java36 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
120 .removeCapability(NET_CAPABILITY_TRUSTED)
DNetworkScoreTest.kt115 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>()
DNetworkAgentTest.kt44 import android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED in <lambda>()
405 removeCapability(NET_CAPABILITY_TRUSTED) in createNetworkAgent()
658 .removeCapability(NET_CAPABILITY_TRUSTED) // TODO: add to VPN! in testSetUnderlyingNetworksAndVpnSpecifier()
DConnectivityManagerTest.java692 .addCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in makeDefaultRequest()
2037 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
2909 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DUntrustedWifiNetworkFactoryTest.java57 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
DWifiShellCommandTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED;
584 && (!nR.hasCapability(NET_CAPABILITY_TRUSTED)); in testAddSuggestionWithUntrusted()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConnectivityManagerShimImpl.java85 .addCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in registerSystemDefaultNetworkCallback()
/packages/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java62 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java90 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java281 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_TRUSTED, "[TRUSTED]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/framework/api/
Dcurrent.txt327 field public static final int NET_CAPABILITY_TRUSTED = 14; // 0xe
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java141 .addCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in makeNetworkCapabilitiesFilter()

12