Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/shell/
DShellSubscriberClient.cpp222 int64_t sleepTimeMs = 24 * 60 * 60 * 1000; // 24 hours. in pullIfNeeded() local
246 sleepTimeMs = min(sleepTimeMs, timeBeforePullMs); in pullIfNeeded()
248 return sleepTimeMs; in pullIfNeeded()
255 int64_t sleepTimeMs; in pullAndSendHeartbeatsIfNeeded() local
262 sleepTimeMs = min(kMsBetweenHeartbeats, pullIfNeeded(nowSecs, nowMillis, nowNanos)); in pullAndSendHeartbeatsIfNeeded()
273 sleepTimeMs = min(sleepTimeMs, timeBeforeHeartbeat); in pullAndSendHeartbeatsIfNeeded()
275 sleepTimeMs = min(kMsBetweenCallbacks, pullIfNeeded(nowSecs, nowMillis, nowNanos)); in pullAndSendHeartbeatsIfNeeded()
291 sleepTimeMs = max(kMinCallbackSleepIntervalMs, min(sleepTimeMs, timeToCallbackMs)); in pullAndSendHeartbeatsIfNeeded()
293 return sleepTimeMs; in pullAndSendHeartbeatsIfNeeded()
DShellSubscriber.cpp102 int64_t sleepTimeMs = 24 * 60 * 60 * 1000; // 24 hours. in pullAndSendHeartbeats() local
109 sleepTimeMs = std::min(sleepTimeMs, subscriptionSleepMs); in pullAndSendHeartbeats()
124 VLOG("ShellSubscriber: helper thread sleeping for %" PRId64 "ms", sleepTimeMs); in pullAndSendHeartbeats()
125 mThreadSleepCV.wait_for(lock, sleepTimeMs * 1ms, [this] { return mClientSet.empty(); }); 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.cpp1605 std::chrono::milliseconds sleepTimeMs) { in doQuery() argument
1640 sleepTimeMs); in doQuery()
1673 std::chrono::milliseconds sleepTimeMs{}; in res_queryN_parallel() local
1675 results.emplace_back(std::async(std::launch::async, doQuery, name, t, res, sleepTimeMs)); in res_queryN_parallel()
1682 sleepTimeMs = std::chrono::milliseconds(sleepFlag); in res_queryN_parallel()
Dresolv_private.h180 uint32_t flags, std::chrono::milliseconds sleepTimeMs = {});
Dres_send.cpp440 uint32_t flags, std::chrono::milliseconds sleepTimeMs) { in res_nsend() argument
535 if (sleepTimeMs != 0ms) { in res_nsend()
536 std::this_thread::sleep_for(sleepTimeMs); in res_nsend()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ipmemorystore/
DIpMemoryStoreServiceTest.java903 final long sleepTimeMs = 1000;
909 Thread.sleep(sleepTimeMs);
919 assertTrue(System.currentTimeMillis() >= startTime + sleepTimeMs);
/packages/modules/StatsD/statsd/tests/shell/
DShellSubscriber_test.cpp703 const int64_t sleepTimeMs = in TEST_F() local
711 const int64_t sleepTimeMs = in TEST_F() local
716 EXPECT_THAT(sleepTimeMs, Eq(ShellSubscriberClient::kMinCallbackSleepIntervalMs)); in TEST_F()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...