/hardware/google/av/media/v4l2store/ |
H A D | C2VDAComponentStore.cpp | 197 auto res = createInterface(0, &intf); local 198 if (res != C2_OK) { 199 ALOGE("failed to create interface: %d", res); 211 res = intf->query_vb({}, { mediaTypeIndex }, C2_MAY_BLOCK, ¶ms); 212 if (res != C2_OK) { 213 ALOGE("failed to query interface: %d", res); 263 c2_status_t res = C2_OK; local 268 res = localModule->init(mLibPath, mCodec); 269 if (res == C2_OK) { 274 return res; 297 c2_status_t res = loader.fetchModule(&module); local 324 c2_status_t res = findComponent(name, &loader); local 341 c2_status_t res = findComponent(name, &loader); local [all...] |
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/ |
H A D | OMXVideoDecoderAVCSecure.cpp | 305 uint32_t res = drm_vendor_api.drm_wv_return_naluheaders(WV_SESSION_ID, &nalu_headers); local 306 if (res == DRM_FAIL_FW_SESSION) { 310 } else if (res != 0) { 312 ALOGE("Drm_WV_ReturnNALUHeaders failed. Error = %#x, frame_size: %d, len = %u", res, nalu_headers.frame_size, buffer->nFilledLen); 407 uint32_t res = drm_vendor_api.drm_pr_return_naluheaders(dataBuffer->session_id, &nalu_headers); local 409 if (res == DRM_FAIL_FW_SESSION || !nalu_headers.hdrs_buf_len) { 413 } else if (res != 0) { 415 ALOGE("drm_pr_return_naluheaders failed. Error = %#x, frame_size: %d, len = %u", res, nalu_headers.frame_size, buffer->nFilledLen);
|
/hardware/interfaces/camera/common/1.0/default/ |
H A D | CameraMetadata.cpp | 192 status_t res; local 197 if ( (res = checkType(tag, TYPE_INT32)) != OK) { 198 return res; 205 status_t res; local 210 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { 211 return res; 218 status_t res; local 223 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { 224 return res; 231 status_t res; local 244 status_t res; local 257 status_t res; local 270 status_t res; local 283 status_t res; local 296 status_t res; local 357 status_t res; local 373 status_t res; local 385 status_t res; local 550 status_t res = OK; local [all...] |
H A D | CameraModule.cpp | 260 int res = OK; local 264 res = mModule->init(); 268 return res; 340 int res; local 342 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); 344 return res; 356 int res; local 358 res = mModule->open_legacy(&mModule->common, id, halVersion, device); 360 return res; 372 int res local 406 int res = INVALID_OPERATION; local [all...] |
/hardware/interfaces/camera/provider/2.4/default/ |
H A D | CameraProvider.cpp | 401 status_t res; local 402 if ((res = VendorTagDescriptor::createDescriptorFromOps(&vOps, /*out*/desc)) 406 "vendor tags", __FUNCTION__, strerror(res), res);
|
/hardware/interfaces/drm/1.1/vts/functional/ |
H A D | drm_hal_clearkey_test.cpp | 178 auto res = drmFactory->createPlugin( local 185 if (!res.isOk()) { 197 auto res = cryptoFactory->createPlugin( local 203 if (!res.isOk()) { 276 auto res = drmPlugin->openSession( local 282 EXPECT_OK(res); 292 auto res = drmPlugin->openSession_1_1(level, local 298 EXPECT_OK(res); 349 auto res = drmPlugin->getKeyRequest_1_1( local 357 EXPECT_OK(res); 375 auto res = drmPlugin->openSession_1_1(SecurityLevel::HW_SECURE_ALL, local 399 auto res = drmPlugin->getKeyRequest_1_1( local 418 auto res = drmPlugin->getKeyRequest_1_1( local 433 auto res = drmPlugin->getHdcpLevels( local 452 auto res = drmPlugin->getNumberOfSessions( local 469 auto res = drmPlugin->getNumberOfSessions( local 511 auto res = drmPlugin->getSecurityLevel(session, local 535 auto res = drmPlugin->getSecurityLevel(session, local 550 auto res = drmPlugin->getSecurityLevel(session, local 567 auto res = drmPlugin->getMetrics([this](Status status, hidl_vec<DrmMetricGroup> metricGroups) { local 615 auto res = drmPlugin->getSecureStopIds( local 646 auto res = drmPlugin->getSecureStops( local 665 auto res = drmPlugin->getSecureStops( local 695 auto res = drmPlugin->getSecureStops( local 714 auto res = drmPlugin->getSecureStops( local 776 auto res = drmPlugin->getSecureStops( local 820 auto res = drmPlugin->getSecureStopIds( local 847 auto res = drmPlugin->getSecureStopIds( local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
H A D | inv_self_test.c | 103 int res=0; local 112 res= -1; 114 return res; 120 int res = 0; local 129 res= -1; 131 return res; 151 int res; local 152 res = read_sysfs_int(filename, old_value); 153 if (res < 0) { 154 return res; [all...] |
/hardware/libhardware/modules/camera/3_0/ |
H A D | Camera.cpp | 131 int res; local 136 res = initDevice(); 137 if (res != 0) { 139 return res; 383 int res = processCaptureBuffer(&request->output_buffers[i], local 385 if (res) 427 int res = sync_wait(in->acquire_fence, CAMERA_SYNC_TIMEOUT); local 428 if (res == -ETIME) { 431 return res; 432 } else if (res) { 452 int res; local [all...] |
/hardware/libhardware/modules/camera/3_4/ |
H A D | v4l2_wrapper.cpp | 164 int res = IoctlLocked(VIDIOC_STREAMOFF, &type); local 167 if (res < 0) { 182 int res; local 188 res = IoctlLocked(VIDIOC_QUERY_EXT_CTRL, result); 191 if (res) { 317 int res = GetFormats(&pixel_formats); local 318 if (res) { 330 res = GetFormatFrameSizes(pixel_format, &frame_sizes); 331 if (res) { 509 int res local 551 int res = RequestBuffers(1); local 567 int res = IoctlLocked(VIDIOC_REQBUFS, &req_buffers); local 667 int res = IoctlLocked(VIDIOC_DQBUF, &buffer); local [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
H A D | IPACM_Netlink.cpp | 124 int buf_size = 6669999, sendbuff=0, res; local 139 res = getsockopt(*p_sk_fd, SOL_SOCKET, SO_SNDBUF, &sendbuff, &optlen); 141 if(res == -1) {
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | mapper.cpp | 369 int res = -EINVAL; local 372 return res; 400 res = 0; 413 res = 0; 421 return res; 429 res = 0; 438 return res; 448 res = 0; 463 res = 0; 471 return res; [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | mapper.cpp | 368 int res = -EINVAL; local 371 return res; 400 res = 0; 414 res = 0; 422 return res; 429 res = 0; 438 return res; 446 res = 0; 462 res = 0; 470 return res; [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | nan.cpp | 1149 wifi_error res; local 1151 res = registerVendorHandler(mVendor_id, QCA_NL80211_VENDOR_SUBCMD_NAN); 1152 if (res != WIFI_SUCCESS) { 1156 return res; 1159 res = registerVendorHandler(mVendor_id, QCA_NL80211_VENDOR_SUBCMD_NDP); 1160 if (res != WIFI_SUCCESS) { 1164 return res; 1166 return res;
|
H A D | nan_ind.cpp | 32 int res = 0; local 41 res = getNanPublishReplied(&publishRepliedInd); 42 if (!res && mHandler.EventPublishReplied) { 50 res = getNanPublishTerminated(&publishTerminatedInd); 51 if (!res && mHandler.EventPublishTerminated) { 59 res = getNanMatch(&matchInd); 60 if (!res && mHandler.EventMatch) { 68 res = getNanMatchExpired(&matchExpiredInd); 69 if (!res && mHandler.EventMatchExpired) { 77 res 967 int res = 0; local [all...] |
/hardware/google/av/codec2/vndk/ |
H A D | C2AllocatorGralloc.cpp | 173 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts + NUM_INTS); local 174 if (res != nullptr) { 175 memcpy(&res->data, &handle->data, sizeof(int) * (handle->numFds + handle->numInts)); 176 *getExtraData(res) = xd; 178 return reinterpret_cast<C2HandleGralloc *>(res); 187 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); local 188 if (res != nullptr) { 189 memcpy(&res->data, &handle->data, sizeof(int) * (res->numFds + res 202 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); local [all...] |
H A D | C2AllocatorIon.cpp | 470 c2_status_t res = C2_OK; local 477 res = mUsageMapper(usage, capacity, align, heapMask, flags); 482 res = C2_NO_INIT; 485 MapperValue value = std::make_tuple(*align, *heapMask, *flags, res); 498 std::tie(*align, *heapMask, *flags, res) = value; 500 return res;
|
/hardware/google/av/codec2/vndk/bufferpool/ |
H A D | AccessorImpl.cpp | 491 auto res = mBuffers.insert(std::make_pair( local 493 if (res.second) {
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
H A D | C2SoftMpeg4Dec.cpp | 150 C2R res = C2R::Ok(); local 152 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); 156 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); 159 return res;
|
/hardware/intel/common/libmix/mix_video/src/ |
H A D | mixvideoformat_vc1.c | 180 MIX_RESULT res = MIX_RESULT_SUCCESS; local 188 res = mix_videoconfigparamsdec_get_picture_res( 193 if (MIX_RESULT_SUCCESS != res) 195 return res;
|
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderVP9Hybrid.cpp | 369 int res = mDecoderDecode(mCtx,mHybridCtx,inBuffer->pBuffer + inBuffer->nOffset,inBuffer->nFilledLen, eos); local 370 if (res != 0) { 371 if (res == -2) { 382 res = mDecoderDecode(mCtx,mHybridCtx,NULL,0,true); 384 } else if (res == -3) {
|
/hardware/intel/img/psb_video/src/x11/ |
H A D | psb_xrandr.h | 161 XRRScreenResources *res; member in struct:_psb_xrandr_info_s
|
/hardware/interfaces/drm/1.0/vts/functional/ |
H A D | drm_hal_clearkey_test.cpp | 173 auto res = drmFactory->createPlugin( local 179 EXPECT_OK(res); 187 auto res = drmFactory->createPlugin( local 193 EXPECT_OK(res); 201 auto res = cryptoFactory->createPlugin( local 207 EXPECT_OK(res); 215 auto res = cryptoFactory->createPlugin( local 221 EXPECT_OK(res); 229 auto res = drmFactory->createPlugin( local 235 EXPECT_OK(res); 243 auto res = cryptoFactory->createPlugin( local 260 auto res = drmFactory->createPlugin( variable 267 ASSERT_OK(res); variable 277 ASSERT_OK(res); variable 304 auto res = drmPlugin->getProvisionRequest( local 319 auto res = drmPlugin->provideProvisionResponse( local 334 auto res = drmPlugin->openSession( local 390 auto res = drmPlugin->getKeyRequest( local 449 auto res = drmPlugin->getKeyRequest( local 468 auto res = drmPlugin->getKeyRequest( local 489 auto res = drmPlugin->getKeyRequest( local 508 auto res = drmPlugin->provideKeyResponse( local 525 auto res = drmPlugin->provideKeyResponse( local 540 auto res = drmPlugin->provideKeyResponse( local 599 auto res = drmPlugin->getSecureStops( local 613 auto res = drmPlugin->getSecureStop( local 645 auto res = drmPlugin->getPropertyString( local 654 auto res = drmPlugin->getPropertyString( local 663 auto res = drmPlugin->getPropertyString( local 672 auto res = drmPlugin->getPropertyString( local 685 auto res = drmPlugin->getPropertyString( local 693 auto res = drmPlugin->getPropertyByteArray( local 795 auto res = drmPlugin->encrypt(session, keyId, input, iv, local 809 auto res = drmPlugin->decrypt(session, keyId, input, iv, local 823 auto res = drmPlugin->sign(session, keyId, message, local 839 auto res = drmPlugin->verify( local 853 auto res = drmPlugin->signRSA(session, algorithm, message, wrappedKey, local 904 auto res = ashmemAllocator->allocate( local 1015 auto res = cryptoPlugin->decrypt(kNotSecure, toHidlArray(keyId), localIv, mode, local 1114 auto res = drmPlugin->queryKeyStatus( local 1194 auto res = drmPlugin->provideKeyResponse( local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
H A D | inv_gesture_test.c | 116 int res=0; local 125 res= -1; 127 return res; 132 int res=0; local 145 res = -1; 147 return res; 529 int res= -1; local 553 res = 0; 557 res= -1; 560 return res; 667 int i, res= 0; local [all...] |
/hardware/libhardware/tests/hwc/ |
H A D | cnativewindow.c | 232 int res; local 235 res = win->fb->post(win->fb, buffer->handle); 240 res = 0; 249 return res;
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_copybit.cpp | 643 int res = copybit->fill_color(copybit, &dst, &dstRect, color); local 645 return res;
|