Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java261 EventData lastEvent = null; in testNDSManager() local
360 lastEvent = waitForCallback("onServiceRegistered"); // id = 1 in testNDSManager()
361 assertTrue(lastEvent != null); in testNDSManager()
362 assertTrue(lastEvent.mSucceeded); in testNDSManager()
367 String registeredName = lastEvent.mInfo.getServiceName(); in testNDSManager()
376 lastEvent = waitForCallback("onDiscoveryStarted"); // id = 2 in testNDSManager()
378 assertTrue(lastEvent != null); in testNDSManager()
379 assertTrue(lastEvent.mSucceeded); in testNDSManager()
383 mEventCache.remove(lastEvent); in testNDSManager()
391 lastEvent = waitForCallback("onServiceFound"); // id = 3 in testNDSManager()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarSensorManagerTest.java48 CarSensorEvent lastEvent = mCarSensorManager.getLatestSensorEvent( in testDrivingPolicy() local
50 assertNotNull(lastEvent); in testDrivingPolicy()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java115 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs() local
116 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()