/system/media/radio/src/ |
D | radio_metadata.c | 58 radio_metadata_buffer_t *metadata = *metadata_ptr; in check_size() local 59 unsigned int index_offset = metadata->size_int - metadata->count - 1; in check_size() 60 unsigned int data_offset = *((unsigned int *)metadata + index_offset); in check_size() 68 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; in check_size() 71 if (req_size_int <= metadata->size_int) { in check_size() 75 if (req_size_int > RADIO_METADATA_MAX_SIZE || metadata->size_int >= RADIO_METADATA_MAX_SIZE) { in check_size() 79 new_size_int = metadata->size_int; in check_size() 83 ALOGV("%s growing from %u to %u", __func__, metadata->size_int, new_size_int); in check_size() 84 metadata = realloc(metadata, new_size_int * sizeof(unsigned int)); in check_size() 86 memmove((unsigned int *)metadata + new_size_int - (metadata->count + 1), in check_size() [all …]
|
/system/media/camera/src/ |
D | camera_metadata.c | 163 const camera_metadata_t *metadata) { in get_entries() argument 165 ((uint8_t*)metadata + metadata->entries_start); in get_entries() 168 static uint8_t *get_data(const camera_metadata_t *metadata) { in get_data() argument 169 return (uint8_t*)metadata + metadata->data_start; in get_data() 187 camera_metadata_t *metadata = (camera_metadata_t*) buffer; in allocate_copy_camera_metadata_checked() local 188 if (validate_camera_metadata_structure(metadata, &src_size) != OK) { in allocate_copy_camera_metadata_checked() 193 return metadata; in allocate_copy_camera_metadata_checked() 217 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata() local 218 metadata->version = CURRENT_METADATA_VERSION; in place_camera_metadata() 219 metadata->flags = 0; in place_camera_metadata() [all …]
|
/system/media/radio/include/system/ |
D | radio_metadata.h | 86 int radio_metadata_allocate(radio_metadata_t **metadata, 97 void radio_metadata_deallocate(radio_metadata_t *metadata); 114 int radio_metadata_add_int(radio_metadata_t **metadata, 134 int radio_metadata_add_text(radio_metadata_t **metadata, 153 int radio_metadata_add_raw(radio_metadata_t **metadata, 185 int radio_metadata_check(const radio_metadata_t *metadata); 199 size_t radio_metadata_get_size(const radio_metadata_t *metadata); 213 int radio_metadata_get_count(const radio_metadata_t *metadata); 232 int radio_metadata_get_at_index(const radio_metadata_t *metadata, 258 int radio_metadata_get_from_key(const radio_metadata_t *metadata,
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 133 metadata = Metadata() 142 if not metadata.complete: 143 metadata.Parse(line) 152 metadata.UpdateWith(dataset) 176 if not metadata.complete: 180 return (metadata, data) 183 def PlotIterations(metadata, data): argument 205 gp.title(metadata.AsTitle()) 210 dataset.RescaleTo(metadata.iterations) 224 (metadata.name, metadata.kernel, metadata.duration), [all …]
|
/system/bt/btcore/src/ |
D | module.c | 40 static hash_map_t *metadata; variable 49 metadata = hash_map_new( in module_management_start() 61 if (!metadata) in module_management_stop() 64 hash_map_free(metadata); in module_management_stop() 65 metadata = NULL; in module_management_stop() 77 assert(metadata != NULL); in module_init() 91 assert(metadata != NULL); in module_start_up() 108 assert(metadata != NULL); in module_shut_down() 124 assert(metadata != NULL); in module_clean_up() 156 module_state_t *state_ptr = hash_map_get(metadata, module); in get_module_state() [all …]
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 211 void free_camera_metadata(camera_metadata_t *metadata); 226 size_t get_camera_metadata_size(const camera_metadata_t *metadata); 234 size_t get_camera_metadata_compact_size(const camera_metadata_t *metadata); 243 size_t get_camera_metadata_entry_count(const camera_metadata_t *metadata); 249 size_t get_camera_metadata_entry_capacity(const camera_metadata_t *metadata); 255 size_t get_camera_metadata_data_count(const camera_metadata_t *metadata); 262 size_t get_camera_metadata_data_capacity(const camera_metadata_t *metadata); 296 int validate_camera_metadata_structure(const camera_metadata_t *metadata, 519 void dump_camera_metadata(const camera_metadata_t *metadata, 528 void dump_indented_camera_metadata(const camera_metadata_t *metadata,
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 106 def metadata(self): member in MetadataParserXml 125 self.metadata.insert_tag(tag['id'], tag.string) 134 self.metadata.insert_type(tp['name'], 'typedef', languages=languages) 149 insert = self.metadata.insert_entry 160 insert = self.metadata.insert_clone 167 self.metadata.construct_graph() 308 ctx = Context(buf, metadata=self.metadata, **helpers)
|
D | camera_metadata_tags.mako | 45 * Top level hierarchy definitions for camera metadata. *_INFO sections are for 46 * the static metadata that can be retrived without opening the camera device. 51 % for i in find_all_sections(metadata): 64 % for i in find_all_sections(metadata): 71 * Main enum for defining camera metadata tags. New entries must always go 77 % for sec in find_all_sections(metadata): 95 % for sec in find_all_sections(metadata):
|
D | camera_metadata_tag_info.mako | 35 % for i in find_all_sections(metadata): 41 % for i in find_all_sections(metadata): 47 % for sec in find_all_sections(metadata): 59 % for i in find_all_sections(metadata): 72 % for sec in find_all_sections(metadata): 102 enum_values = metadata.find_all(find_values)
|
D | metadata_template.mako | 17 <metadata 18 xmlns="http://schemas.android.com/service/camera/metadata/" 20 … xsi:schemaLocation="http://schemas.android.com/service/camera/metadata/ metadata_properties.xsd"> 23 % for tag in metadata.tags: 33 % for typedef in metadata.types: 42 % for root in metadata.outer_namespaces: 196 </metadata>
|
D | metadata-generate | 182 $thisdir/metadata-check-dependencies || exit 1 183 $thisdir/metadata-validate $thisdir/metadata_properties.xml || exit 1 184 $thisdir/metadata-parser-sanity-check || exit 1
|
D | metadata_helpers_test.py | 123 metadata = MetadataParserXml(test_metadata_xml, 'metadata_helpers_test.py').metadata 156 result_text = filter_tags(test_text, metadata, filter_test, summary_test)
|
D | metadata_helpers.py | 702 def javadoc(metadata, indent = 4): argument 776 javatext = filter_tags(javatext, metadata, javadoc_crossref_filter, javadoc_crossref_see_filter) 868 def filter_tags(text, metadata, filter_function, summary_function = None): argument 894 for outer_namespace in metadata.outer_namespaces: 916 node = metadata.find_first(name_match(candidate2.replace('\n',''))) 921 node = metadata.find_first(name_match(candidate2b)) 932 node = metadata.find_first(name_match(candidate3.replace('\n',''))) 938 node = metadata.find_first(name_match(candidate3b))
|
D | CameraMetadataKeys.mako | 18 ## These sections of metadata Key definitions are inserted into the middle of 22 * The key entries below this point are generated from metadata 45 ${concatenated_info | javadoc(metadata)}\ 75 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace
|
D | CaptureResultTest.mako | 18 * The key entries below this point are generated from metadata 25 % for sec in find_all_sections(metadata):
|
D | html.mako | 143 def linkify_tags(metadata): 145 tagged_text = filter_tags(text, metadata, html_anchor) 176 % for root in metadata.outer_namespaces: 210 % for root in metadata.outer_namespaces: 315 … <span class="entry_type_enum_notes">${value.notes | md_html, linkify_tags(metadata), wbr}</span> 326 ${prop.description | md_html, linkify_tags(metadata), wbr} 341 ${prop.range | md_html, linkify_tags(metadata), wbr} 362 ${prop.details | md_html, linkify_tags(metadata), wbr} 373 ${prop.hal_details | md_html, linkify_tags(metadata), wbr} 397 % for tag in metadata.tags:
|
D | metadata-validate | 20 $thisdir/metadata-check-dependencies || exit 1
|
D | CameraMetadataEnums.mako | 21 * The enum values below this point are generated from metadata 35 ${value.notes | javadoc(metadata)}\ 52 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace
|
D | metadata-parser-sanity-check | 26 $thisdir/metadata-check-dependencies || exit 1
|
D | README.md | 3 This is a set of scripts to manipulate the camera metadata in an XML form.
|
/system/core/include/system/ |
D | radio.h | 172 radio_metadata_t *metadata; /* non null if meta data are present (e.g PTY, song title ...) */ member 201 radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ member 213 radio_metadata_t *metadata; /* offset from start of struct when in shared memory */ member
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 1509 const PerfStringMetadata& metadata = string_metadata_[i]; in GetStringMetadataSize() local 1510 if (NeedsNumberOfStringData(metadata.type)) in GetStringMetadataSize() 1513 for (size_t j = 0; j < metadata.data.size(); ++j) { in GetStringMetadataSize() 1514 const CStringWithLength& str = metadata.data[j]; in GetStringMetadataSize() 1524 const PerfUint32Metadata& metadata = uint32_metadata_[i]; in GetUint32MetadataSize() local 1525 size += metadata.data.size() * sizeof(metadata.data[0]); in GetUint32MetadataSize() 1533 const PerfUint64Metadata& metadata = uint64_metadata_[i]; in GetUint64MetadataSize() local 1534 size += metadata.data.size() * sizeof(metadata.data[0]); in GetUint64MetadataSize()
|