/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 125 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifi() 149 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP() 173 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP() 197 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDisconnectWifi() 261 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionOverAMWithWifi() 282 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionWithWifiToAMToWifi() 297 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDataConnectionWithWifiToAMToWifi() 314 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testWifiStateChange()
|
/frameworks/base/core/java/android/net/ |
D | NetworkKey.java | 54 public static final int TYPE_WIFI = 1; field in NetworkKey 59 TYPE_WIFI 136 this.type = TYPE_WIFI; in NetworkKey() 143 case TYPE_WIFI: in NetworkKey() 160 case TYPE_WIFI: in writeToParcel() 187 case TYPE_WIFI: in toString()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceListAdapter.java | 45 private static final int TYPE_WIFI = 0; field in DeviceListAdapter 62 if (viewType == TYPE_WIFI) { in onCreateViewHolder() 85 return isWifiDevice(position) ? TYPE_WIFI : TYPE_BT; in getItemViewType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 308 mNetworkScoreService.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in testUpdateScores_oneRegisteredCache() 323 mNetworkScoreService.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in testUpdateScores_twoRegisteredCaches() 326 NetworkKey.TYPE_WIFI, mNetworkScoreCache2, SCORE_FILTER_NONE); in testUpdateScores_twoRegisteredCaches() 335 NetworkKey.TYPE_WIFI, mNetworkScoreCache2); in testUpdateScores_twoRegisteredCaches() 343 NetworkKey.TYPE_WIFI, mNetworkScoreCache); in testUpdateScores_twoRegisteredCaches() 380 mNetworkScoreService.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, mNetworkScoreCache, in testClearScores_activeScorer() 394 mNetworkScoreService.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, mNetworkScoreCache, in testClearScores_notActiveScorer_hasRequestNetworkScoresPermission() 475 NetworkKey.TYPE_WIFI, mNetworkScoreCache, SCORE_FILTER_NONE); in testRegisterNetworkScoreCache_noRequestNetworkScoresPermission() 489 NetworkKey.TYPE_WIFI, mNetworkScoreCache); in testUnregisterNetworkScoreCache_noRequestNetworkScoresPermission() 601 new ArrayList<>(scoredNetworkList), NetworkKey.TYPE_WIFI, in testCacheUpdatingConsumer_nullFilter() [all …]
|
/frameworks/base/core/java/android/os/ |
D | CoolingDevice.java | 59 TYPE_WIFI, 92 public static final int TYPE_WIFI = CoolingType.WIFI; field in CoolingDevice
|
D | Temperature.java | 83 TYPE_WIFI, 110 public static final int TYPE_WIFI = TemperatureType.WIFI; field in Temperature
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 111 ConnectivityManager.TYPE_WIFI, in setActive() 112 ConnectivityManager.TYPE_WIFI, in setActive()
|
D | WifiStatusTracker.java | 209 mNetworkScoreManager.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening() 216 mNetworkScoreManager.unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening() 234 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in fetchInitialState()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 422 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in createTrackerWithScanResultsAndAccessPoint1Connected() 443 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in switchToNetwork2() 479 .unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, scoreCache); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() 486 .unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, scoreCache); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() 701 verify(mockNetworkScoreManager).unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, cache); in scoreCacheAndListenerShouldBeUnregisteredWhenStopTrackingIsCalled() 772 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in onStartShouldSynchronouslyFetchLatestInformation() 798 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults() 948 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in onConnectedChangedCallback_shouldNotBeInvokedWhenNoStateChange() 964 ConnectivityManager.TYPE_WIFI, 0, "Type Wifi", "subtype"); in onConnectedChangedCallback_shouldBeInvokedWhenStateChanges()
|
D | AccessPointTest.java | 318 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE"); 334 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE"); 367 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE"); 541 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 718 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 744 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 769 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 795 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 821 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); 858 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", ""); [all …]
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags() 299 && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 217 assertTrue("wifi not connected", waitForNetworkState(ConnectivityManager.TYPE_WIFI, in testWifiReconnectionAfterSleep() 278 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/ |
D | WifiDebuggingSecondaryUserActivity.java | 77 if (networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
|
D | WifiDebuggingActivity.java | 148 if (networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 254 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi() 484 waitForNetworkState(ConnectivityManager.TYPE_WIFI, in connectToWifi()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 50 wifiInfo.type = Display.TYPE_WIFI; in setUpOnce()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 24 import static android.view.Display.TYPE_WIFI; 266 return TYPE_WIFI; in getType()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerWifiTest.java | 231 Mockito.verify(mMockCm).getNetworkInfo(ConnectivityManager.TYPE_WIFI); in testFetchInitialData() 241 when(mMockCm.getNetworkInfo(ConnectivityManager.TYPE_WIFI)).thenReturn(networkInfo); in testFetchInitialData_correctValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotExecutor.kt | 290 Display.TYPE_WIFI in handleScreenshot()
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 124 public static final int TYPE_WIFI = 1; field in ConnectivityManager 185 public static final int DEFAULT_NETWORK_PREFERENCE = TYPE_WIFI;
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 225 if (networkKey.type == NetworkKey.TYPE_WIFI) { in buildNetworkKey()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppStateHelper.java | 233 return hasActiveNetwork(packageNames, ConnectivityManager.TYPE_WIFI) in hasActiveNetwork()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | TakeScreenshotExecutorTest.kt | 12 import android.view.Display.TYPE_WIFI in <lambda>() 160 display(TYPE_WIFI, id = 3) in <lambda>()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 288 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 106 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()
|