Home
last modified time | relevance | path

Searched defs:section (Results 1 – 25 of 188) sorted by relevance

12345678

/aosp12/system/bt/test/mock/
H A Dmock_main_shim_BtifConfigInterface.cc22 const std::string& section) { in HasSection()
26 const std::string& section, const std::string& property) { in HasProperty()
29 bool bluetooth::shim::BtifConfigInterface::GetInt(const std::string& section, in GetInt()
34 bool bluetooth::shim::BtifConfigInterface::SetInt(const std::string& section, in SetInt()
49 bool bluetooth::shim::BtifConfigInterface::GetStr(const std::string& section, in GetStr()
56 const std::string& section, const std::string& key) { in GetStr()
59 bool bluetooth::shim::BtifConfigInterface::SetStr(const std::string& section, in SetStr()
64 bool bluetooth::shim::BtifConfigInterface::GetBin(const std::string& section, in GetBin()
71 const std::string& section, const std::string& key) { in GetBinLength()
74 bool bluetooth::shim::BtifConfigInterface::SetBin(const std::string& section, in SetBin()
[all …]
H A Dmock_btif_config.cc85 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist()
89 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int()
94 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int()
99 bool btif_config_get_uint64(const std::string& section, const std::string& key, in btif_config_get_uint64()
104 bool btif_config_set_uint64(const std::string& section, const std::string& key, in btif_config_set_uint64()
109 bool btif_config_get_str(const std::string& section, const std::string& key, in btif_config_get_str()
115 bool btif_config_set_str(const std::string& section, const std::string& key, in btif_config_set_str()
120 bool btif_config_get_bin(const std::string& section, const std::string& key, in btif_config_get_bin()
126 size_t btif_config_get_bin_length(const std::string& section, in btif_config_get_bin_length()
131 bool btif_config_set_bin(const std::string& section, const std::string& key, in btif_config_set_bin()
[all …]
/aosp12/system/bt/gd/storage/
H A Dconfig_cache_helper.cc25 void ConfigCacheHelper::SetBool(const std::string& section, const std::string& property, bool value… in SetBool()
29 std::optional<bool> ConfigCacheHelper::GetBool(const std::string& section, const std::string& prope… in GetBool() argument
43 void ConfigCacheHelper::SetUint64(const std::string& section, const std::string& property, uint64_t… in SetUint64()
47 std::optional<uint64_t> ConfigCacheHelper::GetUint64(const std::string& section, const std::string&… in GetUint64() argument
55 void ConfigCacheHelper::SetUint32(const std::string& section, const std::string& property, uint32_t… in SetUint32()
74 void ConfigCacheHelper::SetInt64(const std::string& section, const std::string& property, int64_t v… in SetInt64()
78 std::optional<int64_t> ConfigCacheHelper::GetInt64(const std::string& section, const std::string& p… in GetInt64() argument
86 void ConfigCacheHelper::SetInt(const std::string& section, const std::string& property, int value) { in SetInt()
90 std::optional<int> ConfigCacheHelper::GetInt(const std::string& section, const std::string& propert… in GetInt() argument
106 const std::string& section, const std::string& property, const std::vector<uint8_t>& value) { in SetBin()
[all …]
H A Dconfig_cache_helper.h59 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()
H A Dconfig_cache.cc120 bool ConfigCache::HasProperty(const std::string& section, const std::string& property) const { in HasProperty() argument
137 std::optional<std::string> ConfigCache::GetProperty(const std::string& section, const std::string& … in GetProperty() argument
163 void ConfigCache::SetProperty(std::string section, std::string property, std::string value) { in SetProperty()
202 bool ConfigCache::RemoveSection(const std::string& section) { in RemoveSection()
213 bool ConfigCache::RemoveProperty(const std::string& section, const std::string& property) { in RemoveProperty()
258 bool ConfigCache::IsDeviceSection(const std::string& section) { in IsDeviceSection()
426 const std::string& section, const std::unordered_set<std::string_view>& property_names) const { in HasAtLeastOneMatchingPropertiesInSection() argument
/aosp12/system/bt/main/shim/
H A Dconfig.cc36 bool BtifConfigInterface::HasSection(const std::string& section) { in HasSection()
40 bool BtifConfigInterface::HasProperty(const std::string& section, in HasProperty()
45 bool BtifConfigInterface::GetInt(const std::string& section, in GetInt()
56 bool BtifConfigInterface::SetInt(const std::string& section, in SetInt()
63 bool BtifConfigInterface::GetUint64(const std::string& section, in GetUint64()
75 bool BtifConfigInterface::SetUint64(const std::string& section, in SetUint64()
83 bool BtifConfigInterface::GetStr(const std::string& section, in GetStr()
104 const std::string& section, const std::string& property) { in GetStr()
108 bool BtifConfigInterface::SetStr(const std::string& section, in SetStr()
116 bool BtifConfigInterface::GetBin(const std::string& section, in GetBin()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_device_config.cpp82 bool AdapterDeviceConfig::SetValue(const std::string &section, const std::string &property, const i… in SetValue()
94 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, int &va… in GetValue()
100 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, std::st… in GetValue()
107 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, bool &v… in GetValue()
114const std::string &section, const std::string &subSection, const std::string &property, const int … in SetValue()
127const std::string &section, const std::string &subSection, const std::string &property, const bool… in SetValue()
134const std::string &section, const std::string &subSection, const std::string &property, int &value) in GetValue()
141const std::string &section, const std::string &subSection, const std::string &property, std::strin… in GetValue()
148const std::string &section, const std::string &subSection, const std::string &property, bool &valu… in GetValue()
154 bool AdapterDeviceConfig::GetSubSections(const std::string &section, std::vector<std::string> &subS… in GetSubSections()
[all …]
H A Dadapter_config.cpp69 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, int &value) in GetValue()
73 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, std::string &… in GetValue()
77 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, bool &value) in GetValue()
81 bool AdapterConfig::HasSection(const std::string &section) in HasSection()
H A Dprofile_config.cpp71 const std::string &addr, const std::string &section, const std::string &property, int &value) in GetValue()
78 const std::string &addr, const std::string &section, const std::string &property, bool &value) in GetValue()
85 const std::string &addr, const std::string &section, const std::string &property, int &value) in SetValue()
95 const std::string &addr, const std::string &section, const std::string &property, bool &value) in SetValue()
113 bool ProfileConfig::RemoveProperty(const std::string &addr, const std::string &section, const std::… in RemoveProperty()
122 bool ProfileConfig::HasSection(const std::string &addr, const std::string &section) in HasSection()
H A Dadapter_device_info.cpp76 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, std::stri… in GetValue()
82 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, bool &val… in GetValue()
88 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, int &valu… in GetValue()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dxml_parse.cpp37 xmlNodePtr XmlParse::impl::IntHasSection(const std::string &section, const std::string &subSection) in IntHasSection()
71 const std::string &section, const std::string &subSection, const std::string &property) in IntHasProperty()
107 const std::string &section, const std::string &subSection, const std::string &property) in FindOrCreatePropertyNode()
348 bool XmlParse::HasSection(const std::string &section, const std::string &subSection) in HasSection()
410 bool XmlParse::RemoveSection(const std::string &section, const std::string &subSection) in RemoveSection()
455 bool XmlParse::GetValue(const std::string &section, const std::string &property, int &value) in GetValue()
467 bool XmlParse::GetValue(const std::string &section, const std::string &property, bool &value) in GetValue()
507 bool XmlParse::HasProperty(const std::string &section, const std::string &property) in HasProperty()
513 bool XmlParse::HasSection(const std::string &section) in HasSection()
531 bool XmlParse::RemoveSection(const std::string &section) in RemoveSection()
[all …]
/aosp12/system/bt/osi/src/
H A Dconfig.cc81 const std::string& section, in entry_find()
146 bool config_has_key(const config_t& config, const std::string& section, in config_has_key()
151 int config_get_int(const config_t& config, const std::string& section, in config_get_int()
183 const std::string& section, in config_get_string()
192 void config_set_int(config_t* config, const std::string& section, in config_set_int()
197 void config_set_uint64(config_t* config, const std::string& section, in config_set_uint64()
202 void config_set_bool(config_t* config, const std::string& section, in config_set_bool()
207 void config_set_string(config_t* config, const std::string& section, in config_set_string()
246 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key()
304 for (const section_t& section : config.sections) { in config_save() local
[all …]
/aosp12/system/linkerconfig/modules/tests/
H A Dsection_test.cc105 Section section("test_section", std::move(namespaces)); in TEST() local
118 Section section("test_section", std::move(namespaces)); in TEST() local
135 Section section("section", std::move(namespaces)); in TEST() local
164 Section section("section", std::move(namespaces)); in TEST() local
178 Section section("section", std::move(namespaces)); in TEST() local
192 Section section("section", std::move(namespaces)); in TEST() local
218 Section section("section", std::move(namespaces)); in TEST() local
/aosp12/system/bt/btif/src/
H A Dbtif_config_cache.cc34 bool has_link_key_in_section(const section_t& section) { in has_link_key_in_section()
43 bool is_local_section_info(const std::string& section) { in is_local_section_info()
96 section_t* section = unpaired_devices_cache_.Find(section_name); in HasKey() local
118 section_t* section = unpaired_devices_cache_.Find(section_name); in RemoveKey() local
154 for (const auto& section : paired_devices_list_.sections) { in GetPersistentSectionNames() local
182 section_t section = {}; in SetString() local
228 section_t section = {}; in GetString() local
H A Dbtif_config.cc390 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist()
399 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int()
415 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int()
426 bool btif_config_get_uint64(const std::string& section, const std::string& key, in btif_config_get_uint64()
442 bool btif_config_set_uint64(const std::string& section, const std::string& key, in btif_config_set_uint64()
472 bool btif_config_get_str(const std::string& section, const std::string& key, in btif_config_get_str()
492 bool btif_config_set_str(const std::string& section, const std::string& key, in btif_config_set_str()
509 bool btif_config_get_bin(const std::string& section, const std::string& key, in btif_config_get_bin()
574 size_t btif_config_get_bin_length(const std::string& section, in btif_config_get_bin_length()
587 bool btif_config_set_bin(const std::string& section, const std::string& key, in btif_config_set_bin()
[all …]
/aosp12/system/linkerconfig/modules/
H A Dconfiguration.cc42 for (auto& section : sections_) { in WriteConfig() local
48 for (auto& section : sections_) { in GetSection() local
/aosp12/system/linkerconfig/contents/tests/configuration/include/
H A Dconfigurationtest.h37 inline void ValidateAllNamespacesAreVisible(const Section& section) { in ValidateAllNamespacesAreVisible()
59 inline void ValidateSection(const Section& section) { in ValidateSection()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.cpp325 bool BleConfig::SetLocalLtk(const std::string &section, const std::string &ltk) const in SetLocalLtk() argument
336 bool BleConfig::SetLocalKeySize(const std::string &section, const std::string &keysize) const in SetLocalKeySize() argument
363 bool BleConfig::SetLocalCsrk(const std::string &section, const std::string &csrk) const in SetLocalCsrk() argument
374 bool BleConfig::SetLocalSignCounter(const std::string &section, uint32_t signCounter) const in SetLocalSignCounter() argument
386 bool BleConfig::SetPeerKeyType(const std::string &section, const std::string &keytype) const in SetPeerKeyType() argument
397 bool BleConfig::SetPeerLtk(const std::string &section, const std::string &ltk) const in SetPeerLtk() argument
408 bool BleConfig::SetPeerKeySize(const std::string &section, const std::string &keysize) const in SetPeerKeySize() argument
419 bool BleConfig::SetPeerEdivRand(const std::string &section, const std::string &ediv, const std::str… in SetPeerEdivRand() argument
451 bool BleConfig::SetPeerIrk(const std::string &section, const std::string &irk) const in SetPeerIrk() argument
462 bool BleConfig::SetPeerCsrk(const std::string &section, const std::string &csrk) const in SetPeerCsrk() argument
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationPersistence.java116 private static void writePackageStates(@NonNull SettingsXml.WriteSection section, in writePackageStates()
149 private static void readPackageStates(@NonNull SettingsXml.ReadSection section, in readPackageStates()
166 private static DomainVerificationPkgState createPkgStateFromXml( in createPkgStateFromXml()
196 private static void readUserStates(@NonNull SettingsXml.ReadSection section, in readUserStates()
250 try (SettingsXml.WriteSection section = parentSection.startSection(TAG_USER_STATES)) { in writeUserStates()
286 private static DomainVerificationInternalUserState createUserStateFromXml( in createUserStateFromXml()
304 private static void readEnabledHosts(@NonNull SettingsXml.ReadSection section, in readEnabledHosts()
317 try (SettingsXml.WriteSection section = in writeUserStateToXml()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DIProcessStats.aidl35 long getCommittedStats(long highWaterMarkMs, int section, boolean doAggregate, in getCommittedStats()
46 long getCommittedStatsMerged(long highWaterMarkMs, int section, boolean doAggregate, in getCommittedStatsMerged()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandboxmgr_test.cpp163 SandboxSection *section = CreateSandboxSection(name, len, type); in __anona643db180102() local
204 SandboxSection *section = CreateSandboxSection(inputName[i], inputDataLen[j], 0); variable
227 …SandboxSection *section = CreateSandboxSection("system-const", sizeof(SandboxSection), SANDBOX_TAG… variable
257 SandboxSection *section = GetSandboxSection(nullptr, "system-const"); variable
295 …SandboxSection *section = CreateSandboxSection("system-const", sizeof(SandboxSection), SANDBOX_TAG… variable
330 …SandboxSection *section = CreateSandboxSection("system-const", sizeof(SandboxSection), SANDBOX_TAG… variable
361 …SandboxSection *section = CreateSandboxSection("system-const", sizeof(SandboxSection), SANDBOX_TAG… variable
409 …SandboxSection *section = CreateSandboxSection("system-const", sizeof(SandboxSection), SANDBOX_TAG… variable
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_manager.c103 PathMountNode *GetPathMountNode(const SandboxSection *section, int type, const char *source, const … in GetPathMountNode()
118 SymbolLinkNode *GetSymbolLinkNode(const SandboxSection *section, const char *target, const char *li… in GetSymbolLinkNode()
153 SandboxMountNode *GetFirstSandboxMountNode(const SandboxSection *section) in GetFirstSandboxMountNode()
194 static inline void InitSandboxSection(SandboxSection *section, int type) in InitSandboxSection()
208 static void ClearSandboxSection(SandboxSection *section) in ClearSandboxSection()
256 static void DumpSandboxSection(const SandboxSection *section) in DumpSandboxSection()
282 SandboxSection *section = (SandboxSection *)calloc(1, dataLen); in CreateSandboxSection() local
325 void DeleteSandboxSection(SandboxSection *section) in DeleteSandboxSection()
396 SandboxSection *section = (SandboxSection *)node; in DumpSandboxSectionNode() local
/aosp12/bionic/libc/dns/nameser/
H A Dns_parse.c82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr()
143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr()
206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2()
/aosp12/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp127 int32_t section; in readFromParcel() local
187 IncidentReportArgs::addSection(int section) in addSection()
219 IncidentReportArgs::containsSection(int section, bool specific) const in containsSection()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
H A Dcamera_example_vendor_tags.cpp37 for (int32_t section = 0; section < EXAMPLE_SECTION_COUNT; section++) { in GetVendorTagCount() local
67 for (int32_t section = 0; section < EXAMPLE_SECTION_COUNT; section++) { in GetAllVendorTags() local

12345678