Lines Matching refs:C2_OK
249 if (err != C2_OK) { in allocateLinear()
264 if (err != C2_OK) { in mapLinear()
279 ASSERT_EQ(C2_OK, mLinearAllocation->unmap(mAddr, mSize, nullptr)); in unmapLinear()
295 if (err != C2_OK) { in allocateGraphic()
310 if (err != C2_OK) { in mapGraphic()
324 ASSERT_EQ(C2_OK, mGraphicAllocation->unmap(mAddrGraphic, mMappedRect, nullptr)); in unmapGraphic()
373 ASSERT_EQ(C2_OK, blockPool->fetchLinearBlock( in TEST_F()
381 ASSERT_EQ(C2_OK, writeView.error()); in TEST_F()
406 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
419 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
512 ASSERT_EQ(C2_OK, blockPool->fetchGraphicBlock( in TEST_F()
522 ASSERT_EQ(C2_OK, graphicView.error()); in TEST_F()
550 ASSERT_EQ(C2_OK, constGraphicView.error()); in TEST_F()
603 ASSERT_EQ(C2_OK, linearBlockPool->fetchLinearBlock( in TEST_F()
607 ASSERT_EQ(C2_OK, linearBlockPool->fetchLinearBlock( in TEST_F()
613 ASSERT_EQ(C2_OK, graphicBlockPool->fetchGraphicBlock( in TEST_F()
619 ASSERT_EQ(C2_OK, graphicBlockPool->fetchGraphicBlock( in TEST_F()
677 ASSERT_EQ(C2_OK, alloc->fetchLinearBlock( in TEST_F()
686 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
694 ASSERT_EQ(C2_OK, buffer->registerOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
697 ASSERT_EQ(C2_OK, buffer->unregisterOnDestroyNotify(&DestroyCallback, &arg)); in TEST_F()
710 ASSERT_EQ(C2_OK, buffer->setInfo(info1)); in TEST_F()
716 ASSERT_EQ(C2_OK, buffer->setInfo(info2)); in TEST_F()
736 ASSERT_EQ(C2_OK, buffer->setInfo(info3)); in TEST_F()
757 ASSERT_EQ(C2_OK, pool->fetchLinearBlock( in TEST_F()