Home | History | Annotate | Download | only in device1

Lines Matching defs:rc

86             int rc = mDevice->common.close(&mDevice->common);
87 if (rc != OK)
88 ALOGE("Could not close camera %s: %d", mName.string(), rc);
99 int rc = OK;
103 rc = module->openLegacy(mName.string(),
107 rc = module->open(mName.string(), (hw_device_t **)&mDevice);
109 if (rc != OK) {
110 ALOGE("Could not open camera %s: %d", mName.string(), rc);
111 return rc;
114 return rc;
576 int rc;
579 rc = native_window_dequeue_buffer_and_wait(a, &anb);
580 if (!rc) {
584 return rc;
626 int rc;
629 rc = native_window_set_buffers_dimensions(a, width, height);
630 if (!rc) {
631 rc = native_window_set_buffers_format(a, format);
633 return rc;