Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 4 of 4) sorted by relevance

/hardware/msm7k/librpc/
Dops.c30 int rc = read((int) handle, (void *)buf, size); in r_read() local
31 if (rc < 0) in r_read()
35 int len = rc / 4; in r_read()
37 fprintf(stdout, "RPC in %02d:", rc); in r_read()
43 return rc; in r_read()
48 int rc = write(handle, (void *)buf, size); in r_write() local
49 if (rc < 0) in r_write()
53 int len = rc / 4; in r_write()
55 fprintf(stdout, "RPC out %02d:", rc); in r_write()
61 return rc; in r_write()
/hardware/msm7k/libcamera2/
DQualcommCameraHardware.cpp420 int rc; in native_set_afmode() local
429 if ((rc = ioctl(camfd, MSM_CAM_IOCTL_CTRL_COMMAND, &ctrlCmd)) < 0) in native_set_afmode()
435 return rc >= 0 && ctrlCmd.status == CAMERA_EXIT_CB_DONE; in native_set_afmode()
440 int rc; in native_cancel_afmode() local
448 if ((rc = ioctl(camfd, MSM_CAM_IOCTL_CTRL_COMMAND_2, &ctrlCmd)) < 0) in native_cancel_afmode()
452 return rc >= 0; in native_cancel_afmode()
614 int rc = true; in native_set_parm() local
626 rc = ioctl(mCameraControlFd, MSM_CAM_IOCTL_CTRL_COMMAND, &ctrlCmd); in native_set_parm()
627 if(rc < 0 || ctrlCmd.status != CAM_CTRL_SUCCESS) { in native_set_parm()
629 mCameraControlFd, type, length, rc, ctrlCmd.status, strerror(errno)); in native_set_parm()
[all …]
/hardware/msm7k/libaudio/
DAudioHardware.cpp77 int rc = set_acoustic_parameters(); in AudioHardware() local
78 if (rc < 0) { in AudioHardware()
79 LOGE("Could not set acoustic parameters to share memory: %d", rc); in AudioHardware()
/hardware/msm7k/libcamera/
DQualcommCameraHardware.cpp1109 int rc = stat("/dev/oncrpc", &st); in createInstance() local
1110 if (rc < 0) { in createInstance()