/hardware/qcom/display/msm8994/libhdmi/ |
H A D | hdmi.cpp | 194 ssize_t err = -1; local 202 err = write(spdFile, info, strlen(info)); 203 if (err <= 0) { 205 "err no = %d", __FUNCTION__, node, errno); 569 ssize_t err = -1; local 573 err = write(hdmiHPDFile, "1", 2); 575 err = write(hdmiHPDFile, "0" , 2); 576 if (err <= 0) { 680 ALOGE("%s: file '%s' not found : ret = %d err str: %s",
|
/hardware/qcom/display/msm8996/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 72 ssize_t err = 0; local 74 err = access(path, R_OK); 75 if (!err) { 78 err = fread(data, sizeof(char), MAX_SYSFS_DATA ,fp); 82 return err; 87 ssize_t err = 0; local 89 err = access(path, W_OK); 90 if (!err) { 93 err = write(fd, data, len); 94 if (err < 116 ssize_t err = write_node(sysfs_full_path, sysfs_data, strlen(sysfs_data)); local 174 ssize_t err = write_int_to_node(ctx, "cec/logical_addr", addr); local 197 int err = (int) read_node(pa_path, pa_data); local 247 ssize_t err = 0; local 388 ssize_t err = read_node(connected_path, connected_data); local 414 ssize_t err; local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 779 int err = 0; local 862 err = -EINVAL; 864 return err; 889 int err = sAlloc->allocate(data, allocFlags); local 890 if (0 != err) { 1097 int err = 0; local 1107 return err; 1121 err = -EINVAL; 1126 return err;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_allocator.cpp | 354 int err = 0; local 441 err = -EINVAL; 444 return err; 733 int err = 0; local 743 return err; 758 err = -EINVAL; 763 return err;
|
H A D | gr_buf_mgr.cpp | 280 gralloc1_error_t err = GRALLOC1_ERROR_NONE; local 287 err = ImportHandleLocked(handle); 289 return err; 316 gralloc1_error_t err = GRALLOC1_ERROR_NONE; local 319 // If buffer is not meant for CPU return err 326 err = MapBuffer(hnd); 339 if (!err && (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) && 348 if (!err && CpuCanWrite(prod_usage)) { 353 return err; 487 int err local 806 int err = allocator_->GetYUVPlaneInfo(hnd, &ycbcr); local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
H A D | hw_hdmi.cpp | 393 ssize_t err = Sys::pwrite_(fd, data, strlen(data), 0); local 394 if (err <= 0) { 467 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); 485 ssize_t err = Sys::pwrite_(fd, page_string, sizeof(page_string), 0); local 486 if (err <= 0) {
|
/hardware/qcom/display/msm8998/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 76 ssize_t err = 0; local 78 err = access(path, R_OK); 79 if (!err) { 82 err = fread(data, sizeof(char), MAX_SYSFS_DATA ,fp); 86 return err; 91 ssize_t err = 0; local 93 err = access(path, W_OK); 94 if (!err) { 97 err = write(fd, data, len); 98 if (err < 120 ssize_t err = write_node(sysfs_full_path, sysfs_data, strlen(sysfs_data)); local 178 ssize_t err = write_int_to_node(ctx, "cec/logical_addr", addr); local 201 int err = (int) read_node(pa_path, pa_data); local 251 ssize_t err = 0; local 394 ssize_t err = read_node(connected_path, connected_data); local 420 ssize_t err; local [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.cpp | 355 int err = 0; local 442 err = -EINVAL; 445 return err; 735 int err = 0; local 745 return err; 760 err = -EINVAL; 765 return err;
|
H A D | gr_buf_mgr.cpp | 271 gralloc1_error_t err = GRALLOC1_ERROR_NONE; local 278 err = ImportHandleLocked(handle); 280 return err; 304 gralloc1_error_t err = GRALLOC1_ERROR_NONE; local 307 // If buffer is not meant for CPU return err 314 err = MapBuffer(hnd); 327 if (!err && (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) && 336 if (!err && CpuCanWrite(prod_usage)) { 341 return err; 475 int err local 794 int err = allocator_->GetYUVPlaneInfo(hnd, &ycbcr); local [all...] |
H A D | gr_device_impl.cpp | 509 gralloc1_error_t err = dev->buf_mgr_->Perform(operation, args); local 512 return err;
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
H A D | HexagonController.cpp | 56 int err = mFn_##function(__VA_ARGS__); \ 57 if (err != 0) { \ 58 return err; \ 90 int err = dlclose(mHandle); local 92 HEXAGON_SOFT_ASSERT_EQ(err, 0, "FAILED TO CLOSE LIBRARY " << kFilename);
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | cpp_bindings.cpp | 587 wifi_error err = create(); /* create the message */ local 588 if (err != WIFI_SUCCESS) 589 return err; 596 int err = 0; local 602 err = nl_send_auto_complete(mInfo->cmd_sock, request.getMessage()); /* send message */ 603 if (err < 0) 606 err = 1; 609 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); 610 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); 611 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); 711 int *err = (int *)arg; local 717 int *err = (int *)arg; local 728 error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) argument [all...] |
/hardware/ril/reference-ril/ |
H A D | atchannel.c | 108 int err; local 114 err = nanosleep (&ts, &ts); 115 } while (err < 0 && errno == EINTR); 676 int err = 0; local 680 err = AT_ERROR_COMMAND_PENDING; 684 err = writeline (command); 686 if (err < 0) { 701 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts); 703 err = pthread_cond_wait(&s_commandcond, &s_commandmutex); 706 if (err 743 int err; local 784 int err; local 797 int err; local 819 int err; local 843 int err; local 866 int err; local 902 int err = 0; local 947 int err; local [all...] |
/hardware/broadcom/libbt/src/ |
H A D | hardware.c | 334 int err; local 344 err = nanosleep(&delay, &delay); 345 } while (err < 0 && errno ==EINTR);
|
/hardware/google/av/codec2/vndk/util/ |
H A D | C2InterfaceHelper.cpp | 578 c2_status_t err = param->validate(mReflector); local 579 if (err != C2_CORRUPTED) {
|
/hardware/google/av/media/codecs/avc/ |
H A D | C2SoftAvcDec.cpp | 345 status_t err = initDecoder(); local 346 return err == OK ? C2_OK : C2_CORRUPTED; 625 status_t err = handleColorAspectsChange(); local 626 CHECK(err == OK); 753 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); local 754 if (err != C2_OK) { 755 ALOGE("fetchGraphicBlock for Output failed with status %d", err); 756 return err;
|
H A D | C2SoftAvcEnc.cpp | 984 status_t err = ImageCopy(conversionBuffer.data(), &img, *input); local 985 if (err != OK) { 986 ALOGE("Buffer conversion failed: %d", err); 1156 ALOGE("graphic view map err = %d", view->error()); 1166 c2_status_t err = pool->fetchLinearBlock(mOutBufferSize, usage, &block); local 1167 if (err != C2_OK) { 1168 ALOGE("fetch linear block err = %d", err); 1170 work->result = err; 1175 ALOGE("write view map err [all...] |
/hardware/google/av/media/codecs/hevc/ |
H A D | C2SoftHevcDec.cpp | 302 status_t err = initDecoder(); local 303 return err == OK ? C2_OK : C2_CORRUPTED; 587 status_t err = handleColorAspectsChange(); local 588 CHECK(err == OK); 715 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); local 716 if (err != C2_OK) { 717 ALOGE("fetchGraphicBlock for Output failed with status %d", err); 718 return err; 818 c2_status_t err = local 820 if (err [all...] |
/hardware/google/av/media/codecs/mpeg2/ |
H A D | C2SoftMpeg2Dec.cpp | 265 status_t err = initDecoder(); local 266 return err == OK ? C2_OK : C2_CORRUPTED; 631 status_t err = handleColorAspectsChange(); local 632 CHECK(err == OK); 766 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); local 767 if (err != C2_OK) { 768 ALOGE("fetchGraphicBlock for Output failed with status %d", err); 769 return err; 858 c2_status_t err = local 860 if (err 894 c2_status_t err = local [all...] |
/hardware/google/av/media/sfplugin/ |
H A D | CCodec.cpp | 158 c2_status_t err = mSurface->getConfigurable()->config({&eos}, C2_MAY_BLOCK, &failures); variable 159 if (err != C2_OK) { 223 status_t err = OK; local 225 err = status.serviceSpecificErrorCode(); 226 if (err == OK) { 227 err = status.transactionError(); 228 if (err == OK) { 230 err = UNKNOWN_ERROR; 234 return err; 243 status_t err local 510 status_t err = job(); local 591 status_t err = config->initialize(mClient, comp); local 822 status_t err = [this] { local 842 status_t err; local 908 status_t err = mChannel->setInputSurface(surface); local 943 status_t err = setupInputSurface(std::make_shared<GraphicBufferSourceWrapper>( local 983 c2_status_t err = comp->start(); local 1062 status_t err = comp->stop(); local 1137 status_t err = [this] { local 1178 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); local [all...] |
H A D | CCodecConfig.cpp | 916 c2_status_t err = component->query({ }, supportedIndices, blocking, configUpdate); local 917 if (err != C2_OK) { 918 ALOGD("query failed after returning %zu params => %s", configUpdate->size(), asString(err)); 946 c2_status_t err = C2_OK; local 949 err = validator(copy); 951 if (err == C2_OK) { 958 mParamUpdater->getParamName(param->index()).c_str(), asString(err)); 967 c2_status_t err = component->config(paramVector, blocking, &failures); local 968 if (err != C2_OK) { 969 ALOGD("config failed => %s", asString(err)); [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
H A D | mixaudio.c | 353 GError *err = NULL; local 361 mix->fileDescriptor = g_file_open_tmp ("mixaudio.XXXXXX", &filename, &err); 363 if (err) 365 g_warning("Oops, cannot open temp file: Error message: %s", err->message);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | alsa_default.cpp | 234 status_t err = NO_ERROR; local 259 return err; 399 int err = 0, index, mods_size; local 480 err = csd_disable_device(); 481 if (err < 0) 483 ALOGE("csd_client_disable_device, failed, error %d", err); 599 err = csd_enable_device(rx_dev_id, tx_dev_id, mDevSettingsFlag); 600 if (err < 0) 602 ALOGE("csd_client_disable_device failed, error %d", err); 633 int err local 736 int err = NO_ERROR; local 833 int err = NO_ERROR; local 953 int err = NO_ERROR; local 1056 status_t err = NO_ERROR; local 1067 status_t err = NO_ERROR; local 1077 status_t err = NO_ERROR; local 1092 status_t err = NO_ERROR; local 1150 status_t err = NO_ERROR; local 1575 int err = 0; local 1610 int err = 0; local 1681 int err = 0; local 1714 int err = 0; local 1740 int err = 0; local 1772 status_t err = NO_ERROR; local [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_pcm.c | 419 int err; local 420 err = ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr); 421 if (err < 0) { 422 err = errno; 423 ALOGE("SNDRV_PCM_IOCTL_SYNC_PTR failed %d \n", err); 424 return err; 432 int err, i; local 525 int err; local 531 err = sync_ptr(pcm); 532 if (err [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraMem.cpp | 1988 int err = NO_ERROR; local 1996 err = mWindow->enqueue_buffer(mWindow, (buffer_handle_t *)mBufferHandle[index]); 1997 if(err != 0) { 1998 LOGE("enqueue_buffer failed, err = %d", err); 2006 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); 2007 if (err == NO_ERROR && buffer_handle != NULL) { 2083 int32_t err = NO_ERROR; local 2102 err = mWindow->set_timestamp(mWindow, timeStamp); 2103 if (err ! 2131 int32_t err = NO_ERROR; local 2222 int err = 0; local [all...] |