Home
last modified time | relevance | path

Searched refs:wifiState (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java146 final int wifiState = mWiFiManager.getWifiState(); in onStart() local
150 switch (wifiState) { in onStart()
164 switch (wifiState) { in onStart()
180 switch (wifiState) { in onStart()
198 switch (wifiState) { in onStart()
DWifiStatusTest.java231 private void setWifiStateText(int wifiState) { in setWifiStateText() argument
233 switch(wifiState) { in setWifiStateText()
262 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument
263 setWifiStateText(wifiState); in handleWifiStateChanged()
DWifiSettings.java651 final int wifiState = mWifiPickerTracker.getWifiState(); in onWifiStateChanged() local
654 Log.i(TAG, "onWifiStateChanged called with wifi state: " + wifiState); in onWifiStateChanged()
657 switch (wifiState) { in onWifiStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java138 final int wifiState = mCarWifiManager.getWifiState(); in onStart() local
142 switch (wifiState) { in onStart()
158 switch (wifiState) { in onStart()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java100 public static void setWifiState(int wifiState) { in setWifiState() argument
101 sWifiState = wifiState; in setWifiState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java70 Context context, int wifiState) { in sendWifiStateChanged() argument
72 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
DWifiMetricsTest.java1627 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java146 int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 0);
148 && wifiState == WifiManager.WIFI_STATE_ENABLED) {
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanEventListener.java237 int wifiState = in onBroadcastReceived() local
240 if (wifiState == WifiManager.WIFI_STATE_DISABLED) { in onBroadcastReceived()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java707 final int wifiState = mWifiPickerTracker.getWifiState(); in onWifiStateChanged() local
710 Log.i(TAG, "onWifiStateChanged called with wifi state: " + wifiState); in onWifiStateChanged()
713 switch (wifiState) { in onWifiStateChanged()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java959 final NetworkStateSnapshot wifiState = buildWifiState();
960 wifiState.getLinkProperties().addStackedLink(stackedProp);
961 NetworkStateSnapshot[] states = new NetworkStateSnapshot[] {wifiState};
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4615 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
5320 public void setWifiState(String ifaceName, int wifiState) { in setWifiState() argument
5322 mWifiState = wifiState; in setWifiState()
5324 if (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED) { in setWifiState()
5328 if (isPrimary(ifaceName) && (wifiState == WifiMetricsProto.WifiLog.WIFI_DISCONNECTED in setWifiState()
5329 || wifiState == WifiMetricsProto.WifiLog.WIFI_DISABLED)) { in setWifiState()