Lines Matching refs:rc
86 int rc = mDevice->common.close(&mDevice->common);
87 if (rc != OK)
88 ALOGE("Could not close camera %s: %d", mName.string(), rc);
100 int rc = OK;
104 rc = cameraModule->open_legacy(module, mName.string(),
108 rc = CameraService::filterOpenErrorCode(module->methods->open(
111 if (rc != OK) {
112 ALOGE("Could not open camera %s: %d", mName.string(), rc);
113 return rc;
116 return rc;
578 int rc;
581 rc = native_window_dequeue_buffer_and_wait(a, &anb);
582 if (!rc) {
586 return rc;
628 int rc;
631 rc = native_window_set_buffers_dimensions(a, width, height);
632 if (!rc) {
633 rc = native_window_set_buffers_format(a, format);
635 return rc;