Searched refs:wifiState (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 80 Context context, int wifiState) { in sendWifiStateChanged() argument 82 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged()
|
D | WifiMetricsTest.java | 988 if (mDecodedProto.wifiSystemStateEntries[i].wifiState == state in assertSystemStateEntryEquals()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 113 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
D | SliceCreator.java | 401 int wifiState = wifiManager.getWifiState(); in createWifiSlice() local 404 switch (wifiState) { in createWifiSlice()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 704 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/ |
D | SampleSliceProvider.java | 497 int wifiState = wifiManager.getWifiState(); in createWifiSlice() local 500 switch (wifiState) { in createWifiSlice()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 2256 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/ |
D | BatteryStatsService.java | 882 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/ |
D | BatteryStatsImpl.java | 5929 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/ |
D | BatteryStats.java | 2488 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
|