/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
H A D | ast_parameter.cpp | 29 sb.Append(type_->ToString()).Append(' '); in Dump() 38 switch (type_->GetTypeKind()) { in EmitCParameter() 60 paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter() 62 paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter() 64 if (type_->GetTypeKind() == TypeKind::TYPE_STRING && attr_->value_ == ParamAttr::PARAM_OUT) { in EmitCParameter() 73 paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter() 75 paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter() 90 return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCppParameter() 92 return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCppParameter() 99 switch (type_ in EmitJavaParameter() [all...] |
H A D | ast_parameter.h | 22 : ASTNode(), name_(name), attr_(new ASTParamAttr(attribute)), type_(type) in ASTParameter() 27 : ASTNode(), name_(name), attr_(attribute), type_(type) in ASTParameter() 38 return type_; in GetType() 77 AutoPtr<ASTType> type_; member in OHOS::HDI::ASTParameter
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | AttrEditor.js | 48 switch (this.node_.type_) {
236 v.type_ === DataType.INT8 ||
237 v.type_ === DataType.INT16 ||
238 v.type_ === DataType.INT32 ||
239 v.type_ === DataType.INT64) {
243 } else if (v.type_ === DataType.STRING) {
246 } else if (v.type_ === DataType.ARRAY) {
249 } else if (v.type_ === DataType.BOOL) {
252 } else if (v.type_ === DataType.REFERENCE) {
255 } else if (v.type_ [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | NodeTools.js | 102 node.type_ === DataType.NODE &&
118 node.type_ === DataType.NODE &&
126 node.type_ === DataType.ATTR &&
127 node.value_.type_ === DataType.REFERENCE
139 node.type_ === DataType.NODE &&
150 if (node.type_ === DataType.NODE) {
162 if (node.type_ === DataType.NODE) {
212 type_: node.type_,
220 switch (node.type_) {
[all...] |
H A D | Generator.js | 69 ret.type_ = node.type_; 74 switch (node.type_) { 136 type_: DataType.NODE, 200 switch (node.type_) { 244 NapiLog.logError('unknow' + node.type_);
|
H A D | ast.js | 64 this.constructorSis(name.name_, name.type_, name.stringValue_); 88 this.type_ = type; 115 this.type_ = this.fitIntegerValueType(value); 193 if (srcObj.type_ !== this.type_) { 243 if (peer.name_ === name && (type === 0 || peer.type_ === type)) { 255 this.type_ >= ObjectType.PARSEROP_UINT8 && 256 type_ <= ObjectType.PARSEROP_UINT64 261 return this.type_ === ObjectType.PARSEROP_CONFNODE; 265 return this.type_ [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | code_emitter.h | 30 HeaderFile(HeaderFileType type, std::string fileName) : type_(type), fileName_(fileName) {}
in HeaderFile() 40 if (lhs.type_ != rhs.type_) {
in operator ()() 41 return lhs.type_ < rhs.type_;
in operator ()() 50 switch (type_) {
in ToString() 67 HeaderFileType type_;
|
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | running_lock_counter.h | 31 : type_(type), tag_(tag), counter_(0) {} in RunningLockCounter() 42 return type_; in GetType() 59 const RunningLockType type_; member in OHOS::HDI::Power::V1_2::RunningLockCounter
|
/drivers/peripheral/camera/test/ut/pipeline_core/ |
H A D | pipeline_core_test.cpp | 67 .type_ = PREVIEW, in HWTEST_F() 87 .type_ = STILL_CAPTURE, in HWTEST_F() 107 .type_ = PREVIEW, in HWTEST_F() 111 .type_ = STILL_CAPTURE, in HWTEST_F() 131 .type_ = PREVIEW, in HWTEST_F() 142 .type_ = STILL_CAPTURE, in HWTEST_F() 158 .type_ = STILL_CAPTURE, in HWTEST_F() 162 .type_ = PREVIEW, in HWTEST_F() 182 .type_ = PREVIEW, in HWTEST_F() 186 .type_ in HWTEST_F() [all...] |
H A D | stream_pipeline_builder_test.cpp | 62 .type_ = STILL_CAPTURE in HWTEST_F() 65 .type_ = PREVIEW in HWTEST_F() 82 .type_ = PREVIEW in HWTEST_F() 85 .type_ = STILL_CAPTURE in HWTEST_F()
|
H A D | stream_pipeline_dispatcher_test.cpp | 60 .type_ = PREVIEW in HWTEST_F() 63 .type_ = STILL_CAPTURE in HWTEST_F() 84 .type_ = PREVIEW in HWTEST_F() 87 .type_ = STILL_CAPTURE in HWTEST_F() 108 .type_ = PREVIEW in HWTEST_F() 111 .type_ = STILL_CAPTURE in HWTEST_F()
|
H A D | stream_pipeline_strategy_test.cpp | 57 .type_ = PREVIEW in HWTEST_F() 69 .type_ = STILL_CAPTURE in HWTEST_F() 81 .type_ = PREVIEW in HWTEST_F() 84 .type_ = STILL_CAPTURE in HWTEST_F()
|
/drivers/hdf_core/interfaces/inner_api/hdi/base/ |
H A D | hdi_smq_meta.h | 226 SmqType type_; member in OHOS::HDI::Base::SharedMemQueueMeta 248 type_ = other.type_; in operator =() 259 : ashmemFd_(fd), size_(0), elementCount_(elementCount), elementSize_(sizeof(T)), type_(type) in SharedMemQueueMeta() 293 type_ = other.type_; in SharedMemQueueMeta() 352 return type_; in GetType() 412 if (!parcel.WriteUint32(static_cast<uint32_t>(type_))) { in Marshalling() 413 HDF_LOGE("%{public}s: failed to write type_", __func__); in Marshalling()
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | ast.cpp | 23 : type_(type), in AstObject() 57 this->type_ = FitIntegerValueType(integerValue); in AstObject() 70 : AstObject(obj.name_, obj.type_, obj.integerValue_, obj.stringValue_, 0, obj.src_) in AstObject() 84 type_ = obj.type_; in operator =() 166 if (t.type_ == PARSEROP_CONFNODE) { in operator <<() 170 } else if (t.type_ == PARSEROP_CONFTERM) { in operator <<() 181 switch (t.type_) { in operator <<() 219 if (srcObj->type_ != type_) { in Merge() [all...] |
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/dummy_node/ |
H A D | dummy_node.cpp | 21 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in DummyNode()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
H A D | dcamera_device.cpp | 227 dcSetting.type_ = DCSettingsType::UPDATE_METADATA; in UpdateSettings() 301 dcSetting.type_ = DCSettingsType::ENABLE_METADATA; in EnableResult() 336 dcSetting.type_ = DCSettingsType::DISABLE_METADATA; in DisableResult() 422 dCameraEvent.type_ = DCameraEventType::DCAMERE_GETFULLCAP; in TriggerGetFullCaps() 508 if (result->type_ != DCSettingsType::METADATA_RESULT) { in OnSettingsResult() 509 DHLOGE("Invalid camera setting type = %{public}d.", result->type_); in OnSettingsResult() 528 event->type_, event->result_, event->content_.c_str()); in Notify() 529 if ((event->type_ != DCameraEventType::DCAMERA_MESSAGE) && (event->type_ != DCameraEventType::DCAMERA_OPERATION)) { in Notify() 530 DHLOGE("Invalid distributed camera event type = %{public}d.", event->type_); in Notify() [all...] |
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/sensor_node/ |
H A D | sensor_node.cpp | 22 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in SensorNode()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/transform_node/ |
H A D | transform_node.cpp | 20 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in TransformNode()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
H A D | dstream_operator.cpp | 99 dcStreamInfo->streamId_, dcStreamInfo->type_, dcStreamInfo->width_, in CreateStreams() 180 dstStreamInfo.type_ = streamInfo.second->type_; in ExtractStreamInfo() 377 capture.type_ = captureInfo->type_; in ExtractCaptureInfo() 516 "%{public}d", captureId, id, dcStreamInfo->second->type_); in HasContinuousCaptureInfo() 517 if (dcStreamInfo->second->type_ == DCStreamType::CONTINUOUS_FRAME) { in HasContinuousCaptureInfo() 902 if (dcStreamInfo->type_ != DCStreamType::SNAPSHOT_FRAME) { in SnapShotStreamOnCaptureEnded() 977 dstInfo->type_ = DCStreamType::SNAPSHOT_FRAME; in ConvertStreamInfo() 988 dstInfo->type_ in ConvertStreamInfo() [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/venc_node/ |
H A D | venc_node.cpp | 19 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in VencNode()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/ |
H A D | host_stream_data_structure.h | 23 VdiStreamIntent type_;
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/sink_node/ |
H A D | sink_node.cpp | 21 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in SinkNode()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameranotify_fuzzer/ |
H A D | dcameranotify_fuzzer.cpp | 38 event.type_ = *(reinterpret_cast<const int*>(data)); in DcameraNotifyFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/ |
H A D | dcamera_provider.cpp | 221 dCameraResult->type_ = result.type_; in OnSettingsResult() 246 dCameraEvent->type_ = event.type_; in Notify() 294 info->type_, info->mode_); in ConfigureStreams() 337 info->width_, info->height_, info->format_, info->type_, info->isCapture_); in StartCapture()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/src/ |
H A D | host_stream_impl.cpp | 38 return info_.type_; in GetStreamType()
|