Home
last modified time | relevance | path

Searched refs:GetName (Results 1 – 25 of 44) sorted by relevance

12

/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/
Dmpi_node.cpp61 port->GetNode()->GetName().c_str(), peerNode->GetName().c_str()); in ConnectMpi()
62 …RetCode rc = deviceManager_->Connect(name_, port->GetName(), peerNode->GetName(), peerPort->GetNam… in ConnectMpi()
99 port->GetNode()->GetName().c_str(), peerNode->GetName().c_str()); in DisConnectMpi()
100 …RetCode rc = deviceManager_->UnConnect(name_, port->GetName(), peerNode->GetName(), peerPort->GetN… in DisConnectMpi()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Dsensor_manager.cpp51 if ((*iter)->GetName() == hardwareName) { in GetController()
71 if ((*iter)->GetName() == hardwareName) { in PowerUp()
81 if ((*iter)->GetName() == hardwareName) { in PowerDown()
91 if ((*iter)->GetName() == hardwareName) { in Start()
101 if ((*iter)->GetName() == hardwareName) { in Stop()
111 if ((*iter)->GetName() == hardwareName) { in SendFrameBuffer()
121 if ((*iter)->GetName() == hardwareName) { in SetAbilityMetaDataTag()
139 if ((*iter)->GetName() == hardwareName) { in CheckCameraIdList()
149 if ((*iter)->GetName() == hardwareName) { in SetNodeCallBack()
165 if ((*iter)->GetName() == hardwareName) { in DestroyController()
Dsensor_controller.cpp72 sensorVideo_->StopStream(GetName()); in PowerDown()
73 sensorVideo_->ReleaseBuffers(GetName()); in PowerDown()
74 sensorVideo_->stop(GetName()); in PowerDown()
111 sensorVideo_->start(GetName()); in Start()
112 sensorVideo_->ConfigSys(GetName(), CMD_V4L2_SET_FORMAT, format); in Start()
113 sensorVideo_->ReqBuffers(GetName(), buffCont_); in Start()
125 sensorVideo_->StopStream(GetName()); in Stop()
126 sensorVideo_->ReleaseBuffers(GetName()); in Stop()
127 sensorVideo_->stop(GetName()); in Stop()
138 sensorVideo_->CreatBuffer(GetName(), buffer); in SendFrameBuffer()
[all …]
Disp_manager.cpp50 if ((*iter)->GetName() == hardwareName) { in GetController()
60 if ((*iter)->GetName() == hardwareName) { in PowerUp()
70 if ((*iter)->GetName() == hardwareName) { in PowerDown()
90 if ((*iter)->GetName() == hardwareName) { in Start()
100 if ((*iter)->GetName() == hardwareName) { in Stop()
113 if ((*iter)->GetName() == hardwareName) { in CheckCameraIdList()
Dflash_manager.cpp50 if ((*iter)->GetName() == hardwareName) { in GetController()
70 if ((*iter)->GetName() == hardwareName) { in SetFlashlight()
83 if ((*iter)->GetName() == hardwareName) { in CheckCameraIdList()
93 if ((*iter)->GetName() == hardwareName) { in PowerUp()
103 if ((*iter)->GetName() == hardwareName) { in PowerDown()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
Dstream_pipeline_dispatcher.cpp68 CAMERA_LOGI("seq node name:%{public}s\n", it->GetName().c_str()); in Update()
119 CAMERA_LOGV("init node %{public}s begin", (*it)->GetName().c_str()); in Prepare()
121 CAMERA_LOGV("init node %{public}s end", (*it)->GetName().c_str()); in Prepare()
134 CAMERA_LOGV("start node %{public}s begin", (*it)->GetName().c_str()); in Start()
136 CAMERA_LOGV("start node %{public}s end", (*it)->GetName().c_str()); in Start()
162 CAMERA_LOGV("flush node %{public}s begin", (*it)->GetName().c_str()); in Flush()
164 CAMERA_LOGV("flush node %{public}s end", (*it)->GetName().c_str()); in Flush()
183 CAMERA_LOGV("stop node %{public}s begin", (*it)->GetName().c_str()); in Stop()
185 CAMERA_LOGV("stop node %{public}s end", (*it)->GetName().c_str()); in Stop()
238 if (name == (*it)->GetName().substr(0, 3)) { // 3:Copy length in GetNode()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dc_service_stub_code_emitter.cpp284 …method->GetName().c_str(), interfaceName_.c_str(), dataParcelName_.c_str(), replyParcelName_.c_str… in EmitServiceStubMethodImpl()
351 sb.Append(prefix).AppendFormat("uint32_t %sLen = 0;\n", param->GetName().c_str()); in EmitStubLocalVariable()
363 … sb.Append(prefix).AppendFormat("%s = (%s*)OsalMemCalloc(sizeof(%s));\n", param->GetName().c_str(), in EmitReadStubMethodParameter()
365 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitReadStubMethodParameter()
367 …AppendFormat("HDF_LOGE(\"%%{public}s: malloc %s failed\", __func__);\n", param->GetName().c_str()); in EmitReadStubMethodParameter()
371 type->EmitCStubReadVar(parcelName, param->GetName(), errorCodeName_, gotoLabel, sb, prefix); in EmitReadStubMethodParameter()
373 std::string cpName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadStubMethodParameter()
375 … sb.Append(prefix).AppendFormat("%s = (%s*)OsalMemCalloc(sizeof(%s));\n", param->GetName().c_str(), in EmitReadStubMethodParameter()
377 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitReadStubMethodParameter()
379 …AppendFormat("HDF_LOGE(\"%%{public}s: malloc %s failed\", __func__);\n", param->GetName().c_str()); in EmitReadStubMethodParameter()
[all …]
Dc_service_impl_code_emitter.cpp138 sb.Append(TAB).AppendFormat("service->super.%s = %s%s;\n", method->GetName().c_str(), in EmitLowServiceImplGetMethod()
139 baseName_.c_str(), method->GetName().c_str()); in EmitLowServiceImplGetMethod()
143 sb.Append(TAB).AppendFormat("service->super.%s = %s%s;\n", method->GetName().c_str(), in EmitLowServiceImplGetMethod()
144 baseName_.c_str(), method->GetName().c_str()); in EmitLowServiceImplGetMethod()
300 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplMethodImpl()
304 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplMethodImpl()
327 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplGetVersionMethod()
338 …sb.Append(prefix + TAB).AppendFormat("*%s = %s;\n", majorParam->GetName().c_str(), majorVerName_.c… in EmitServiceImplGetVersionMethod()
340 …sb.Append(prefix + TAB).AppendFormat("*%s = %s;\n", minorParam->GetName().c_str(), minorVerName_.c… in EmitServiceImplGetVersionMethod()
365 …nd(TAB).AppendFormat("%s->stub.interface.%s = %s%s;\n", objName.c_str(), method->GetName().c_str(), in EmitKernelServiceImplGetMethod()
[all …]
Djava_client_proxy_code_emitter.cpp161 "public int %s() throws RemoteException ", MethodName(method->GetName()).c_str()); in EmitProxyMethodImpl()
164 … paramStr.Append(prefix).AppendFormat("public int %s(", MethodName(method->GetName()).c_str()); in EmitProxyMethodImpl()
204 ConstantName(method->GetName()).c_str()); in EmitProxyMethodBody()
227 param->GetName().c_str(), type->EmitJavaType(TypeMode::NO_MODE).c_str()); in EmitLocalVariable()
230 param->GetName().c_str(), type->EmitJavaType(TypeMode::NO_MODE).c_str()); in EmitLocalVariable()
233 param->GetName().c_str(), type->EmitJavaType(TypeMode::NO_MODE).c_str()); in EmitLocalVariable()
236 "%s %s;\n", type->EmitJavaType(TypeMode::NO_MODE).c_str(), param->GetName().c_str()); in EmitLocalVariable()
Dcpp_interface_code_emitter.cpp162 sb.Append(prefix).AppendFormat("virtual ~%s() = default;\n", interface_->GetName().c_str()); in EmitInterfaceDestruction()
179 sb.Append(prefix).AppendFormat("virtual int32_t %s() = 0;\n", method->GetName().c_str()); in EmitInterfaceMethodDecl()
182 paramStr.Append(prefix).AppendFormat("virtual int32_t %s(", method->GetName().c_str()); in EmitInterfaceMethodDecl()
201 sb.Append(prefix).AppendFormat("virtual int32_t %s(", method->GetName().c_str()); in EmitInterfaceGetVersionMethod()
203 sb.Append(prefix).AppendFormat("int32_t %s(", method->GetName().c_str()); in EmitInterfaceGetVersionMethod()
220 …sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", majorParam->GetName().c_str(), ast_->GetMajorVe… in EmitInterfaceGetVersionMethod()
222 …sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", minorParam->GetName().c_str(), ast_->GetMinorVe… in EmitInterfaceGetVersionMethod()
Djava_client_interface_code_emitter.cpp111 sb.AppendFormat("public interface %s extends IRemoteBroker {\n", interface_->GetName().c_str()); in EmitInterfaceDefinition()
128 …(prefix).AppendFormat("int %s() throws RemoteException;\n", MethodName(method->GetName()).c_str()); in EmitInterfaceMethod()
131 paramStr.Append(prefix).AppendFormat("int %s(", MethodName(method->GetName()).c_str()); in EmitInterfaceMethod()
Dcpp_service_impl_code_emitter.cpp118 sb.Append(prefix).AppendFormat("int32_t %s() override;\n", method->GetName().c_str()); in EmitServiceImplMethodDecl()
121 paramStr.Append(prefix).AppendFormat("int32_t %s(", method->GetName().c_str()); in EmitServiceImplMethodDecl()
192 …nd(prefix).AppendFormat("int32_t %sService::%s()\n", baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplMethodImpl()
195 …ppend(prefix).AppendFormat("int32_t %sService::%s(", baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplMethodImpl()
Dcpp_client_proxy_code_emitter.cpp144 sb.Append(prefix).AppendFormat("int32_t %s() override;\n", method->GetName().c_str()); in EmitProxyMethodDecl()
147 paramStr.Append(prefix).AppendFormat("int32_t %s(", method->GetName().c_str()); in EmitProxyMethodDecl()
169 "static int32_t %s_(const sptr<IRemoteObject> remote);\n", method->GetName().c_str()); in EmitProxyStaticMethodDecl()
172 paramStr.Append(prefix).AppendFormat("static int32_t %s_(", method->GetName().c_str()); in EmitProxyStaticMethodDecl()
247 interface_->EmitCppType().c_str(), interface_->GetName().c_str()); in EmitPassthroughGetInstanceMethodImpl()
459 …%s::%s()\n", EmitDefinitionByInterface(interface_, proxyName_).c_str(), method->GetName().c_str()); in EmitProxyMethodImpl()
463 …_t %s::%s(", EmitDefinitionByInterface(interface_, proxyName_).c_str(), method->GetName().c_str()); in EmitProxyMethodImpl()
485 EmitDefinitionByInterface(interface_, proxyName_).c_str(), method->GetName().c_str()); in EmitProxyStaticMethodImpl()
489 …t %s::%s_(", EmitDefinitionByInterface(interface_, proxyName_).c_str(), method->GetName().c_str()); in EmitProxyStaticMethodImpl()
508 EmitDefinitionByInterface(interface, proxyName_).c_str(), method->GetName().c_str()); in EmitProxyMethodBody()
[all …]
Dcpp_service_stub_code_emitter.cpp154 … stubName_.c_str(), method->GetName().c_str(), dataParcelName_.c_str(), replyParcelName_.c_str(), in EmitStubMethodDecl()
163 … stubName_.c_str(), method->GetName().c_str(), dataParcelName_.c_str(), replyParcelName_.c_str(), in EmitStubStaticMethodDecl()
330 …mat("return %sStub%s(data, reply, option);\n", baseName_.c_str(), getVerMethod->GetName().c_str()); in EmitStubOnRequestMethodImpl()
336 …endFormat("return %sStub%s(data, reply, option);\n", baseName_.c_str(), method->GetName().c_str()); in EmitStubOnRequestMethodImpl()
380 …DefinitionByInterface(interface_, stubName_).c_str(), stubName_.c_str(), method->GetName().c_str(), in EmitStubMethodImpl()
385 stubName_.c_str(), method->GetName().c_str(), in EmitStubMethodImpl()
396 …DefinitionByInterface(interface_, stubName_).c_str(), stubName_.c_str(), method->GetName().c_str(), in EmitStubStaticMethodImpl()
443 …(prefix).AppendFormat("int32_t %s = impl->%s(", errorCodeName_.c_str(), method->GetName().c_str()); in EmitStubCallMethod()
446 sb.Append(param->GetName()); in EmitStubCallMethod()
511 …sb.Append(prefix + TAB).AppendFormat("%s.reserve(%s);\n", param->GetName().c_str(), capacityName.c… in EmitLocalVariable()
Dcode_emitter.cpp40 interfaceName_ = interface_->GetName(); in Reset()
52 baseName_ = ast_->GetName(); in Reset()
54 baseName_ = ast_->GetName(); in Reset()
143 …per::Format("CMD_%s_%s", ConstantName(baseName_).c_str(), ConstantName(method->GetName()).c_str()); in EmitMethodCmdID()
Dc_client_proxy_code_emitter.cpp271 …Format("static int32_t %sProxy%s(struct %s *self)\n", baseName_.c_str(), method->GetName().c_str(), in EmitProxyMethodImpl()
275 … paramStr.AppendFormat("static int32_t %sProxy%s(", baseName_.c_str(), method->GetName().c_str()); in EmitProxyMethodImpl()
410 std::string cloneName = StringHelper::Format("%sCopy", param->GetName().c_str()); in EmitReadProxyMethodParameter()
412 …sb.Append(prefix).AppendFormat("if (strcpy_s(%s, %sLen, %s) != EOK) {\n", param->GetName().c_str(), in EmitReadProxyMethodParameter()
413 param->GetName().c_str(), cloneName.c_str()); in EmitReadProxyMethodParameter()
415 ….AppendFormat("HDF_LOGE(\"%%{public}s: read %s failed!\", __func__);\n", param->GetName().c_str()); in EmitReadProxyMethodParameter()
420 …type->EmitCProxyReadVar(parcelName, param->GetName().c_str(), false, errorCodeName_, gotoLabel, sb… in EmitReadProxyMethodParameter()
422 std::string cpName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadProxyMethodParameter()
425 … param->GetName().c_str(), type->EmitCType().c_str(), cpName.c_str(), type->EmitCType().c_str()); in EmitReadProxyMethodParameter()
427 param->GetName().c_str()); in EmitReadProxyMethodParameter()
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_enum_type.cpp46 sb.Append(" ").AppendFormat("%s,\n", it->GetName().c_str()); in Dump()
48 … sb.Append(" ").AppendFormat("%s = %s,\n", it->GetName().c_str(), value->Dump("").c_str()); in Dump()
108 sb.Append(TAB).AppendFormat("%s,\n", it->GetName().c_str()); in EmitCTypeDecl()
110 …sb.Append(TAB).AppendFormat("%s = %s,\n", it->GetName().c_str(), it->GetExprValue()->EmitCode().c_… in EmitCTypeDecl()
129 sb.Append(TAB).AppendFormat("%s,\n", it->GetName().c_str()); in EmitCppTypeDecl()
131 …sb.Append(TAB).AppendFormat("%s = %s,\n", it->GetName().c_str(), it->GetExprValue()->EmitCode().c_… in EmitCppTypeDecl()
Dast_method.h27 inline std::string GetName() in GetName() function
Dast_namespace.h28 inline std::string GetName() in GetName() function
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
Dicontroller.h31 std::string GetName() in GetName() function
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
Dalgo_plugin_manager.cpp43 CAMERA_LOGE("load algorithm lib: %{public}s failed", it->GetName().c_str()); in LoadPlugin()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/include/
Dinode.h33 virtual std::string GetName() const = 0;
53 virtual std::string GetName() const = 0;
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/include/
Dalgo_plugin.h44 std::string GetName() const;
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
Dnode_base.cpp17 std::string PortBase::GetName() const in GetName() function in OHOS::Camera::PortBase
110 std::string NodeBase::GetName() const in GetName() function in OHOS::Camera::NodeBase
124 [name](std::shared_ptr<IPort> p) { return p->GetName() == name; }); in GetPort()
Dnode_base.h29 std::string GetName() const override;
63 std::string GetName() const override;

12