Home
last modified time | relevance | path

Searched refs:sleepTimeMs (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.cpp130 int64_t sleepTimeMs = INT_MAX; in pullAndSendHeartbeats() local
167 if (timeBeforePull < sleepTimeMs) sleepTimeMs = timeBeforePull; in pullAndSendHeartbeats()
170 if (timeBeforeHeartbeat < sleepTimeMs) sleepTimeMs = timeBeforeHeartbeat; in pullAndSendHeartbeats()
174 (long long)sleepTimeMs); in pullAndSendHeartbeats()
175 std::this_thread::sleep_for(std::chrono::milliseconds(sleepTimeMs)); in pullAndSendHeartbeats()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPowerMetricsTest.java120 final long sleepTimeMs = 323270343; in testBuildProto() local
134 when(wifiBatteryStats.getSleepTimeMillis()).thenReturn(sleepTimeMs); in testBuildProto()
159 sleepTimeMs, wifiPowerStats.sleepTimeMs); in testBuildProto()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java65 m.sleepTimeMs = stats.getSleepTimeMillis(); in buildProto()
108 pw.println("Amount of time wifi is in sleep (ms): " + s.sleepTimeMs); in dump()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp1611 std::chrono::milliseconds sleepTimeMs) { in doQuery() argument
1647 n = res_nsend(&res_temp, buf, n, t->answer.data(), anslen, &rcode, 0, sleepTimeMs); in doQuery()
1678 std::chrono::milliseconds sleepTimeMs{}; in res_queryN_parallel() local
1680 results.emplace_back(std::async(std::launch::async, doQuery, name, t, res, sleepTimeMs)); in res_queryN_parallel()
1687 sleepTimeMs = std::chrono::milliseconds(sleepFlag); in res_queryN_parallel()
Dresolv_private.h177 uint32_t flags, std::chrono::milliseconds sleepTimeMs = {});
Dres_send.cpp421 uint32_t flags, std::chrono::milliseconds sleepTimeMs) { in res_nsend() argument
463 if (sleepTimeMs != 0ms) { in res_nsend()
464 std::this_thread::sleep_for(sleepTimeMs); in res_nsend()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java901 final long sleepTimeMs = 1000;
907 Thread.sleep(sleepTimeMs);
917 assertTrue(System.currentTimeMillis() >= startTime + sleepTimeMs);