/hardware/qcom/display/msm8996/libqdutils/ |
D | display_config.cpp | 50 status_t err = (status_t) FAILED_TRANSACTION; in isExternalConnected() local 54 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, in isExternalConnected() 57 if(err) { in isExternalConnected() 58 ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err); in isExternalConnected() 59 ret = err; in isExternalConnected() 67 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayAttributes() local 72 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, in getDisplayAttributes() 75 if(!err) { in getDisplayAttributes() 83 ALOGE("%s() failed with err %d", __FUNCTION__, err); in getDisplayAttributes() 85 return err; in getDisplayAttributes() [all …]
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsaucm_test.c | 163 int err, i; in process_cmd() local 206 err = snd_use_case_mgr_open(&uc_mgr, identifier); in process_cmd() 207 if (err < 0) { in process_cmd() 208 … fprintf(stderr, "%s: error failed to open sound card %s: %d\n", cmd->cmd_str, identifier, err); in process_cmd() 209 return err; in process_cmd() 215 err = snd_use_case_card_list(&list); in process_cmd() 216 if (err < 0) { in process_cmd() 217 fprintf(stderr, "%s: error failed to get card list: %d\n", cmd->cmd_str, err); in process_cmd() 218 return err; in process_cmd() 220 if (err == 0) { in process_cmd() [all …]
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | display_config.cpp | 40 status_t err = (status_t) FAILED_TRANSACTION; in isExternalConnected() local 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, in isExternalConnected() 47 if(err) { in isExternalConnected() 48 ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err); in isExternalConnected() 49 ret = err; in isExternalConnected() 57 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayAttributes() local 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, in getDisplayAttributes() 65 if(!err) { in getDisplayAttributes() 73 ALOGE("%s: Failed to get display attributes err=%d", __FUNCTION__, err); in getDisplayAttributes() 75 return err; in getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | display_config.cpp | 40 status_t err = (status_t) FAILED_TRANSACTION; in isExternalConnected() local 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, in isExternalConnected() 47 if(err) { in isExternalConnected() 48 ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err); in isExternalConnected() 49 ret = err; in isExternalConnected() 57 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayAttributes() local 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, in getDisplayAttributes() 65 if(!err) { in getDisplayAttributes() 73 ALOGE("%s: Failed to get display attributes err=%d", __FUNCTION__, err); in getDisplayAttributes() 75 return err; in getDisplayAttributes() [all …]
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_rome.c | 124 int err = 0; in get_vs_hci_event() local 138 err = -EIO; in get_vs_hci_event() 198 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event() 221 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event() 243 err = HCI_CMD_SUCCESS; in get_vs_hci_event() 251 err = -1; in get_vs_hci_event() 296 err = -1; in get_vs_hci_event() 301 err = -1; in get_vs_hci_event() 306 return err; in get_vs_hci_event() 375 int err = 0; in hci_send_wipower_vs_cmd() local [all …]
|
D | hw_ar3k.c | 125 int err; in send_hci_cmd_sync() local 141 err = read_hci_event(dev, (unsigned char *)hci_event, PS_EVENT_LEN); in send_hci_cmd_sync() 142 if (err > 0) { in send_hci_cmd_sync() 293 int err; in write_cmd() local 295 err = send_hci_cmd_sync(fd, buffer, len, &event); in write_cmd() 296 if (err < 0) in write_cmd() 297 return err; in write_cmd() 299 err = read_ps_event(event, HCI_PS_CMD_OCF); in write_cmd() 303 return err; in write_cmd() 678 int err; in write_bdaddr() local [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 68 int err = 0; in alloc_buffer() local 83 err = open_device(); in alloc_buffer() 84 if (err) in alloc_buffer() 85 return err; in alloc_buffer() 87 err = -errno; in alloc_buffer() 89 return err; in alloc_buffer() 95 err = -errno; in alloc_buffer() 99 return err; in alloc_buffer() 106 err = -errno; in alloc_buffer() 110 return err; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 71 int err = 0; in alloc_buffer() local 82 err = open_device(); in alloc_buffer() 83 if (err) in alloc_buffer() 84 return err; in alloc_buffer() 86 err = -errno; in alloc_buffer() 88 return err; in alloc_buffer() 94 err = -errno; in alloc_buffer() 98 return err; in alloc_buffer() 105 err = -errno; in alloc_buffer() 109 return err; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 68 int err = 0; in alloc_buffer() local 83 err = open_device(); in alloc_buffer() 84 if (err) in alloc_buffer() 85 return err; in alloc_buffer() 87 err = -errno; in alloc_buffer() 89 return err; in alloc_buffer() 95 err = -errno; in alloc_buffer() 99 return err; in alloc_buffer() 106 err = -errno; in alloc_buffer() 110 return err; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 68 int err = 0; in alloc_buffer() local 83 err = open_device(); in alloc_buffer() 84 if (err) in alloc_buffer() 85 return err; in alloc_buffer() 87 err = -errno; in alloc_buffer() 89 return err; in alloc_buffer() 95 err = -errno; in alloc_buffer() 99 return err; in alloc_buffer() 106 err = -errno; in alloc_buffer() 110 return err; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 71 int err = 0; in alloc_buffer() local 86 err = open_device(); in alloc_buffer() 87 if (err) in alloc_buffer() 88 return err; in alloc_buffer() 90 err = -errno; in alloc_buffer() 92 return err; in alloc_buffer() 98 err = -errno; in alloc_buffer() 102 return err; in alloc_buffer() 109 err = -errno; in alloc_buffer() 113 return err; in alloc_buffer() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 71 int err = 0; in alloc_buffer() local 92 err = open_device(); in alloc_buffer() 93 if (err) in alloc_buffer() 94 return err; in alloc_buffer() 96 err = -errno; in alloc_buffer() 98 return err; in alloc_buffer() 104 err = -errno; in alloc_buffer() 108 return err; in alloc_buffer() 115 err = -errno; in alloc_buffer() 119 return err; in alloc_buffer() [all …]
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_rome.c | 122 int err = 0; in get_vs_hci_event() local 136 err = -EIO; in get_vs_hci_event() 195 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event() 218 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event() 240 err = HCI_CMD_SUCCESS; in get_vs_hci_event() 248 err = -1; in get_vs_hci_event() 278 err = -1; in get_vs_hci_event() 283 return err; in get_vs_hci_event() 352 int err = 0; in hci_send_wipower_vs_cmd() local 362 err = read_hci_event(fd, rsp, HCI_MAX_EVENT_SIZE); in hci_send_wipower_vs_cmd() [all …]
|
D | hw_ar3k.c | 125 int err; in send_hci_cmd_sync() local 141 err = read_hci_event(dev, (unsigned char *)hci_event, PS_EVENT_LEN); in send_hci_cmd_sync() 142 if (err > 0) { in send_hci_cmd_sync() 293 int err; in write_cmd() local 295 err = send_hci_cmd_sync(fd, buffer, len, &event); in write_cmd() 296 if (err < 0) in write_cmd() 297 return err; in write_cmd() 299 err = read_ps_event(event, HCI_PS_CMD_OCF); in write_cmd() 303 return err; in write_cmd() 678 int err; in write_bdaddr() local [all …]
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hw_rome.c | 122 int err = 0; in get_vs_hci_event() local 136 err = -EIO; in get_vs_hci_event() 195 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event() 218 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event() 240 err = HCI_CMD_SUCCESS; in get_vs_hci_event() 248 err = -1; in get_vs_hci_event() 278 err = -1; in get_vs_hci_event() 283 return err; in get_vs_hci_event() 352 int err = 0; in hci_send_wipower_vs_cmd() local 362 err = read_hci_event(fd, rsp, HCI_MAX_EVENT_SIZE); in hci_send_wipower_vs_cmd() [all …]
|
D | hw_ar3k.c | 125 int err; in send_hci_cmd_sync() local 141 err = read_hci_event(dev, (unsigned char *)hci_event, PS_EVENT_LEN); in send_hci_cmd_sync() 142 if (err > 0) { in send_hci_cmd_sync() 293 int err; in write_cmd() local 295 err = send_hci_cmd_sync(fd, buffer, len, &event); in write_cmd() 296 if (err < 0) in write_cmd() 297 return err; in write_cmd() 299 err = read_ps_event(event, HCI_PS_CMD_OCF); in write_cmd() 303 return err; in write_cmd() 678 int err; in write_bdaddr() local [all …]
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_gralloc.cpp | 59 int err, j; in gralloc_lock() local 69 err = mAllocMod->lock(mAllocMod, handle, usage, in gralloc_lock() 99 if (err){ in gralloc_lock() 100 ALOGE("lock(...) failed %d (%s).\n", err, strerror(-err)); in gralloc_lock() 106 return err; in gralloc_lock() 111 int err; in gralloc_unlock() local 121 err = mAllocMod->unlock(mAllocMod, handle); in gralloc_unlock() 122 if (err) { in gralloc_unlock() 123 ALOGE("unlock(...) failed %d (%s)", err, strerror(-err)); in gralloc_unlock() 129 return err; in gralloc_unlock() [all …]
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | display_config.cpp | 40 status_t err = (status_t) FAILED_TRANSACTION; in isExternalConnected() local 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, in isExternalConnected() 47 if(err) { in isExternalConnected() 48 ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err); in isExternalConnected() 49 ret = err; in isExternalConnected() 57 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayAttributes() local 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, in getDisplayAttributes() 65 if(!err) { in getDisplayAttributes() 73 ALOGE("%s: Failed to get display attributes err=%d", __FUNCTION__, err); in getDisplayAttributes() 75 return err; in getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | display_config.cpp | 40 status_t err = (status_t) FAILED_TRANSACTION; in isExternalConnected() local 44 err = binder->dispatch(IQService::CHECK_EXTERNAL_STATUS, in isExternalConnected() 47 if(err) { in isExternalConnected() 48 ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err); in isExternalConnected() 49 ret = err; in isExternalConnected() 57 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayAttributes() local 62 err = binder->dispatch(IQService::GET_DISPLAY_ATTRIBUTES, in getDisplayAttributes() 65 if(!err) { in getDisplayAttributes() 73 ALOGE("%s: Failed to get display attributes err=%d", __FUNCTION__, err); in getDisplayAttributes() 75 return err; in getDisplayAttributes() [all …]
|
/hardware/libhardware/tests/nusensors/ |
D | nusensors.cpp | 63 int err; in main() local 67 err = hw_get_module(SENSORS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); in main() 68 if (err != 0) { in main() 69 printf("hw_get_module() failed (%s)\n", strerror(-err)); in main() 73 err = sensors_open(&module->common, &device); in main() 74 if (err != 0) { in main() 75 printf("sensors_open() failed (%s)\n", strerror(-err)); in main() 105 err = device->activate(device, list[i].handle, 0); in main() 106 if (err != 0) { in main() 108 list[i].name, strerror(-err)); in main() [all …]
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 278 int err; in callFromCLCCLine() local 282 err = at_tok_start(&line); in callFromCLCCLine() 283 if (err < 0) goto error; in callFromCLCCLine() 285 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine() 286 if (err < 0) goto error; in callFromCLCCLine() 288 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine() 289 if (err < 0) goto error; in callFromCLCCLine() 291 err = at_tok_nextint(&line, &state); in callFromCLCCLine() 292 if (err < 0) goto error; in callFromCLCCLine() 294 err = clccStateToRILState(state, &(p_call->state)); in callFromCLCCLine() [all …]
|
D | atchannel.c | 103 int err; in sleepMsec() local 109 err = nanosleep (&ts, &ts); in sleepMsec() 110 } while (err < 0 && errno == EINTR); in sleepMsec() 671 int err = 0; in at_send_command_full_nolock() local 675 err = AT_ERROR_COMMAND_PENDING; in at_send_command_full_nolock() 679 err = writeline (command); in at_send_command_full_nolock() 681 if (err < 0) { in at_send_command_full_nolock() 696 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts); in at_send_command_full_nolock() 698 err = pthread_cond_wait(&s_commandcond, &s_commandmutex); in at_send_command_full_nolock() 701 if (err == ETIMEDOUT) { in at_send_command_full_nolock() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu_nl80211.c | 38 static int dhd_nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) in dhd_nl_error_handler() argument 41 *ret = err->error; in dhd_nl_error_handler() 72 goto err; in dhd_nl_sock_connect() 78 goto err; in dhd_nl_sock_connect() 83 goto err; in dhd_nl_sock_connect() 88 err: in dhd_nl_sock_connect() 104 int err; in dhd_nl_do_testmode() local 116 err = nl_send_auto_complete(dhd_nli->nl, msg); in dhd_nl_do_testmode() 117 if (err < 0) in dhd_nl_do_testmode() 120 err = 1; in dhd_nl_do_testmode() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.cpp | 97 int err = 1; in getCap() local 122 err = read(fd, read_buf, BUFFSIZE); in getCap() 236 int err; in exitPlaybackThread() local 238 err = closeDevice(mproxyPlaybackHandle); in exitPlaybackThread() 239 if (err) { in exitPlaybackThread() 242 err = closeDevice(musbPlaybackHandle); in exitPlaybackThread() 243 if (err) { in exitPlaybackThread() 259 int err; in exitRecordingThread() local 261 err = closeDevice(mproxyRecordingHandle); in exitRecordingThread() 262 if (err) { in exitRecordingThread() [all …]
|
/hardware/bsp/intel/soc/common/bootctrl/ |
D | bootctrl.c | 42 int fd, err; in bootctrl_read_metadata() local 48 err = errno; in bootctrl_read_metadata() 50 return -err; in bootctrl_read_metadata() 53 err = errno; in bootctrl_read_metadata() 56 return -err; in bootctrl_read_metadata() 67 err = -errno; in bootctrl_read_metadata() 70 return err; in bootctrl_read_metadata() 88 int fd, err; in bootctrl_write_metadata() local 94 err = errno; in bootctrl_write_metadata() 96 return -err; in bootctrl_write_metadata() [all …]
|