Home
last modified time | relevance | path

Searched refs:MutationEntry (Results 1 – 9 of 9) sorted by relevance

/system/bt/gd/storage/
Dmutation_test.cc30 using bluetooth::storage::MutationEntry;
40 …mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "LinkKey… in TEST()
41 …mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "Link… in TEST()
45 …mutation2.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "LinkKe… in TEST()
65 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "B")); in TEST()
76 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "B")); in TEST()
87 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "C")); in TEST()
103 mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "A", "B", "C")); in TEST()
104 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "B")); in TEST()
114 mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "A", "B", "C")); in TEST()
[all …]
Dmutation_entry.h28 class MutationEntry {
35 static MutationEntry Set( in Set()
37 return MutationEntry::Set( in Set()
42 static MutationEntry Set( in Set()
45 return MutationEntry::Set<EnumUnderlyingType>( in Set()
53 static MutationEntry Set( in Set()
55 return MutationEntry::Set( in Set()
60 static MutationEntry Set( in Set()
62 return MutationEntry::Set( in Set()
67 static MutationEntry Set( in Set()
[all …]
Ddevice.h51MutationEntry Set##NAME(const RETURN_TYPE& value) { …
52 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
54MutationEntry Remove##NAME() { …
55 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
71MutationEntry Set##NAME(const RETURN_TYPE& value) { …
73 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
75MutationEntry Remove##NAME() { …
76 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
92MutationEntry SetTemp##NAME(const RETURN_TYPE& value) { …
93 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::MEMORY_ONLY, section_, PROPERT…
[all …]
Dmutation.cc30 void Mutation::Add(MutationEntry entry) { in Add()
32 case MutationEntry::PropertyType::NORMAL: in Add()
33 if (entry.entry_type != MutationEntry::EntryType::SET) { in Add()
39 case MutationEntry::PropertyType::MEMORY_ONLY: in Add()
Dmutation.h30 void Add(MutationEntry entry);
37 std::queue<MutationEntry> normal_config_entries_;
38 std::queue<MutationEntry> memory_only_config_entries_;
Ddevice.cc87 MutationEntry Device::RemoveFromConfig() { in RemoveFromConfig()
88 return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_); in RemoveFromConfig()
91 MutationEntry Device::RemoveFromTempConfig() { in RemoveFromTempConfig()
92 return MutationEntry::Remove(MutationEntry::PropertyType::MEMORY_ONLY, section_); in RemoveFromTempConfig()
Dmutation_entry.cc24 MutationEntry::MutationEntry( in MutationEntry() function in bluetooth::storage::MutationEntry
Dconfig_cache.cc303 void ConfigCache::Commit(std::queue<MutationEntry>& mutation_entries) { in Commit()
309 case MutationEntry::EntryType::SET: in Commit()
312 case MutationEntry::EntryType::REMOVE_PROPERTY: in Commit()
315 case MutationEntry::EntryType::REMOVE_SECTION: in Commit()
Dconfig_cache.h99 virtual void Commit(std::queue<MutationEntry>& mutation);