Home
last modified time | relevance | path

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

/system/media/camera/include/system/
Dcamera_metadata.h66 NUM_TYPES enumerator
119 extern const size_t camera_metadata_type_size[NUM_TYPES];
125 extern const char* camera_metadata_type_names[NUM_TYPES];
/system/media/camera/src/
Dcamera_metadata.c144 const size_t camera_metadata_type_size[NUM_TYPES] = {
153 const char *camera_metadata_type_names[NUM_TYPES] = {
401 if (entry.type >= NUM_TYPES) { in validate_camera_metadata_structure()
513 if (type >= NUM_TYPES) return 0; in calculate_camera_metadata_entry_data_size()
878 if (entry->type >= NUM_TYPES) { in dump_indented_camera_metadata()
893 if (entry->type >= NUM_TYPES) continue; in dump_indented_camera_metadata()
918 static int values_per_line[NUM_TYPES] = { in print_data()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1796 const size_t (&m_type_sizes)[NUM_TYPES] = camera_metadata_type_size; in TEST()
1821 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_types)/sizeof(m_types[0])); in TEST()
1822 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_type_align)/sizeof(m_type_align[0])); in TEST()
1823 ASSERT_EQ((size_t)NUM_TYPES, sizeof(m_type_tags)/sizeof(m_type_tags[0])); in TEST()
1825 for (int m_type = 0; m_type < (int)NUM_TYPES; ++m_type) { in TEST()