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()
128 bool throttle_secure = password_handle->flags & HANDLE_FLAG_THROTTLE_SECURE; in Verify() local
131 if (!GetFailureRecord(uid, user_id, &record, throttle_secure)) { in Verify()
136 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Verify()
138 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Verify()
158 if (throttle) ClearFailureRecord(uid, user_id, throttle_secure); in Verify()