/system/nvram/hal/tests/ |
D | nvram_hal_test.cc | 346 device.WriteSpace(kTestIndex1, data, bad_password)); in TEST() 347 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(kTestIndex1, data, password)); in TEST() 388 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", kNoAuth)); in TEST() 395 device.WriteSpace(index, "test2", kNoAuth)); in TEST() 411 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", kNoAuth)); in TEST() 422 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test2", kNoAuth)); in TEST() 431 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", password)); in TEST() 433 device.WriteSpace(index, "test2", kNoAuth)); in TEST() 435 device.WriteSpace(index, "test3", "bad_password")); in TEST() 450 ASSERT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", password)); in TEST() [all …]
|
/system/nvram/core/include/nvram/core/ |
D | nvram_manager.h | 50 nvram_result_t WriteSpace(const WriteSpaceRequest& request, 139 nvram_result_t WriteSpace(uint32_t index, const NvramSpace& space);
|
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 669 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 686 EXPECT_EQ(NV_RESULT_SUCCESS, nvram.WriteSpace(write_space_request, in TEST_F() 713 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 732 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 757 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 785 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 812 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 843 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 866 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() 964 nvram.WriteSpace(write_space_request, &write_space_response)); in TEST_F() [all …]
|
/system/tpm/tpm_manager/client/ |
D | tpm_nvram_binder_proxy.cc | 80 void TpmNvramBinderProxy::WriteSpace(const WriteSpaceRequest& request, in WriteSpace() function in tpm_manager::TpmNvramBinderProxy 82 auto method = base::Bind(&ITpmNvram::WriteSpace, base::Unretained(binder_)); in WriteSpace()
|
D | tpm_nvram_binder_proxy.h | 45 void WriteSpace(const WriteSpaceRequest& request,
|
D | tpm_nvram_dbus_proxy.h | 52 void WriteSpace(const WriteSpaceRequest& request,
|
D | tpm_nvram_dbus_proxy.cc | 60 void TpmNvramDBusProxy::WriteSpace(const WriteSpaceRequest& request, in WriteSpace() function in tpm_manager::TpmNvramDBusProxy
|
D | tpm_nvram_dbus_proxy_test.cc | 116 TEST_F(TpmNvramDBusProxyTest, WriteSpace) { in TEST_F() argument 149 proxy_.WriteSpace(request, base::Bind(callback)); in TEST_F()
|
/system/tpm/tpm_manager/aidl/android/tpm_manager/ |
D | ITpmNvram.aidl | 26 oneway void WriteSpace(in byte[] command_proto, in ITpmManagerClient client); in WriteSpace() method
|
/system/tpm/tpm_manager/common/ |
D | mock_tpm_nvram_interface.h | 37 MOCK_METHOD2(WriteSpace,
|
D | tpm_nvram_interface.h | 46 virtual void WriteSpace(const WriteSpaceRequest& request,
|
/system/tpm/tpm_manager/server/ |
D | tpm2_nvram_test.cc | 171 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->WriteSpace(0, "", "")); in TEST_F() 332 tpm_nvram_->WriteSpace(index, data, kFakeAuthorizationValue)); in TEST_F() 344 tpm_nvram_->WriteSpace(index, data, kFakeAuthorizationValue)); in TEST_F() 353 tpm_nvram_->WriteSpace(index, "data", kFakeAuthorizationValue)); in TEST_F() 362 tpm_nvram_->WriteSpace(index, "data", kFakeAuthorizationValue)); in TEST_F() 373 tpm_nvram_->WriteSpace(index, data, kFakeAuthorizationValue)); in TEST_F() 385 tpm_nvram_->WriteSpace(index, data, kFakeAuthorizationValue)); in TEST_F()
|
D | tpm_nvram.h | 46 virtual NvramResult WriteSpace(uint32_t index,
|
D | tpm_nvram_impl.h | 48 NvramResult WriteSpace(uint32_t index,
|
D | binder_service_test.cc | 194 TEST_F(BinderServiceTest, WriteSpace) { in TEST_F() argument 200 EXPECT_CALL(mock_nvram_service_, WriteSpace(_, _)) in TEST_F() 213 nvram_proxy_->WriteSpace(request, GetCallback<WriteSpaceReply>(&reply)); in TEST_F()
|
D | tpm2_nvram_impl.h | 49 NvramResult WriteSpace(uint32_t index,
|
D | mock_tpm_nvram.h | 50 MOCK_METHOD3(WriteSpace,
|
D | tpm_manager_service_test.cc | 459 service_->WriteSpace(write_request, base::Bind(write_callback)); in TEST_F() 485 service_->WriteSpace(write_request, base::Bind(write_callback_success)); in TEST_F() 490 service_->WriteSpace(write_request, base::Bind(write_callback_failure)); in TEST_F() 525 service_->WriteSpace(write_request, base::Bind(write_callback)); in TEST_F()
|
D | tpm_manager_service.h | 87 void WriteSpace(const WriteSpaceRequest& request,
|
D | binder_service.cc | 152 android::binder::Status BinderService::NvramServiceInternal::WriteSpace( in WriteSpace() function in tpm_manager::BinderService::NvramServiceInternal 156 command_proto, base::Bind(&TpmNvramInterface::WriteSpace, in WriteSpace()
|
D | binder_service.h | 70 android::binder::Status WriteSpace(
|
D | tpm_manager_service.cc | 191 void TpmManagerService::WriteSpace(const WriteSpaceRequest& request, in WriteSpace() function in tpm_manager::TpmManagerService 209 reply->set_result(tpm_nvram_->WriteSpace(request.index(), request.data(), in WriteSpaceTask()
|
D | dbus_service.cc | 98 &TpmNvramInterface::WriteSpace>); in RegisterDBusObjectsAsync()
|
/system/nvram/core/ |
D | nvram_manager.cpp | 138 result = WriteSpace(*input.get<COMMAND_WRITE_SPACE>(), in Dispatch() 283 (result = WriteSpace(index, space)) != NV_RESULT_SUCCESS) { in CreateSpace() 393 nvram_result_t NvramManager::WriteSpace(const WriteSpaceRequest& request, in WriteSpace() function in nvram::NvramManager 436 return WriteSpace(index, space_record.persistent); in WriteSpace() 489 return WriteSpace(index, space_record.persistent); in LockSpaceWrite() 844 nvram_result_t NvramManager::WriteSpace(uint32_t index, in WriteSpace() function in nvram::NvramManager
|
/system/nvram/hal/include/nvram/hal/tests/ |
D | scoped_nvram_device.h | 63 virtual nvram_result_t WriteSpace(uint32_t index,
|