Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/hardware/knowles/athletico/sound_trigger_hal/
Dcvq_util.c64 int err = 0; in write_model() local
71 err = iaxxx_odsp_plugin_set_parameter_blk(odsp_hdl, in write_model()
78 err = iaxxx_odsp_plugin_set_parameter_blk(odsp_hdl, in write_model()
85 err = iaxxx_odsp_plugin_set_parameter_blk(odsp_hdl, in write_model()
92 err = iaxxx_odsp_plugin_set_parameter_blk(odsp_hdl, in write_model()
98 err = -EINVAL; in write_model()
102 if (err < 0) { in write_model()
110 return err; in write_model()
116 int err = 0; in get_model_state() local
120 err = iaxxx_odsp_plugin_set_parameter(odsp_hdl, inst_id, param_id, in get_model_state()
[all …]
Diaxxx_odsp_hw.c81 int err = 0; in iaxxx_odsp_deinit() local
86 err = -1; in iaxxx_odsp_deinit()
97 return err; in iaxxx_odsp_deinit()
112 int err = 0; in iaxxx_odsp_package_load() local
119 err = -1; in iaxxx_odsp_package_load()
125 err = -1; in iaxxx_odsp_package_load()
134 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_package_load()
136 if (err < 0) { in iaxxx_odsp_package_load()
142 return err; in iaxxx_odsp_package_load()
157 int err = 0; in iaxxx_odsp_package_unload() local
[all …]
/hardware/qcom/display/msm8996/libqdutils/
Ddisplay_config.cpp50 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/msm8909/libqdutils/
Ddisplay_config.cpp50 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/
Ddisplay_config.cpp50 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/msm8909w_3100/libqdutils/
Ddisplay_config.cpp50 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/sm8150/display/libqdutils/
Ddisplay_config.cpp50 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/sdm845/display/libqdutils/
Ddisplay_config.cpp50 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/ti/am57x/bootctrl/
Dbootloader_message.cpp38 static std::string get_misc_blk_device(std::string* err) { in get_misc_blk_device() argument
41 *err = "failed to read default fstab"; in get_misc_blk_device()
46 *err = "failed to find /misc partition"; in get_misc_blk_device()
54 static bool wait_for_device(const std::string& blk_device, std::string* err) { in wait_for_device() argument
57 err->clear(); in wait_for_device()
63 *err += android::base::StringPrintf("failed to stat %s try %d: %s\n", in wait_for_device()
70 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str()); in wait_for_device()
76 size_t offset, std::string* err) { in read_misc_partition() argument
77 if (!wait_for_device(misc_blk_device, err)) { in read_misc_partition()
82 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), in read_misc_partition()
[all …]
/hardware/qcom/sm8150/display/gralloc/
DQtiMapperExtensions.cpp52 auto err = Error::BAD_BUFFER; in getMapSecureBufferFlag() local
59 err = Error::NONE; in getMapSecureBufferFlag()
62 hidl_cb(err, map_secure_buffer != 0); in getMapSecureBufferFlag()
67 auto err = Error::BAD_BUFFER; in getInterlacedFlag() local
74 err = Error::NONE; in getInterlacedFlag()
77 hidl_cb(err, interlaced_flag != 0); in getInterlacedFlag()
83 auto err = Error::BAD_BUFFER; in getCustomDimensions() local
91 err = Error::NONE; in getCustomDimensions()
93 hidl_cb(err, stride, height); in getCustomDimensions()
98 auto err = Error::BAD_BUFFER; in getRgbDataAddress() local
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsaucm_test.c163 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/
Ddisplay_config.cpp40 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/msm8996/libgralloc/
Dionalloc.cpp77 int err = 0; in alloc_buffer() local
88 err = open_device(); in alloc_buffer()
89 if (err) in alloc_buffer()
90 return err; in alloc_buffer()
92 err = -errno; in alloc_buffer()
94 return err; in alloc_buffer()
100 err = -errno; in alloc_buffer()
104 return err; in alloc_buffer()
111 err = -errno; in alloc_buffer()
115 return err; in alloc_buffer()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dionalloc.cpp72 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/
Dionalloc.cpp68 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/msm8226/libgralloc/
Dionalloc.cpp68 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/
Dionalloc.cpp68 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/
Dionalloc.cpp72 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/msm8994/libgralloc/
Dionalloc.cpp73 int err = 0; in alloc_buffer() local
94 err = open_device(); in alloc_buffer()
95 if (err) in alloc_buffer()
96 return err; in alloc_buffer()
98 err = -errno; in alloc_buffer()
100 return err; in alloc_buffer()
106 err = -errno; in alloc_buffer()
110 return err; in alloc_buffer()
117 err = -errno; in alloc_buffer()
121 return err; in alloc_buffer()
[all …]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_rome.c127 int err = 0; in get_vs_hci_event() local
142 err = -EIO; in get_vs_hci_event()
193 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event()
216 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event()
232 err = HCI_CMD_SUCCESS; in get_vs_hci_event()
240 err = -1; in get_vs_hci_event()
285 err = -1; in get_vs_hci_event()
290 err = -1; in get_vs_hci_event()
295 return err; in get_vs_hci_event()
364 int err = 0; in hci_send_wipower_vs_cmd() local
[all …]
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhw_rome.c127 int err = 0; in get_vs_hci_event() local
142 err = -EIO; in get_vs_hci_event()
202 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event()
225 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event()
247 err = HCI_CMD_SUCCESS; in get_vs_hci_event()
255 err = -1; in get_vs_hci_event()
300 err = -1; in get_vs_hci_event()
305 err = -1; in get_vs_hci_event()
310 return err; in get_vs_hci_event()
379 int err = 0; in hci_send_wipower_vs_cmd() local
[all …]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_rome.c126 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/
Dhw_rome.c122 int err = 0; in get_vs_hci_event() local
136 err = -EIO; in get_vs_hci_event()
186 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event()
209 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event()
225 err = HCI_CMD_SUCCESS; in get_vs_hci_event()
233 err = -1; in get_vs_hci_event()
278 err = -1; in get_vs_hci_event()
283 err = -1; in get_vs_hci_event()
288 return err; in get_vs_hci_event()
357 int err = 0; in hci_send_wipower_vs_cmd() local
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_rome.c120 int err = 0; in get_vs_hci_event() local
134 err = -EIO; in get_vs_hci_event()
183 switch (err = rsp[CMD_STATUS_OFFSET]) in get_vs_hci_event()
206 ALOGI("%s: Undefined error (0x%x)", __FUNCTION__, err); in get_vs_hci_event()
222 err = HCI_CMD_SUCCESS; in get_vs_hci_event()
230 err = -1; in get_vs_hci_event()
260 err = -1; in get_vs_hci_event()
265 return err; in get_vs_hci_event()
334 int err = 0; in hci_send_wipower_vs_cmd() local
344 err = read_hci_event(fd, rsp, HCI_MAX_EVENT_SIZE); in hci_send_wipower_vs_cmd()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h175 auto err = mHal->setColorTransform(mCurrentDisplay, matrix, transform); in executeSetColorTransform() local
176 if (err != Error::NONE) { in executeSetColorTransform()
177 mWriter.setError(getCommandLoc(), err); in executeSetColorTransform()
199 auto err = mResources->getDisplayClientTarget(mCurrentDisplay, slot, useCache, rawHandle, in executeSetClientTarget() local
201 if (err == Error::NONE) { in executeSetClientTarget()
202 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget()
203 if (err == Error::NONE) { in executeSetClientTarget()
210 if (err != Error::NONE) { in executeSetClientTarget()
211 mWriter.setError(getCommandLoc(), err); in executeSetClientTarget()
230 auto err = mResources->getDisplayOutputBuffer(mCurrentDisplay, slot, useCache, rawhandle, in executeSetOutputBuffer() local
[all …]

12345678910>>...23