/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/ |
D | UnattendedRebootManagerTest.java | 176 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot() 198 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_requiresCharging_notCharging() 235 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_doesNotRequireCharging_notCharging() 262 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_requiresCharging_flagNotEnabled() 289 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_noPinLock() 310 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_noPreparation() 330 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_simPinPreparationFailed() 405 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in scheduleReboot_elapsedRealtimeLessThanFrequency() 441 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in tryRebootOrSchedule_outsideRebootWindow()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 124 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in testWaitForValidated_NetworkChange() 137 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in testWaitForValidated_NetworkChange() 154 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in testWaitForValidated_NoCallbackOnCapabilitiesChange() 180 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in testWaitForValidated_ToggleBlocked()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/grpc/impl/ |
D | DeviceCheckinClientImplTest.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 247 NET_CAPABILITY_VALIDATED); in getCheckInStatus_noDefaultConnectivity_fallsBackToNonVpn() 315 NET_CAPABILITY_VALIDATED); in getCheckInStatus_lostNonVpnConnection_isNotSuccessful() 369 NET_CAPABILITY_VALIDATED); in isDeviceInApprovedCountry_noDefaultConnectivity_fallsBackToNonVpn() 436 NET_CAPABILITY_VALIDATED); in isDeviceInApprovedCountry_lostNonVpnConnection_isNotSuccessful() 490 NET_CAPABILITY_VALIDATED); in pauseProvisioning_noDefaultConnectivity_fallsBackToNonVpn() 559 NET_CAPABILITY_VALIDATED); in pauseProvisioning_lostNonVpnConnection_isNotSuccessful() 615 NET_CAPABILITY_VALIDATED); in reportProvisioningState_noDefaultConnectivity_fallsBackToNonVpn() 686 NET_CAPABILITY_VALIDATED); in reportProvisioningState_lostNonVpnConnection_isNotSuccessful() 731 NET_CAPABILITY_VALIDATED); in cleanUp_shutsDownChannels()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | InternetPreferenceRepositoryTest.kt | 68 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in <lambda>() 97 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in <lambda>() 122 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in <lambda>() 146 .addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in <lambda>()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | FullScore.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 173 caps.hasCapability(NET_CAPABILITY_VALIDATED), in fromNetworkScore() 247 caps.hasCapability(NET_CAPABILITY_VALIDATED), in mixInScore()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConnectUtil.kt | 27 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 78 it.caps.hasCapability(NET_CAPABILITY_VALIDATED) in ensureWifiConnected() 112 (!requireValidated || it.caps.hasCapability(NET_CAPABILITY_VALIDATED)) in ensureWifiConnected()
|
D | TestableNetworkCallback.kt | 24 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 523 validated == null || validated == it.caps.hasCapability(NET_CAPABILITY_VALIDATED) in expectAvailableCallbacks() 555 expectCaps(net, tmt) { it.hasCapability(NET_CAPABILITY_VALIDATED) } in expectAvailableThenValidatedCallbacks() 570 expectCaps(net, tmt) { it.hasCapability(NET_CAPABILITY_VALIDATED) } in expectAvailableThenValidatedCallbacks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiNoInternetDialogTest.java | 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 216 when(mNetworkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)).thenReturn(true); in networkCallbackOnCapabilitiesChanged_shouldFinish() 230 when(mNetworkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)).thenReturn(true); in networkCallbackOnCapabilitiesChanged_shouldNotFinishIfNetworkIsNotTheSame()
|
/packages/modules/Connectivity/tests/cts/multidevices/snippet/ |
D | ConnectivityMultiDevicesSnippet.kt | 24 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 127 ssidFromCaps == ssid && it.caps.hasCapability(NET_CAPABILITY_VALIDATED) in connectToWifi()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiNoInternetDialog.java | 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 103 if (mNetwork.equals(network) && nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in onCreate()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiPseudonymManager.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 123 && networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { 497 && nc.hasCapability(NET_CAPABILITY_VALIDATED); in isNetworkConnected()
|
/packages/modules/ExtServices/java/src/android/ext/services/watchdog/ |
D | NetworkChecker.java | 86 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) { in onCapabilitiesChanged()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | CaptivePortalTest.kt | 31 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 161 it is CapabilitiesChanged && it.caps.hasCapability(NET_CAPABILITY_VALIDATED) in testCaptivePortalIsNotDefaultNetwork()
|
D | Ikev2VpnTest.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 565 && !c.hasCapability(NET_CAPABILITY_VALIDATED) in checkStartStopVpnProfileBuildsNetworks() 582 .hasCapability(NET_CAPABILITY_VALIDATED)); in checkStartStopVpnProfileBuildsNetworks()
|
D | NetworkAgentTest.kt | 50 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED in <lambda>() 852 it.allowedUids.isEmpty() && !it.hasCapability(NET_CAPABILITY_VALIDATED) in testRejectedUpdates() 857 it.allowedUids.isEmpty() && it.hasCapability(NET_CAPABILITY_VALIDATED) in testRejectedUpdates() 1645 testCallback.expectCaps(wifiNetwork) { it.hasCapability(NET_CAPABILITY_VALIDATED) } in testUnregisterAfterReplacement() 1648 matchAllCallback.expectCaps(wifiNetwork) { it.hasCapability(NET_CAPABILITY_VALIDATED) } in testUnregisterAfterReplacement() 1768 it.hasCapability(NET_CAPABILITY_VALIDATED) in doTestNativeNetworkCreation() 1771 it.hasCapability(NET_CAPABILITY_VALIDATED) in doTestNativeNetworkCreation()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitor.java | 114 NetworkCapabilities.NET_CAPABILITY_VALIDATED);
|
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/ |
D | ConnectivitySampleMetricsTest.kt | 14 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED in <lambda>() 84 hasCapability(NET_CAPABILITY_VALIDATED) -> ValidatedState.VS_VALID
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 34 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 290 NET_CAPABILITY_VALIDATED,
|
D | NetworkCapabilities.java | 444 NET_CAPABILITY_VALIDATED, 573 public static final int NET_CAPABILITY_VALIDATED = 16; field in NetworkCapabilities 780 (1L << NET_CAPABILITY_VALIDATED) | 829 (1L << NET_CAPABILITY_VALIDATED) | 2617 case NET_CAPABILITY_VALIDATED: return "VALIDATED"; in capabilityNameOf()
|
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/rkpd/vm_attestation/testapp/ |
D | RkpdVmAttestationTest.java | 137 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in isNetworkConnected()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetPreferenceRepository.kt | 70 hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED) in <lambda>()
|
D | InternetUpdater.java | 234 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) { in updateInternetAvailable()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 126 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED; 1242 if (networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in connect() 2992 NET_CAPABILITY_VALIDATED)); 3000 NET_CAPABILITY_VALIDATED)); 3008 NET_CAPABILITY_VALIDATED)); 3064 generalCb.expectCaps(net2, c -> c.hasCapability(NET_CAPABILITY_VALIDATED)); 3236 NET_CAPABILITY_VALIDATED)); 3241 NET_CAPABILITY_VALIDATED)); 3246 NET_CAPABILITY_VALIDATED)); 3251 NET_CAPABILITY_VALIDATED)); [all …]
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 34 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 368 !it.hasCapability(NET_CAPABILITY_VALIDATED) in testCapportApi()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 36 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED 139 .addCapability(NET_CAPABILITY_VALIDATED)
|