Searched refs:err (Results 1 – 6 of 6) sorted by relevance
/hardware/ril/reference-ril/ |
D | reference-ril.c | 158 int err; in callFromCLCCLine() local 162 err = at_tok_start(&line); in callFromCLCCLine() 163 if (err < 0) goto error; in callFromCLCCLine() 165 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine() 166 if (err < 0) goto error; in callFromCLCCLine() 168 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine() 169 if (err < 0) goto error; in callFromCLCCLine() 171 err = at_tok_nextint(&line, &state); in callFromCLCCLine() 172 if (err < 0) goto error; in callFromCLCCLine() 174 err = clccStateToRILState(state, &(p_call->state)); in callFromCLCCLine() [all …]
|
D | atchannel.c | 115 int err; in sleepMsec() local 121 err = nanosleep (&ts, &ts); in sleepMsec() 122 } while (err < 0 && errno == EINTR); in sleepMsec() 725 int err = 0; in at_send_command_full_nolock() local 731 err = AT_ERROR_COMMAND_PENDING; in at_send_command_full_nolock() 735 err = writeline (command); in at_send_command_full_nolock() 737 if (err < 0) { in at_send_command_full_nolock() 755 err = pthread_cond_timeout_np(&s_commandcond, &s_commandmutex, timeoutMsec); in at_send_command_full_nolock() 757 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts); in at_send_command_full_nolock() 760 err = pthread_cond_wait(&s_commandcond, &s_commandmutex); in at_send_command_full_nolock() [all …]
|
/hardware/msm7k/liblights/ |
D | lights.c | 123 int err = 0; in set_light_backlight() local 127 err = write_int("/sys/class/leds/lcd-backlight/brightness", brightness); in set_light_backlight() 132 return err; in set_light_backlight() 139 int err = 0; in set_light_keyboard() local 142 err = write_int("/sys/class/leds/keyboard-backlight/brightness", on?255:0); in set_light_keyboard() 144 return err; in set_light_keyboard() 151 int err = 0; in set_light_buttons() local 155 err = write_int("/sys/class/leds/button-backlight/brightness", on?255:0); in set_light_buttons() 157 return err; in set_light_buttons()
|
/hardware/libhardware_legacy/tests/gpstest/ |
D | gpstest.cpp | 104 int err = sGpsInterface->init(&sCallbacks); in main() local 105 if (err) { in main() 106 fprintf(stderr, "gps_init failed %d\n", err); in main() 107 return err; in main()
|
/hardware/msm7k/libcopybit/ |
D | copybit.c | 175 int err = ioctl(dev->mFD, MSMFB_BLIT, in msm_copybit() local 177 LOGE_IF(err<0, "copyBits failed (%s)", strerror(errno)); in msm_copybit() 178 if (err == 0) in msm_copybit()
|
/hardware/ril/libril/ |
D | ril.cpp | 2160 int err; in listenCallback() local 2190 err = getsockopt(s_fdCommand, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in listenCallback() 2192 if (err == 0 && szCreds > 0) { in listenCallback()
|