/hardware/knowles/athletico/sound_trigger_hal/ |
D | cvq_util.c | 64 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 …]
|
D | iaxxx_odsp_hw.c | 81 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/ |
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/msm8909/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/qcom/sm7250/display/libqdutils/ |
D | display_config.cpp | 93 status_t err = (status_t) FAILED_TRANSACTION; in getDisplayVisibleRegion() local 98 err = binder->dispatch(IQService::GET_DISPLAY_VISIBLE_REGION, in getDisplayVisibleRegion() 101 if(!err) { in getDisplayVisibleRegion() 108 __FUNCTION__, dpy, err); in getDisplayVisibleRegion() 110 return err; in getDisplayVisibleRegion() 118 status_t err = (status_t) FAILED_TRANSACTION; in setSecondaryDisplayStatus() local 125 err = binder->dispatch(IQService::SET_SECONDARY_DISPLAY_STATUS, in setSecondaryDisplayStatus() 128 if(err) in setSecondaryDisplayStatus() 130 status, err); in setSecondaryDisplayStatus() 132 return err; in setSecondaryDisplayStatus() [all …]
|
/hardware/google/graphics/common/hwc3/ |
D | ComposerCommandEngine.cpp | 88 auto err = mHal->flushDisplayBrightnessChange(display); in execute() local 89 if (err) { in execute() 90 return err; in execute() 146 auto err = in executeValidateDisplayInternal() local 151 if (err == HWC2_ERROR_NONE || err == HWC2_ERROR_HAS_CHANGES) { in executeValidateDisplayInternal() 157 LOG(ERROR) << __func__ << ": err " << err; in executeValidateDisplayInternal() 158 mWriter->setError(mCommandIndex, err); in executeValidateDisplayInternal() 160 return err; in executeValidateDisplayInternal() 165 auto err = mHal->setColorTransform(display, matrix); in executeSetColorTransform() local 166 if (err) { in executeSetColorTransform() [all …]
|
D | ComposerClient.cpp | 57 auto err = mHal->createLayer(display, layer); in createLayer() local 58 if (!err) { in createLayer() 59 err = mResources->addLayer(display, *layer, bufferSlotCount); in createLayer() 60 if (err) { in createLayer() 64 return TO_BINDER_STATUS(err); in createLayer() 72 auto err = mHal->createVirtualDisplay(width, height, formatHint, display); in createVirtualDisplay() local 73 if (!err) { in createVirtualDisplay() 74 err = mResources->addVirtualDisplay(display->display, outputBufferSlotCount); in createVirtualDisplay() 76 return TO_BINDER_STATUS(err); in createVirtualDisplay() 81 auto err = mHal->destroyLayer(display, layer); in destroyLayer() local [all …]
|
/hardware/qcom/display/msm8909w_3100/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/ti/am57x/bootctrl/ |
D | bootloader_message.cpp | 38 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/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/msm8909w_3100/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/msm8994/libgralloc/ |
D | ionalloc.cpp | 73 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/display/msm8909/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/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/msm8996/libgralloc/ |
D | ionalloc.cpp | 77 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/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/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/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/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerCommandEngine.h | 156 auto err = mHal->validateDisplay(mCurrentDisplay, &changedLayers, &compositionTypes, in executeValidateDisplayInternal() local 159 if (err == Error::NONE) { in executeValidateDisplayInternal() 163 mWriter->setError(getCommandLoc(), err); in executeValidateDisplayInternal() 165 return err; in executeValidateDisplayInternal() 200 auto err = mHal->setColorTransform(mCurrentDisplay, matrix, transform); in executeSetColorTransform() local 201 if (err != Error::NONE) { in executeSetColorTransform() 202 mWriter->setError(getCommandLoc(), err); in executeSetColorTransform() 224 auto err = mResources->getDisplayClientTarget(mCurrentDisplay, slot, useCache, rawHandle, in executeSetClientTarget() local 226 if (err == Error::NONE) { in executeSetClientTarget() 227 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget() [all …]
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapperExtensions.cpp | 52 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/bt/msm8998/libbt-vendor/src/ |
D | hw_rome.c | 127 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/bt/msm8909w_3100/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 …]
|