/system/bt/btif/include/ |
D | btif_config.h | 32 bool btif_config_has_section(const char* section); 33 bool btif_config_exist(const std::string& section, const std::string& key); 34 bool btif_config_get_int(const std::string& section, const std::string& key, 36 bool btif_config_set_int(const std::string& section, const std::string& key, 38 bool btif_config_get_uint64(const std::string& section, const std::string& key, 40 bool btif_config_set_uint64(const std::string& section, const std::string& key, 42 bool btif_config_get_str(const std::string& section, const std::string& key, 44 bool btif_config_set_str(const std::string& section, const std::string& key, 46 bool btif_config_get_bin(const std::string& section, const std::string& key, 48 bool btif_config_set_bin(const std::string& section, const std::string& key, [all …]
|
/system/linkerconfig/modules/tests/ |
D | section_test.cc | 103 android::linkerconfig::modules::Section section("test_section"); in TEST() local 105 auto default_namespace = section.CreateNamespace( in TEST() 110 auto namespace1 = section.CreateNamespace("namespace1"); in TEST() 114 auto namespace2 = section.CreateNamespace("namespace2"); in TEST() 117 section.WriteConfig(writer); in TEST() 124 android::linkerconfig::modules::Section section("test_section"); in TEST() local 125 auto ns = section.CreateNamespace("default"); in TEST() 128 section.WriteConfig(writer); in TEST() 135 android::linkerconfig::modules::Section section("test_section"); in TEST() local 136 section.AddBinaryPath("binary_path1", "binary_path2", "binary_path3"); in TEST() [all …]
|
/system/bt/osi/include/ |
D | config.h | 64 bool config_has_section(const config_t& config, const std::string& section); 68 bool config_has_key(const config_t& config, const std::string& section, 74 int config_get_int(const config_t& config, const std::string& section, 80 uint64_t config_get_uint64(const config_t& config, const std::string& section, 86 bool config_get_bool(const config_t& config, const std::string& section, 94 const std::string& section, 100 void config_set_int(config_t* config, const std::string& section, 105 void config_set_uint64(config_t* config, const std::string& section, 110 void config_set_bool(config_t* config, const std::string& section, 115 void config_set_string(config_t* config, const std::string& section, [all …]
|
/system/bt/osi/src/ |
D | config.cc | 44 static auto section_find(T& config, const std::string& section) { in section_find() argument 47 [§ion](const section_t& sec) { return sec.name == section; }); in section_find() 51 const std::string& section, in entry_find() argument 53 auto sec = section_find(config, section); in entry_find() 112 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() argument 113 return (section_find(config, section) != config.sections.end()); in config_has_section() 116 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() argument 118 return (entry_find(config, section, key) != nullptr); in config_has_key() 121 int config_get_int(const config_t& config, const std::string& section, in config_get_int() argument 123 const entry_t* entry = entry_find(config, section, key); in config_get_int() [all …]
|
/system/media/camera/tests/ |
D | camera_metadata_tests_fake_vendor.h | 163 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/bt/btif/src/ |
D | btif_config.cc | 318 bool btif_config_has_section(const char* section) { in btif_config_has_section() argument 320 CHECK(section != NULL); in btif_config_has_section() 323 return config_has_section(*config, section); in btif_config_has_section() 326 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist() argument 330 return config_has_key(*config, section, key); in btif_config_exist() 333 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int() argument 339 bool ret = config_has_key(*config, section, key); in btif_config_get_int() 340 if (ret) *value = config_get_int(*config, section, key, *value); in btif_config_get_int() 345 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int() argument 350 config_set_int(config.get(), section, key, value); in btif_config_set_int() [all …]
|
D | btif_config_transcode.cc | 51 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.get(), section, key, value); in btif_config_transcode()
|
D | btif_storage.cc | 457 for (const section_t& section : btif_config_sections()) { in btif_in_fetch_bonded_devices() local 458 const std::string& name = section.name; in btif_in_fetch_bonded_devices() 880 for (const section_t& section : btif_config_sections()) { in remove_devices_with_sample_ltk() local 881 const std::string& name = section.name; in remove_devices_with_sample_ltk() 1373 for (const section_t& section : btif_config_sections()) { in btif_storage_load_bonded_hid_info() local 1374 const std::string& name = section.name; in btif_storage_load_bonded_hid_info() 1521 for (const section_t& section : btif_config_sections()) { in btif_storage_load_bonded_hearing_aids() local 1522 const std::string& name = section.name; in btif_storage_load_bonded_hearing_aids() 1719 for (const section_t& section : btif_config_sections()) { in btif_storage_load_hidd() local 1720 const std::string& name = section.name; in btif_storage_load_hidd() [all …]
|
/system/core/libunwindstack/tools/ |
D | unwind_reg_info.cpp | 66 void PrintRegInformation(DwarfSection* section, Memory* memory, uint64_t pc, uint8_t class_type) { in PrintRegInformation() argument 67 const DwarfFde* fde = section->GetFdeFromPc(pc); in PrintRegInformation() 74 if (!section->GetCfaLocationInfo(pc, fde, ®s)) { in PrintRegInformation() 205 DwarfSection* section = interface->eh_frame(); in GetInfo() local 206 if (section != nullptr) { in GetInfo() 208 PrintRegInformation(section, memory, pc, elf.class_type()); in GetInfo() 213 section = interface->debug_frame(); in GetInfo() 214 if (section != nullptr) { in GetInfo() 216 PrintRegInformation(section, memory, pc, elf.class_type()); in GetInfo() 225 section = gnu_debugdata_interface->eh_frame(); in GetInfo() [all …]
|
D | unwind_info.cpp | 84 void DumpDwarfSection(Elf* elf, DwarfSection* section, uint64_t) { in DumpDwarfSection() argument 85 for (const DwarfFde* fde : *section) { in DumpDwarfSection() 98 if (!section->Log(2, UINT64_MAX, fde)) { in DumpDwarfSection()
|
/system/media/camera/docs/ |
D | metadata_model_test.py | 55 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)
|
D | ACameraMetadata.mako | 21 % 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'), \
|
D | CameraMetadataEnums.mako | 18 ## This section of enum integer definitions is inserted into 59 % for section in outer_namespace.sections: 60 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \ 61 any_visible(section, xml_name, ('public','hidden', 'ndk_public', 'java_public') ): 62 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'): 74 get_children_by_filtering_kind(section, xml_name, 'entries'), \
|
D | CameraMetadataKeys.mako | 78 % for section in outer_namespace.sections: 79 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \ 80 any_visible(section, xml_name, ('public','hidden','ndk_public','java_public') ): 81 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'): 89 get_children_by_filtering_kind(section, xml_name, 'merged_entries'), \
|
D | metadata_template.mako | 44 % 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 228 </section>
|
D | html.mako | 29 ….section { color: #eeeeee; font-size: 1.5em; font-weight: bold; background-color: #888888; padding… 178 % for section in root.sections: 180 <span class="toc_section_header"><a href="#section_${section.name}">${section.name}</a></span> 182 % for kind in section.merged_kinds: # dynamic,static,controls 214 % for section in root.sections: 215 <tr><td colspan="7" id="section_${section.name}" class="section">${section.name}</td></tr> 217 % if section.description is not None: 218 <tr class="description"><td>${section.description}</td></tr> 221 % for kind in section.merged_kinds: # dynamic,static,controls 395 <!-- end of section -->
|
D | metadata_helpers.py | 255 def get_children_by_filtering_kind(section, kind_name, member='entries'): argument 267 matched_kind = next((i for i in section.merged_kinds if i.name == kind_name), None) 1308 def any_visible(section, kind_name, visibilities): argument 1322 for inner_namespace in get_children_by_filtering_kind(section, kind_name, 1327 return any(filter_visibility(get_children_by_filtering_kind(section, kind_name, 1514 for section in all_sections: 1517 for entry in remove_synthetic(find_unique_entries(section)): 1525 new_sections.append(section) 1528 def find_first_older_used_hal_version(section, hal_major_version, hal_minor_version): argument 1530 for v in section.hal_versions:
|
D | metadata_model.py | 494 def _construct_kinds(self, section): argument 495 for kind in section.kinds: 497 section.validate_tree() 499 group_entry_by_kind = itertools.groupby(section._leafs, lambda x: x.kind) 506 if idx >= len(section._kinds): 507 kind = Kind(kind_name, section) 508 section._kinds.append(kind) 509 section.validate_tree() 511 kind = section._kinds[idx] 517 for kind in section._kinds: [all …]
|
/system/chre/build/sys_support/qcom/ |
D | uimage_v2.lcs | 47 /* SysV hash section */ 50 /* GNU hash section */ 53 /* Dynamic Symbol Table section */ 56 /* Dynamic string table section */ 74 /* Text section */ 80 /* Finalizer section */ 116 /* GOT section */ 119 /* GOT slots for PLT section */
|
D | uimg_dl_ver.c | 56 const note_type uimg_dl_ver __attribute__ ((section (".note.qti.uimg.dl.ver")))
|
/system/sepolicy/private/ |
D | incidentd.te | 22 # section id 1002, allow reading kernel version /proc/version 25 # section id 2001, allow reading /proc/pagetypeinfo 28 # section id 2002, allow reading /d/wakeup_sources 31 # section id 2003, allow executing top 34 # section id 2004, allow reading /sys/devices/system/cpu/cpufreq/all_time_in_state 37 # section id 2005, allow reading ps dump in full 40 # section id 2006, allow reading /sys/class/power_supply/bms/battery_type 44 # section id 2007, allow reading LAST_KMSG /sys/fs/pstore/console-ramoops 48 # section id 3023, allow obtaining stats report 52 # section id 3026, allow reading /data/misc/perfetto-traces.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | incidentd.te | 22 # section id 1002, allow reading kernel version /proc/version 25 # section id 2001, allow reading /proc/pagetypeinfo 28 # section id 2002, allow reading /d/wakeup_sources 31 # section id 2003, allow executing top 34 # section id 2004, allow reading /sys/devices/system/cpu/cpufreq/all_time_in_state 37 # section id 2005, allow reading ps dump in full 40 # section id 2006, allow reading /sys/class/power_supply/bms/battery_type 44 # section id 2007, allow reading LAST_KMSG /sys/fs/pstore/console-ramoops 48 # section id 3023, allow obtaining stats report 52 # section id 3026, allow reading /data/misc/perfetto-traces.
|
D | statsd.te | 19 # Allow incidentd to obtain the statsd incident section.
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | incidentd.te | 22 # section id 2001, allow reading /proc/pagetypeinfo 25 # section id 2002, allow reading /d/wakeup_sources 28 # section id 2003, allow executing top 31 # section id 2004, allow reading /sys/devices/system/cpu/cpufreq/all_time_in_state 34 # section id 2005, allow reading ps dump in full 37 # section id 2006, allow reading /sys/class/power_supply/bms/battery_type 41 # section id 2007, allow reading LAST_KMSG /sys/fs/pstore/console-ramoops
|
/system/netd/resolv/ |
D | res_debug.cpp | 159 static void do_section(ns_msg* handle, ns_sect section) { in do_section() argument 180 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section() 185 if (section == ns_s_qd) in do_section() 188 else if (section == ns_s_ar && ns_rr_type(rr) == ns_t_opt) { in do_section() 474 const char* p_section(int section, int opcode) { in p_section() argument 485 return (sym_ntos(symbols, section, (int*) 0)); in p_section()
|