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.java38 private int mWifiState; field in WifiStateTracker
42 mWifiState = INVALID; in WifiStateTracker()
63 if (state != mWifiState) { in updateState()
78 mWifiState = INVALID; in updateState()
83 mWifiState = state; in updateState()
DWifiConnectivityManager.java155 private int mWifiState = WIFI_STATE_UNKNOWN; field in WifiConnectivityManager
280 if (mWifiState == WIFI_STATE_DISCONNECTED) { in handleScanResults()
826 if (mWifiState == WIFI_STATE_DISCONNECTED) { in watchdogHandler()
854 if (mWifiState == WIFI_STATE_CONNECTED && isTrafficOverThreshold) { in startPeriodicSingleScan()
935 if (mWifiState == WIFI_STATE_CONNECTED && !mEnableAutoJoinWhenAssociated) { in startPeriodicScan()
1049 + " wifiState=" + stateToString(mWifiState) in startConnectivityScan()
1064 if (mWifiState != WIFI_STATE_CONNECTED && mWifiState != WIFI_STATE_DISCONNECTED) { in startConnectivityScan()
1071 if (mWifiState == WIFI_STATE_DISCONNECTED && !mPnoScanStarted) { in startConnectivityScan()
1123 mWifiState = state; in handleConnectionStateChanged()
1125 if (mWifiState == WIFI_STATE_CONNECTED) { in handleConnectionStateChanged()
[all …]
DWifiMetrics.java110 private int mWifiState; field in WifiMetrics
307 private int mWifiState; field in WifiMetrics.ConnectionEvent
318 mWifiState = WifiMetricsProto.WifiLog.WIFI_UNKNOWN; in ConnectionEvent()
418 switch(mWifiState) { in toString()
446 mWifiState = WifiMetricsProto.WifiLog.WIFI_DISABLED; in WifiMetrics()
643 mCurrentConnectionEvent.mWifiState = mWifiState; in startConnectionEvent()
841 incrementWifiSystemScanStateCount(mWifiState, mScreenOn); in incrementOneshotScanCount()
2549 mWifiState = wifiState; in setWifiState()
DWifiStateMachine.java719 private final AtomicInteger mWifiState = new AtomicInteger(WIFI_STATE_DISABLED); field in WifiStateMachine
1353 mWifiState.set(newState); in setWifiStateForApiCalls()
1367 return mWifiState.get(); in syncGetWifiState()
1374 switch (mWifiState.get()) { in syncGetWifiStateByName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java36 private WifiIconState mWifiState; field in StatusBarIconHolder
59 holder.mWifiState = state; in fromWifiIconState()
83 return mWifiState; in getWifiState()
87 mWifiState = state; in setWifiState()
104 return mWifiState.visible; in isVisible()
123 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.java852 int mWifiState = -1; field in BatteryStatsImpl
5931 if (mWifiState != wifiState) { in noteWifiStateLocked()
5933 if (mWifiState >= 0) { in noteWifiStateLocked()
5934 mWifiStateTimer[mWifiState].stopRunningLocked(elapsedRealtime); in noteWifiStateLocked()
5936 mWifiState = wifiState; in noteWifiStateLocked()