Home
last modified time | relevance | path

Searched refs:NUM_TYPES (Results 1 – 4 of 4) sorted by relevance

/system/media/camera/include/system/
Dcamera_metadata.h65 NUM_TYPES enumerator
118 extern const size_t camera_metadata_type_size[NUM_TYPES];
124 extern const char* camera_metadata_type_names[NUM_TYPES];
/system/core/libmemtrack/
Dmemtrack.cpp43 memtrack_proc_type types[static_cast<int>(MemtrackType::NUM_TYPES)];
107 for (uint32_t i = 0; i < (uint32_t)MemtrackType::NUM_TYPES; i++) { in memtrack_proc_get()
/system/media/camera/src/
Dcamera_metadata.c191 const size_t camera_metadata_type_size[NUM_TYPES] = {
200 const char *camera_metadata_type_names[NUM_TYPES] = {
363 if (type >= NUM_TYPES) return ERROR; in validate_and_calculate_camera_metadata_entry_data_size()
383 if (type >= NUM_TYPES) return 0; in calculate_camera_metadata_entry_data_size()
503 if (entry.type >= NUM_TYPES) { in validate_camera_metadata_structure()
1076 if (entry->type >= NUM_TYPES) { in dump_indented_camera_metadata()
1091 if (entry->type >= NUM_TYPES) continue; in dump_indented_camera_metadata()
1116 static int values_per_line[NUM_TYPES] = { in print_data()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1798 const size_t (&m_type_sizes)[NUM_TYPES] = camera_metadata_type_size; in TEST()
1823 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_types)/sizeof(m_types[0])); in TEST()
1824 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_type_align)/sizeof(m_type_align[0])); in TEST()
1825 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_type_tags)/sizeof(m_type_tags[0])); in TEST()
1827 for (int m_type = 0; m_type < (int)NUM_TYPES; ++m_type) { in TEST()