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