/system/media/radio/src/ |
D | radio_metadata.c | 59 radio_metadata_buffer_t *metadata = *metadata_ptr; in check_size() local 60 unsigned int index_offset = metadata->size_int - metadata->count - 1; in check_size() 61 unsigned int data_offset = *((unsigned int *)metadata + index_offset); in check_size() 69 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; in check_size() 72 if (req_size_int <= metadata->size_int) { in check_size() 76 if (req_size_int > RADIO_METADATA_MAX_SIZE || metadata->size_int >= RADIO_METADATA_MAX_SIZE) { in check_size() 80 new_size_int = metadata->size_int; in check_size() 84 ALOGV("%s growing from %u to %u", __func__, metadata->size_int, new_size_int); in check_size() 85 metadata = realloc(metadata, new_size_int * sizeof(unsigned int)); in check_size() 87 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 | 92 int radio_metadata_allocate(radio_metadata_t **metadata, 103 void radio_metadata_deallocate(radio_metadata_t *metadata); 120 int radio_metadata_add_int(radio_metadata_t **metadata, 140 int radio_metadata_add_text(radio_metadata_t **metadata, 159 int radio_metadata_add_raw(radio_metadata_t **metadata, 179 int radio_metadata_add_clock(radio_metadata_t **metadata, 210 int radio_metadata_check(const radio_metadata_t *metadata); 224 size_t radio_metadata_get_size(const radio_metadata_t *metadata); 238 int radio_metadata_get_count(const radio_metadata_t *metadata); 257 int radio_metadata_get_at_index(const radio_metadata_t *metadata, [all …]
|
/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() 94 assert(metadata != NULL); in module_start_up() 114 assert(metadata != NULL); in module_shut_down() 135 assert(metadata != NULL); in module_clean_up() 172 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 | ndk_camera_metadata_tags.mako | 52 % for i in find_all_sections(metadata): 64 % for i in find_all_sections(metadata): 71 * Main enum for camera metadata tags. 74 % for sec in find_all_sections(metadata): 88 ${entry.description | ndkdoc(metadata)}\ 92 % if metadata.is_entry_this_kind(entry, 'static'): 95 % if metadata.is_entry_this_kind(entry, 'dynamic'): 98 % if metadata.is_entry_this_kind(entry, 'controls'): 103 ${entry.details | ndkdoc(metadata)}\ 124 % for sec in find_all_sections(metadata): [all …]
|
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() 313 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: 199 </metadata>
|
D | metadata_helpers.py | 783 def javadoc(metadata, indent = 4): argument 857 javatext = filter_tags(javatext, metadata, javadoc_crossref_filter, javadoc_crossref_see_filter) 872 def ndkdoc(metadata, indent = 4): argument 928 ndktext = filter_tags(ndktext, metadata, ndkdoc_crossref_filter, ndkdoc_crossref_see_filter) 930 ndktext = ndk_replace_tag_wildcards(ndktext, metadata) 1024 def filter_tags(text, metadata, filter_function, summary_function = None): argument 1050 for outer_namespace in metadata.outer_namespaces: 1072 node = metadata.find_first(name_match(candidate2.replace('\n',''))) 1077 node = metadata.find_first(name_match(candidate2b)) 1088 node = metadata.find_first(name_match(candidate3.replace('\n',''))) [all …]
|
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-generate | 194 $thisdir/metadata-check-dependencies || exit 1 195 $thisdir/metadata-validate $thisdir/metadata_properties.xml || exit 1 196 $thisdir/metadata-parser-sanity-check || exit 1
|
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 | ACameraMetadata.mako | 20 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace 47 * The key entries below this point are generated from metadata 69 % for sec in find_all_sections(metadata):
|
D | CaptureResultTest.mako | 18 * The key entries below this point are generated from metadata 25 % for sec in find_all_sections(metadata):
|
D | CameraDeviceInfo.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
|
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 63 fec_verity_metadata metadata; in set_verity_enabled_state() local 65 if (!fh.get_verity_metadata(metadata)) { in set_verity_enabled_state() 70 if (!enable && metadata.disabled) { in set_verity_enabled_state() 75 if (enable && !metadata.disabled) { in set_verity_enabled_state()
|
/system/core/include/system/ |
D | radio.h | 173 radio_metadata_t *metadata; /* non null if meta data are present (e.g PTY, song title ...) */ member 204 radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ member 216 radio_metadata_t *metadata; /* offset from start of struct when in shared memory */ member
|
/system/extras/libfec/ |
D | fec_verity.cpp | 462 std::unique_ptr<uint8_t[]> metadata( in rewrite_metadata() local 465 if (!metadata) { in rewrite_metadata() 470 memset(metadata.get(), 0, VERITY_METADATA_SIZE); in rewrite_metadata() 473 memcpy(metadata.get(), &v->header, sizeof(v->header)); in rewrite_metadata() 479 memcpy(metadata.get() + sizeof(v->header), v->table, len); in rewrite_metadata() 481 return raw_pwrite(f, metadata.get(), VERITY_METADATA_SIZE, offset); in rewrite_metadata()
|