Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 114) 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,
36 bool btif_config_set_str(const char* section, const char* key,
38 bool btif_config_get_bin(const char* section, const char* key, uint8_t* value,
40 bool btif_config_set_bin(const char* section, const char* key,
42 bool btif_config_remove(const char* section, const char* key);
44 size_t btif_config_get_bin_length(const char* section, const char* key);
[all …]
/system/bt/osi/src/
Dconfig.cc59 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,
135 bool config_has_section(const config_t* config, const char* section) { in config_has_section() argument
137 CHECK(section != NULL); in config_has_section()
139 return (section_find(config, section) != NULL); in config_has_section()
142 bool config_has_key(const config_t* config, const char* section, in config_has_key() argument
145 CHECK(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, in config_get_int() argument
154 CHECK(section != NULL); in config_get_int()
[all …]
/system/bt/btif/src/
Dbtif_config.cc246 bool btif_config_has_section(const char* section) { in btif_config_has_section() argument
248 CHECK(section != NULL); in btif_config_has_section()
251 return config_has_section(config, section); in btif_config_has_section()
254 bool btif_config_exist(const char* section, const char* key) { in btif_config_exist() argument
256 CHECK(section != NULL); in btif_config_exist()
260 return config_has_key(config, section, key); in btif_config_exist()
263 bool btif_config_get_int(const char* section, const char* key, int* value) { in btif_config_get_int() argument
265 CHECK(section != NULL); in btif_config_get_int()
270 bool ret = config_has_key(config, section, key); in btif_config_get_int()
271 if (ret) *value = config_get_int(config, section, key, *value); in btif_config_get_int()
[all …]
Dbtif_config_transcode.cc55 const char* section = j->Attribute("Tag"); in btif_config_transcode() local
60 if (section && key && value) in btif_config_transcode()
61 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,
68 int config_get_int(const config_t* config, const char* section, const char* key,
75 bool config_get_bool(const config_t* config, const char* section,
82 const char* config_get_string(const config_t* config, const char* section,
88 void config_set_int(config_t* config, const char* section, const char* key,
94 void config_set_bool(config_t* config, const char* section, const char* key,
101 void config_set_string(config_t* config, const char* section, const char* key,
109 bool config_remove_section(config_t* config, const char* section);
115 bool config_remove_key(config_t* config, const char* section, const char* key);
/system/bt/osi/test/
Dconfig_test.cc169 const config_section_node_t* section = config_section_begin(config); in TEST_F() local
170 EXPECT_TRUE(section != NULL); in TEST_F()
171 const char* section_name = config_section_name(section); in TEST_F()
172 EXPECT_TRUE(section != NULL); in TEST_F()
179 const config_section_node_t* section = config_section_begin(config); in TEST_F() local
180 EXPECT_TRUE(section != NULL); in TEST_F()
181 section = config_section_next(section); in TEST_F()
182 EXPECT_TRUE(section != NULL); in TEST_F()
183 const char* section_name = config_section_name(section); in TEST_F()
184 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.cpp187 const auto& section = pair.second; in DumpFeatureSection() local
189 GetFeatureName(feature).c_str(), section.offset, section.size); in DumpFeatureSection()
Dread_elf.h80 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id);
Drecord_file_reader.cpp316 SectionDesc section = it->second; in ReadFeatureSection() local
317 data->resize(section.size); in ReadFeatureSection()
318 if (section.size == 0) { in ReadFeatureSection()
321 if (fseek(record_fp_, section.offset, SEEK_SET) != 0) { in ReadFeatureSection()
/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/
DREADME.md96 until "Optional: Building inside Eclipse" section (don't do that section, we
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h119 int (*process)(struct perf_file_section *section,
/system/bt/doc/
Dstyle_guide.md29 considered unsafe and this section outlines the most important ones to watch out
58 development required by Fluoride. This section provides guidance on some of the
166 This section describes coding conventions that are specific to Fluoride.
167 Whereas the _Language_ section describes the use of language features, this
168 section describes idioms, best practices, and conventions that are independent
/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

12345