/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | NetworkMonitorUtils.java | 23 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/ |
D | NetworkProviderTest.kt | 22 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>()
|
D | NetworkCapabilitiesTest.java | 36 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/ |
D | ConnectivityManagerTest.java | 29 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/ |
D | TestNetworkUtils.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED; 73 .removeCapability(NET_CAPABILITY_TRUSTED) in setupAndGetTestNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactory.java | 50 if (!networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)) { in needNetworkFor() 59 if (!networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)) { in releaseNetworkFor()
|
D | WifiShellCommand.java | 22 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/ |
D | OsuNetworkConnectionTest.java | 19 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/ |
D | OsuNetworkConnection.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED; 214 .removeCapability(NET_CAPABILITY_TRUSTED) in connect()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 247 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()
|
D | NetworkRequest.java | 32 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED; 198 NET_CAPABILITY_TRUSTED,
|
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/ |
D | OsuLoginActivity.java | 19 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/ |
D | NetworkValidationTest.kt | 27 import android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED 98 .removeCapability(NET_CAPABILITY_TRUSTED)
|
D | ConnectivityDiagnosticsManagerTest.java | 36 import static android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED; 120 .removeCapability(NET_CAPABILITY_TRUSTED)
|
D | NetworkScoreTest.kt | 115 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>()
|
D | NetworkAgentTest.kt | 44 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()
|
D | ConnectivityManagerTest.java | 692 .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/ |
D | UntrustedWifiNetworkFactoryTest.java | 57 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
|
D | WifiShellCommandTest.java | 21 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/ |
D | ConnectivityManagerShimImpl.java | 85 .addCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in registerSystemDefaultNetworkCallback()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 62 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 90 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 281 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_TRUSTED, "[TRUSTED]"); in sCapabilityNames.put() argument
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 327 field public static final int NET_CAPABILITY_TRUSTED = 14; // 0xe
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 141 .addCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in makeNetworkCapabilitiesFilter()
|