Searched defs:err (Results 76 - 100 of 363) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8996/libgralloc/
H A Dionalloc.cpp77 int err = 0; local
88 err = open_device();
89 if (err)
90 return err;
92 err = -errno;
94 return err;
100 err = -errno;
104 return err;
111 err = -errno;
115 return err;
135 int err = 0; local
150 int err = 0; local
177 int err = 0; local
194 int err = 0; local
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_ion_alloc.cpp71 int err = 0; local
83 err = -errno;
85 return err;
91 err = -errno;
94 return err;
108 int err = 0; local
113 err = UnmapBuffer(base, size, offset);
122 return err;
127 int err = 0; local
135 err
146 int err = 0; local
160 int err = 0; local
173 int err = 0; local
[all...]
/hardware/qcom/display/msm8996/libqservice/
H A DQService.cpp64 status_t err = (status_t) FAILED_TRANSACTION; local
72 err = mClient->notifyCallback(command, inParcel, outParcel);
77 return err;
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_ion_alloc.cpp77 int err = 0; local
94 err = -errno;
96 return err;
104 err = -errno;
107 return err;
122 int err = 0; local
127 err = UnmapBuffer(base, size, offset);
136 return err;
141 int err = 0; local
149 err
160 int err = 0; local
174 int err = 0; local
187 int err = 0; local
[all...]
/hardware/qcom/display/msm8998/libqservice/
H A DQService.cpp64 status_t err = (status_t) FAILED_TRANSACTION; local
72 err = mClient->notifyCallback(command, inParcel, outParcel);
77 return err;
/hardware/akm/AK8975_FS/libsensors/
H A DAdxlSensor.cpp88 int err = 0; local
107 err = write_sys_attribute(input_sysfs_path, buffer, 1);
108 if (err != 0) {
109 return err;
124 return err;
129 int err = 0; local
158 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
159 if (err == 0) {
166 return err;
H A DKionixSensor.cpp83 int err = 0; local
94 err = ioctl(dev_fd, KIONIX_IOCTL_ENABLE_OUTPUT);
99 err = ioctl(dev_fd, KIONIX_IOCTL_DISABLE_OUTPUT);
103 if (err != 0) {
105 return err;
121 return err;
126 int err = 0; local
143 return err;
/hardware/google/av/codec2/1.0/mts/component/
H A DMtsHalC2V1_0TargetComponentTest.cpp90 Status err = mComponent->start(); local
91 ASSERT_EQ(err, Status::OK);
105 Status err = mComponent->start(); local
106 ASSERT_EQ(err, Status::OK);
110 err = mComponent->queue(workBundle);
111 ASSERT_EQ(err, Status::OK);
113 err = mComponent->reset();
114 ASSERT_EQ(err, Status::OK);
194 Status err = Status::OK; local
199 err
[all...]
/hardware/google/av/codec2/hidl/1.0/utils/
H A DInputSurfaceConnection.cpp80 status_t err = source->initCheck(); local
81 if (err != OK) {
82 ALOGE("Impl::init -- GBS init failed: %d", err);
125 err = source->configure(
129 if (err != OK) {
130 ALOGE("Impl::init -- GBS configure failed: %d", err);
177 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); variable
179 if (err != OK) {
209 err = comp->queue_nb(&items);
210 return (err
231 c2_status_t err = comp->queue_nb(&items); variable
[all...]
/hardware/google/av/codec2/vndk/v4l2/
H A DC2VdaBqBlockPool.cpp51 static c2_status_t asC2Error(int32_t err) { argument
52 switch (err) {
92 c2_status_t err = mAllocator->newGraphicAllocation(width, height, format, usage, &alloc); local
93 if (err != C2_OK) {
94 return err;
192 c2_status_t err = mAllocator->priorGraphicAllocation(c2Handle, &alloc); local
193 if (err != C2_OK) {
194 ALOGE("priorGraphicAllocation failed: %d", err);
195 return err;
306 ALOGE("cancelBuffer failed at slot = %d, err
[all...]
/hardware/google/av/media/sfplugin/
H A DCodec2InfoBuilder.cpp170 c2_status_t err = intf->querySupportedValues(profileQuery, C2_DONT_BLOCK); local
172 asString(err), asString(profileQuery[0].status));
173 if (err == C2_OK && profileQuery[0].status == C2_OK) {
178 err = intf->config({&pl}, C2_DONT_BLOCK, &failures);
179 ALOGV("set profile to %u -> %s", pl.profile, asString(err));
183 err = intf->querySupportedValues(levelQuery, C2_DONT_BLOCK);
185 asString(err), asString(levelQuery[0].status));
186 if (err == C2_OK && levelQuery[0].status == C2_OK) {
/hardware/intel/common/libstagefrighthw/
H A DWrsOMXPlugin.cpp192 OMX_ERRORTYPE err = (*(mCores[j]->mGetRolesOfComponentHandle))( local
195 if (err != OMX_ErrorNone) {
206 err = (*(mCores[j]->mGetRolesOfComponentHandle))(
209 CHECK_EQ(err, OMX_ErrorNone);
/hardware/intel/common/utils/ISV/base/
H A Disv_bufmanager.cpp74 int32_t err = 0; local
77 err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, (hw_module_t const**)&mpGralloc);
78 if (0 != err)
84 err = mpGralloc->perform(mpGralloc, INTEL_UFO_GRALLOC_MODULE_PERFORM_GET_BO_INFO, mGrallocHandle, &info);
86 if (0 != err) {
95 err = gralloc_open_img(&mpGralloc);
96 if (0 != err)
141 int err, releaseFence = -1; local
143 err = gralloc_lock_async_img(mpGralloc, (buffer_handle_t)mGrallocHandle, usage, &r, &vaddr[0], -1);
144 if (0 != err) {
[all...]
/hardware/intel/common/utils/media_resource_manager/omx_adaptor/
H A DOMX_adaptor.cpp71 OMX_ERRORTYPE err = OMX_ErrorNone; local
73 err = (OMX_ERRORTYPE)mArbitrator->Config(CODECS_LIMITATION_FILE);
75 return err;
123 OMX_ERRORTYPE err = OMX_ErrorNone; local
198 err = (OMX_ERRORTYPE)mArbitrator->AddResource(codecInfo.codecType,
207 return err;
231 OMX_ERRORTYPE err = OMX_ErrorNone; local
232 return err;
239 OMX_ERRORTYPE err = OMX_ErrorNone; local
248 err
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
H A DBufferManager.cpp230 status_t err = gralloc_device_alloc_img( local
239 if (err != 0) {
240 ETRACE("failed to allocate frame buffer, error = %d", err);
322 status_t err = gralloc_device_alloc_img( local
330 if (err != 0) {
331 ETRACE("failed to allocate gralloc buffer, error = %d", err);
/hardware/intel/img/hwcomposer/merrifield/common/devices/
H A DExternalDevice.cpp142 status_t err = mAbortModeSettingCond.waitRelative(mLock, milliseconds(20)); local
143 if (err != -ETIMEDOUT) {
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DHdcpControl.cpp96 status_t err = mCompletedCondition.waitRelative(mMutex, milliseconds(HDCP_AUTHENTICATION_TIMEOUT_MS)); local
97 if (err == -ETIMEDOUT) {
331 status_t err = mStoppedCondition.waitRelative(mMutex, milliseconds(mActionDelay)); local
332 if (err != -ETIMEDOUT) {
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngDisplayContext.cpp47 int err = gralloc_open_img(&gralloc); local
48 if (err) {
49 ETRACE("failed to load gralloc module, error = %d", err);
54 err = gralloc_get_display_device_img(gralloc, (void **)&mIMGDisplayDevice);
55 if (err) {
56 ETRACE("failed to get display device, error = %d", err);
151 int err = mIMGDisplayDevice->post(mIMGDisplayDevice, local
155 if (err) {
156 ETRACE("post failed, err = %d", err);
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
H A DBufferManager.cpp230 status_t err = gralloc_device_alloc_img( local
239 if (err != 0) {
240 ELOGTRACE("failed to allocate frame buffer, error = %d", err);
322 status_t err = gralloc_device_alloc_img( local
330 if (err != 0) {
331 ELOGTRACE("failed to allocate gralloc buffer, error = %d", err);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DHdcpControl.cpp97 status_t err = mCompletedCondition.waitRelative(mMutex, milliseconds(HDCP_AUTHENTICATION_TIMEOUT_MS)); local
98 if (err == -ETIMEDOUT) {
344 status_t err = mStoppedCondition.waitRelative(mMutex, milliseconds(mActionDelay)); local
345 if (err != -ETIMEDOUT) {
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngDisplayContext.cpp46 int err = gralloc_open_img(&gralloc); local
47 if (err) {
48 ELOGTRACE("failed to load gralloc module, error = %d", err);
53 err = gralloc_get_display_device_img(gralloc, (void **)&mIMGDisplayDevice);
54 if (err) {
55 ELOGTRACE("failed to get display device, error = %d", err);
151 int err = mIMGDisplayDevice->post(mIMGDisplayDevice, local
155 if (err) {
156 ELOGTRACE("post failed, err = %d", err);
[all...]
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
H A DComposerClient.h106 Error err = mHal->createVirtualDisplay_2_2(width, height, &formatHint, &display); variable
107 if (err == Error::NONE) {
111 hidl_cb(err, display, formatHint);
117 Error err = mHal->getClientTargetSupport_2_2(display, width, height, format, dataspace); variable
118 return err;
128 Error err = mHal->getColorModes_2_2(display, &modes); variable
129 hidl_cb(err, modes);
137 Error err = mHal->getRenderIntents(display, mode, &intents); variable
138 hidl_cb(err, intents);
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
H A DHwcHal.h208 int32_t err = mDispatch.setColorModeWithRenderIntent( variable
210 return static_cast<Error>(err);
/hardware/interfaces/power/1.0/default/
H A DPower.cpp150 int err = hw_get_module(POWER_HARDWARE_MODULE_ID, &hw_module); local
151 if (err) {
152 ALOGE("hw_get_module %s failed: %d", POWER_HARDWARE_MODULE_ID, err);
160 err = hw_module->methods->open(
163 if (err) {
/hardware/libhardware/modules/gralloc/
H A Dframebuffer.cpp283 int err = mapFrameBufferLocked(module); local
285 return err;

Completed in 673 milliseconds

1234567891011>>