Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java67 Context context, int wifiState) { in sendWifiStateChanged() argument
69 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
DWifiMetricsTest.java584 if (mDeserializedWifiMetrics.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl106 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java1317 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
1429 public void setWifiState(int wifiState) { in setWifiState() argument
1431 mWifiState = wifiState; in setWifiState()
DWifiStateMachine.java2785 private void setWifiState(int wifiState) { in setWifiState() argument
2789 if (wifiState == WIFI_STATE_ENABLED) { in setWifiState()
2791 } else if (wifiState == WIFI_STATE_DISABLED) { in setWifiState()
2798 mWifiState.set(wifiState); in setWifiState()
2804 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in setWifiState()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java800 public void noteWifiState(int wifiState, String accessPoint) { in noteWifiState() argument
803 mStats.noteWifiStateLocked(wifiState, accessPoint); in noteWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4985 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
4986 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
4987 if (mWifiState != wifiState) { in noteWifiStateLocked()
4992 mWifiState = wifiState; in noteWifiStateLocked()
4993 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtime); in noteWifiStateLocked()
5412 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
5414 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
5418 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
5419 return mWifiStateTimer[wifiState].getCountLocked(which); in getWifiStateCount()
/frameworks/base/core/java/android/os/
DBatteryStats.java2198 public abstract long getWifiStateTime(int wifiState, in getWifiStateTime() argument
2206 public abstract int getWifiStateCount(int wifiState, int which); in getWifiStateCount() argument