/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
VtsHalMediaC2V1_0TargetComponentTest.cpp | 127 ASSERT_EQ(err, C2_OK); 131 ASSERT_EQ(err, C2_OK); 134 ASSERT_EQ(err, C2_OK); 143 ASSERT_EQ(err, C2_OK); 150 ASSERT_EQ(err, C2_OK); 160 c2_status_t err = C2_OK; 167 ASSERT_EQ(err, C2_OK); 175 EXPECT_EQ(err, C2_OK); 177 ASSERT_EQ(err, C2_OK); 191 ASSERT_EQ(mComponent->start(), C2_OK); [all...] |
/frameworks/av/media/codec2/vndk/include/ |
C2ErrnoUtils.h | 25 template<> constexpr c2_status_t _c2_errno2status_impl<0>() { return C2_OK; } 44 return result == 0 ? C2_OK : C2_CORRUPTED;
|
/frameworks/av/media/codec2/vndk/ |
C2PlatformStorePluginLoader.cpp | 70 return C2_OK; 85 if (res != C2_OK) { 90 return C2_OK;
|
C2Store.cpp | 116 if (res != C2_OK) { 124 return C2_OK; 147 if (res == C2_OK) { 148 if (query[0].status == C2_OK) { 158 if (query[1].status == C2_OK) { 173 if (res == C2_OK) { 312 if (res == C2_OK) { 325 if (res == C2_OK) { 336 if (res == C2_OK) { 350 if (res == C2_OK) { [all...] |
C2AllocatorGralloc.cpp | 95 case Error2::NONE: return C2_OK; 107 case Error3::NONE: return C2_OK; 425 c2_status_t err = C2_OK; 431 if (err == C2_OK) { 442 if (err == C2_OK) { 450 if (err != C2_OK) { 496 if (err == C2_OK) { 514 if (err == C2_OK) { 524 if (err != C2_OK) { 609 if (err == C2_OK) { [all...] |
C2Buffer.cpp | 167 : _C2Block1DImpl(block, offset, size), mData(data), mError(C2_OK) { } 171 // CHECK(error != C2_OK); 229 // CHECK(error != C2_OK); 279 if (error == C2_OK) { 309 if (error == C2_OK) { 338 if (err != C2_OK) { 344 return C2_OK; 401 if (err == C2_OK) { 421 if (err == C2_OK && poolData) { 553 if (status == C2_OK && c2Linear) [all...] |
/frameworks/av/media/codec2/faultinjection/ |
SimpleMethodState.cpp | 38 : mMode(EXECUTE), mOverride(false), mResultOverride(C2_OK) {}
|
/external/v4l2_codec2/tests/ |
C2VDACompIntf_test.cpp | 86 // 1) if config same value, it returns C2_OK 88 // returns C2_OK 101 ASSERT_EQ(C2_OK, mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr)); 108 ASSERT_EQ(C2_OK, mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr)); 118 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); 127 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); 136 ASSERT_EQ(C2_OK, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); 143 ASSERT_EQ(C2_OK, mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr)); 148 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {newParam->index()}, C2_DONT_BLOCK, &heapParams)); 158 ASSERT_EQ(C2_OK, mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr)) [all...] |
/frameworks/av/media/codec2/components/raw/ |
C2SoftRawDec.cpp | 119 return C2_OK; 124 return C2_OK; 142 work->result = C2_OK; 171 return C2_OK; 178 return C2_OK; 196 return C2_OK; 207 return C2_OK;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 85 C2_OK); 176 if (work->result != C2_OK) mFailedWorkReceived++; 245 if (c2err != C2_OK && queried.size() == 0) { 273 if (status == C2_OK && failures.size() == 0u) return true; 296 c2_status_t err = C2_OK; 340 if (err != C2_OK) { 349 if (view.error() != C2_OK) { 373 ASSERT_EQ(component->queue(&items), C2_OK); 426 ASSERT_EQ(mComponent->start(), C2_OK); 436 ASSERT_EQ(mComponent->stop(), C2_OK); [all...] |
VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 95 C2_OK); 253 if (c2err != C2_OK && queried.size() == 0) { 388 ASSERT_EQ(C2_OK, 396 if (view.error() != C2_OK) { 415 ASSERT_EQ(component->queue(&items), C2_OK); 468 ASSERT_EQ(mComponent->start(), C2_OK); 506 ASSERT_EQ(mComponent->stop(), C2_OK); 524 ASSERT_EQ(mComponent->start(), C2_OK); 601 ASSERT_EQ(mComponent->queue(&items), C2_OK); 646 ASSERT_EQ(mComponent->start(), C2_OK); [all...] |
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 86 C2_OK); 181 if (status != C2_OK && inParams.size() == 0) { 216 if (c2err != C2_OK && queried.size() == 0) { 248 if (status == C2_OK && failures.size() == 0u) return true; 332 ASSERT_EQ(C2_OK, linearPool->fetchLinearBlock( 339 if (view.error() != C2_OK) { 358 ASSERT_EQ(component->queue(&items), C2_OK); 425 ASSERT_EQ(mComponent->start(), C2_OK); 464 ASSERT_EQ(mComponent->stop(), C2_OK); 479 ASSERT_EQ(mComponent->start(), C2_OK); [all...] |
VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 92 C2_OK); 246 if (c2err != C2_OK && queried.size() == 0) { 278 if (status == C2_OK && failures.size() == 0u) return true; 296 if (status != C2_OK && inParams.size() == 0) { 449 ASSERT_EQ(C2_OK, 457 if (view.error() != C2_OK) { 477 ASSERT_EQ(component->queue(&items), C2_OK); 494 ASSERT_EQ(mComponent->start(), C2_OK); 499 ASSERT_EQ(mComponent->stop(), C2_OK); 558 ASSERT_EQ(mComponent->start(), C2_OK); [all...] |
/frameworks/av/media/codec2/components/amr_nb_wb/ |
C2SoftAmrNbEnc.cpp | 143 return C2_OK; 163 return C2_OK; 185 work->result = C2_OK; 217 if (err != C2_OK) { 291 return C2_OK; 299 return C2_OK; 317 return C2_OK; 329 return C2_OK;
|
/frameworks/av/media/codec2/components/g711/ |
C2SoftG711Dec.cpp | 115 return C2_OK; 120 return C2_OK; 138 work->result = C2_OK; 181 if (err != C2_OK) { 217 return C2_OK; 224 return C2_OK; 288 return C2_OK; 298 return C2_OK;
|
/frameworks/av/media/codec2/components/gsm/ |
C2SoftGsmDec.cpp | 111 return C2_OK; 125 return C2_OK; 172 work->result = C2_OK; 212 if (err != C2_OK) { 250 return C2_OK; 257 return C2_OK; 275 return C2_OK; 286 return C2_OK;
|
/frameworks/av/media/codec2/components/vpx/ |
C2SoftVp8Enc.cpp | 81 return C2_OK; 93 return C2_OK;
|
/frameworks/av/media/codec2/components/base/ |
SimpleC2Component.cpp | 226 return C2_OK; 248 return C2_OK; 281 return C2_OK; 304 return C2_OK; 319 if (err != C2_OK) { 327 return C2_OK; 348 if (err != C2_OK) { 351 return C2_OK; 367 return C2_OK; 374 return C2_OK; [all...] |
/frameworks/av/media/codec2/components/mpeg4_h263/ |
C2SoftMpeg4Enc.cpp | 261 return C2_OK; 269 return C2_OK; 290 return C2_OK; 358 return C2_OK; 363 return C2_OK; 372 if (C2_OK != err) { 386 return C2_OK; 393 work->result = C2_OK; 402 if (!mStarted && C2_OK != initEncoder()) { 412 if (err != C2_OK) { [all...] |
/frameworks/av/media/codec2/components/opus/ |
C2SoftOpusEnc.cpp | 142 int err = C2_OK; 212 return C2_OK; 257 return C2_OK; 302 work->result = C2_OK; 315 c2_status_t err = C2_OK; 332 if (initEncoder() != C2_OK) { 346 if (err != C2_OK) { 381 work->result = C2_OK; 542 if (err != C2_OK) { 570 work->result = C2_OK; [all...] |
C2SoftOpusDec.cpp | 110 return err == OK ? C2_OK : C2_NO_MEMORY; 126 return C2_OK; 158 return C2_OK; 167 return C2_OK; 174 return C2_OK; 212 work->result = C2_OK; 382 if (err != C2_OK) { 454 return C2_OK; 465 return C2_OK;
|
/frameworks/av/media/codec2/components/avc/ |
C2SoftAvcEnc.cpp | 459 return C2_OK; 463 return C2_OK; 484 return C2_OK; 536 return C2_OK; 559 return C2_OK; 585 return C2_OK; 612 return C2_OK; 636 return C2_OK; 660 return C2_OK; 694 return C2_OK; [all...] |
/frameworks/av/media/codec2/components/vorbis/ |
C2SoftVorbisDec.cpp | 116 return err == OK ? C2_OK : C2_NO_MEMORY; 135 return (initDecoder() == OK ? C2_OK : C2_CORRUPTED); 178 return C2_OK; 187 return C2_OK; 194 return C2_OK; 228 work->result = C2_OK; 387 if (err != C2_OK) { 454 return C2_OK; 465 return C2_OK;
|
/frameworks/av/media/codec2/components/hevc/ |
C2SoftHevcEnc.cpp | 397 return C2_OK; 401 return C2_OK; 413 return C2_OK; 502 return C2_OK; 516 return C2_OK; 541 if (C2_OK != status) { 555 return C2_OK; 565 return C2_OK; 705 return C2_OK; 716 if (C2_OK != status) [all...] |
/frameworks/av/media/codec2/hidl/client/ |
client.cpp | 227 if (status != C2_OK && status != C2_BAD_INDEX) { 311 if (status != C2_OK && status != C2_BAD_INDEX) { 348 if (status != C2_OK) { 389 if (status != C2_OK) { 560 if (status != C2_OK) { 570 } else if (status != C2_OK) { 581 if (status != C2_OK) { 601 if (status != C2_OK) { 610 } else if (status != C2_OK) { 627 if (status != C2_OK) { [all...] |