Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 15 of 15) sorted by relevance

/system/security/keystore2/selinux/src/
Dconcurrency_test.rs144 let elapsed = run_time.elapsed().as_secs(); in test_concurrent_check_access() localVariable
145 println!("{:02}:{:02}: Iteration {}", elapsed / 60, elapsed % 60, i); in test_concurrent_check_access()
/system/core/fs_mgr/libsnapshot/snapuserd/
Dsnapuserd_client.cpp88 const auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in TryConnect() local
89 if (elapsed >= timeout_ms) { in TryConnect()
115 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in Connect() local
116 if (elapsed >= timeout_ms) { in Connect()
135 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in WaitForServiceToTerminate() local
136 if (elapsed >= timeout_ms) { in WaitForServiceToTerminate()
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp116 uint32_t elapsed = 0; in progressThread() local
120 elapsed++; in progressThread()
122 printf("%ds: %u cps, total %u\n", elapsed, total-previous, total); in progressThread()
/system/security/keystore2/watchdog/src/
Dlib.rs101 if self.last_report.elapsed() < Watchdog::NOISY_REPORT_TIMEOUT { in log_report()
158 r.started.elapsed(), in log_report()
159 r.deadline.elapsed(), in log_report()
168 r.started.elapsed(), in log_report()
169 r.deadline.elapsed() in log_report()
/system/extras/profcollectd/libprofcollectd/
Dscheduler.rs143 let elapsed = Instant::now().duration_since(start_time); in start_thread_waiting_for_provider_ready() localVariable
151 let sleep_duration = if elapsed < Duration::from_secs(10) { in start_thread_waiting_for_provider_ready()
153 } else if elapsed < Duration::from_secs(60 * 10) { in start_thread_waiting_for_provider_ready()
Dlib.rs53 let elapsed = Instant::now().duration_since(self.service_start_time); in onProviderReady() localVariable
54 if elapsed < TIMEOUT_TO_COLLECT_BOOT_PROFILE { in onProviderReady()
Dservice.rs155 let report_age = report_ts.unwrap().elapsed()?; in new()
/system/security/keystore2/src/
Dapc.rs128 let elapsed = self.timestamp.elapsed(); in get_remaining_back_off() localVariable
133 back_off.checked_sub(elapsed) in get_remaining_back_off()
Ddatabase.rs134 let elapsed = start.elapsed(); in check_lock_timeout() localVariable
135 if elapsed >= timeout { in check_lock_timeout()
/system/core/fs_mgr/
Dfile_wait.cpp213 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(remaining); in RemainingMs() local
214 return (relative_timeout_ - elapsed).count(); in RemainingMs()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp885 std::chrono::duration<double> elapsed; in TEST_F() local
893 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
894 } while (i++, elapsed.count() < 5); in TEST_F()
1080 std::chrono::duration<double> elapsed; in TEST_F() local
1084 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
1085 } while (i++, elapsed.count() < 5); in TEST_F()
1093 std::chrono::duration<double> elapsed; in TEST_F() local
1100 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F()
1101 } while (elapsed.count() < 10); in TEST_F()
/system/vold/bench/inodeop_bench/
Dinodeop_bench.cpp58 auto elapsed = std::chrono::steady_clock::now() - reset_time; in collect_metric() local
59 metrics.emplace_back(workload, std::chrono::duration_cast<time_unit>(elapsed)); in collect_metric()
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp477 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in MapWithLoopDevice() local
480 if (!CreateLoopDevice(control, file, timeout_ms - elapsed, &loop_device)) { in MapWithLoopDevice()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp4383 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in DeleteDeviceIfExists() local
4384 if (elapsed >= timeout_ms) { in DeleteDeviceIfExists()
/system/nfc/tools/casimir/src/
Dcontroller.rs1612 timestamp: (self.state.start_time.elapsed().as_millis() as u32).to_be_bytes(), in poll_command()