Home
last modified time | relevance | path

Searched refs:mResetEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java233 Event mResetEvent; field in WifiWakeMetrics.Session
301 if (mResetEvent == null) { in recordResetEvent()
302 mResetEvent = new Event(numScans, timestamp - mStartTimestamp); in recordResetEvent()
322 if (mResetEvent != null) { in buildProto()
323 sessionProto.resetEvent = mResetEvent.buildProto(); in buildProto()
338 pw.println("mResetEvent: " + (mResetEvent == null ? "{}" : mResetEvent.toString())); in dump()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java267 assertNotNull(session.mResetEvent); in session_recordsEvents()
268 assertEquals(session.mResetEvent.mNumScans, 3); in session_recordsEvents()
269 assertEquals(session.mResetEvent.mElapsedTime, 300); in session_recordsEvents()
300 assertNotNull(session.mResetEvent); in session_ignoresRepeatedEvents()
301 assertEquals(session.mResetEvent.mNumScans, 1); in session_ignoresRepeatedEvents()
302 assertEquals(session.mResetEvent.mElapsedTime, 100); in session_ignoresRepeatedEvents()
305 assertEquals(session.mResetEvent.mNumScans, 1); in session_ignoresRepeatedEvents()
306 assertEquals(session.mResetEvent.mElapsedTime, 100); in session_ignoresRepeatedEvents()