/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 35 #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/ |
D | camera_metadata.c | 28 #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/ |
D | BlobCache_test.cpp | 276 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()
|
D | Looper_test.cpp | 186 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/ |
D | authorization_set_test.cpp | 168 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 …]
|
D | authorization_set.cpp | 44 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()
|
D | key_blob.cpp | 64 if (enforced_.is_valid() != AuthorizationSet::OK || in KeyBlob() 65 unenforced_.is_valid() != AuthorizationSet::OK || in KeyBlob() 66 hidden_.is_valid() != AuthorizationSet::OK) { in KeyBlob()
|
D | google_keymaster.cpp | 370 case AuthorizationSet::OK: in TranslateAuthorizationSetError() 411 if (enforced->is_valid() != AuthorizationSet::OK) in SetAuthorizations()
|
/system/extras/tests/bionic/libc/ |
D | run-test.sh | 137 $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/ |
D | Errors.h | 46 OK = 0, // Everything's swell. enumerator
|
/system/core/libutils/ |
D | BlobCache.cpp | 225 return OK; in flatten() 245 return OK; in unflatten() 278 return OK; in unflatten()
|
D | Tokenizer.cpp | 109 return OK; in fromContents()
|
/system/core/healthd/ |
D | BatteryPropertiesRegistrar.cpp | 89 return OK; in dump()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 42 indirect_data_size_(0), indirect_data_capacity_(0), error_(OK) {} in AuthorizationSet() 79 OK, enumerator
|
/system/security/keystore/ |
D | keystore.cpp | 2514 if (ret != android::OK) { in main()
|