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.java80 Context context, int wifiState) { in sendWifiStateChanged() argument
82 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
DWifiMetricsTest.java1236 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl116 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java808 final NetworkState wifiState = buildWifiState();
809 wifiState.linkProperties.addStackedLink(stackedProp);
810 NetworkState[] states = new NetworkState[] {wifiState};
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java915 public void noteWifiState(int wifiState, String accessPoint) { in noteWifiState() argument
918 mStats.noteWifiStateLocked(wifiState, accessPoint); in noteWifiState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java3131 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
3684 public void setWifiState(int wifiState) { in setWifiState() argument
3686 mWifiState = wifiState; in setWifiState()
3687 mWifiWins = (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in setWifiState()
3688 mWifiWinsUsabilityScore = (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in setWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5783 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
5784 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
5785 if (mWifiState != wifiState) { in noteWifiStateLocked()
5790 mWifiState = wifiState; in noteWifiStateLocked()
5791 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtime); in noteWifiStateLocked()
6343 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
6345 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
6349 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
6350 return mWifiStateTimer[wifiState].getCountLocked(which); in getWifiStateCount()
6353 @Override public Timer getWifiStateTimer(int wifiState) { in getWifiStateTimer() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java2639 public abstract long getWifiStateTime(int wifiState, in getWifiStateTime() argument
2647 public abstract int getWifiStateCount(int wifiState, int which); in getWifiStateCount() argument
2654 public abstract Timer getWifiStateTimer(int wifiState); in getWifiStateTimer() argument