Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper.cpp55 bool throttle_secure = pw_handle->flags & HANDLE_FLAG_THROTTLE_SECURE; in Enroll() local
57 if (!GetFailureRecord(uid, user_id, &record, throttle_secure)) { in Enroll()
62 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Enroll()
64 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Enroll()
126 bool throttle_secure = password_handle->flags & HANDLE_FLAG_THROTTLE_SECURE; in Verify() local
129 if (!GetFailureRecord(uid, user_id, &record, throttle_secure)) { in Verify()
134 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Verify()
136 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Verify()
155 if (throttle) ClearFailureRecord(uid, user_id, throttle_secure); in Verify()