Home
last modified time | relevance | path

Searched refs:TRANSPORT_WIFI (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java47 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 …]
DNetworkControllerSignalTest.java235 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_WIFI, true, true); in testNoBangWithWifi()
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java20 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/
DConnectivityServiceTest.java64 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/
DKeepaliveUtilsTest.kt26 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/
DNetworkCapabilitiesTest.java38 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/
DNetworkNotificationManager.java21 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()
DIpConnectivityEventBuilder.java25 import static android.net.NetworkCapabilities.TRANSPORT_WIFI;
380 TRANSPORT_LINKLAYER_MAP[TRANSPORT_WIFI] = IpConnectivityLogClass.WIFI;
DNetworkAgentInfo.java496 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java130 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()
DVpnTest.java30 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()
DNetworkNotificationManagerTest.java67 WIFI_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
147 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
DLingerMonitorTest.java365 return nai(netId, NetworkCapabilities.TRANSPORT_WIFI, in wifiNai()
DNetdEventListenerServiceTest.java68 ncWifi.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DUntrustedWifiNetworkFactoryTest.java56 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in setUp()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java126 NetworkCapabilities.TRANSPORT_WIFI)) { in onCreate()
157 NetworkCapabilities.TRANSPORT_WIFI).removeCapability( in onCreate()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java26 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/
DOsuNetworkConnection.java210 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java46 super("WifiSignalController", context, NetworkCapabilities.TRANSPORT_WIFI, in WifiSignalController()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java57 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI).build();
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java5 import static android.net.NetworkCapabilities.TRANSPORT_WIFI;
371 .addTransportType(TRANSPORT_WIFI).build()) in testRequiredNetwork()
/frameworks/base/core/proto/android/stats/dnsresolver/
Ddns_resolver.proto164 TRANSPORT_WIFI = 1; enumerator
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java631 TRANSPORT_WIFI,
649 public static final int TRANSPORT_WIFI = 1; field in NetworkCapabilities
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto35 TRANSPORT_WIFI = 1; enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java91 .addTransportType(NetworkCapabilities.TRANSPORT_WIFI)

12