Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java230 Event mWakeupEvent; field in WifiWakeMetrics.Session
280 if (mWakeupEvent == null) { in recordWakeupEvent()
281 mWakeupEvent = new Event(numScans, timestamp - mStartTimestamp); in recordWakeupEvent()
289 return mWakeupEvent != null; in hasWakeupTriggered()
319 if (mWakeupEvent != null) { in buildProto()
320 sessionProto.wakeupEvent = mWakeupEvent.buildProto(); in buildProto()
337 pw.println("mWakeupEvent: " + (mWakeupEvent == null ? "{}" : mWakeupEvent.toString())); in dump()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java262 assertNotNull(session.mWakeupEvent); in session_recordsEvents()
263 assertEquals(session.mWakeupEvent.mNumScans, 2); in session_recordsEvents()
264 assertEquals(session.mWakeupEvent.mElapsedTime, 200); in session_recordsEvents()