Home
last modified time | relevance | path

Searched refs:TYPE_WIFI (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java125 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/
DNetworkKey.java54 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/
DDeviceListAdapter.java45 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/
DNetworkScoreServiceTest.java308 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/
DCoolingDevice.java59 TYPE_WIFI,
92 public static final int TYPE_WIFI = CoolingType.WIFI; field in CoolingDevice
DTemperature.java83 TYPE_WIFI,
110 public static final int TYPE_WIFI = TemperatureType.WIFI; field in Temperature
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java111 ConnectivityManager.TYPE_WIFI, in setActive()
112 ConnectivityManager.TYPE_WIFI, in setActive()
DWifiStatusTracker.java209 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/
DWifiTrackerTest.java422 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()
DAccessPointTest.java318 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/
DNetworkActivity.java134 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/
DWifiStressTest.java217 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/
DWifiDebuggingSecondaryUserActivity.java77 if (networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
DWifiDebuggingActivity.java148 if (networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java254 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/
DMediaRouteInfoTest.java50 wifiInfo.type = Display.TYPE_WIFI; in setUpOnce()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java24 import static android.view.Display.TYPE_WIFI;
266 return TYPE_WIFI; in getType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerWifiTest.java231 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/
DTakeScreenshotExecutor.kt290 Display.TYPE_WIFI in handleScreenshot()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java124 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/
DWifiNetworkScoreCache.java225 if (networkKey.type == NetworkKey.TYPE_WIFI) { in buildNetworkKey()
/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java233 return hasActiveNetwork(packageNames, ConnectivityManager.TYPE_WIFI) in hasActiveNetwork()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotExecutorTest.kt12 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/
DBandwidthTest.java288 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, in setDeviceWifiAndAirplaneMode()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java106 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getWiFiIsOn()

12