Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 9 of 9) 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.cc53 Time current_time = fake_clock_.GetWallclockTime(); in SetUpDefaultTimeProvider() local
55 current_time.LocalExplode(&exploded); in SetUpDefaultTimeProvider()
60 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);
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()
569 new_entry.access_time = current_time; in UpdateKeyAccessTime()
/system/security/keystore/
Dkeymaster_enforcement.cpp498 bool AccessTimeMap::UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout) { in UpdateKeyAccessTime() argument
502 iter->access_time = current_time; in UpdateKeyAccessTime()
507 assert(current_time >= iter->access_time); in UpdateKeyAccessTime()
508 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime()
518 new_entry.access_time = current_time; in UpdateKeyAccessTime()
Dauth_token_table.cpp274 AuthTokenTable::Entry::Entry(HardwareAuthToken&& token, time_t current_time) in Entry() argument
275 : token_(std::move(token)), time_received_(current_time), last_use_(current_time), in Entry()
Dkeymaster_enforcement.h50 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout);
Dauth_token_table.h108 Entry(HardwareAuthToken&& token, time_t current_time);
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp62 uint32_t current_time() { return current_time_; } in current_time() function in keymaster::test::TestKeymasterEnforcement
818 token.timestamp = hton(kmen.current_time()); in TEST_F()
843 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
893 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
/system/bt/btif/src/
Dbtif_config.cc311 time_t current_time = time(NULL); in init() local
312 struct tm* time_created = localtime(&current_time); in init()