Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java242 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildsEmptyProto() local
243 assertNotNull(sessionProto); in session_buildsEmptyProto()
244 assertEquals(sessionProto.lockedNetworksAtStart, 1); in session_buildsEmptyProto()
245 assertEquals(sessionProto.startTimeMillis, 1000); in session_buildsEmptyProto()
246 assertNull(sessionProto.unlockEvent); in session_buildsEmptyProto()
247 assertNull(sessionProto.wakeupEvent); in session_buildsEmptyProto()
248 assertNull(sessionProto.resetEvent); in session_buildsEmptyProto()
282 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildProto() local
283 assertNotNull(sessionProto); in session_buildProto()
284 assertEquals(sessionProto.lockedNetworksAtStart, 1); in session_buildProto()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java308 WifiWakeStats.Session sessionProto = new WifiWakeStats.Session(); in buildProto() local
309 sessionProto.startTimeMillis = mStartTimestamp; in buildProto()
310 sessionProto.lockedNetworksAtStart = mStartNetworks; in buildProto()
313 sessionProto.lockedNetworksAtInitialize = mInitializeNetworks; in buildProto()
314 sessionProto.initializeEvent = mInitEvent.buildProto(); in buildProto()
317 sessionProto.unlockEvent = mUnlockEvent.buildProto(); in buildProto()
320 sessionProto.wakeupEvent = mWakeupEvent.buildProto(); in buildProto()
323 sessionProto.resetEvent = mResetEvent.buildProto(); in buildProto()
326 return sessionProto; in buildProto()