Searched refs:current_time (Results 1 – 9 of 9) sorted by relevance
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace_all.py | 237 def handle_reason(self, current_time, iowait, waiting_call): argument 247 def handle_switch_out(self, current_time, out_state, priority, name, core): argument 252 self.last_switch_out_time = current_time 255 execution_time = current_time - self.last_switch_in_time 261 def handle_switch_in(self, current_time, priority, name, core): argument 266 self.last_switch_in_time = current_time 270 wait_time = current_time - self.last_switch_out_time 329 current_time = float(match.group(3))*1000 #ms 345 out_process.handle_switch_out(current_time, out_state, out_prio, out_name, cpu_core) 346 in_process.handle_switch_in(current_time, in_prio, in_name, cpu_core) [all …]
|
/system/extras/perf_tools/ |
D | progress_report.py | 94 current_time = datetime.strptime(line[:18], '%m-%d %H:%M:%S.%f') 98 if current_time >= start and current_time <= end:
|
D | parse_timing.py | 178 current_time = datetime.strptime(line[:index], '%m-%d %H:%M:%S.%f') 182 deltatime = current_time - ts
|
/system/keymaster/android_keymaster/ |
D | keymaster_enforcement.cpp | 42 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout); 548 bool AccessTimeMap::UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout) { in UpdateKeyAccessTime() argument 552 iter->access_time = current_time; in UpdateKeyAccessTime() 557 assert(current_time >= iter->access_time); in UpdateKeyAccessTime() 558 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime() 568 new_entry.access_time = current_time; in UpdateKeyAccessTime()
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/ |
D | adv_report_cache.cc | 43 uint64_t current_time = chreGetTime(); in Refresh() local 46 if (current_time - cache_reports_[index].timestamp > in Refresh()
|
D | app_manager.cc | 238 uint64_t current_time = chreGetTime(); in HandleHostConfigRequest() local 239 if (current_time - fp_filter_cache_time_nanosec_ < in HandleHostConfigRequest()
|
/system/security/keystore2/src/ |
D | utils.rs | 217 let mut current_time = libc::timespec { tv_sec: 0, tv_nsec: 0 }; in get_current_time_in_milliseconds() localVariable 220 unsafe { libc::clock_gettime(libc::CLOCK_MONOTONIC_RAW, &mut current_time) }; in get_current_time_in_milliseconds() 221 current_time.tv_sec as i64 * 1000 + (current_time.tv_nsec as i64 / 1_000_000) in get_current_time_in_milliseconds()
|
/system/update_engine/ |
D | metrics_utils.cc | 366 const auto current_time = clock->GetMonotonicTime(); in LoadAndReportTimeToReboot() local 367 TimeDelta time_to_reboot = current_time - system_updated_at; in LoadAndReportTimeToReboot() 371 << utils::ToString(current_time); in LoadAndReportTimeToReboot()
|
/system/keymaster/tests/ |
D | keymaster_enforcement_test.cpp | 62 uint32_t current_time() { return current_time_; } in current_time() function in keymaster::test::EnforcementTestKeymasterEnforcement 827 token.timestamp = hton(kmen.current_time()); in TEST_F() 852 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F() 902 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
|