Lines Matching defs:ret
195 status_t ret =
197 if (ret != OK) {
198 ALOGE("%s: AImage %p failed to lock, error=%d", __FUNCTION__, this, ret);
676 media_status_t ret = image->getWidth(&width);
677 if (ret != AMEDIA_OK) {
678 return ret;
681 ret = image->getHeight(&height);
682 if (ret != AMEDIA_OK) {
683 return ret;
723 media_status_t ret = const_cast<AImage*>(image)->lockImage();
724 if (ret != AMEDIA_OK) {
726 __FUNCTION__, image, ret);
727 return ret;
741 media_status_t ret = const_cast<AImage*>(image)->lockImage();
742 if (ret != AMEDIA_OK) {
744 __FUNCTION__, image, ret);
745 return ret;
760 media_status_t ret = const_cast<AImage*>(image)->lockImage();
761 if (ret != AMEDIA_OK) {
763 __FUNCTION__, image, ret);
764 return ret;