Lines Matching refs:OK

407     if (res != OK) {  in ImageWriter_init()
422 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) { in ImageWriter_init()
434 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) { in ImageWriter_init()
446 if (res != OK) { in ImageWriter_init()
457 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceHalFormat)) != OK) { in ImageWriter_init()
463 anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &surfaceDataspace)) != OK) { in ImageWriter_init()
472 if (res != OK) { in ImageWriter_init()
480 if (res != OK) { in ImageWriter_init()
507 if (res != OK) { in ImageWriter_init()
520 if (res != OK) { in ImageWriter_init()
529 if (res != OK) { in ImageWriter_init()
554 if (res != OK) { in ImageWriter_dequeueImage()
605 } else if (res != OK) { in ImageWriter_close()
653 status_t res = OK; in ImageWriter_queueImage()
671 if (res != OK) { in ImageWriter_queueImage()
680 if (res != OK) { in ImageWriter_queueImage()
692 if (res != OK) { in ImageWriter_queueImage()
698 if (res != OK) { in ImageWriter_queueImage()
704 if (res != OK) { in ImageWriter_queueImage()
716 if (res != OK) { in ImageWriter_queueImage()
738 status_t res = OK; in attachAndQeueuGraphicBuffer()
741 if (res != OK) { in attachAndQeueuGraphicBuffer()
760 if (res != OK) { in attachAndQeueuGraphicBuffer()
768 if (res != OK) { in attachAndQeueuGraphicBuffer()
779 if (res != OK) { in attachAndQeueuGraphicBuffer()
785 if (res != OK) { in attachAndQeueuGraphicBuffer()
791 if (res != OK) { in attachAndQeueuGraphicBuffer()
804 if (res != OK) { in attachAndQeueuGraphicBuffer()
941 if (res != OK) { in Image_unlockIfLocked()
1032 if (res != OK) { in Image_getLockedImage()
1050 if (res != OK) { in Image_getLockedImageInfo()