Home
last modified time | relevance | path

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

/trusty/user/app/avb/
Davb_manager.cpp281 uint8_t request_lock_state = request.get_lock_state(); in WriteLockState() local
282 if (request_lock_state != 0 && request_lock_state != 1) { in WriteLockState()
284 TLOGE("Error: invalid lock state requested: %d\n", request_lock_state); in WriteLockState()
301 if (stored_lock_state != request_lock_state) { in WriteLockState()
310 rc = storage_->write(0, &request_lock_state, sizeof(request_lock_state)); in WriteLockState()
311 if (rc < 0 || static_cast<size_t>(rc) < sizeof(request_lock_state)) { in WriteLockState()