Home
last modified time | relevance | path

Searched refs:OK (Results 1 – 15 of 15) sorted by relevance

/system/media/camera/tests/
Dcamera_metadata_tests.cpp35 #define OK 0 macro
44 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); \
131 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
189 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
217 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
229 EXPECT_EQ(OK, result); in TEST()
234 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
242 EXPECT_EQ(OK, result); in TEST()
247 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
255 EXPECT_EQ(OK, result); in TEST()
[all …]
/system/media/camera/src/
Dcamera_metadata.c28 #define OK 0 macro
188 if (validate_camera_metadata_structure(metadata, &src_size) != OK) { in allocate_copy_camera_metadata_checked()
231 assert(validate_camera_metadata_structure(metadata, NULL) == OK); in place_camera_metadata()
298 assert(validate_camera_metadata_structure(metadata, NULL) == OK); in copy_camera_metadata()
455 return OK; in validate_camera_metadata_structure()
490 assert(validate_camera_metadata_structure(dst, NULL) == OK); in append_camera_metadata()
491 return OK; in append_camera_metadata()
502 if (res != OK) { in clone_camera_metadata()
507 assert(validate_camera_metadata_structure(clone, NULL) == OK); in clone_camera_metadata()
552 assert(validate_camera_metadata_structure(dst, NULL) == OK); in add_camera_metadata_entry_raw()
[all …]
/system/core/libutils/tests/
DBlobCache_test.cpp276 ASSERT_EQ(OK, mBC->flatten(flat, size)); in roundTrip()
277 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in roundTrip()
324 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
356 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
373 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
378 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_F()
392 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
397 ASSERT_EQ(OK, mBC2->unflatten(flat, size)); in TEST_F()
411 ASSERT_EQ(OK, mBC->flatten(flat, size)); in TEST_F()
DLooper_test.cpp186 ASSERT_EQ(OK, pipe.writeSignal()); in TEST_F()
234 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
260 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
286 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
309 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
325 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
351 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
428 ASSERT_EQ(OK, pipe.readSignal()) in TEST_F()
/system/keymaster/
Dauthorization_set_test.cpp168 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()); in TEST()
201 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()); in TEST()
310 EXPECT_EQ(AuthorizationSet::OK, deserialized1.is_valid()); in TEST()
314 EXPECT_EQ(AuthorizationSet::OK, deserialized1.is_valid()); in TEST()
338 EXPECT_EQ(AuthorizationSet::OK, deserialized4.is_valid()); in TEST()
375 EXPECT_EQ(AuthorizationSet::OK, growable.is_valid()); in TEST()
380 EXPECT_EQ(AuthorizationSet::OK, growable.is_valid()); in TEST()
392 EXPECT_EQ(AuthorizationSet::OK, growable.is_valid()); in TEST()
396 EXPECT_EQ(AuthorizationSet::OK, growable.is_valid()); in TEST()
400 EXPECT_EQ(AuthorizationSet::OK, growable.is_valid()); in TEST()
[all …]
Dauthorization_set.cpp44 if (is_valid() != OK) in reserve_elems()
62 if (is_valid() != OK) in reserve_indirect()
97 error_ = OK; in Reinitialize()
107 if (is_valid() != OK) in find()
121 if (is_valid() == OK && at < (int)elems_size_) { in operator []()
183 if (is_valid() != OK) in push_back()
200 if (is_valid() != OK) in push_back()
416 error_ = OK; in FreeData()
Dkey_blob.cpp64 if (enforced_.is_valid() != AuthorizationSet::OK || in KeyBlob()
65 unenforced_.is_valid() != AuthorizationSet::OK || in KeyBlob()
66 hidden_.is_valid() != AuthorizationSet::OK) { in KeyBlob()
Dgoogle_keymaster.cpp370 case AuthorizationSet::OK: in TranslateAuthorizationSetError()
411 if (enforced->is_valid() != AuthorizationSet::OK) in SetAuthorizations()
/system/extras/tests/bionic/libc/
Drun-test.sh137 $ADB_CMD shell $@ "&&" echo OK "||" echo KO | tee $ADB_CMD_LOG
139 $ADB_CMD shell $@ "&&" echo OK "||" echo KO > $ADB_CMD_LOG
/system/core/include/utils/
DErrors.h46 OK = 0, // Everything's swell. enumerator
/system/core/libutils/
DBlobCache.cpp225 return OK; in flatten()
245 return OK; in unflatten()
278 return OK; in unflatten()
DTokenizer.cpp109 return OK; in fromContents()
/system/core/healthd/
DBatteryPropertiesRegistrar.cpp89 return OK; in dump()
/system/keymaster/include/keymaster/
Dauthorization_set.h42 indirect_data_size_(0), indirect_data_capacity_(0), error_(OK) {} in AuthorizationSet()
79 OK, enumerator
/system/security/keystore/
Dkeystore.cpp2514 if (ret != android::OK) { in main()