Searched refs:local_data (Results 1 – 11 of 11) sorted by relevance
/system/tpm/tpm_manager/server/ |
D | tpm2_initializer_impl.cc | 68 LocalData local_data; in InitializeTpm() local 69 if (!local_data_store_->Read(&local_data)) { in InitializeTpm() 77 if (local_data.owner_dependency_size() > 0) { in InitializeTpm() 78 owner_password.assign(local_data.owner_password()); in InitializeTpm() 79 endorsement_password.assign(local_data.endorsement_password()); in InitializeTpm() 80 lockout_password.assign(local_data.lockout_password()); in InitializeTpm() 97 local_data.clear_owner_dependency(); in InitializeTpm() 99 local_data.add_owner_dependency(dependency); in InitializeTpm() 101 local_data.set_owner_password(owner_password); in InitializeTpm() 102 local_data.set_endorsement_password(endorsement_password); in InitializeTpm() [all …]
|
D | tpm2_nvram_test.cc | 80 LocalData& local_data = mock_data_store_.GetMutableFakeData(); in SetupOwnerPassword() local 81 local_data.set_owner_password(kTestOwnerPassword); in SetupOwnerPassword() 113 LocalData& local_data = mock_data_store_.GetMutableFakeData(); in SetupExistingSpace() local 114 NvramPolicyRecord& policy_record = *local_data.add_nvram_policy(); in SetupExistingSpace() 197 const LocalData& local_data = mock_data_store_.GetFakeData(); in TEST_F() local 198 EXPECT_EQ(1, local_data.nvram_policy_size()); in TEST_F() 199 EXPECT_EQ(index, local_data.nvram_policy(0).index()); in TEST_F() 200 EXPECT_EQ(NVRAM_POLICY_NONE, local_data.nvram_policy(0).policy()); in TEST_F() 224 const LocalData& local_data = mock_data_store_.GetFakeData(); in TEST_F() local 225 EXPECT_EQ(1, local_data.nvram_policy_size()); in TEST_F() [all …]
|
D | tpm_manager_service_test.cc | 150 LocalData local_data; in TEST_F() local 151 local_data.set_owner_password(kOwnerPassword); in TEST_F() 153 .WillRepeatedly(DoAll(SetArgPointee<0>(local_data), Return(true))); in TEST_F() 159 EXPECT_EQ(kOwnerPassword, reply.local_data().owner_password()); in TEST_F() 269 LocalData local_data; in TEST_F() local 270 local_data.set_owner_password(kOwnerPassword); in TEST_F() 271 local_data.add_owner_dependency(kOwnerDependency); in TEST_F() 272 local_data.add_owner_dependency(kOtherDependency); in TEST_F() 274 .WillOnce(DoAll(SetArgPointee<0>(local_data), Return(true))); in TEST_F() 276 .WillOnce(DoAll(SaveArg<0>(&local_data), Return(true))); in TEST_F() [all …]
|
D | tpm_manager_service.cc | 76 LocalData local_data; in GetTpmStatusTask() local 77 if (local_data_store_ && local_data_store_->Read(&local_data)) { in GetTpmStatusTask() 78 *reply->mutable_local_data() = local_data; in GetTpmStatusTask() 127 LocalData local_data; in RemoveOwnerDependencyTask() local 128 if (!local_data_store_->Read(&local_data)) { in RemoveOwnerDependencyTask() 132 RemoveOwnerDependency(request.owner_dependency(), &local_data); in RemoveOwnerDependencyTask() 133 if (!local_data_store_->Write(local_data)) { in RemoveOwnerDependencyTask() 142 LocalData* local_data) { in RemoveOwnerDependency() argument 144 local_data->mutable_owner_dependency(); in RemoveOwnerDependency() 153 local_data->clear_owner_password(); in RemoveOwnerDependency() [all …]
|
D | tpm2_nvram_impl.cc | 482 LocalData local_data; in GetOwnerPassword() local 483 if (local_data_store_ && local_data_store_->Read(&local_data)) { in GetOwnerPassword() 484 return local_data.owner_password(); in GetOwnerPassword() 609 LocalData local_data; in GetPolicyRecord() local 610 if (local_data_store_ && local_data_store_->Read(&local_data)) { in GetPolicyRecord() 611 for (int i = 0; i < local_data.nvram_policy_size(); ++i) { in GetPolicyRecord() 612 if (local_data.nvram_policy(i).index() == index) { in GetPolicyRecord() 613 *record = local_data.nvram_policy(i); in GetPolicyRecord() 622 LocalData local_data; in SavePolicyRecord() local 623 if (!local_data_store_ || !local_data_store_->Read(&local_data)) { in SavePolicyRecord() [all …]
|
D | tpm_initializer_impl.cc | 66 LocalData local_data; in InitializeTpm() local 67 local_data.clear_owner_dependency(); in InitializeTpm() 69 local_data.add_owner_dependency(value); in InitializeTpm() 71 local_data.set_owner_password(owner_password); in InitializeTpm() 72 if (!local_data_store_->Write(local_data)) { in InitializeTpm()
|
D | tpm_nvram_impl.cc | 535 LocalData local_data; in GetOwnerPassword() local 536 if (!local_data_store_->Read(&local_data)) { in GetOwnerPassword() 540 if (local_data.owner_password().empty()) { in GetOwnerPassword() 544 owner_password->assign(local_data.owner_password()); in GetOwnerPassword()
|
D | tpm_manager_service.h | 143 LocalData* local_data);
|
/system/tpm/tpm_manager/ |
D | tpm_manager.gyp | 49 '<(proto_in_dir)/local_data.proto',
|
/system/tpm/tpm_manager/common/ |
D | tpm_manager.proto | 213 optional LocalData local_data = 4; field
|
D | print_tpm_manager_proto.cc | 687 value.local_data(), indent_size + 2) in GetProtoDebugStringWithIndent()
|