Home
last modified time | relevance | path

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

/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc67 tpm_nvram_.reset(new Tpm2NvramImpl(factory_, &mock_data_store_)); in SetUp()
156 std::unique_ptr<Tpm2NvramImpl> tpm_nvram_; member in tpm_manager::Tpm2NvramTest
161 tpm_nvram_->DefineSpace(0, 0, {}, "", NVRAM_POLICY_NONE)); in TEST_F()
162 EXPECT_EQ(NVRAM_RESULT_OPERATION_DISABLED, tpm_nvram_->DestroySpace(0)); in TEST_F()
169 tpm_nvram_->DefineSpace(0, 0, {}, "", NVRAM_POLICY_NONE)); in TEST_F()
170 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->DestroySpace(0)); in TEST_F()
171 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->WriteSpace(0, "", "")); in TEST_F()
172 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->ReadSpace(0, nullptr, "")); in TEST_F()
173 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->LockSpace(0, false, false, "")); in TEST_F()
195 tpm_nvram_->DefineSpace(index, size, attributes, kFakeAuthorizationValue, in TEST_F()
[all …]
Dtpm_manager_service.cc33 tpm_nvram_(tpm_nvram), in TpmManagerService()
174 tpm_nvram_->DefineSpace(request.index(), request.size(), attributes, in DefineSpaceTask()
188 reply->set_result(tpm_nvram_->DestroySpace(request.index())); in DestroySpaceTask()
209 reply->set_result(tpm_nvram_->WriteSpace(request.index(), request.data(), in WriteSpaceTask()
231 reply->set_result(tpm_nvram_->ReadSpace( in ReadSpaceTask()
253 reply->set_result(tpm_nvram_->LockSpace(request.index(), request.lock_read(), in LockSpaceTask()
269 reply->set_result(tpm_nvram_->ListSpaces(&index_list)); in ListSpacesTask()
292 reply->set_result(tpm_nvram_->GetSpaceInfo(request.index(), &size, in GetSpaceInfoTask()
Dtpm_manager_service.h187 TpmNvram* tpm_nvram_; variable
/system/tpm/tpm_manager/client/
Dmain.cc192 tpm_nvram_ = std::move(nvram_proxy); in OnInit()
202 tpm_nvram_.reset(); in OnShutdown()
406 tpm_nvram_->DefineSpace( in HandleDefineSpace()
414 tpm_nvram_->DestroySpace( in HandleDestroySpace()
434 tpm_nvram_->WriteSpace( in HandleWriteSpace()
456 tpm_nvram_->ReadSpace(request, in HandleReadSpace()
472 tpm_nvram_->LockSpace( in HandleLockSpace()
480 tpm_nvram_->ListSpaces( in HandleListSpaces()
488 tpm_nvram_->GetSpaceInfo( in HandleGetSpaceInfo()
494 std::unique_ptr<tpm_manager::TpmNvramInterface> tpm_nvram_; member in tpm_manager::ClientLoop