Home
last modified time | relevance | path

Searched refs:milliseconds (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/vendor_libs/test_vendor_lib/include/
Dasync_manager.h64 AsyncTaskId ExecAsync(std::chrono::milliseconds delay,
71 AsyncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay,
72 std::chrono::milliseconds period,
Ddual_mode_controller.h179 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)>
183 std::function<AsyncTaskId(std::chrono::milliseconds,
184 std::chrono::milliseconds, const TaskCallback&)>
448 void SetTimerPeriod(std::chrono::milliseconds new_period);
466 void AddControllerEvent(std::chrono::milliseconds,
491 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)>
493 std::function<AsyncTaskId(std::chrono::milliseconds,
494 std::chrono::milliseconds, const TaskCallback&)>
541 std::chrono::milliseconds timer_period_ = std::chrono::milliseconds(1000);
/system/core/libmemunreachable/
DScopedDisableMalloc.h77 …explicit ScopedDisableMallocTimeout(std::chrono::milliseconds timeout = std::chrono::milliseconds(…
107 std::chrono::milliseconds timeout_;
DSemaphore.h30 void Wait(std::chrono::milliseconds ms) { in Wait()
/system/bt/test/rootcanal/
Dbluetooth_hci.cc78 std::chrono::milliseconds(0), [this, name, args]() { in initialize()
101 [this](std::chrono::milliseconds delay, const TaskCallback& task) { in initialize()
106 [this](std::chrono::milliseconds delay, std::chrono::milliseconds period, in initialize()
133 async_manager_.ExecAsync(std::chrono::milliseconds(0), [this, packet]() { in sendHciCommand()
/system/chre/util/include/chre/util/
Dtime_impl.h25 constexpr Milliseconds::Milliseconds(uint64_t milliseconds) in Milliseconds() argument
26 : mMilliseconds(milliseconds) {} in Milliseconds()
72 constexpr Nanoseconds::Nanoseconds(Milliseconds milliseconds) in Nanoseconds() argument
73 : mNanoseconds(milliseconds.toRawNanoseconds()) {} in Nanoseconds()
Dtime.h57 constexpr explicit Milliseconds(uint64_t milliseconds);
142 constexpr Nanoseconds(Milliseconds milliseconds);
/system/bt/vendor_libs/test_vendor_lib/src/
Dasync_manager.cc278 AsyncTaskId ExecAsync(std::chrono::milliseconds delay, in ExecAsync()
284 AsyncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, in ExecAsyncPeriodically()
285 std::chrono::milliseconds period, in ExecAsyncPeriodically()
333 std::chrono::milliseconds period, const TaskCallback& callback) in Task()
358 std::chrono::milliseconds period;
499 AsyncTaskId AsyncManager::ExecAsync(std::chrono::milliseconds delay, in ExecAsync()
505 std::chrono::milliseconds delay, std::chrono::milliseconds period, in ExecAsyncPeriodically()
Ddual_mode_controller.cc75 void DualModeController::AddControllerEvent(std::chrono::milliseconds delay, in AddControllerEvent()
171 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> in RegisterTaskScheduler() argument
177 std::function<AsyncTaskId(std::chrono::milliseconds, in RegisterPeriodicTaskScheduler() argument
178 std::chrono::milliseconds, const TaskCallback&)> in RegisterPeriodicTaskScheduler()
220 void DualModeController::SetTimerPeriod(std::chrono::milliseconds new_period) { in SetTimerPeriod()
233 std::chrono::milliseconds(0), timer_period_, in StartTimer()
508 AddControllerEvent(std::chrono::milliseconds(args[4] * 1280), in HciInquiry()
/system/core/adb/sysdeps/
Dchrono.h37 constexpr std::chrono::milliseconds operator"" ms(unsigned long long ms) {
38 return std::chrono::milliseconds(ms);
/system/core/base/include/android-base/
Dproperties.h67 std::chrono::milliseconds relative_timeout);
73 std::chrono::milliseconds relative_timeout);
/system/core/base/
Dproperties_test.cpp149 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
151 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
171 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
173 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
Dproperties.cpp129 const std::chrono::milliseconds& relative_timeout, in WaitForPropertyCreation()
150 std::chrono::milliseconds relative_timeout) { in WaitForProperty()
172 std::chrono::milliseconds relative_timeout) { in WaitForPropertyCreation()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp74 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in DisableMpdecision()
81 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in EnableMpdecision()
147 std::this_thread::sleep_for(std::chrono::milliseconds(1)); in SetCpuOnline()
325 std::this_thread::sleep_for(std::chrono::milliseconds(1)); in TEST()
376 std::this_thread::sleep_for(std::chrono::milliseconds(1)); in TEST()
411 std::this_thread::sleep_for(std::chrono::milliseconds(1)); in TEST()
/system/bt/embdrv/sbc/decoder/include/
Doi_osinterface.h104 void OI_Sleep(uint32_t milliseconds);
/system/core/debuggerd/client/
Ddebuggerd_client.cpp66 const auto end = std::chrono::steady_clock::now() + std::chrono::milliseconds(timeout_ms); in debuggerd_trigger_dump()
180 auto remaining_ms = std::chrono::duration_cast<std::chrono::milliseconds>(time_left()).count(); in debuggerd_trigger_dump()
/system/bt/osi/src/protos/
Dbluetooth.proto120 // Media timer in milliseconds.
123 // Media timer in milliseconds.
126 // Media timer in milliseconds.
/system/connectivity/wificond/tests/integration/
Dbinder_dispatcher.cpp29 std::chrono::duration_cast<std::chrono::milliseconds>(end - start) in convertDurationToMillis()
/system/core/libutils/include/utils/
DTimers.h76 static CONSTEXPR inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } in milliseconds() function
/system/core/init/
Dutil.h61 … return std::chrono::duration_cast<std::chrono::milliseconds>(boot_clock::now() - start_).count(); in duration_ms()
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp152 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in ipv4_loopback()
209 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in ipv6_loopback()
/system/core/liblog/
Devent.logtags28 # 3: Number of milliseconds
/system/bt/
DEventLogTags.logtags28 # 3: Number of milliseconds
/system/core/storaged/
DEventLogTags.logtags29 # 3: Number of milliseconds
/system/core/logd/
Devent.logtags28 # 3: Number of milliseconds

12