Home
last modified time | relevance | path

Searched defs:metadata (Results 1 – 25 of 63) sorted by relevance

123

/system/media/audio_utils/
DMetadata.cpp29 int audio_metadata_put_int32(audio_metadata_t *metadata, const char *key, int32_t value) { in audio_metadata_put_int32()
37 int audio_metadata_put_int64(audio_metadata_t *metadata, const char *key, int64_t value) { in audio_metadata_put_int64()
45 int audio_metadata_put_float(audio_metadata_t *metadata, const char *key, float value) { in audio_metadata_put_float()
53 int audio_metadata_put_double(audio_metadata_t *metadata, const char *key, double value) { in audio_metadata_put_double()
61 int audio_metadata_put_string(audio_metadata_t *metadata, const char *key, const char *value) { in audio_metadata_put_string()
70 audio_metadata_t *metadata, const char *key, audio_metadata_t *value) { in audio_metadata_put_data()
80 int audio_metadata_get_int32(audio_metadata_t *metadata, const char *key, int32_t *value) { in audio_metadata_get_int32()
92 int audio_metadata_get_int64(audio_metadata_t *metadata, const char *key, int64_t *value) { in audio_metadata_get_int64()
104 int audio_metadata_get_float(audio_metadata_t *metadata, const char *key, float *value) { in audio_metadata_get_float()
116 int audio_metadata_get_double(audio_metadata_t *metadata, const char *key, double *value) { in audio_metadata_get_double()
[all …]
/system/media/radio/src/
Dradio_metadata.c61 radio_metadata_buffer_t *metadata = *metadata_ptr; in check_size() local
115 radio_metadata_buffer_t *metadata = *metadata_ptr; in add_metadata() local
142 const radio_metadata_buffer_t *metadata, in get_entry_at_index()
190 int radio_metadata_allocate(radio_metadata_t **metadata, in radio_metadata_allocate()
210 void radio_metadata_deallocate(radio_metadata_t *metadata) in radio_metadata_deallocate()
215 int radio_metadata_add_int(radio_metadata_t **metadata, in radio_metadata_add_int()
227 int radio_metadata_add_text(radio_metadata_t **metadata, in radio_metadata_add_text()
239 int radio_metadata_add_raw(radio_metadata_t **metadata, in radio_metadata_add_raw()
251 int radio_metadata_add_clock(radio_metadata_t **metadata, in radio_metadata_add_clock()
302 int radio_metadata_check(const radio_metadata_t *metadata) in radio_metadata_check()
[all …]
DRadioMetadataWrapper.cpp9 RadioMetadataWrapper::RadioMetadataWrapper(radio_metadata_t **metadata) in RadioMetadataWrapper()
/system/core/libstats/pull_lazy/
Dlibstatspull_lazy.cpp140 void AStatsManager_PullAtomMetadata_release(AStatsManager_PullAtomMetadata* metadata) { in AStatsManager_PullAtomMetadata_release()
144 void AStatsManager_PullAtomMetadata_setCoolDownMillis(AStatsManager_PullAtomMetadata* metadata, in AStatsManager_PullAtomMetadata_setCoolDownMillis()
149 int64_t AStatsManager_PullAtomMetadata_getCoolDownMillis(AStatsManager_PullAtomMetadata* metadata) { in AStatsManager_PullAtomMetadata_getCoolDownMillis()
153 void AStatsManager_PullAtomMetadata_setTimeoutMillis(AStatsManager_PullAtomMetadata* metadata, in AStatsManager_PullAtomMetadata_setTimeoutMillis()
158 int64_t AStatsManager_PullAtomMetadata_getTimeoutMillis(AStatsManager_PullAtomMetadata* metadata) { in AStatsManager_PullAtomMetadata_getTimeoutMillis()
162 void AStatsManager_PullAtomMetadata_setAdditiveFields(AStatsManager_PullAtomMetadata* metadata, in AStatsManager_PullAtomMetadata_setAdditiveFields()
170 AStatsManager_PullAtomMetadata* metadata) { in AStatsManager_PullAtomMetadata_getNumAdditiveFields()
174 void AStatsManager_PullAtomMetadata_getAdditiveFields(AStatsManager_PullAtomMetadata* metadata, in AStatsManager_PullAtomMetadata_getAdditiveFields()
183 void AStatsManager_setPullAtomCallback(int32_t atom_tag, AStatsManager_PullAtomMetadata* metadata, in AStatsManager_setPullAtomCallback()
/system/core/fs_mgr/liblp/
Dwriter.cpp51 LpMetadata metadata = input; in SerializeMetadata() local
87 const LpMetadata& metadata, const std::string& slot_suffix, in ValidateAndSerializeMetadata()
173 static bool ValidateMetadataRegion(const LpMetadata& metadata, uint64_t start, size_t size) { in ValidateMetadataRegion()
187 static bool WritePrimaryMetadata(int fd, const LpMetadata& metadata, uint32_t slot_number, in WritePrimaryMetadata()
205 static bool WriteBackupMetadata(int fd, const LpMetadata& metadata, uint32_t slot_number, in WriteBackupMetadata()
223 static bool WriteMetadata(int fd, const LpMetadata& metadata, uint32_t slot_number, in WriteMetadata()
249 const LpMetadata& metadata) { in FlashPartitionTable()
314 bool FlashPartitionTable(const std::string& super_partition, const LpMetadata& metadata) { in FlashPartitionTable()
324 const LpMetadata& metadata, uint32_t slot_number, in UpdatePartitionTable()
403 const LpMetadata& metadata, uint32_t slot_number) { in UpdatePartitionTable()
[all …]
Dutility.cpp102 const LpMetadataBlockDevice* GetMetadataSuperBlockDevice(const LpMetadata& metadata) { in GetMetadataSuperBlockDevice()
128 uint64_t GetTotalSuperPartitionSize(const LpMetadata& metadata) { in GetTotalSuperPartitionSize()
136 std::vector<std::string> GetBlockDevicePartitionNames(const LpMetadata& metadata) { in GetBlockDevicePartitionNames()
144 const LpMetadataPartition* FindPartition(const LpMetadata& metadata, const std::string& name) { in FindPartition()
153 uint64_t GetPartitionSize(const LpMetadata& metadata, const LpMetadataPartition& partition) { in GetPartitionSize()
224 bool UpdateMetadataForInPlaceSnapshot(LpMetadata* metadata, uint32_t source_slot_number, in UpdateMetadataForInPlaceSnapshot()
294 void SetMetadataHeaderV0(LpMetadata* metadata) { in SetMetadataHeaderV0()
Dreader.cpp167 static bool ReadMetadataHeader(Reader* reader, LpMetadata* metadata) { in ReadMetadataHeader()
249 std::unique_ptr<LpMetadata> metadata = std::make_unique<LpMetadata>(); in ParseMetadata() local
398 bool AdjustMetadataForSlot(LpMetadata* metadata, uint32_t slot_number) { in AdjustMetadataForSlot()
460 std::unique_ptr<LpMetadata> metadata; in ReadMetadata() local
Dimages.cpp115 std::string metadata = SerializeMetadata(input); in WriteToImageFile() local
135 ImageBuilder::ImageBuilder(const LpMetadata& metadata, uint32_t block_size, in ImageBuilder()
475 bool WriteToImageFile(const std::string& file, const LpMetadata& metadata, uint32_t block_size, in WriteToImageFile()
481 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata, in WriteSplitImageFiles()
Dbuilder.cpp177 std::unique_ptr<LpMetadata> metadata = ReadMetadata(opener, super_partition, slot_number); in New() local
199 std::unique_ptr<MetadataBuilder> MetadataBuilder::New(const LpMetadata& metadata, in New()
222 auto metadata = ReadMetadata(opener, source_partition, source_slot_number); in NewForUpdate() local
261 bool MetadataBuilder::UpdateMetadataForOtherSuper(LpMetadata* metadata, uint32_t source_slot_number, in UpdateMetadataForOtherSuper()
316 bool MetadataBuilder::Init(const LpMetadata& metadata) { in Init()
345 void MetadataBuilder::ImportExtents(Partition* dest, const LpMetadata& metadata, in ImportExtents()
880 std::unique_ptr<LpMetadata> metadata = std::make_unique<LpMetadata>(); in Export() local
1139 bool MetadataBuilder::ImportPartitions(const LpMetadata& metadata, in ImportPartitions()
1174 bool MetadataBuilder::ImportPartition(const LpMetadata& metadata, in ImportPartition()
Ddevice_test.cpp60 auto metadata = ReadMetadata(super_name, slot_number); in TEST_F() local
Dio_test.cpp261 unique_ptr<LpMetadata> metadata = ReadMetadata(opener, "super", 0); in TEST_F() local
316 unique_ptr<LpMetadata> metadata = ReadMetadata(opener, "super", 0); in TEST_F() local
347 unique_ptr<LpMetadata> metadata = ReadMetadata(opener, "super", 0); in TEST_F() local
644 auto metadata = ReadMetadata(opener, "super_b", 1); in TEST_F() local
732 auto metadata = ReadMetadata(opener, "super", 0); in TEST_F() local
/system/core/fastboot/device/
Dutility.cpp116 static const LpMetadataPartition* FindLogicalPartition(const LpMetadata& metadata, in FindLogicalPartition()
134 std::unique_ptr<LpMetadata> metadata = ReadMetadata(path->c_str(), slot_number); in LogicalPartitionExists() local
182 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions() local
189 if (auto metadata = ReadMetadata(other_super, other_slot)) { in ListPartitions() local
194 for (const auto& metadata : metadata_list) { in ListPartitions() local
211 const android::fs_mgr::LpMetadata& metadata) { in UpdateAllPartitionMetadata()
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp53 auto metadata = ReadFromImageFile(metadata_file); in OpenMetadata() local
86 auto metadata = OpenMetadata(metadata_dir); in OpenOrCreateMetadata() local
168 auto metadata = OpenMetadata(metadata_dir); in RemoveImageMetadata() local
208 auto metadata = OpenMetadata(metadata_dir); in AddAttributes() local
Dimage_manager.cpp133 auto metadata = OpenMetadata(metadata_dir_); in GetAllBackingImages() local
146 auto metadata = OpenMetadata(metadata_dir_); in BackingImageExists() local
301 auto metadata = OpenMetadata(metadata_dir_); in MapWithDmLinear() local
375 auto metadata = OpenMetadata(metadata_dir_); in MapWithLoopDeviceList() local
645 auto metadata = OpenMetadata(metadata_dir_); in RemoveAllImages() local
659 auto metadata = OpenMetadata(metadata_dir_); in Validate() local
691 auto metadata = OpenMetadata(metadata_dir_); in RemoveDisabledImages() local
724 auto metadata = OpenMetadata(metadata_dir_); in MapAllImages() local
/system/media/camera/src/
Dcamera_metadata.c210 const camera_metadata_t *metadata) { in get_entries()
215 static uint8_t *get_data(const camera_metadata_t *metadata) { in get_data()
240 camera_metadata_t *metadata = (camera_metadata_t*) buffer; in allocate_copy_camera_metadata_checked() local
255 camera_metadata_t *metadata = place_camera_metadata( in allocate_camera_metadata() local
280 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata() local
298 void free_camera_metadata(camera_metadata_t *metadata) { in free_camera_metadata()
316 size_t get_camera_metadata_size(const camera_metadata_t *metadata) { in get_camera_metadata_size()
322 size_t get_camera_metadata_compact_size(const camera_metadata_t *metadata) { in get_camera_metadata_compact_size()
329 size_t get_camera_metadata_entry_count(const camera_metadata_t *metadata) { in get_camera_metadata_entry_count()
333 size_t get_camera_metadata_entry_capacity(const camera_metadata_t *metadata) { in get_camera_metadata_entry_capacity()
[all …]
/system/core/fs_mgr/include/
Dfs_mgr_dm_linear.h58 const LpMetadata* metadata = nullptr; member
90 std::unique_ptr<LpMetadata> metadata; member
/system/media/audio_utils/tests/
Dmetadata_tests_c.c27 audio_metadata_t *metadata = audio_metadata_create(); in main() local
/system/bt/gd/cert/
Dmetadata.py37 def metadata(_do_not_use=None, pts_test_id=None, pts_test_name=None): function
/system/core/libstats/pull_lazy/tests/
Dlibstatspull_lazy_test.cpp37 AStatsManager_PullAtomMetadata* metadata = NULL; in TEST_F() local
/system/core/libstats/pull_rust/
Dstats_pull.rs31 metadata: *mut AStatsManager_PullAtomMetadata, field
38 let metadata = unsafe { AStatsManager_PullAtomMetadata_obtain() }; in new() localVariable
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp141 auto metadata = ReadMetadata(block_device.c_str(), slot); in CreateLogicalPartitions() local
154 bool CreateLogicalPartitions(const LpMetadata& metadata, const std::string& super_device) { in CreateLogicalPartitions()
/system/extras/partition_tools/
Dlpunpack.cc155 auto metadata = ReadMetadata(abs_super_path, slot_num); in main() local
175 ImageExtractor::ImageExtractor(unique_fd&& image_fd, std::unique_ptr<LpMetadata>&& metadata, in ImageExtractor()
Dlpdump.cc136 static bool MergeMetadata(const LpMetadata* metadata, in MergeMetadata()
242 static int PrintJson(const LpMetadata* metadata, std::ostream& cout, in PrintJson()
272 static int DumpMetadataSize(const LpMetadata& metadata, std::ostream& cout) { in DumpMetadataSize()
/system/media/camera/docs/
Dmetadata_helpers.py794 def javadoc(metadata, indent = 4): argument
883 def ndkdoc(metadata, indent = 4): argument
982 def hidldoc(metadata, indent = 4): argument
1151 def filter_tags(text, metadata, filter_function, summary_function = None): argument
1246 def ndk_replace_tag_wildcards(text, metadata): argument
/system/security/keystore2/src/
Did_rotation.rs104 let metadata = fs::metadata(&temp_file_path)?; in test_had_factory_reset_since_id_rotation() localVariable

123