/system/security/keystore2/selinux/src/ |
D | concurrency_test.rs | 144 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/ |
D | snapuserd_client.cpp | 88 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/ |
D | tcp_nuke_addr_test.cpp | 116 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/ |
D | lib.rs | 101 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/ |
D | scheduler.rs | 143 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()
|
D | lib.rs | 53 let elapsed = Instant::now().duration_since(self.service_start_time); in onProviderReady() localVariable 54 if elapsed < TIMEOUT_TO_COLLECT_BOOT_PROFILE { in onProviderReady()
|
D | service.rs | 155 let report_age = report_ts.unwrap().elapsed()?; in new()
|
/system/security/keystore2/src/ |
D | apc.rs | 128 let elapsed = self.timestamp.elapsed(); in get_remaining_back_off() localVariable 133 back_off.checked_sub(elapsed) in get_remaining_back_off()
|
D | database.rs | 134 let elapsed = start.elapsed(); in check_lock_timeout() localVariable 135 if elapsed >= timeout { in check_lock_timeout()
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 213 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/ |
D | main.cpp | 885 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/ |
D | inodeop_bench.cpp | 58 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/ |
D | image_manager.cpp | 477 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/ |
D | snapshot.cpp | 4383 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/ |
D | controller.rs | 1612 timestamp: (self.state.start_time.elapsed().as_millis() as u32).to_be_bytes(), in poll_command()
|