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/update_engine/update_manager/ |
D | policy_test_utils.cc | 53 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/ |
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() 569 new_entry.access_time = current_time; in UpdateKeyAccessTime()
|
/system/security/keystore/ |
D | keymaster_enforcement.cpp | 498 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()
|
D | auth_token_table.cpp | 274 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()
|
D | keymaster_enforcement.h | 50 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout);
|
D | auth_token_table.h | 108 Entry(HardwareAuthToken&& token, time_t current_time);
|
/system/keymaster/tests/ |
D | keymaster_enforcement_test.cpp | 62 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/ |
D | btif_config.cc | 311 time_t current_time = time(NULL); in init() local 312 struct tm* time_created = localtime(¤t_time); in init()
|