Home
last modified time | relevance | path

Searched refs:wifiState (Results 1 – 10 of 10) 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.java988 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl113 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceCreator.java401 int wifiState = wifiManager.getWifiState(); in createWifiSlice() local
404 switch (wifiState) { in createWifiSlice()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java704 final NetworkState wifiState = buildWifiState(); in testDetailedUidStats_Filtered() local
705 wifiState.linkProperties.addStackedLink(stackedProp); in testDetailedUidStats_Filtered()
706 expectNetworkState(wifiState); in testDetailedUidStats_Filtered()
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSampleSliceProvider.java497 int wifiState = wifiManager.getWifiState(); in createWifiSlice() local
500 switch (wifiState) { in createWifiSlice()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java2256 mWifiLogProto.wifiSystemStateEntries[i].wifiState = in consolidateProto()
2547 public void setWifiState(int wifiState) { in setWifiState() argument
2549 mWifiState = wifiState; in setWifiState()
2550 mWifiWins = (wifiState == WifiMetricsProto.WifiLog.WIFI_ASSOCIATED); in setWifiState()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java882 public void noteWifiState(int wifiState, String accessPoint) { in noteWifiState() argument
885 mStats.noteWifiStateLocked(wifiState, accessPoint); in noteWifiState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5929 public void noteWifiStateLocked(int wifiState, String accessPoint) { in noteWifiStateLocked() argument
5930 if (DEBUG) Log.i(TAG, "WiFi state -> " + wifiState); in noteWifiStateLocked()
5931 if (mWifiState != wifiState) { in noteWifiStateLocked()
5936 mWifiState = wifiState; in noteWifiStateLocked()
5937 mWifiStateTimer[wifiState].startRunningLocked(elapsedRealtime); in noteWifiStateLocked()
6500 @Override public long getWifiStateTime(int wifiState, in getWifiStateTime() argument
6502 return mWifiStateTimer[wifiState].getTotalTimeLocked( in getWifiStateTime()
6506 @Override public int getWifiStateCount(int wifiState, int which) { in getWifiStateCount() argument
6507 return mWifiStateTimer[wifiState].getCountLocked(which); in getWifiStateCount()
6510 @Override public Timer getWifiStateTimer(int wifiState) { in getWifiStateTimer() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java2488 public abstract long getWifiStateTime(int wifiState, in getWifiStateTime() argument
2496 public abstract int getWifiStateCount(int wifiState, int which); in getWifiStateCount() argument
2503 public abstract Timer getWifiStateTimer(int wifiState); in getWifiStateTimer() argument