Home
last modified time | relevance | path

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

/system/bt/main/shim/
Dtimer.cc35 void bluetooth::shim::Timer::Set(uint64_t duration_ms, in Set() argument
37 CHECK(duration_ms != 0); in Set()
39 alarm_set_on_mloop(timer_, duration_ms, timer_timeout, (void*)this); in Set()
Dtimer.h37 void Set(uint64_t duration_ms, std::function<void()> func);
Dbtm.h232 void SetObservingTimer(uint64_t duration_ms, std::function<void()>);
234 void SetScanningTimer(uint64_t duration_ms, std::function<void()>);
Dbtm.cc606 void bluetooth::shim::Btm::SetScanningTimer(uint64_t duration_ms, in SetScanningTimer() argument
608 scanning_timer_->Set(duration_ms, func); in SetScanningTimer()
617 void bluetooth::shim::Btm::SetObservingTimer(uint64_t duration_ms, in SetObservingTimer() argument
619 observing_timer_->Set(duration_ms, func); in SetObservingTimer()
/system/iorap/src/perfetto/
Dmain.cc59 uint32_t duration_ms) { in CreateCommandLinePerfettoDependenciesComponent() argument
64 static const uint32_t kTraceDurationMs = duration_ms; in CreateCommandLinePerfettoDependenciesComponent()
70 auto config = PerfettoDependencies::CreateConfig(duration_ms, in CreateCommandLinePerfettoDependenciesComponent()
Drx_producer.h49 static ::perfetto::protos::TraceConfig CreateConfig(uint32_t duration_ms,
Drx_producer.cc91 ::perfetto::protos::TraceConfig PerfettoDependencies::CreateConfig(uint32_t duration_ms, in CreateConfig() argument
96 trace_config.set_duration_ms(duration_ms); in CreateConfig()
/system/bt/gd/os/linux_generic/
Dalarm_unittest.cc65 auto duration_ms = std::chrono::duration_cast<std::chrono::milliseconds>(after - before); in TEST_F() local
66 ASSERT_NEAR(duration_ms.count(), delay_ms, delay_error_ms); in TEST_F()
/system/iorap/src/manager/
Devent_manager.cc404 std::chrono::milliseconds duration_ms = timer.duration(); in GetCompiledTrace() local
406 << duration_ms.count() // the count of ticks. in GetCompiledTrace()
961 std::chrono::milliseconds duration_ms = timer.duration(); in RetryCreateVersionMap() local
965 << duration_ms.count() in RetryCreateVersionMap()
/system/bt/stack/btm/
Dbtm_ble_gap.cc472 uint64_t duration_ms = duration * 1000; in BTM_BleObserve() local
473 alarm_set_on_mloop(btm_cb.ble_ctr_cb.observer_timer, duration_ms, in BTM_BleObserve()
1334 uint64_t duration_ms = duration * 1000; in btm_ble_start_inquiry() local
1335 alarm_set_on_mloop(p_ble_cb->inq_var.inquiry_timer, duration_ms, in btm_ble_start_inquiry()