Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 6 of 6) sorted by relevance

/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py237 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/update_engine/update_manager/
Dpolicy_test_utils.cc56 Time current_time = FakeSystemState::Get()->clock()->GetWallclockTime(); in SetUpDefaultTimeProvider() local
58 current_time.LocalExplode(&exploded); in SetUpDefaultTimeProvider()
63 new Time(current_time.LocalMidnight())); in SetUpDefaultTimeProvider()
/system/keymaster/android_keymaster/
Dkeymaster_enforcement.cpp42 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout);
547 bool AccessTimeMap::UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout) { in UpdateKeyAccessTime() argument
551 iter->access_time = current_time; in UpdateKeyAccessTime()
556 assert(current_time >= iter->access_time); in UpdateKeyAccessTime()
557 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime()
567 new_entry.access_time = current_time; in UpdateKeyAccessTime()
/system/security/keystore2/src/
Dutils.rs192 let mut current_time = libc::timespec { tv_sec: 0, tv_nsec: 0 }; in get_current_time_in_milliseconds() localVariable
195 unsafe { libc::clock_gettime(libc::CLOCK_MONOTONIC_RAW, &mut current_time) }; in get_current_time_in_milliseconds()
196 current_time.tv_sec as i64 * 1000 + (current_time.tv_nsec as i64 / 1_000_000) in get_current_time_in_milliseconds()
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp62 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()
/system/bt/btif/src/
Dbtif_config.cc309 time_t current_time = time(NULL); in init() local
310 struct tm* time_created = localtime(&current_time); in init()