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.java70 Context context, int wifiState) { in sendWifiStateChanged() argument
72 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
DWifiMetricsTest.java1439 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.java788 final NetworkState wifiState = buildWifiState();
789 wifiState.linkProperties.addStackedLink(stackedProp);
790 NetworkState[] states = new NetworkState[] {wifiState};
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java904 public void noteWifiState(int wifiState, String accessPoint) { in noteWifiState() argument
907 mStats.noteWifiStateLocked(wifiState, accessPoint); in noteWifiState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java3980 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
4644 public void setWifiState(int wifiState) { in setWifiState() argument
4646 mWifiState = wifiState; in setWifiState()
4647 mWifiWins = (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in setWifiState()
4648 mWifiWinsUsabilityScore = (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in setWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5795 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
5796 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
5797 if (mWifiState != wifiState) { in noteWifiStateLocked()
5802 mWifiState = wifiState; in noteWifiStateLocked()
5803 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtime); in noteWifiStateLocked()
6356 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
6358 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
6362 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
6363 return mWifiStateTimer[wifiState].getCountLocked(which); in getWifiStateCount()
6366 @Override public Timer getWifiStateTimer(int wifiState) { in getWifiStateTimer() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java2617 public abstract long getWifiStateTime(@WifiState int wifiState, in getWifiStateTime() argument
2625 public abstract int getWifiStateCount(@WifiState int wifiState, @StatName int which); in getWifiStateCount() argument
2632 public abstract Timer getWifiStateTimer(@WifiState int wifiState); in getWifiStateTimer() argument