/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 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() 131 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testWifiIconInvalidatedViaCallback() 134 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_WIFI, false, true); in testWifiIconInvalidatedViaCallback() 146 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testWifiIconDisconnectedViaCallback() [all …]
|
D | NetworkControllerSignalTest.java | 235 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testNoBangWithWifi()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 20 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 52 private static final int[] FAKE_TRANSPORT_TYPES = BitUtils.unpackBits(TRANSPORT_WIFI); 74 assertTrue(logger.log(makeExpectedEvent(FAKE_TIME_STAMP, FAKE_NET_ID, TRANSPORT_WIFI, in testLoggingEvents() 81 TRANSPORT_WIFI, null), got.get(2)); in testLoggingEvents() 83 TRANSPORT_WIFI, null), got.get(3)); in testLoggingEvents() 87 TRANSPORT_WIFI, FAKE_INTERFACE_NAME), got.get(5)); in testLoggingEvents() 104 ((i + j) % 2 == 0) ? TRANSPORT_WIFI : TRANSPORT_CELLULAR, in testLoggingEventsWithMultipleCallers() 119 ((i + j) % 2 == 0) ? TRANSPORT_WIFI : TRANSPORT_CELLULAR; in testLoggingEventsWithMultipleCallers()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 64 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 423 mWiFiNetworkAgent = new MockNetworkAgent(TRANSPORT_WIFI); in testWaitForIdle() 443 mWiFiNetworkAgent = new MockNetworkAgent(TRANSPORT_WIFI); in verifyThatNotWaitingForIdleCausesRaceConditions() 534 case TRANSPORT_WIFI: in MockNetworkAgent() 1367 case TRANSPORT_WIFI: in transportToLegacyType() 1389 case TRANSPORT_WIFI: in verifyActiveNetwork() 1456 mWiFiNetworkAgent = new MockNetworkAgent(TRANSPORT_WIFI); in testLingering() 1473 verifyActiveNetwork(TRANSPORT_WIFI); in testLingering() 1483 verifyActiveNetwork(TRANSPORT_WIFI); in testLingering() 1496 mWiFiNetworkAgent = new MockNetworkAgent(TRANSPORT_WIFI); in testValidatedCellularOutscoresUnvalidatedWiFi() [all …]
|
/frameworks/base/tests/net/java/android/net/util/ |
D | KeepaliveUtilsTest.kt | 26 import android.net.NetworkCapabilities.TRANSPORT_WIFI 105 this[TRANSPORT_WIFI] = 6 in testGetSupportedKeepalivesForNetworkCapabilities() 114 nc.transportTypes = intArrayOf(TRANSPORT_WIFI, TRANSPORT_VPN) in testGetSupportedKeepalivesForNetworkCapabilities()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 38 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 147 nc2 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences() 174 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences() 176 .addTransportType(TRANSPORT_WIFI) in testDescribeImmutableDifferences() 486 nc1.addTransportType(TRANSPORT_CELLULAR).addTransportType(TRANSPORT_WIFI); in testSetNetworkSpecifierOnMultiTransportNc() 499 nc2.addTransportType(TRANSPORT_WIFI); in testSetNetworkSpecifierOnMultiTransportNc() 510 nc1.addTransportType(TRANSPORT_CELLULAR).addTransportType(TRANSPORT_WIFI) in testSetTransportInfoOnMultiTransportNc() 516 .addTransportType(TRANSPORT_WIFI); in testSetTransportInfoOnMultiTransportNc() 595 nc.addTransportType(TRANSPORT_WIFI); in testGetTransportTypes() 602 assertEquals(TRANSPORT_WIFI, transportTypes[1]); in testGetTransportTypes()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 21 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 110 if (transportType != TRANSPORT_WIFI) { in getIcon() 181 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification() 186 && transportType == TRANSPORT_WIFI) { in showNotification() 191 transportType == TRANSPORT_WIFI) { in showNotification() 197 case TRANSPORT_WIFI: in showNotification()
|
D | IpConnectivityEventBuilder.java | 25 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 380 TRANSPORT_LINKLAYER_MAP[TRANSPORT_WIFI] = IpConnectivityLogClass.WIFI;
|
D | NetworkAgentInfo.java | 496 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 130 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testDefaultNetworkEvents() 252 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testEndToEndLogging() 331 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testEndToEndLogging()
|
D | VpnTest.java | 30 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 562 .addTransportType(TRANSPORT_WIFI) in testCapabilities() 576 assertFalse(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities() 590 assertFalse(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities() 601 assertTrue(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities() 612 assertTrue(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities() 626 assertTrue(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities()
|
D | NetworkNotificationManagerTest.java | 67 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); 147 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
|
D | LingerMonitorTest.java | 365 return nai(netId, NetworkCapabilities.TRANSPORT_WIFI, in wifiNai()
|
D | NetdEventListenerServiceTest.java | 68 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactoryTest.java | 56 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 126 NetworkCapabilities.TRANSPORT_WIFI)) { in onCreate() 157 NetworkCapabilities.TRANSPORT_WIFI).removeCapability( in onCreate()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 26 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 295 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testSelectPreferredUpstreamType() 388 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testGetCurrentPreferredUpstream() 431 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testLocalPrefixes() 531 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testSelectMobileWhenMobileIsNotDefault()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 210 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in connect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | WifiSignalController.java | 46 super("WifiSignalController", context, NetworkCapabilities.TRANSPORT_WIFI, in WifiSignalController()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 57 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 5 import static android.net.NetworkCapabilities.TRANSPORT_WIFI; 371 .addTransportType(TRANSPORT_WIFI).build()) in testRequiredNetwork()
|
/frameworks/base/core/proto/android/stats/dnsresolver/ |
D | dns_resolver.proto | 164 TRANSPORT_WIFI = 1; enumerator
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 631 TRANSPORT_WIFI, 649 public static final int TRANSPORT_WIFI = 1; field in NetworkCapabilities
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 35 TRANSPORT_WIFI = 1; enumerator
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 91 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI)
|