Searched refs:sleepTimeMs (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/src/shell/ |
D | ShellSubscriber.cpp | 130 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/ |
D | WifiPowerMetricsTest.java | 120 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/ |
D | WifiPowerMetrics.java | 65 m.sleepTimeMs = stats.getSleepTimeMillis(); in buildProto() 108 pw.println("Amount of time wifi is in sleep (ms): " + s.sleepTimeMs); in dump()
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 1611 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()
|
D | resolv_private.h | 177 uint32_t flags, std::chrono::milliseconds sleepTimeMs = {});
|
D | res_send.cpp | 421 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/ |
D | IpMemoryStoreServiceTest.java | 901 final long sleepTimeMs = 1000; 907 Thread.sleep(sleepTimeMs); 917 assertTrue(System.currentTimeMillis() >= startTime + sleepTimeMs);
|