Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp33 : SoftKeymasterEnforcement(3, 3), current_time_(10000), report_token_valid_(true) {} in TestKeymasterEnforcement()
43 uint64_t get_current_time_ms() const override { return current_time_ * 1000; } in get_current_time_ms()
55 return current_time_ > ntoh(token.timestamp) + timeout; in auth_token_timed_out()
61 void tick(unsigned seconds = 1) { current_time_ += seconds; } in tick()
62 uint32_t current_time() { return current_time_; } in current_time()
68 uint32_t current_time_; member in keymaster::test::TestKeymasterEnforcement