/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 35 bool BtifConfigInterface::HasSection(const std::string& section) { in HasSection() 39 bool BtifConfigInterface::HasProperty(const std::string& section, in HasProperty() 44 bool BtifConfigInterface::GetInt(const std::string& section, in GetInt() 54 bool BtifConfigInterface::SetInt(const std::string& section, in SetInt() 60 bool BtifConfigInterface::GetUint64(const std::string& section, in GetUint64() 71 bool BtifConfigInterface::SetUint64(const std::string& section, in SetUint64() 78 bool BtifConfigInterface::GetStr(const std::string& section, in GetStr() 100 const std::string& section, const std::string& property) { in GetStr() 104 bool BtifConfigInterface::SetStr(const std::string& section, in SetStr() 112 bool BtifConfigInterface::GetBin(const std::string& section, in GetBin() [all …]
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_helper.cc | 27 void ConfigCacheHelper::SetBool(const std::string& section, const std::string& property, bool value… in SetBool() 31 std::optional<bool> ConfigCacheHelper::GetBool(const std::string& section, const std::string& prope… in GetBool() argument 45 void ConfigCacheHelper::SetUint64(const std::string& section, const std::string& property, uint64_t… in SetUint64() 49 std::optional<uint64_t> ConfigCacheHelper::GetUint64(const std::string& section, const std::string&… in GetUint64() argument 57 void ConfigCacheHelper::SetUint32(const std::string& section, const std::string& property, uint32_t… in SetUint32() 61 std::optional<uint32_t> ConfigCacheHelper::GetUint32(const std::string& section, const std::string&… in GetUint32() argument 76 void ConfigCacheHelper::SetInt64(const std::string& section, const std::string& property, int64_t v… in SetInt64() 80 std::optional<int64_t> ConfigCacheHelper::GetInt64(const std::string& section, const std::string& p… in GetInt64() argument 88 void ConfigCacheHelper::SetInt(const std::string& section, const std::string& property, int value) { in SetInt() 92 std::optional<int> ConfigCacheHelper::GetInt(const std::string& section, const std::string& propert… in GetInt() argument [all …]
|
D | config_cache_helper.h | 59 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 71 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 83 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 88 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 93 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 98 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 107 std::optional<T> Get(const std::string& section, const std::string& property) { in Get() 121 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
|
D | storage_module.cc | 240 for (const auto& section : persistent_sections) { in GetBondedDevices() local 255 bool StorageModule::HasProperty(const std::string& section, const std::string& property) const { in HasProperty() argument 261 const std::string& section, const std::string& property) const { in GetProperty() argument 266 void StorageModule::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() 276 void StorageModule::RemoveSection(const std::string& section) { in RemoveSection() 281 bool StorageModule::RemoveProperty(const std::string& section, const std::string& property) { in RemoveProperty() 296 void StorageModule::SetBool(const std::string& section, const std::string& property, bool value) { in SetBool() 302 const std::string& section, const std::string& property) const { in GetBool() argument 308 const std::string& section, const std::string& property, uint64_t value) { in SetUint64() 314 const std::string& section, const std::string& property) const { in GetUint64() argument [all …]
|
D | storage_module_test.cc | 73 bool HasPropertyPublic(const std::string& section, const std::string& property) const { in HasPropertyPublic() argument 78 const std::string& section, const std::string& property) const { in GetPropertyPublic() argument 81 void SetPropertyPublic(std::string section, std::string property, std::string value) { in SetPropertyPublic() 89 bool RemovePropertyPublic(const std::string& section, const std::string& property) { in RemovePropertyPublic() 101 void RemoveSectionPublic(const std::string& section) { in RemoveSectionPublic()
|
D | config_cache.cc | 135 bool ConfigCache::HasProperty(const std::string& section, const std::string& property) const { in HasProperty() argument 152 std::optional<std::string> ConfigCache::GetProperty(const std::string& section, const std::string& … in GetProperty() argument 182 void ConfigCache::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() 229 bool ConfigCache::RemoveSection(const std::string& section) { in RemoveSection() 240 bool ConfigCache::RemoveProperty(const std::string& section, const std::string& property) { in RemoveProperty() 293 for (const auto& section : persistent_sections) { in ConvertEncryptOrDecryptKeyIfNeeded() local 318 bool ConfigCache::IsDeviceSection(const std::string& section) { in IsDeviceSection() 521 const std::string& section, const std::unordered_set<std::string_view>& property_names) const { in HasAtLeastOneMatchingPropertiesInSection() argument
|
D | classic_device.cc | 28 …sicDevice::ClassicDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in ClassicDevice()
|
D | le_device.cc | 36 LeDevice::LeDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in LeDevice()
|
D | legacy_config_file.cc | 47 std::string section(ConfigCache::kDefaultSectionName); in Read() local
|
D | config_cache.h | 89 std::string section; member
|
D | device.cc | 82 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in Device()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_device_iot_config.cc | 51 bool device_iot_config_get_int(const std::string& section, const std::string& key, in device_iot_config_get_int() 57 bool device_iot_config_set_int(const std::string& section, in device_iot_config_set_int() 63 bool device_iot_config_int_add_one(const std::string& section, in device_iot_config_int_add_one() 69 bool device_iot_config_get_hex(const std::string& section, in device_iot_config_get_hex() 75 bool device_iot_config_set_hex(const std::string& section, in device_iot_config_set_hex() 81 bool device_iot_config_set_hex_if_greater(const std::string& section, in device_iot_config_set_hex_if_greater() 87 bool device_iot_config_get_str(const std::string& section, in device_iot_config_get_str() 94 bool device_iot_config_set_str(const std::string& section, in device_iot_config_set_str() 101 bool device_iot_config_get_bin(const std::string& section, in device_iot_config_get_bin() 108 bool device_iot_config_set_bin(const std::string& section, in device_iot_config_set_bin() [all …]
|
D | mock_btif_config.cc | 71 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist() 75 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int() 80 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int() 85 bool btif_config_get_uint64(const std::string& section, const std::string& key, in btif_config_get_uint64() 90 bool btif_config_set_uint64(const std::string& section, const std::string& key, in btif_config_set_uint64() 95 bool btif_config_get_str(const std::string& section, const std::string& key, in btif_config_get_str() 101 bool btif_config_set_str(const std::string& section, const std::string& key, in btif_config_set_str() 106 bool btif_config_get_bin(const std::string& section, const std::string& key, in btif_config_get_bin() 112 size_t btif_config_get_bin_length(const std::string& section, in btif_config_get_bin_length() 117 bool btif_config_set_bin(const std::string& section, const std::string& key, in btif_config_set_bin() [all …]
|
D | mock_osi_config.cc | 75 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool() 81 int config_get_int(const config_t& config, const std::string& section, in config_get_int() 88 const std::string& section, in config_get_string() 95 uint64_t config_get_uint64(const config_t& config, const std::string& section, in config_get_uint64() 101 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() 106 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() 122 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key() 127 bool config_remove_section(config_t* config, const std::string& section) { in config_remove_section() 135 void config_set_bool(config_t* config, const std::string& section, in config_set_bool() 140 void config_set_int(config_t* config, const std::string& section, in config_set_int() [all …]
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config.cc | 52 bool device_iot_config_has_section(const std::string& section) { in device_iot_config_has_section() 62 bool device_iot_config_exist(const std::string& section, in device_iot_config_exist() 73 bool device_iot_config_get_int(const std::string& section, in device_iot_config_get_int() 87 bool device_iot_config_set_int(const std::string& section, in device_iot_config_set_int() 105 bool device_iot_config_int_add_one(const std::string& section, in device_iot_config_int_add_one() 126 bool device_iot_config_get_hex(const std::string& section, in device_iot_config_get_hex() 149 bool device_iot_config_set_hex(const std::string& section, in device_iot_config_set_hex() 176 bool device_iot_config_set_hex_if_greater(const std::string& section, in device_iot_config_set_hex_if_greater() 189 bool device_iot_config_get_str(const std::string& section, in device_iot_config_get_str() 211 bool device_iot_config_set_str(const std::string& section, in device_iot_config_set_str() [all …]
|
/packages/modules/Bluetooth/system/osi/src/ |
D | config.cc | 59 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find() 74 static auto section_find(T& config, const std::string& section) { in section_find() 81 const std::string& section, in entry_find() 141 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() 145 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() 150 int config_get_int(const config_t& config, const std::string& section, in config_get_int() 160 uint64_t config_get_uint64(const config_t& config, const std::string& section, in config_get_uint64() 170 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool() 182 const std::string& section, in config_get_string() 191 void config_set_int(config_t* config, const std::string& section, in config_set_int() [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_config.cc | 212 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist() 218 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int() 225 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int() 232 bool btif_config_get_uint64(const std::string& section, const std::string& key, in btif_config_get_uint64() 239 bool btif_config_set_uint64(const std::string& section, const std::string& key, in btif_config_set_uint64() 265 bool btif_config_get_str(const std::string& section, const std::string& key, in btif_config_get_str() 273 bool btif_config_set_str(const std::string& section, const std::string& key, in btif_config_set_str() 280 bool btif_config_get_bin(const std::string& section, const std::string& key, in btif_config_get_bin() 288 size_t btif_config_get_bin_length(const std::string& section, in btif_config_get_bin_length() 295 bool btif_config_set_bin(const std::string& section, const std::string& key, in btif_config_set_bin() [all …]
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 102 [&](config_t* config, const std::string& section, in SetUp() 106 [&](const config_t& config, const std::string& section, in SetUp() 111 [&](config_t* config, const std::string& section, in SetUp() 112 const std::string& key, const std::string& value) { return; }; in SetUp() 259 [&](const config_t& config, const std::string& section, in TEST_F_WITH_FLAGS() 260 const std::string& key, const std::string* def_value) { in TEST_F_WITH_FLAGS() 315 [&](const config_t& config, const std::string& section, in TEST_F_WITH_FLAGS() 316 const std::string& key, const std::string* def_value) { in TEST_F_WITH_FLAGS() 363 const std::string& key, const std::string* def_value) { in TEST_F_WITH_FLAGS() 416 [&](const config_t& config, const std::string& section, in TEST_F_WITH_FLAGS() [all …]
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 75 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find() 86 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool() 91 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() 96 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() 100 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key() 105 bool config_remove_section(config_t* config, const std::string& section) { in config_remove_section() 122 const std::string& section, in config_get_string() 128 int config_get_int(const config_t& config, const std::string& section, in config_get_int() 149 uint64_t config_get_uint64(const config_t& config, const std::string& section, in config_get_uint64() 154 void config_set_bool(config_t* config, const std::string& section, in config_set_bool() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | IndexerListAdapter.java | 164 int section = -1; in configurePinnedHeaders() local 229 int section = getSectionForPosition(position); in getItemPlacementInSection() local
|
D | ContactsSectionIndexer.java | 79 public int getPositionForSection(int section) { in getPositionForSection()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | XmpUtil.java | 360 Section section = new Section(); in parse() local 376 Section section = new Section(); in parse() local
|
/packages/modules/DnsResolver/ |
D | res_debug.cpp | 138 static void do_section(ns_msg* handle, ns_sect section) { in do_section() 456 const char* p_section(int section, int opcode) { in p_section()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/adapter/ |
D | CategorySectionsAdapter.kt | 41 val section: SectionViewModel = items[position] in onBindViewHolder() constant
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactListAdapter.java | 51 final int section = mSectionIndexer.getSectionForPosition(position); in bindView() local
|