Home
last modified time | relevance | path

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

/system/chre/pal/util/tests/
Dwifi_scan_cache_test.cc145 void cacheDefaultWifiCacheTest(size_t numEvents, in cacheDefaultWifiCacheTest() argument
154 for (size_t i = 0; i < numEvents; i++) { in cacheDefaultWifiCacheTest()
173 numEvents, static_cast<size_t>(CHRE_PAL_WIFI_SCAN_CACHE_CAPACITY)); in cacheDefaultWifiCacheTest()
189 void testCacheDispatch(size_t numEvents, uint32_t maxScanAgeMs, in testCacheDispatch() argument
191 cacheDefaultWifiCacheTest(numEvents, nullptr /* scannedFreqList */, in testCacheDispatch()
218 EXPECT_EQ(gWifiScanResultList.size(), expectSuccess ? numEvents : 0); in testCacheDispatch()
/system/netd/server/
DIptablesRestoreController.cpp264 int numEvents = TEMP_FAILURE_RETRY( in drainAndWaitForAck() local
266 if (numEvents == -1) { in drainAndWaitForAck()
274 if (numEvents == 0) { in drainAndWaitForAck()