Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 55) sorted by relevance

123

/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp119 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
121 desc->index().coreIndex()); in addParamDesc()
123 ALOGD("Could not describe %s", desc->name().c_str()); in addParamDesc()
126 addParamDesc(desc, *structDesc, reflector, true /* markVendor */); in addParamDesc()
130 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
131 if (!desc->index().isVendor()) { in addParamDesc()
135 desc->index().coreIndex()); in addParamDesc()
137 addParamDesc(desc, *structDesc, reflector, false /* markVendor */); in addParamDesc()
143 std::shared_ptr<C2ParamDescriptor> desc, in addParamStructDesc() argument
161 addParamStructDesc(desc, fieldName, offset + _C2ParamInspector::GetOffset(*it), in addParamStructDesc()
[all …]
/hardware/interfaces/camera/common/1.0/default/
DVendorTagDescriptor.cpp181 auto desc = mVendorMap.find(id); in getTagCount() local
182 if (desc != mVendorMap.end()) { in getTagCount()
183 ret = desc->second->getTagCount(); in getTagCount()
192 auto desc = mVendorMap.find(id); in getTagArray() local
193 if (desc != mVendorMap.end()) { in getTagArray()
194 desc->second->getTagArray(tagArray); in getTagArray()
202 auto desc = mVendorMap.find(id); in getSectionName() local
203 if (desc != mVendorMap.end()) { in getSectionName()
204 ret = desc->second->getSectionName(tag); in getSectionName()
214 auto desc = mVendorMap.find(id); in getTagName() local
[all …]
/hardware/interfaces/wifi/1.3/default/
Dwifi_status_util.cpp62 const std::string& desc) { in createWifiStatusFromLegacyError() argument
66 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, desc); in createWifiStatusFromLegacyError()
69 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED, desc); in createWifiStatusFromLegacyError()
73 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS, desc); in createWifiStatusFromLegacyError()
77 desc + ", timed out"); in createWifiStatusFromLegacyError()
81 desc + ", too many requests"); in createWifiStatusFromLegacyError()
85 desc + ", out of memory"); in createWifiStatusFromLegacyError()
91 return createWifiStatus(WifiStatusCode::SUCCESS, desc); in createWifiStatusFromLegacyError()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c427 const effect_descriptor_t *desc; in init() local
446 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
448 if (desc) in init()
449 descriptors[AEC_ID] = desc; in init()
451 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
453 if (desc) in init()
454 descriptors[NS_ID] = desc; in init()
687 const effect_descriptor_t *desc; in lib_create() local
694 desc = get_descriptor(uuid); in lib_create()
696 if (desc == NULL) { in lib_create()
[all …]
/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.cpp60 descriptions.push_back( cam.desc ); in getCameraList()
81 if (cam.desc.cameraId == cameraId) { in openCamera()
122 pCamera->getCameraInfo([&cameraId](CameraDesc desc) { in closeCamera() argument
125 cameraId.assign(desc.cameraId.c_str()); in closeCamera()
132 if (cam.desc.cameraId == cameraId) { in closeCamera()
DEvsEnumerator.h56 CameraDesc desc; member
59 CameraRecord(const char *cameraId) : desc() { desc.cameraId = cameraId; } in CameraRecord()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioPolicyManagerALSA.cpp122 AudioOutputDescriptor *desc = mOutputs.valueAt(i); in setPhoneState() local
124 if (delayMs < desc->mLatency*2) { in setPhoneState()
125 delayMs = desc->mLatency*2; in setPhoneState()
128 if (desc->strategyRefCount(STRATEGY_MEDIA) != 0) { in setPhoneState()
Daudio_policy_hal.cpp269 const struct effect_descriptor_s *desc) in ap_get_output_for_effect() argument
272 return qap->apm->getOutputForEffect(desc); in ap_get_output_for_effect()
276 const struct effect_descriptor_s *desc, in ap_register_effect() argument
283 return qap->apm->registerEffect(desc, io, strategy, session, id); in ap_register_effect()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DVtsHalEvsV1_0TargetTest.cpp125 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument
126 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P()
127 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P()
156 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument
157 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P()
158 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P()
179 pCam2->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument
180 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P()
181 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P()
207 pDisplay->getDisplayInfo([](DisplayDesc desc) { in TEST_P() argument
[all …]
/hardware/qcom/sdm845/display/gralloc/
DQtiAllocator.cpp66 gralloc::BufferDescriptor desc; in allocate() local
68 auto err = desc.Decode(descriptor); in allocate()
79 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp66 gralloc::BufferDescriptor desc; in allocate() local
68 auto err = desc.Decode(descriptor); in allocate()
79 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
DQtiMapper.cpp267 gralloc::BufferDescriptor desc; in isSupported() local
268 err = desc.Decode(descriptor); in isSupported()
275 err = buf_mgr_->AllocateBuffer(desc, &buffer, 0, true); in isSupported()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.cpp641 gralloc1_buffer_descriptor_t desc; in GetGrallocBufferStride() local
646 if (!(res = m_grallocInterface.CreateDescriptor(m_pGralloc1Device, &desc))) { in GetGrallocBufferStride()
647 m_grallocInterface.SetDimensions(m_pGralloc1Device, desc, width, height); in GetGrallocBufferStride()
648 m_grallocInterface.SetFormat(m_pGralloc1Device,desc, HAL_PIXEL_FORMAT_RAW10); in GetGrallocBufferStride()
649 m_grallocInterface.SetLayerCount(m_pGralloc1Device,desc, 1); in GetGrallocBufferStride()
650 if (!(res = m_grallocInterface.Allocate(m_pGralloc1Device, 1, &desc, &temp_mem))) { in GetGrallocBufferStride()
661 m_grallocInterface.DestroyDescriptor(m_pGralloc1Device, desc); in GetGrallocBufferStride()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc1Hal.h91 gralloc1_buffer_descriptor_t desc; in allocateBuffers() local
92 Error error = createDescriptor(descriptorInfo, &desc); in allocateBuffers()
105 error = allocateOneBuffer(desc, &tmpBuffer, &tmpStride); in allocateBuffers()
121 mDispatch.destroyDescriptor(mDevice, desc); in allocateBuffers()
161 bool initDispatch(gralloc1_function_descriptor_t desc, T* outPfn) { in initDispatch() argument
162 auto pfn = mDevice->getFunction(mDevice, desc); in initDispatch()
167 ALOGE("failed to get gralloc1 function %d", desc); in initDispatch()
/hardware/interfaces/camera/common/1.0/default/include/
DVendorTagDescriptor.h145 static status_t setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc);
173 int32_t addVendorDescriptor(metadata_vendor_id_t id, sp<VendorTagDescriptor> desc);
175 int32_t getVendorTagDescriptor(metadata_vendor_id_t id, sp<VendorTagDescriptor>* desc /*out*/);
/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.cpp414 sp<VendorTagDescriptor> desc; in setUpVendorTags() local
416 if ((res = VendorTagDescriptor::createDescriptorFromOps(&vOps, /*out*/desc)) in setUpVendorTags()
425 VendorTagDescriptor::setAsGlobalVendorTagDescriptor(desc); in setUpVendorTags()
426 const SortedVector<String8>* sectionNames = desc->getAllSectionNames(); in setUpVendorTags()
429 int tagCount = desc->getTagCount(); in setUpVendorTags()
431 desc->getTagArray(tags.data()); in setUpVendorTags()
435 vt.tagName = desc->getTagName(tags[i]); in setUpVendorTags()
436 vt.tagType = (CameraMetadataType) desc->getTagType(tags[i]); in setUpVendorTags()
437 ssize_t sectionIdx = desc->getSectionIndex(tags[i]); in setUpVendorTags()
/hardware/qcom/audio/post_proc/
Dbundle.c349 context->desc = &equalizer_descriptor; in effect_lib_create()
366 context->desc = &bassboost_descriptor; in effect_lib_create()
383 context->desc = &virtualizer_descriptor; in effect_lib_create()
408 context->desc = &aux_env_reverb_descriptor; in effect_lib_create()
412 context->desc = &ins_env_reverb_descriptor; in effect_lib_create()
416 context->desc = &aux_preset_reverb_descriptor; in effect_lib_create()
420 context->desc = &ins_preset_reverb_descriptor; in effect_lib_create()
743 *descriptor = *context->desc; in effect_get_descriptor()
Dbundle.h77 const effect_descriptor_t *desc; member
Dma_listener.c70 const effect_descriptor_t *desc; member
438 *descriptor = *context->desc; in ma_effect_get_descriptor()
519 context->desc = descriptors[itt]; in ma_prc_lib_create()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp73 const AHardwareBuffer_Desc desc = { in initialize() local
81 ASSERT_EQ(AHardwareBuffer_allocate(&desc, &mAhwb), 0); in initialize()
91 mHidlMemory = hidl_memory("hardware_buffer_blob", handle, desc.width); in initialize()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h198 bool initDispatch(gralloc1_function_descriptor_t desc, T* outPfn) { in initDispatch() argument
199 auto pfn = mDevice->getFunction(mDevice, desc); in initDispatch()
204 ALOGE("failed to get gralloc1 function %d", desc); in initDispatch()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyInterface.h152 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0;
153 virtual status_t registerEffect(const effect_descriptor_t *desc,
/hardware/libhardware/include/hardware/
Daudio_policy.h219 const struct effect_descriptor_s *desc);
222 const struct effect_descriptor_s *desc,
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp136 for (const std::shared_ptr<C2ParamDescriptor> &desc : params) { in validateSupportedParams() local
137 if (!desc) { in validateSupportedParams()
142 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams()
/hardware/libhardware/modules/audio/
Daudio_policy.c197 const struct effect_descriptor_s *desc) in ap_get_output_for_effect() argument
203 const struct effect_descriptor_s *desc, in ap_register_effect() argument

123