Home
last modified time | relevance | path

Searched refs:mWifiState (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java35 private int mWifiState; field in WifiStateTracker
39 mWifiState = INVALID; in WifiStateTracker()
58 if (state != mWifiState) { in updateState()
73 mWifiState = INVALID; in updateState()
78 mWifiState = state; in updateState()
DWifiConnectivityManager.java163 private int mWifiState = WIFI_STATE_UNKNOWN; field in WifiConnectivityManager
340 if (mWifiState == WIFI_STATE_DISCONNECTED) { in handleScanResults()
1071 if (mWifiState == WIFI_STATE_DISCONNECTED) { in watchdogHandler()
1132 if (mWifiState == WIFI_STATE_CONNECTED in startPeriodicSingleScan()
1151 if (mWifiState == WIFI_STATE_DISCONNECTED in startPeriodicSingleScan()
1212 if (mWifiState != WIFI_STATE_CONNECTED) { in updateSingleScanningSchedule()
1298 if (mWifiState == WIFI_STATE_CONNECTED && !mContext.getResources().getBoolean( in startPeriodicScan()
1529 + " wifiState=" + stateToString(mWifiState) in startConnectivityScan()
1544 if ((mWifiState != WIFI_STATE_CONNECTED && mWifiState != WIFI_STATE_DISCONNECTED) in startConnectivityScan()
1552 if (mWifiState == WIFI_STATE_DISCONNECTED && !mPnoScanStarted) { in startConnectivityScan()
[all …]
DWifiMetrics.java199 private int mWifiState; field in WifiMetrics
885 private int mWifiState; field in WifiMetrics.ConnectionEvent
896 mWifiState = WifiMetricsProto.WifiLog.WIFI_UNKNOWN; in ConnectionEvent()
996 switch(mWifiState) { in toString()
1243 mWifiState = WifiMetricsProto.WifiLog.WIFI_DISABLED; in WifiMetrics()
1440 mCurrentConnectionEvent.mWifiState = mWifiState; in startConnectionEvent()
1803 incrementWifiSystemScanStateCount(mWifiState, mScreenOn); in incrementOneshotScanCount()
4646 mWifiState = wifiState; in setWifiState()
DClientModeImpl.java715 private final AtomicInteger mWifiState = new AtomicInteger(WIFI_STATE_DISABLED); field in ClientModeImpl
1459 mWifiState.set(newState); in setWifiStateForApiCalls()
1473 return mWifiState.get(); in syncGetWifiState()
1480 switch (mWifiState.get()) { in syncGetWifiStateByName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java37 private WifiIconState mWifiState; field in StatusBarIconHolder
60 holder.mWifiState = state; in fromWifiIconState()
84 return mWifiState; in getWifiState()
88 mWifiState = state; in setWifiState()
105 return mWifiState.visible; in isVisible()
124 mWifiState.visible = visible; in setVisible()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java45 int mWifiState; field in WifiClientTest
57 mWifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, in onReceive()
59 switch (mWifiState) { in onReceive()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java74 private int mWifiState; field in ConnectionUtil
199 mWifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, in onReceive()
491 if (mWifiState != expectedState) { in waitForWifiState()
504 if (mWifiState != expectedState) { in waitForWifiState()
505 Log.v(LOG_TAG, "Wifi state is: " + mWifiState); in waitForWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java899 int mWifiState = -1; field in BatteryStatsImpl
5797 if (mWifiState != wifiState) { in noteWifiStateLocked()
5799 if (mWifiState >= 0) { in noteWifiStateLocked()
5800 mWifiStateTimer[mWifiState].stopRunningLocked(elapsedRealtime); in noteWifiStateLocked()
5802 mWifiState = wifiState; in noteWifiStateLocked()