Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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.h53MutationEntry Set##NAME(const RETURN_TYPE& value) { …
54 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
56MutationEntry Remove##NAME() { …
57 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
73MutationEntry Set##NAME(const RETURN_TYPE& value) { …
75 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY…
77MutationEntry Remove##NAME() { …
78 …return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY); …
94MutationEntry SetTemp##NAME(const RETURN_TYPE& value) { …
95 …return MutationEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::MEMORY_ONLY, section_, PROPERT…
[all …]
Ddevice.cc89 MutationEntry Device::RemoveFromConfig() { in RemoveFromConfig()
90 return MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, section_); in RemoveFromConfig()
93 MutationEntry Device::RemoveFromTempConfig() { in RemoveFromTempConfig()
94 return MutationEntry::Remove(MutationEntry::PropertyType::MEMORY_ONLY, section_); in RemoveFromTempConfig()
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_;
Dmutation_entry.cc24 MutationEntry::MutationEntry( in MutationEntry() function in bluetooth::storage::MutationEntry
Dconfig_cache.cc363 void ConfigCache::Commit(std::queue<MutationEntry>& mutation_entries) { in Commit()
369 case MutationEntry::EntryType::SET: in Commit()
372 case MutationEntry::EntryType::REMOVE_PROPERTY: in Commit()
375 case MutationEntry::EntryType::REMOVE_SECTION: in Commit()
Dconfig_cache.h104 virtual void Commit(std::queue<MutationEntry>& mutation);