Home
last modified time | relevance | path

Searched refs:GetName (Results 1 - 25 of 59) sorted by relevance

123

/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/
H A 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->GetName()); 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->GetName()); in DisConnectMpi()
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
H A Dsensor_controller.cpp72 sensorVideo_->StopStream(GetName()); in PowerDown()
73 sensorVideo_->ReleaseBuffers(GetName()); in PowerDown()
74 sensorVideo_->stop(GetName()); in PowerDown()
111 rc = sensorVideo_->start(GetName()); in ConfigStart()
126 rc = sensorVideo_->stop(GetName()); in ConfigStop()
140 sensorVideo_->start(GetName()); in Start()
141 sensorVideo_->ConfigSys(GetName(), CMD_V4L2_SET_FORMAT, format); in Start()
142 sensorVideo_->ReqBuffers(GetName(), buffCont_); in Start()
153 sensorVideo_->StopStream(GetName()); in Stop()
154 sensorVideo_->ReleaseBuffers(GetName()); in Stop()
[all...]
H A 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() in DestroyController()
[all...]
H A 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()
H A 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/
H A Dstream_pipeline_dispatcher.cpp71 it->GetName().c_str(), it->wide_, it->high_); in Update()
121 CAMERA_LOGV("init node %{public}s begin", (*it)->GetName().c_str()); in Prepare()
123 CAMERA_LOGV("init node %{public}s end", (*it)->GetName().c_str()); in Prepare()
136 CAMERA_LOGV("start node %{public}s begin", (*it)->GetName().c_str()); in Start()
138 CAMERA_LOGV("start node %{public}s end", (*it)->GetName().c_str()); in Start()
164 CAMERA_LOGV("flush node %{public}s begin", (*it)->GetName().c_str()); in Flush()
166 CAMERA_LOGV("flush node %{public}s end", (*it)->GetName().c_str()); in Flush()
185 CAMERA_LOGV("stop node %{public}s begin", (*it)->GetName().c_str()); in Stop()
187 CAMERA_LOGV("stop node %{public}s end", (*it)->GetName().c_str()); in Stop()
240 if (name == (*it)->GetName() in GetNode()
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A 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() in EmitReadStubMethodParameter()
[all...]
H A 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_str()); in EmitServiceImplGetVersionMethod()
340 sb.Append(prefix + TAB).AppendFormat("*%s = %s;\n", minorParam->GetName().c_str(), minorVerName_.c_str()); in EmitServiceImplGetVersionMethod()
365 sb.Append(TAB).AppendFormat("%s->stub.interface.%s = %s%s;\n", objName.c_str(), method->GetName() in EmitKernelServiceImplGetMethod()
[all...]
H A 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()
H A Dcpp_interface_code_emitter.cpp179 sb.Append(prefix).AppendFormat("virtual ~%s() = default;\n", interface_->GetName().c_str()); in EmitInterfaceDestruction()
202 method->GetName().c_str()); in EmitInterfaceMethodDecl()
206 sb.Append(prefix).AppendFormat("virtual int32_t %s() = 0;\n", method->GetName().c_str()); in EmitInterfaceMethodDecl()
209 paramStr.Append(prefix).AppendFormat("virtual int32_t %s(", method->GetName().c_str()); in EmitInterfaceMethodDecl()
228 sb.Append(prefix).AppendFormat("virtual int32_t %s(", method->GetName().c_str()); in EmitInterfaceGetVersionMethod()
230 sb.Append(prefix).AppendFormat("int32_t %s(", method->GetName().c_str()); in EmitInterfaceGetVersionMethod()
247 sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", majorParam->GetName().c_str(), ast_->GetMajorVer()); in EmitInterfaceGetVersionMethod()
249 sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", minorParam->GetName().c_str(), ast_->GetMinorVer()); in EmitInterfaceGetVersionMethod()
H A Djava_client_interface_code_emitter.cpp111 sb.AppendFormat("public interface %s extends IRemoteBroker {\n", interface_->GetName().c_str()); in EmitInterfaceDefinition()
128 sb.Append(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()
H A Dc_client_proxy_code_emitter.cpp271 sb.AppendFormat("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, prefix); 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() in EmitReadProxyMethodParameter()
[all...]
H A Dcode_emitter.cpp40 interfaceName_ = interface_->GetName(); in Reset()
52 baseName_ = ast_->GetName(); in Reset()
54 baseName_ = ast_->GetName(); in Reset()
160 ConstantName(baseName_).c_str(), ConstantName(method->GetName()).c_str(), in EmitMethodCmdID()
H A 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 sb.Append(prefix).AppendFormat("int32_t %sService::%s()\n", baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplMethodImpl()
195 paramStr.Append(prefix).AppendFormat("int32_t %sService::%s(", baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplMethodImpl()
H A Dcpp_service_stub_code_emitter.cpp154 stubName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str(), in EmitStubMethodDecl()
163 stubName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str(), in EmitStubStaticMethodDecl()
350 baseName_.c_str(), getVerMethod->GetName().c_str(), getVerMethod->GetMethodIdentifier().c_str()); in EmitStubOnRequestMethodImpl()
357 baseName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str()); in EmitStubOnRequestMethodImpl()
402 stubName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str(), in EmitStubMethodImpl()
407 stubName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str(), in EmitStubMethodImpl()
419 stubName_.c_str(), method->GetName().c_str(), method->GetMethodIdentifier().c_str(), in EmitStubStaticMethodImpl()
466 sb.Append(prefix).AppendFormat("int32_t %s = impl->%s(", errorCodeName_.c_str(), method->GetName().c_str()); in EmitStubCallMethod()
469 sb.Append(param->GetName()); in EmitStubCallMethod()
534 sb.Append(prefix + TAB).AppendFormat("%s.reserve(%s);\n", param->GetName() in EmitLocalVariable()
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast_enum_type.cpp35 if (member->GetName() == members->GetName()) { in AddMember()
72 sb.Append(" ").AppendFormat("%s,\n", it->GetName().c_str()); in Dump()
74 sb.Append(" ").AppendFormat("%s = %s,\n", it->GetName().c_str(), value->Dump("").c_str()); in Dump()
134 sb.Append(TAB).AppendFormat("%s,\n", it->GetName().c_str()); in EmitCTypeDecl()
136 sb.Append(TAB).AppendFormat("%s = %s,\n", it->GetName().c_str(), it->GetExprValue()->EmitCode().c_str()); in EmitCTypeDecl()
155 sb.Append(TAB).AppendFormat("%s,\n", it->GetName().c_str()); in EmitCppTypeDecl()
157 sb.Append(TAB).AppendFormat("%s = %s,\n", it->GetName().c_str(), it->GetExprValue()->EmitCode().c_str()); in EmitCppTypeDecl()
H A Dast_enum_type.h27 inline std::string GetName() in GetName() function in OHOS::HDI::ASTEnumValue
67 inline std::string GetName() override
116 if (members_[i]->GetName() == memberName) { in HasMember()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
H A 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()
241 GetName().c_str(), (*it)->Peer()->GetNode()->GetName().c_str(), buffer->GetStreamId(), buffer->GetIndex()); in DeliverBuffer()
H A Dnode_base.h30 std::string GetName() const override;
64 std::string GetName() const override;
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_chip.cpp127 if (staIfaces_.size() > 0) return staIfaces_[0]->GetName(); in GetUsedIfaceName()
129 return apIfaces_[0]->GetName(); in GetUsedIfaceName()
320 names.emplace_back(iface->GetName()); in GetApNames()
329 if (name == iface->GetName()) { in FindApUsingName()
340 names.emplace_back(iface->GetName()); in GetP2pNames()
349 if (name == iface->GetName()) { in FindP2pUsingName()
360 names.emplace_back(iface->GetName()); in GetStaNames()
369 if (name == iface->GetName()) { in FindStaUsingName()
380 if (name == iface->GetName()) { in FindExtUsingName()
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
H A Dicontroller.h31 std::string GetName() in GetName() function in OHOS::Camera::IController
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/include/
H A Dalgo_plugin.h44 std::string GetName() const;
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Dalgo_plugin_manager.cpp43 CAMERA_LOGE("load algorithm lib: %{public}s failed", it->GetName().c_str()); in LoadPlugin()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp408 if (token.value != ast_->GetName()) { in ParseInterface()
492 systemName.c_str(), interface->GetName().c_str(), systemName.c_str())); in CheckInterfaceAttr()
634 method->GetName().c_str(), interface->GetName().c_str())); in CheckMethodAttr()
640 method->GetName().c_str(), interface->GetName().c_str())); in CheckMethodAttr()
646 method->GetName().c_str(), interface->GetName().c_str())); in CheckMethodAttr()
674 param->GetName().c_str(), method->GetName() in ParseMethodParamList()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/include/
H A Dinode.h33 virtual std::string GetName() const = 0;
53 virtual std::string GetName() const = 0;

Completed in 22 milliseconds

123