Lines Matching refs:rc
91 int rc = mDevice->common.close(&mDevice->common);
92 if (rc != OK)
93 ALOGE("Could not close camera %s: %d", mName.string(), rc);
100 int rc = module->methods->open(module, mName.string(),
102 if (rc != OK) {
103 ALOGE("Could not open camera %s: %d", mName.string(), rc);
104 return rc;
107 return rc;
569 int rc;
572 rc = native_window_dequeue_buffer_and_wait(a, &anb);
573 if (!rc) {
577 return rc;