Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp424 if (keys_[code].down == down) return 0; in SetKeyCallback()
428 if (down) keys_[code].timestamp = now; in SetKeyCallback()
429 keys_[code].down = down; in SetKeyCallback()
430 keys_[code].pending = true; in SetKeyCallback()
434 int64_t duration = now - keys_[code].timestamp; in SetKeyCallback()
456 key_state* key = &keys_[code]; in ProcessKey()
Dhealthd_mode_charger.h75 key_state keys_[KEY_MAX + 1] = {}; variable
/system/core/adb/
Dtransport.cpp1517 if (keys_.empty()) { in Key()
1521 std::shared_ptr<RSA> result = keys_[0]; in Key()
1526 if (keys_.empty()) { in NextKey()
1528 keys_ = adb_auth_get_private_keys(); in NextKey()
1531 CHECK(!keys_.empty()); in NextKey()
1533 keys_.pop_front(); in NextKey()
1540 keys_.clear(); in ResetKeys()
Dtransport.h399 std::deque<std::shared_ptr<RSA>> keys_; variable