/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
H A D | buffer_allocator_factory.cpp | 25 std::shared_ptr<IBufferAllocator> BufferAllocatorFactory::GetBufferAllocator(const int32_t type) in GetBufferAllocator() argument 29 if (bufferAllocatorMap_.find(type) == bufferAllocatorMap_.end()) { in GetBufferAllocator() 30 return CreateBufferAllocator(type); in GetBufferAllocator() 33 if (bufferAllocatorMap_[type].expired()) { in GetBufferAllocator() 34 return CreateBufferAllocator(type); in GetBufferAllocator() 37 return bufferAllocatorMap_[type].lock(); in GetBufferAllocator() 40 std::shared_ptr<IBufferAllocator> BufferAllocatorFactory::CreateBufferAllocator(const int32_t type) in CreateBufferAllocator() argument 42 if (allocatorRegisterMap_.find(type) == allocatorRegisterMap_.end()) { in CreateBufferAllocator() 46 std::shared_ptr<IBufferAllocator> allocator(allocatorRegisterMap_[type]()); in CreateBufferAllocator() 47 bufferAllocatorMap_[type] in CreateBufferAllocator() [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | camera_dev.h | 37 RetCode PowerUp(const std::string &cameraId, int type); 39 RetCode PowerDown(const std::string &cameraId, int type); 41 RetCode CameraGetNumberConfig(const std::string &cameraId, int type, std::vector<CameraCtrl> &control); 43 RetCode CameraSetNumberConfig(const std::string &cameraId, int type, std::vector<CameraCtrl> &control); 45 RetCode GetFmtDescs(const std::string &cameraId, int type, std::vector<CameraCtrl> &fmtDesc); 47 RetCode ConfigSys(const std::string &cameraId, int type, CameraFmtCmd command, CameraCtrl &format); 49 RetCode GetDeviceAbility(const std::string &cameraId, int type); 51 RetCode EnumDevices(const std::string &cameraId, int type, struct DeviceaInfo &device); 53 RetCode GetControls(const std::string &cameraId, int type, CameraCtrl &ctrl); 55 RetCode UpdateSetting(const std::string &cameraId, int type, CameraCtr [all...] |
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | token.cpp | 21 std::string OHOS::Hardware::TokenType2String(int32_t type) in TokenType2String() argument 36 if (type < '~') { in TokenType2String() 37 str.push_back(static_cast<char>(type)); in TokenType2String() 39 } else if (tokenTypeMap.find(type) != tokenTypeMap.end()) { in TokenType2String() 40 str = tokenTypeMap[type]; in TokenType2String() 48 stream << "Token: type: " << std::setw(WIDTH_EIGHT) << ::std::left << TokenType2String(token.type); in operator <<() 50 token.type != NUMBER ? stream << std::setw(WIDTH_TWENTY) << token.strval in operator <<() 57 Token::Token() : type(0), strval(), numval(0), src(), lineNo(0) {} 61 return otherType == type; [all...] |
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | running_lock_impl.cpp | 52 if (!IsValidType(filledInfo.type, state)) { in Hold() 53 HDF_LOGW("Runninglock hold failed, type=%{public}d or state=%{public}d is invalid", filledInfo.type, state); in Hold() 56 auto iterator = lockCounters_.find(filledInfo.type); in Hold() 58 auto pair = lockCounters_.emplace(filledInfo.type, in Hold() 59 std::make_shared<RunningLockCounter>(filledInfo.type, GetRunningLockTag(filledInfo.type))); in Hold() 61 HDF_LOGW("Runninglock hold failed, type=%{public}d is not in lockCounters", filledInfo.type); in Hold() 90 if (!IsValidType(filledInfo.type)) { in Unhold() 150 GetCount(RunningLockType type) GetCount() argument 169 IsValidType(RunningLockType type, PowerHdfState state) IsValidType() argument 202 GetRunningLockTag(RunningLockType type) GetRunningLockTag() argument 224 GetRunningLockTagInner(RunningLockType type) GetRunningLockTagInner() argument 266 int32_t type = static_cast<int32_t>(info.type); NotifyChanged() local [all...] |
H A D | running_lock_timer_handler.cpp | 41 RunningLockType runninglockType = info.type; in RegisterRunningLockTimer() 63 RunningLockType runninglockType = info.type; in UnregisterRunningLockTimer() 74 uint32_t RunningLockTimerHandler::GetRunningLockTimerId(RunningLockType type, std::string name) in GetRunningLockTimerId() argument 77 auto typeIter = runninglockTimerMap_.find(type); in GetRunningLockTimerId() 87 void RunningLockTimerHandler::AddRunningLockTimerMap(RunningLockType type, std::string name, uint32_t timerId) in AddRunningLockTimerMap() argument 89 auto typeIter = runninglockTimerMap_.find(type); in AddRunningLockTimerMap() 93 runninglockTimerMap_.emplace(type, timerIdMap); in AddRunningLockTimerMap() 104 void RunningLockTimerHandler::RemoveRunningLockTimerMap(RunningLockType type, std::string name) in RemoveRunningLockTimerMap() argument 106 auto typeIter = runninglockTimerMap_.find(type); in RemoveRunningLockTimerMap() 112 runninglockTimerMap_.erase(type); in RemoveRunningLockTimerMap() [all...] |
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_mem.c | 32 uint32_t type; member 46 static void *osal_mem_alloc(size_t size, uint32_t *type) in osal_mem_alloc() argument 57 *type = TYPE_VMALLOC; in osal_mem_alloc() 60 *type = TYPE_KMALLOC; in osal_mem_alloc() 72 uint32_t type; in OsalMemAlloc() local 79 base = osal_mem_alloc(size, &type); in OsalMemAlloc() 86 block->hdr.type = type; in OsalMemAlloc() 118 uint32_t type; in OsalMemAllocAlign() local 128 base = osal_mem_alloc(size + alignment, &type); in OsalMemAllocAlign() 147 uint32_t type; OsalMemFree() local [all...] |
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_dlist.h | 167 * @param type Indicates the structure type. 172 #define CONTAINER_OF(ptr, type, member) \ 173 (type *)((char *)(ptr) - (char *)&((type *)0)->member) 179 * @param type Indicates the structure type. 184 #define DLIST_FIRST_ENTRY(ptr, type, member) \ 185 CONTAINER_OF((ptr)->next, type, member) 191 * @param type Indicate [all...] |
/drivers/peripheral/power/test/unittest/src/ |
H A D | hdf_power_runninglock_test.cpp | 49 * @tc.type: FUNC 57 runinglockInfo.type = RunningLockType::RUNNINGLOCK_BACKGROUND_TASK; in HWTEST_F() 65 * @tc.desc: test Hold, running lock type is invalid 66 * @tc.type: FUNC 74 runinglockInfo.type = static_cast<RunningLockType>(DEFAULT_RUNNINGLOCK_INVALID_TYPE); in HWTEST_F() 83 * @tc.type: FUNC 90 runinglockInfo.type = RunningLockType::RUNNINGLOCK_BACKGROUND_TASK; in HWTEST_F() 98 * @tc.desc: test Unhold, running lock type is invalid 99 * @tc.type: FUNC 106 runinglockInfo.type in HWTEST_F() [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | c_custom_types_code_emitter.cpp | 139 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i);
in EmitCustomTypeDecls() local 140 EmitCustomTypeDecl(sb, type);
in EmitCustomTypeDecls() 147 void CCustomTypesCodeEmitter::EmitCustomTypeDecl(StringBuilder &sb, const AutoPtr<ASTType> &type) const
in EmitCustomTypeDecl() 149 switch (type->GetTypeKind()) {
in EmitCustomTypeDecl() 151 AutoPtr<ASTEnumType> enumType = dynamic_cast<ASTEnumType *>(type.Get());
in EmitCustomTypeDecl() 156 AutoPtr<ASTStructType> structType = dynamic_cast<ASTStructType *>(type.Get());
in EmitCustomTypeDecl() 161 AutoPtr<ASTUnionType> unionType = dynamic_cast<ASTUnionType *>(type.Get());
in EmitCustomTypeDecl() 173 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i);
in EmitCustomTypeFuncDecl() local 174 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) {
in EmitCustomTypeFuncDecl() 175 AutoPtr<ASTStructType> structType = dynamic_cast<ASTStructType *>(type in EmitCustomTypeFuncDecl() 257 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i); EmitCustomTypeDataProcess() local 272 EmitCustomTypeMarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) EmitCustomTypeMarshallingImpl() argument 306 EmitCustomTypeUnmarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) EmitCustomTypeUnmarshallingImpl() argument 331 EmitMarshallingVarDecl(const AutoPtr<ASTStructType> &type, const std::string &name, StringBuilder &sb, const std::string &prefix) const EmitMarshallingVarDecl() argument 347 EmitUnmarshallingVarDecl( const AutoPtr<ASTStructType> &type, const std::string &name, StringBuilder &sb, const std::string &prefix) const EmitUnmarshallingVarDecl() argument 381 EmitPodTypeUnmarshalling( const AutoPtr<ASTStructType> &type, const std::string &name, StringBuilder &sb, const std::string &prefix) const EmitPodTypeUnmarshalling() argument 413 EmitMemberUnmarshalling(const AutoPtr<ASTType> &type, const std::string &name, const std::string &memberName, StringBuilder &sb, const std::string &prefix) EmitMemberUnmarshalling() argument 451 EmitStringMemberUnmarshalling(const AutoPtr<ASTType> &type, const std::string &memberName, const std::string &varName, StringBuilder &sb, const std::string &prefix) EmitStringMemberUnmarshalling() argument 478 EmitArrayMemberUnmarshalling(const AutoPtr<ASTType> &type, const std::string &memberName, const std::string &varName, StringBuilder &sb, const std::string &prefix) EmitArrayMemberUnmarshalling() argument 535 EmitCustomTypeMemoryRecycle( const AutoPtr<ASTStructType> &type, const std::string &name, StringBuilder &sb, const std::string &prefix) const EmitCustomTypeMemoryRecycle() argument [all...] |
H A D | c_custom_types_code_emitter.h | 41 void EmitCustomTypeDecl(StringBuilder &sb, const AutoPtr<ASTType> &type) const;
45 void EmitCustomTypeMarshallingDecl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
47 void EmitCustomTypeUnmarshallingDecl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
49 void EmitCustomTypeFreeDecl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
59 void EmitCustomTypeMarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type);
61 void EmitCustomTypeUnmarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type);
63 void EmitMarshallingVarDecl(const AutoPtr<ASTStructType> &type,
66 void EmitUnmarshallingVarDecl(const AutoPtr<ASTStructType> &type,
71 void EmitPodTypeUnmarshalling(const AutoPtr<ASTStructType> &type,
74 void EmitMemberUnmarshalling(const AutoPtr<ASTType> &type, cons [all...] |
H A D | cpp_custom_types_code_emitter.cpp | 151 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i);
in EmitCustomTypeDecls() local 152 EmitCustomTypeDecl(sb, type);
in EmitCustomTypeDecls() 159 void CppCustomTypesCodeEmitter::EmitCustomTypeDecl(StringBuilder &sb, const AutoPtr<ASTType> &type) const
in EmitCustomTypeDecl() 161 switch (type->GetTypeKind()) {
in EmitCustomTypeDecl() 163 AutoPtr<ASTEnumType> enumType = dynamic_cast<ASTEnumType *>(type.Get());
in EmitCustomTypeDecl() 168 AutoPtr<ASTStructType> structType = dynamic_cast<ASTStructType *>(type.Get());
in EmitCustomTypeDecl() 173 AutoPtr<ASTUnionType> unionType = dynamic_cast<ASTUnionType *>(type.Get());
in EmitCustomTypeDecl() 185 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i);
in EmitCustomTypeFuncDecl() local 186 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) {
in EmitCustomTypeFuncDecl() 187 AutoPtr<ASTStructType> structType = dynamic_cast<ASTStructType *>(type in EmitCustomTypeFuncDecl() 264 AutoPtr<ASTType> type = ast_->GetTypeDefintion(i); EmitCustomTypeDataProcess() local [all...] |
H A D | cpp_custom_types_code_emitter.h | 41 void EmitCustomTypeDecl(StringBuilder &sb, const AutoPtr<ASTType> &type) const;
45 void EmitCustomTypeMarshallingDecl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
47 void EmitCustomTypeUnmarshallingDecl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
57 void EmitCustomTypeMarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
59 void EmitCustomTypeUnmarshallingImpl(StringBuilder &sb, const AutoPtr<ASTStructType> &type) const;
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | parser.js | 82 this.current_.type !== TokenType.STRING 105 if (this.current_.type !== TokenType.INCLUDE) { 122 this.current_.type === TokenType.INCLUDE && 129 if (this.current_.type === TokenType.ROOT) { 131 preToken.type = TokenType.LITERAL; 137 } else if (this.current_.type !== TokenType.EOF) { 144 this.current_.type !== TokenType.EOF 156 if (!this.lexer_.lex(this.current_) || this.current_.type !== code('{')) { 164 while (this.lexer_.lex(this.current_) && this.current_.type !== code('}')) { 165 switch (this.current_.type) { [all...] |
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
H A D | hcs_blob_if.c | 118 bool HcsSwapToUint8(uint8_t *value, const char *realValue, uint32_t type) in HcsSwapToUint8() argument 120 if (type == CONFIG_BYTE) { in HcsSwapToUint8() 124 HDF_LOGE("%{public}s failed, type: %{public}u", __func__, type); in HcsSwapToUint8() 128 bool HcsSwapToUint16(uint16_t *value, const char *realValue, uint32_t type) in HcsSwapToUint16() argument 131 if (type == CONFIG_WORD) { in HcsSwapToUint16() 135 if (HcsSwapToUint8(&data, realValue, type)) { in HcsSwapToUint16() 139 HDF_LOGE("%{public}s failed, type: %{public}u", __func__, type); in HcsSwapToUint16() 143 bool HcsSwapToUint32(uint32_t *value, const char *realValue, uint32_t type) in HcsSwapToUint32() argument 158 HcsSwapToUint64(uint64_t *value, const char *realValue, uint32_t type) HcsSwapToUint64() argument [all...] |
H A D | device_resource_if.c | 37 static bool DeviceResourceIfaceConstruct(struct DeviceResourceIface *instance, DeviceResourceType type) in DeviceResourceIfaceConstruct() argument 39 if (type == HDF_CONFIG_SOURCE) { in DeviceResourceIfaceConstruct() 42 HDF_LOGE("%s: Currently, this configuration type is not supported, the type is %d", __func__, type); in DeviceResourceIfaceConstruct() 48 struct DeviceResourceIface *DeviceResourceGetIfaceInstance(DeviceResourceType type) in DeviceResourceGetIfaceInstance() argument 53 if (!DeviceResourceIfaceConstruct(&singletonInstance, type)) { in DeviceResourceGetIfaceInstance()
|
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
H A D | ast.cpp | 145 void AST::AddType(const AutoPtr<ASTType> &type) in AddType() argument 147 if (type == nullptr) { in AddType() 151 types_[type->ToString()] = type; in AddType() 160 for (const auto &type : types_) { in FindType() 161 if ((typeName.find('.') == std::string::npos && type.second->GetName() == typeName) || in FindType() 162 type.first == typeName) { in FindType() 163 return type.second; in FindType() 176 AutoPtr<ASTType> type = nullptr; in FindType() local 178 type in FindType() 186 AddTypeDefinition(const AutoPtr<ASTType> &type) AddTypeDefinition() argument [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_dev.cpp | 140 RetCode CameraDev::PowerUp(const std::string &cameraId, int type) in PowerUp() argument 159 ret = SetDeviceInfo(&feature, cameraId, type, deviceName, true); in PowerUp() 170 RetCode CameraDev::PowerDown(const std::string &cameraId, int type) in PowerDown() argument 189 ret = SetDeviceInfo(&feature, cameraId, type, deviceName, true); in PowerDown() 200 RetCode CameraDev::ReqBuffers(const std::string &cameraId, int type, unsigned int buffCont) in ReqBuffers() argument 211 ret = SetDeviceInfo(&feature, cameraId, type, deviceName, true); in ReqBuffers() 234 RetCode CameraDev::CreatBuffer(const std::string &cameraId, int type, const std::shared_ptr<FrameSpec> &frameSpec) in CreatBuffer() argument 251 ret = SetDeviceInfo(&feature, cameraId, type, deviceName, true); in CreatBuffer() 268 RetCode CameraDev::QueueBuffer(const std::string &cameraId, int type, const std::shared_ptr<FrameSpec> &frameSpec) in QueueBuffer() argument 284 ret = SetDeviceInfo(&feature, cameraId, type, deviceNam in QueueBuffer() 296 ReleaseBuffers(const std::string &cameraId, int type) ReleaseBuffers() argument 327 LoopBuffers(const std::string &cameraId, int type) LoopBuffers() argument 358 StartStream(const std::string &cameraId, int type) StartStream() argument 396 StopStream(const std::string &cameraId, int type) StopStream() argument 441 GetControls(const std::string &cameraId, int type, CameraCtrl &ctrl) GetControls() argument 470 UpdateSetting(const std::string &cameraId, int type, CameraCtrl &ctrl) UpdateSetting() argument 499 QuerySetting(const std::string &cameraId, int type, CameraCtrl &ctrl) QuerySetting() argument 528 CameraGetNumberConfig(const std::string &cameraId, int type, std::vector<CameraCtrl> &control) CameraGetNumberConfig() argument 553 CameraSetNumberConfig(const std::string &cameraId, int type, std::vector<CameraCtrl> &control) CameraSetNumberConfig() argument 577 GetFmtDescs(const std::string &cameraId, int type, std::vector<CameraCtrl> &fmtDesc) GetFmtDescs() argument 606 ConfigSys(const std::string &cameraId, int type, CameraFmtCmd command, CameraCtrl &format) ConfigSys() argument 657 GetDeviceAbility(const std::string &cameraId, int type) GetDeviceAbility() argument 687 EnumDevices(const std::string &cameraId, int type, struct DeviceaInfo &device) EnumDevices() argument 770 SetDeviceInfo(struct CameraFeature *feature, const std::string &cameraId, int type, char *deviceName, bool state) SetDeviceInfo() argument [all...] |
/drivers/peripheral/codec/test/demo/heif/src/ |
H A D | codec_heif_helper.cpp | 159 bool HeifEncoderHelper::CreateImgParam(ImgType type, vector<uint8_t>& props) in CreateImgParam() argument 163 if (type != T_MAP) { in CreateImgParam() 182 if (type == T_MAP || type == PRIMARY_IMG) { in CreateImgParam() 192 if (type == T_MAP) { in CreateImgParam() 200 bool HeifEncoderHelper::FillImageItem(ImgType type, ImageItem& item) in FillImageItem() argument 216 item.pixelBuffer = bufferHelper_.CreateImgBuffer(typeToFile[type]); in FillImageItem() 217 IF_TRUE_RETURN_VAL((type != T_MAP && item.pixelBuffer == nullptr), false); in FillImageItem() 218 item.isPrimary = (type == PRIMARY_IMG); in FillImageItem() 219 item.isHidden = (type ! in FillImageItem() 299 FillMetaItem(const string& metaFile, MetaType type, MetaItem& item) FillMetaItem() argument [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/message/ |
H A D | mock.js | 61 send(type, data) { 66 type: type, 74 NapiLog.logInfo(msg.type); 76 if (msg.type === 'inited') { 78 } else if (msg.type === 'getfiledata') {
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/include/ |
H A D | buffer_allocator_factory.h | 27 #define REGISTER_BUFFER_ALLOCATOR(C, type, ...) \ 28 static BufferAllocatorFactory::BufferAllocatorRegister<C> g_reg##C(type, ##__VA_ARGS__) 33 std::shared_ptr<IBufferAllocator> GetBufferAllocator(const int32_t type); 37 template<typename ...Args> BufferAllocatorRegister(int32_t type, Args... args) in BufferAllocatorRegister() argument 41 factory->allocatorRegisterMap_.emplace(type, [&args...] { return new C(std::forward<Args>(args)...); }); in BufferAllocatorRegister() 47 std::shared_ptr<IBufferAllocator> CreateBufferAllocator(const int32_t type);
|
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf.c | 21 HDF_LOGE(#api " is not supported on %u sbuf", (sbuf)->type); \ 32 HDF_LOGE(#api " is not supported on %u sbuf", (sbuf)->type); \ 39 uint32_t type; member 64 static const struct HdfSbufConstructor *HdfSbufConstructorGet(uint32_t type) in HdfSbufConstructorGet() argument 66 if (type >= SBUF_TYPE_MAX) { in HdfSbufConstructorGet() 70 return &g_sbufConstructorMap[type]; in HdfSbufConstructorGet() 305 struct HdfSBuf *HdfSbufTypedObtainCapacity(uint32_t type, size_t capacity) in HdfSbufTypedObtainCapacity() argument 309 const struct HdfSbufConstructor *constructor = HdfSbufConstructorGet(type); in HdfSbufTypedObtainCapacity() 311 HDF_LOGE("sbuf constructor %u not implement", type); in HdfSbufTypedObtainCapacity() 315 HDF_LOGE("sbuf constructor %u obtain method not implement", type); in HdfSbufTypedObtainCapacity() 343 HdfSbufTypedObtainInplace(uint32_t type, struct HdfSBufImpl *impl) HdfSbufTypedObtainInplace() argument 361 HdfSbufTypedObtain(uint32_t type) HdfSbufTypedObtain() argument 366 HdfSbufTypedBind(uint32_t type, uintptr_t base, size_t size) HdfSbufTypedBind() argument [all...] |
/drivers/hdf_core/framework/model/camera/utils/include/ |
H A D | camera_utils.h | 25 int32_t CheckCameraDevice(const char *deviceName, int type); 33 int32_t GetDeviceNum(const char *driverName, int camId, int type); 36 int32_t CheckFrameRate(int camId, const char *driverName, int type, struct CameraCtrlConfig *ctrlConfig); 37 int32_t CameraGetDeviceInfo(int type, struct HdfSBuf *reqData, 39 int32_t CameraGetStreamDevInfo(int type, struct HdfSBuf *reqData, struct CameraDevice **camDev); 40 int32_t CameraGetNames(int type, struct HdfSBuf *reqData, const char **deviceName, const char **driverName); 42 int type, int32_t camId, const char *driverName, struct DeviceOps **devOps);
|
/drivers/interface/camera/sequenceable/map_data/ |
H A D | map_data_sequenceable.cpp | 58 auto type = static_cast<MapDataType>(parcel.ReadInt32()); in Unmarshalling() local 59 switch (type) { in Unmarshalling() 61 ret = sequenceData->Set(key, type, parcel.ReadInt32()); in Unmarshalling() 65 ret = sequenceData->Set(key, type, parcel.ReadInt64()); in Unmarshalling() 69 ret = sequenceData->Set(key, type, parcel.ReadDouble()); in Unmarshalling() 73 ret = sequenceData->Set(key, type, parcel.ReadString()); in Unmarshalling() 95 dataParcel.WriteInt32(static_cast<int32_t>(data.type)); in Marshalling() 96 switch (data.type) { in Marshalling() 173 int32_t MapDataSequenceable::Get(const std::string &key, MapDataType type, T &value) const in Get() argument 180 if (it->second.type ! in Get() 191 Set(const std::string &key, MapDataType type, const std::any& val) Set() argument [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/venc_node/ |
H A D | venc_node.cpp | 16 VencNode::VencNode(const std::string& name, const std::string& type) in VencNode() argument 17 : NodeBase(name, type), MpiNode(name, type), SinkNode(name, type) in VencNode() 19 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in VencNode()
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
H A D | audio_usb_validate_desc.c | 48 uint8_t type; member 245 for (; usbDesc != NULL && usbDesc->type != 0; usbDesc++) { in ValidateDesc() 246 if (usbDesc->type == hdr[AUDIO_USB_INDEX_2] && in ValidateDesc() 317 if (usbDesc->type == UAC2_PROCESSING_UNIT_V2) { in UacProcessGetLength() 408 if (usbDesc->type == UAC3_EXTENSION_UNIT) { in ValidateProcessingUnitSub() 450 if (usbDesc->type == UAC1_EXTENSION_UNIT || usbDesc->type == UAC2_EXTENSION_UNIT_V2) { in ValidateProcessingUnit() 515 {.protocol = UAC_VERSION_1, .type = UAC_HEADER, .func = ValidateUac1Header }, 516 {.protocol = UAC_VERSION_1, .type = UAC_INPUT_TERMINAL, .size = sizeof(struct uac_input_terminal_descriptor) }, 517 {.protocol = UAC_VERSION_1, .type [all...] |