/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 139 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()
|
D | WifiStatusTest.java | 233 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/ |
D | WifiQCUtils.java | 40 int wifiState = wifiManager.getWifiState(); in getSubtitle() local 41 int stringId = WifiUtil.getStateDesc(wifiState); in getSubtitle() 45 if (wifiState == WifiManager.WIFI_STATE_ENABLED) { in getSubtitle()
|
D | WifiTile.java | 55 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()
|
D | WifiRow.java | 60 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/ |
D | WifiRepositoryTest.kt | 44 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/ |
D | WifiRequestToggleActivity.java | 130 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/ |
D | ShadowCarWifiManager.java | 100 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/ |
D | TestUtil.java | 70 Context context, int wifiState) { in sendWifiStateChanged() argument 72 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
|
D | WifiMetricsTest.java | 1678 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetPreferenceRepository.kt | 116 ) { airplaneModeOn: Boolean, wifiState: Int -> in <lambda>() method 117 if (airplaneModeOn && wifiState != WifiManager.WIFI_STATE_ENABLED) { in <lambda>()
|
D | NetworkProviderSettings.java | 832 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/ |
D | ConfirmConnectToWifiNetworkActivity.java | 149 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/ |
D | QnsEventDispatcher.java | 197 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/ |
D | IwlanEventListener.java | 295 int wifiState = in onBroadcastReceived() local 298 if (wifiState == WifiManager.WIFI_STATE_DISABLED) { in onBroadcastReceived()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 2784 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()
|