Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java139 final int wifiState = mWiFiManager.getWifiState(); in onStart() local
143 switch (wifiState) { in onStart()
157 switch (wifiState) { in onStart()
173 switch (wifiState) { in onStart()
191 switch (wifiState) { in onStart()
DWifiStatusTest.java233 private void setWifiStateText(int wifiState) { in setWifiStateText() argument
235 switch(wifiState) { in setWifiStateText()
264 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument
265 setWifiStateText(wifiState); in handleWifiStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DWifiQCUtils.java40 int wifiState = wifiManager.getWifiState(); in getSubtitle() local
41 int stringId = WifiUtil.getStateDesc(wifiState); in getSubtitle()
45 if (wifiState == WifiManager.WIFI_STATE_ENABLED) { in getSubtitle()
DWifiTile.java55 int wifiState = mWifiManager.getWifiState(); in getQCItem() local
56 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
57 || wifiState == WifiManager.WIFI_STATE_ENABLING; in getQCItem()
DWifiRow.java60 int wifiState = mWifiManager.getWifiState(); in getQCItem() local
61 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
62 || wifiState == WifiManager.WIFI_STATE_ENABLING; in getQCItem()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/repository/
DWifiRepositoryTest.kt44 val wifiState = repository.wifiStateFlow().firstWithTimeoutOrNull() in <lambda>() constant
46 assertThat(wifiState).isEqualTo(WifiManager.WIFI_STATE_ENABLED) in <lambda>()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java130 final int wifiState = mCarWifiManager.getWifiState(); in onStart() local
134 switch (wifiState) { in onStart()
150 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.java1678 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
/packages/apps/Settings/src/com/android/settings/network/
DInternetPreferenceRepository.kt116 ) { airplaneModeOn: Boolean, wifiState: Int -> in <lambda>() method
117 if (airplaneModeOn && wifiState != WifiManager.WIFI_STATE_ENABLED) { in <lambda>()
DNetworkProviderSettings.java832 final int wifiState = mWifiPickerTracker.getWifiState(); in onWifiStateChanged() local
835 Log.i(TAG, "onWifiStateChanged called with wifi state: " + wifiState); in onWifiStateChanged()
848 switch (wifiState) { in onWifiStateChanged()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java149 int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 0);
151 && wifiState == WifiManager.WIFI_STATE_ENABLED) {
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsEventDispatcher.java197 int wifiState =
201 if (wifiState != sWiFiState) {
202 sWiFiState = wifiState;
203 if (wifiState == WifiManager.WIFI_STATE_DISABLING) {
205 } else if (wifiState == WifiManager.WIFI_STATE_ENABLED) {
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanEventListener.java295 int wifiState = in onBroadcastReceived() local
298 if (wifiState == WifiManager.WIFI_STATE_DISABLED) { in onBroadcastReceived()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java2784 public void reportWifiStateChanged(boolean wifiState, boolean wifiWakeState, in reportWifiStateChanged() argument
2786 WifiStatsLog.write(WifiStatsLog.WIFI_STATE_CHANGED, wifiState, wifiWakeState, in reportWifiStateChanged()
5365 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
6067 public void setWifiState(String ifaceName, int wifiState) { in setWifiState() argument
6069 mWifiState = wifiState; in setWifiState()
6071 if (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED) { in setWifiState()
6075 if (isPrimary(ifaceName) && (wifiState == WifiMetricsProto.WifiLog.WIFI_DISCONNECTED in setWifiState()
6076 || wifiState == WifiMetricsProto.WifiLog.WIFI_DISABLED)) { in setWifiState()