Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java263 EventData lastEvent = null; in testNDSManager() local
362 lastEvent = waitForCallback("onServiceRegistered"); // id = 1 in testNDSManager()
363 assertTrue(lastEvent != null); in testNDSManager()
364 assertTrue(lastEvent.mSucceeded); in testNDSManager()
369 String registeredName = lastEvent.mInfo.getServiceName(); in testNDSManager()
378 lastEvent = waitForCallback("onDiscoveryStarted"); // id = 2 in testNDSManager()
380 assertTrue(lastEvent != null); in testNDSManager()
381 assertTrue(lastEvent.mSucceeded); in testNDSManager()
385 mEventCache.remove(lastEvent); in testNDSManager()
393 lastEvent = waitForCallback("onServiceFound"); // id = 3 in testNDSManager()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java123 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs() local
124 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()