Searched refs:session_handle_ (Results 1 – 4 of 4) sorted by relevance
/trusty/user/app/avb/ |
D | secure_storage.cpp | 28 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()
|
D | secure_storage.h | 39 storage_session_t session_handle_ = 0; variable
|
/trusty/user/app/keymaster/ |
D | secure_storage_manager.cpp | 108 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 …]
|
D | secure_storage_manager.h | 265 storage_session_t session_handle_; variable
|