Home
last modified time | relevance | path

Searched refs:mNumScans (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupLock.java54 private int mNumScans; field in WakeupLock
73 mNumScans = 0; in setLock()
104 mWifiWakeMetrics.recordInitializeEvent(mNumScans, mLockedNetworks.size()); in maybeSetInitializedByScans()
124 if (mNumScans == 0) { in maybeSetInitializedByTimeout()
132 mWifiWakeMetrics.recordInitializeEvent(mNumScans, mLockedNetworks.size()); in maybeSetInitializedByTimeout()
167 maybeSetInitializedByScans(mNumScans); in addToLock()
214 mWifiWakeMetrics.recordUnlockEvent(mNumScans); in removeFromLock()
240 mNumScans++; in update()
263 pw.println("mNumScans: " + mNumScans); in dump()
DWifiWakeMetrics.java346 public final int mNumScans; field in WifiWakeMetrics.Event
351 mNumScans = numScans; in Event()
358 eventProto.elapsedScans = mNumScans; in buildProto()
365 return "{ mNumScans: " + mNumScans + ", elapsedTime: " + mElapsedTime + " }"; in toString()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java258 assertEquals(session.mUnlockEvent.mNumScans, 1); in session_recordsEvents()
263 assertEquals(session.mWakeupEvent.mNumScans, 2); in session_recordsEvents()
268 assertEquals(session.mResetEvent.mNumScans, 3); in session_recordsEvents()
301 assertEquals(session.mResetEvent.mNumScans, 1); in session_ignoresRepeatedEvents()
305 assertEquals(session.mResetEvent.mNumScans, 1); in session_ignoresRepeatedEvents()