Home
last modified time | relevance | path

Searched refs:mutation (Results 1 – 11 of 11) sorted by relevance

/system/bt/gd/storage/
Dmutation_test.cc39 Mutation mutation(&config, &memory_only_config); in TEST() local
40mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "LinkKey… in TEST()
41mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "Link… in TEST()
42 mutation.Commit(); in TEST()
64 Mutation mutation(&config, &memory_only_config); in TEST() local
65 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "B")); in TEST()
66 mutation.Commit(); in TEST()
75 Mutation mutation(&config, &memory_only_config); in TEST() local
76 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "B")); in TEST()
77 mutation.Commit(); in TEST()
[all …]
Ddevice_test.cc116 Mutation mutation(&config, &memory_only_config); in TEST() local
117 mutation.Add(device.SetName("hello world!")); in TEST()
118 mutation.Commit(); in TEST()
131 Mutation mutation(&config, &memory_only_config); in TEST() local
132 mutation.Add(device.SetDeviceType(DeviceType::BR_EDR)); in TEST()
133 mutation.Commit(); in TEST()
137 Mutation mutation(&config, &memory_only_config); in TEST() local
138 mutation.Add(device.SetDeviceType(DeviceType::LE)); in TEST()
139 mutation.Commit(); in TEST()
155 Mutation mutation(&config, &memory_only_config); in TEST() local
[all …]
Dadapter_config_test.cc46 Mutation mutation(&config, &memory_only_config); in TEST() local
47 mutation.Add(adapter_config.SetAddress(address)); in TEST()
48 mutation.Commit(); in TEST()
Dle_device_test.cc50 Mutation mutation(&config, &memory_only_config); in TEST() local
51 mutation.Add(device.SetAddressType(AddressType::RANDOM_DEVICE_ADDRESS)); in TEST()
52 mutation.Commit(); in TEST()
Dclassic_device_test.cc50 Mutation mutation(&config, &memory_only_config); in TEST() local
51 mutation.Add(device.SetLinkKey(kExampleLinkKey)); in TEST()
52 mutation.Commit(); in TEST()
DAndroid.bp20 "mutation.cc",
DBUILD.gn25 "mutation.cc",
Dconfig_cache.h99 virtual void Commit(std::queue<MutationEntry>& mutation);
/system/bt/gd/security/record/
Dsecurity_record_storage.cc28 …storage::Mutation& mutation, std::shared_ptr<record::SecurityRecord> record, storage::Device& devi… in SetClassicData() argument
34 mutation.Add(device.Classic().SetLinkKey(record->GetLinkKey())); in SetClassicData()
35 mutation.Add(device.Classic().SetLinkKeyType(record->GetKeyType())); in SetClassicData()
39 void SetLeData(storage::Mutation& mutation, std::shared_ptr<record::SecurityRecord> record, storage… in SetLeData() argument
47 mutation.Add(le_device.SetAddressType(record->identity_address_->GetAddressType())); in SetLeData()
57 mutation.Add(le_device.SetPeerId(byte_array.ToString())); in SetLeData()
61 mutation.Add(le_device.SetLegacyPseudoAddress(record->pseudo_address_->GetAddress())); in SetLeData()
75 mutation.Add(le_device.SetPeerEncryptionKeys(byte_array.ToString())); in SetLeData()
90 mutation.Add(le_device.SetPeerSignatureResolvingKeys(byte_array.ToString())); in SetLeData()
94 void SetAuthenticationData(storage::Mutation& mutation, std::shared_ptr<record::SecurityRecord> rec… in SetAuthenticationData() argument
[all …]
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc85 auto mutation = storage_module_->Modify(); in Init() local
86 mutation.Add(adapter_config.SetLeIdentityResolvingKey(bluetooth::os::GenerateRandom<16>())); in Init()
87 mutation.Commit(); in Init()
92 auto mutation = storage_module_->Modify(); in Init() local
93 mutation.Add(adapter_config.SetAddress(controllerAddress)); in Init()
94 mutation.Commit(); in Init()
/system/bt/main/shim/
Dle_scanning_manager.cc462 auto mutation = storage_module->Modify(); in handle_remote_properties() local
465 mutation.Add(device.SetDeviceType(device_type)); in handle_remote_properties()
466 mutation.Commit(); in handle_remote_properties()