Home
last modified time | relevance | path

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

/system/media/camera/fuzz/
Dlibcamera_metadata_fuzzer.cpp46 validate_camera_metadata_structure(m, NULL); in LLVMFuzzerTestOneInput()
60 validate_camera_metadata_structure(m, NULL); in LLVMFuzzerTestOneInput()
64 validate_camera_metadata_structure(m, NULL); in LLVMFuzzerTestOneInput()
82 validate_camera_metadata_structure(m, NULL); in LLVMFuzzerTestOneInput()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp46 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); \
133 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
191 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
219 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
236 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
249 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
262 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
276 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
295 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
507 EXPECT_EQ(OK, validate_camera_metadata_structure(m2, &buf_size)); in TEST()
[all …]
/system/media/camera/src/
Dcamera_metadata.c241 if (validate_camera_metadata_structure(metadata, &src_size) != OK) { in allocate_copy_camera_metadata_checked()
295 assert(validate_camera_metadata_structure(metadata, NULL) == OK); in place_camera_metadata()
369 assert(validate_camera_metadata_structure(metadata, NULL) == OK); in copy_camera_metadata()
405 int validate_camera_metadata_structure(const camera_metadata_t *metadata, in validate_camera_metadata_structure() function
651 assert(validate_camera_metadata_structure(dst, NULL) == OK); in append_camera_metadata()
668 assert(validate_camera_metadata_structure(clone, NULL) == OK); in clone_camera_metadata()
705 assert(validate_camera_metadata_structure(dst, NULL) == OK); in add_camera_metadata_entry_raw()
744 assert(validate_camera_metadata_structure(dst, NULL) == OK); in sort_camera_metadata()
852 assert(validate_camera_metadata_structure(dst, NULL) == OK); in delete_camera_metadata_entry()
928 assert(validate_camera_metadata_structure(dst, NULL) == OK); in update_camera_metadata_entry()
/system/media/camera/include/system/
Dcamera_metadata.h306 int validate_camera_metadata_structure(const camera_metadata_t *metadata,