Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 112) sorted by relevance

12345

/system/bt/btif/include/
Dbtif_config.h30 bool btif_config_has_section(const char *section);
31 bool btif_config_exist(const char *section, const char *key);
32 bool btif_config_get_int(const char *section, const char *key, int *value);
33 bool btif_config_set_int(const char *section, const char *key, int value);
34 bool btif_config_get_str(const char *section, const char *key, char *value, int *size_bytes);
35 bool btif_config_set_str(const char *section, const char *key, const char *value);
36 bool btif_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length);
37 bool btif_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length);
38 bool btif_config_remove(const char *section, const char *key);
40 size_t btif_config_get_bin_length(const char *section, const char *key);
[all …]
/system/bt/osi/src/
Dconfig.c59 static section_t *section_find(const config_t *config, const char *section);
63 static entry_t *entry_find(const config_t *config, const char *section, const char *key);
136 bool config_has_section(const config_t *config, const char *section) { in config_has_section() argument
138 assert(section != NULL); in config_has_section()
140 return (section_find(config, section) != NULL); in config_has_section()
143 bool config_has_key(const config_t *config, const char *section, const char *key) { in config_has_key() argument
145 assert(section != NULL); in config_has_key()
148 return (entry_find(config, section, key) != NULL); in config_has_key()
151 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) { in config_get_int() argument
153 assert(section != NULL); in config_get_int()
[all …]
/system/bt/btif/src/
Dbtif_config.c257 bool btif_config_has_section(const char *section) { in btif_config_has_section() argument
259 assert(section != NULL); in btif_config_has_section()
262 bool ret = config_has_section(config, section); in btif_config_has_section()
268 bool btif_config_exist(const char *section, const char *key) { in btif_config_exist() argument
270 assert(section != NULL); in btif_config_exist()
274 bool ret = config_has_key(config, section, key); in btif_config_exist()
280 bool btif_config_get_int(const char *section, const char *key, int *value) { in btif_config_get_int() argument
282 assert(section != NULL); in btif_config_get_int()
287 bool ret = config_has_key(config, section, key); in btif_config_get_int()
289 *value = config_get_int(config, section, key, *value); in btif_config_get_int()
[all …]
Dbtif_config_transcode.cpp52 const char *section = j->Attribute("Tag"); in btif_config_transcode() local
56 if (section && key && value) in btif_config_transcode()
57 config_set_string(config, section, key, value); in btif_config_transcode()
/system/bt/osi/include/
Dconfig.h57 bool config_has_section(const config_t *config, const char *section);
61 bool config_has_key(const config_t *config, const char *section, const char *key);
67 int config_get_int(const config_t *config, const char *section, const char *key, int def_value);
72 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value);
78 const char *config_get_string(const config_t *config, const char *section, const char *key, const c…
83 void config_set_int(config_t *config, const char *section, const char *key, int value);
88 void config_set_bool(config_t *config, const char *section, const char *key, bool value);
93 void config_set_string(config_t *config, const char *section, const char *key, const char *value);
98 bool config_remove_section(config_t *config, const char *section);
103 bool config_remove_key(config_t *config, const char *section, const char *key);
/system/bt/osi/test/
Dconfig_test.cpp170 const config_section_node_t *section = config_section_begin(config); in TEST_F() local
171 EXPECT_TRUE(section != NULL); in TEST_F()
172 const char *section_name = config_section_name(section); in TEST_F()
173 EXPECT_TRUE(section != NULL); in TEST_F()
180 const config_section_node_t *section = config_section_begin(config); in TEST_F() local
181 EXPECT_TRUE(section != NULL); in TEST_F()
182 section = config_section_next(section); in TEST_F()
183 EXPECT_TRUE(section != NULL); in TEST_F()
184 const char *section_name = config_section_name(section); in TEST_F()
185 EXPECT_TRUE(section != NULL); in TEST_F()
[all …]
/system/media/camera/tests/
Dcamera_metadata_tests_fake_vendor.h163 int section; in get_fakevendor_tag_count() local
168 for (section = 0; section < FAKEVENDOR_SECTION_COUNT; section++) { in get_fakevendor_tag_count()
169 start = fakevendor_section_bounds[section][0]; in get_fakevendor_tag_count()
170 end = fakevendor_section_bounds[section][1]; in get_fakevendor_tag_count()
177 int section; in get_fakevendor_tags() local
181 for (section = 0; section < FAKEVENDOR_SECTION_COUNT; section++) { in get_fakevendor_tags()
182 start = fakevendor_section_bounds[section][0]; in get_fakevendor_tags()
183 end = fakevendor_section_bounds[section][1]; in get_fakevendor_tags()
/system/media/camera/docs/
Dmetadata_model_test.py55 section = Section("some_section", parent=None)
56 kind_static = Kind("static", parent=section)
57 kind_dynamic = Kind("dynamic", parent=section)
58 section._kinds = [kind_static, kind_dynamic]
76 combined_kind = section.combine_kinds_into_single_node()
78 self.assertEquals(section, combined_kind.parent)
90 section = Section("some_section", parent=None)
91 kind_static = Kind("static", parent=section)
92 section._kinds = [kind_static]
118 self.assertEquals(section, combined_children_kind.parent)
DCameraMetadataEnums.mako18 ## This section of enum integer definitions is inserted into
53 % for section in outer_namespace.sections:
54 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
55 any_visible(section, xml_name, ('public','hidden', 'ndk_public', 'java_public') ):
56 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'):
68 get_children_by_filtering_kind(section, xml_name, 'entries'), \
DACameraMetadata.mako21 % for section in outer_namespace.sections:
22 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == kind_name) and…
23 any_visible(section, kind_name, ('public','ndk_public') ):
24 % for inner_namespace in get_children_by_filtering_kind(section, kind_name, 'namespaces'):
36 get_children_by_filtering_kind(section, kind_name, 'merged_entries'), \
Dmetadata_template.mako44 % for section in root.sections:
45 <section name="${section.name}">
47 % if section.description is not None:
48 <description>${section.description}</description>
51 % for kind in section.kinds: # dynamic,static,controls
194 </section>
DCameraMetadataKeys.mako76 % for section in outer_namespace.sections:
77 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
78 any_visible(section, xml_name, ('public','hidden','ndk_public','java_public') ):
79 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'):
87 get_children_by_filtering_kind(section, xml_name, 'merged_entries'), \
Dhtml.mako29 ….section { color: #eeeeee; font-size: 1.5em; font-weight: bold; background-color: #888888; padding…
177 % for section in root.sections:
179 <span class="toc_section_header"><a href="#section_${section.name}">${section.name}</a></span>
181 % for kind in section.merged_kinds: # dynamic,static,controls
212 % for section in root.sections:
213 <tr><td colspan="6" id="section_${section.name}" class="section">${section.name}</td></tr>
215 % if section.description is not None:
216 <tr class="description"><td>${section.description}</td></tr>
219 % for kind in section.merged_kinds: # dynamic,static,controls
388 <!-- end of section -->
Dmetadata_model.py492 def _construct_kinds(self, section): argument
493 for kind in section.kinds:
495 section.validate_tree()
497 group_entry_by_kind = itertools.groupby(section._leafs, lambda x: x.kind)
504 if idx >= len(section._kinds):
505 kind = Kind(kind_name, section)
506 section._kinds.append(kind)
507 section.validate_tree()
509 kind = section._kinds[idx]
515 for kind in section._kinds:
[all …]
Dmetadata_helpers.py251 def get_children_by_filtering_kind(section, kind_name, member='entries'): argument
263 matched_kind = next((i for i in section.merged_kinds if i.name == kind_name), None)
1185 def any_visible(section, kind_name, visibilities): argument
1199 for inner_namespace in get_children_by_filtering_kind(section, kind_name,
1204 return any(filter_visibility(get_children_by_filtering_kind(section, kind_name,
Dcamera_device_info.mako82 ## Reserve 2^16 tag id space for each section
Dcamera_metadata_tags.mako72 * before the section _END tag to preserve existing enumeration values. In
/system/extras/simpleperf/
Dcmd_dumprecord.cpp192 const auto& section = pair.second; in DumpFeatureSection() local
194 GetFeatureName(feature).c_str(), section.offset, section.size); in DumpFeatureSection()
Drecord_file_reader.cpp189 SectionDesc section = it->second; in ReadFeatureSection() local
190 data->resize(section.size); in ReadFeatureSection()
191 if (fseek(record_fp_, section.offset, SEEK_SET) != 0) { in ReadFeatureSection()
Dread_elf.cpp67 static bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() argument
68 const char* p = section; in GetBuildIdFromNoteSection()
/system/core/
DNOTICE2 == NOTICE file corresponding to the section 4 d of ==
14 == NOTICE file corresponding to the section 4 d of ==
26 == NOTICE file corresponding to the section 4 d of ==
38 == NOTICE file corresponding to the section 4 d of ==
47 == NOTICE file corresponding to the section 4 d of ==
57 == NOTICE file corresponding to the section 4 d of ==
76 == NOTICE file corresponding to the section 4 d of ==
86 == NOTICE file corresponding to the section 4 d of ==
172 (except as stated in this section) patent license to make, have made,
/system/bt/doc/
Dstyle_guide.md25 considered unsafe and this section outlines the most important ones to watch out
54 development required by Fluoride. This section provides guidance on some of the
162 This section describes coding conventions that are specific to Fluoride.
163 Whereas the _Language_ section describes the use of language features, this
164 section describes idioms, best practices, and conventions that are independent
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h119 int (*process)(struct perf_file_section *section,
/system/sepolicy/tools/fc_sort/
DNOTICE124 Thus, it is not the intent of this section to claim rights or contest
210 If any portion of this section is held invalid or unenforceable under
211 any particular circumstance, the balance of the section is intended to
212 apply and the section as a whole is intended to apply in other
215 It is not the purpose of this section to induce you to infringe any
217 such claims; this section has the sole purpose of protecting the
226 This section is intended to make thoroughly clear what is believed to
/system/connectivity/shill/doc/
Dipconfig-api.txt25 the properties section for available properties.

12345