Home
last modified time | relevance | path

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

/trusty/user/app/avb/
Dsecure_storage.cpp28 error_ = storage_open_session(&session_handle_, STORAGE_CLIENT_TP_PORT); in open()
32 error_ = storage_open_file(session_handle_, &file_handle_, name, in open()
39 if (session_handle_ == 0) { in delete_file()
40 error_ = storage_open_session(&session_handle_, STORAGE_CLIENT_TP_PORT); in delete_file()
45 return storage_delete_file(session_handle_, name, STORAGE_OP_COMPLETE); in delete_file()
76 if (session_handle_) { in close()
77 storage_close_session(session_handle_); in close()
80 session_handle_ = 0; in close()
Dsecure_storage.h39 storage_session_t session_handle_ = 0; variable
/trusty/user/app/keymaster/
Dsecure_storage_manager.cpp108 if (instance.session_handle_ != STORAGE_INVALID_SESSION) { in get_instance()
109 int rc = storage_end_transaction(instance.session_handle_, false); in get_instance()
112 storage_close_session(instance.session_handle_); in get_instance()
113 instance.session_handle_ = STORAGE_INVALID_SESSION; in get_instance()
116 if (instance.session_handle_ == STORAGE_INVALID_SESSION) { in get_instance()
117 storage_open_session(&instance.session_handle_, STORAGE_CLIENT_TP_PORT); in get_instance()
118 if (instance.session_handle_ == STORAGE_INVALID_SESSION) { in get_instance()
316 int rc = storage_delete_file(session_handle_, key_file, in DeleteKey()
584 int rc = storage_delete_file(session_handle_, kAttestationIdsFileName, in ClearAttestationIds()
648 storage_end_transaction(session_handle_, false); in DeleteAllAttestationData()
[all …]
Dsecure_storage_manager.h265 storage_session_t session_handle_; variable