Searched defs:metadata (Results 1 - 6 of 6) sorted by relevance

/system/media/camera/docs/
H A Dmetadata_parser_xml.py56 A class to parse any XML block that passes validation with metadata-validate.
62 metadata: a constructed instance of metadata_model.Metadata
67 metadata model.
70 xml: The XML block to use for the metadata
106 def metadata(self): member in class: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
[all...]
/system/bt/btcore/src/
H A Dmodule.c40 static hash_map_t *metadata; variable
49 metadata = hash_map_new(
61 if (!metadata)
64 hash_map_free(metadata);
65 metadata = NULL;
77 assert(metadata != NULL);
91 assert(metadata != NULL);
108 assert(metadata != NULL);
124 assert(metadata != NULL);
156 module_state_t *state_ptr = hash_map_get(metadata, modul
[all...]
/system/media/radio/src/
H A Dradio_metadata.c58 radio_metadata_buffer_t *metadata = *metadata_ptr; local
59 unsigned int index_offset = metadata->size_int - metadata->count - 1;
60 unsigned int data_offset = *((unsigned int *)metadata + index_offset);
68 req_size_int = data_offset + metadata->count + 1 + 1 + size_int;
71 if (req_size_int <= metadata->size_int) {
75 if (req_size_int > RADIO_METADATA_MAX_SIZE || metadata->size_int >= RADIO_METADATA_MAX_SIZE) {
79 new_size_int = metadata->size_int;
83 ALOGV("%s growing from %u to %u", __func__, metadata->size_int, new_size_int);
84 metadata
107 radio_metadata_buffer_t *metadata = *metadata_ptr; local
132 get_entry_at_index( const radio_metadata_buffer_t *metadata, const unsigned index, bool check) argument
174 radio_metadata_allocate(radio_metadata_t **metadata, const unsigned int channel, const unsigned int sub_channel) argument
194 radio_metadata_deallocate(radio_metadata_t *metadata) argument
199 radio_metadata_add_int(radio_metadata_t **metadata, const radio_metadata_key_t key, const int value) argument
211 radio_metadata_add_text(radio_metadata_t **metadata, const radio_metadata_key_t key, const char *value) argument
223 radio_metadata_add_raw(radio_metadata_t **metadata, const radio_metadata_key_t key, const unsigned char *value, const unsigned int size) argument
273 radio_metadata_check(const radio_metadata_t *metadata) argument
322 radio_metadata_get_size(const radio_metadata_t *metadata) argument
333 radio_metadata_get_count(const radio_metadata_t *metadata) argument
344 radio_metadata_get_at_index(const radio_metadata_t *metadata, const unsigned int index, radio_metadata_key_t *key, radio_metadata_type_t *type, void **value, unsigned int *size) argument
374 radio_metadata_get_from_key(const radio_metadata_t *metadata, const radio_metadata_key_t key, radio_metadata_type_t *type, void **value, unsigned int *size) argument
[all...]
/system/core/include/system/
H A Dradio.h172 radio_metadata_t *metadata; /* non null if meta data are present (e.g PTY, song title ...) */ member in struct:radio_program_info
201 radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ member in union:radio_hal_event::__anon1359
213 radio_metadata_t *metadata; /* offset from start of struct when in shared memory */ member in union:radio_event::__anon1360
/system/media/camera/src/
H A Dcamera_metadata.c36 * A single metadata entry, storing an array of values of a given type. If the
57 * A packet of metadata. This is a list of entries, each of which may point to
87 * In short, the entries and data are contiguous in memory after the metadata
105 * A datum of metadata. This corresponds to camera_metadata_entry_t::data
121 * The preferred alignment of a packet of camera metadata. In general,
122 * this is the lowest common multiple of the constituents of a metadata
163 const camera_metadata_t *metadata) {
165 ((uint8_t*)metadata + metadata->entries_start);
168 static uint8_t *get_data(const camera_metadata_t *metadata) { argument
162 get_entries( const camera_metadata_t *metadata) argument
187 camera_metadata_t *metadata = (camera_metadata_t*) buffer; local
234 free_camera_metadata(camera_metadata_t *metadata) argument
250 get_camera_metadata_size(const camera_metadata_t *metadata) argument
256 get_camera_metadata_compact_size(const camera_metadata_t *metadata) argument
263 get_camera_metadata_entry_count(const camera_metadata_t *metadata) argument
267 get_camera_metadata_entry_capacity(const camera_metadata_t *metadata) argument
271 get_camera_metadata_data_count(const camera_metadata_t *metadata) argument
275 get_camera_metadata_data_capacity(const camera_metadata_t *metadata) argument
302 validate_camera_metadata_structure(const camera_metadata_t *metadata, const size_t *expected_size) argument
840 dump_camera_metadata(const camera_metadata_t *metadata, int fd, int verbosity) argument
846 dump_indented_camera_metadata(const camera_metadata_t *metadata, int fd, int verbosity, int indentation) argument
[all...]
/system/extras/perfprofd/quipper/
H A Dperf_reader.cc40 // The type of the number of string data, found in the command line metadata in
53 // only the metadata supported by quipper.
1066 LOG(ERROR) << "Not enough data to read offset and size of metadata.";
1071 if (!ReadDataFromBuffer(data, sizeof(metadata_offset), "metadata offset",
1073 !ReadDataFromBuffer(data, sizeof(metadata_size), "metadata size",
1079 LOG(ERROR) << "Not enough data to read metadata.";
1127 default: LOG(INFO) << "Unsupported metadata type: " << type;
1466 // This is just the number of 1s in the binary representation of the metadata
1467 // mask. However, make sure to only use supported metadata, and don't include
1468 // branch stack (since it doesn't have an entry in the metadata sectio
1509 const PerfStringMetadata& metadata = string_metadata_[i]; local
1524 const PerfUint32Metadata& metadata = uint32_metadata_[i]; local
1533 const PerfUint64Metadata& metadata = uint64_metadata_[i]; local
[all...]

Completed in 402 milliseconds