Home
last modified time | relevance | path

Searched refs:WriteSpace (Results 1 – 25 of 31) sorted by relevance

12

/system/nvram/hal/tests/
Dnvram_hal_test.cc346 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/
Dnvram_manager.h50 nvram_result_t WriteSpace(const WriteSpaceRequest& request,
139 nvram_result_t WriteSpace(uint32_t index, const NvramSpace& space);
/system/nvram/core/tests/
Dnvram_manager_test.cpp669 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/
Dtpm_nvram_binder_proxy.cc80 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()
Dtpm_nvram_binder_proxy.h45 void WriteSpace(const WriteSpaceRequest& request,
Dtpm_nvram_dbus_proxy.h52 void WriteSpace(const WriteSpaceRequest& request,
Dtpm_nvram_dbus_proxy.cc60 void TpmNvramDBusProxy::WriteSpace(const WriteSpaceRequest& request, in WriteSpace() function in tpm_manager::TpmNvramDBusProxy
Dtpm_nvram_dbus_proxy_test.cc116 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/
DITpmNvram.aidl26 oneway void WriteSpace(in byte[] command_proto, in ITpmManagerClient client); in WriteSpace() method
/system/tpm/tpm_manager/common/
Dmock_tpm_nvram_interface.h37 MOCK_METHOD2(WriteSpace,
Dtpm_nvram_interface.h46 virtual void WriteSpace(const WriteSpaceRequest& request,
/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc171 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()
Dtpm_nvram.h46 virtual NvramResult WriteSpace(uint32_t index,
Dtpm_nvram_impl.h48 NvramResult WriteSpace(uint32_t index,
Dbinder_service_test.cc194 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()
Dtpm2_nvram_impl.h49 NvramResult WriteSpace(uint32_t index,
Dmock_tpm_nvram.h50 MOCK_METHOD3(WriteSpace,
Dtpm_manager_service_test.cc459 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()
Dtpm_manager_service.h87 void WriteSpace(const WriteSpaceRequest& request,
Dbinder_service.cc152 android::binder::Status BinderService::NvramServiceInternal::WriteSpace( in WriteSpace() function in tpm_manager::BinderService::NvramServiceInternal
156 command_proto, base::Bind(&TpmNvramInterface::WriteSpace, in WriteSpace()
Dbinder_service.h70 android::binder::Status WriteSpace(
Dtpm_manager_service.cc191 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()
Ddbus_service.cc98 &TpmNvramInterface::WriteSpace>); in RegisterDBusObjectsAsync()
/system/nvram/core/
Dnvram_manager.cpp138 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/
Dscoped_nvram_device.h63 virtual nvram_result_t WriteSpace(uint32_t index,

12