/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/display/msm8998/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/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/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/msm8998/libbt-vendor/src/ |
D | hw_rome.c | 126 int err = 0; in get_vs_hci_event() local 141 err = -EIO; in get_vs_hci_event() 201 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event() 224 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event() 246 err = HCI_CMD_SUCCESS; in get_vs_hci_event() 254 err = -1; in get_vs_hci_event() 299 err = -1; in get_vs_hci_event() 304 err = -1; in get_vs_hci_event() 309 return err; in get_vs_hci_event() 378 int err = 0; in hci_send_wipower_vs_cmd() local [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 …]
|
/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 …]
|
/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/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/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/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/msm8998/libgralloc/ |
D | ionalloc.cpp | 72 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/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/bt/msm8996/libbt-vendor/src/ |
D | hw_rome.c | 136 int err = 0; in get_vs_hci_event() local 150 err = -EIO; in get_vs_hci_event() 209 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event() 232 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event() 268 err = HCI_CMD_SUCCESS; in get_vs_hci_event() 276 err = -1; in get_vs_hci_event() 321 err = -1; in get_vs_hci_event() 326 err = -1; in get_vs_hci_event() 331 return err; in get_vs_hci_event() 400 int err = 0; in hci_send_wipower_vs_cmd() local [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/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 …]
|
/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/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/qcom/display/msm8998/libgralloc1/ |
D | gr_ion_alloc.cpp | 70 int err = 0; in AllocBuffer() local 83 err = -errno; in AllocBuffer() 85 return err; in AllocBuffer() 91 err = -errno; in AllocBuffer() 94 return err; in AllocBuffer() 100 err = -errno; in AllocBuffer() 103 return err; in AllocBuffer() 118 int err = 0; in FreeBuffer() local 122 err = UnmapBuffer(base, size, offset); in FreeBuffer() 126 return err; in FreeBuffer() [all …]
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_ion_alloc.cpp | 70 int err = 0; in AllocBuffer() local 83 err = -errno; in AllocBuffer() 85 return err; in AllocBuffer() 91 err = -errno; in AllocBuffer() 94 return err; in AllocBuffer() 100 err = -errno; in AllocBuffer() 103 return err; in AllocBuffer() 118 int err = 0; in FreeBuffer() local 122 err = UnmapBuffer(base, size, offset); in FreeBuffer() 126 return err; in FreeBuffer() [all …]
|