/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/ |
H A D | sa_ts_code_emitter.cpp | 44 method->GetName().c_str()); in CheckInterfaceType() 94 ConstantName(method->GetName()).c_str(), i + 1); in EmitInterfaceMethodCommands() 103 … sb.AppendFormat("import {%sCallback} from \"./%s\";\n", MethodName(method->GetName()).c_str(), in EmitInterfaceImports() 114 std::string dependInterface = interface->GetName(); in EmitInterfaceImports() 127 sb.AppendFormat("import %s from \"./%s\";\n", seqType->GetName().c_str(), in EmitInterfaceSelfDefinedTypeImports() 128 FileName(seqType->GetName()).c_str()); in EmitInterfaceSelfDefinedTypeImports() 133 sb.AppendFormat("import %s from \"./%s\";\n", interface->GetName().c_str(), in EmitInterfaceSelfDefinedTypeImports() 134 FileName(interface->GetName()).c_str()); in EmitInterfaceSelfDefinedTypeImports() 142 sb.Append(prefix).AppendFormat("%s(", MethodName(method->GetName()).c_str()); in EmitInterfaceMethodHead() 148 … sb.AppendFormat("%s: %s, ", param->GetName().c_str(), typeEmitter->EmitTsType().c_str()); in EmitInterfaceMethodHead() [all …]
|
H A D | sa_ts_interface_code_emitter.cpp | 67 sb.AppendFormat("export default interface %s {\n", interface_->GetName().c_str()); in EmitInterfaceDefinition() 84 sb.Append(prefix).AppendFormat("%s(", MethodName(method->GetName()).c_str()); in EmitInterfaceMethod() 90 … sb.AppendFormat("%s: %s, ", param->GetName().c_str(), typeEmitter->EmitTsType().c_str()); in EmitInterfaceMethod() 93 sb.AppendFormat("callback: %sCallback): void;\n", MethodName(method->GetName()).c_str()); in EmitInterfaceMethod() 99 …sb.AppendFormat("export type %sCallback = (%s", MethodName(method->GetName()).c_str(), ERR_CODE_TY… in EmitInterfaceMethodCallback() 110 … sb.AppendFormat(", %s: %s", param->GetName().c_str(), typeEmitter->EmitTsType().c_str()); in EmitInterfaceMethodCallback()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/ |
H A D | mpi_node.cpp | 61 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()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/ |
H A D | sensor_controller.cpp | 72 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() 153 sensorVideo_->StopStream(GetName()); in Stop() 154 sensorVideo_->ReleaseBuffers(GetName()); in Stop() 155 sensorVideo_->stop(GetName()); in Stop() 167 sensorVideo_->CreatBuffer(GetName(), buffer); in SendFrameBuffer() [all …]
|
H A D | sensor_manager.cpp | 51 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()
|
H A D | isp_manager.cpp | 50 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 D | flash_manager.cpp | 50 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()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/task_manager/task_group/ |
H A D | delayed_task_group.cpp | 26 DP_DEBUG_LOG("(%s) entered.", GetName().c_str()); in DelayedTaskGroup() 32 DP_DEBUG_LOG("(%s) entered.", GetName().c_str()); in ~DelayedTaskGroup() 42 DP_DEBUG_LOG("(%s) Initialize entered.", GetName().c_str()); in Initialize() 50 DP_DEBUG_LOG("(%s) SubmitTask failed due to containing no parameter.", GetName().c_str()); in SubmitTask() 56 GetName().c_str(), in SubmitTask() 64 DP_ERR_LOG("(%s) SubmitTask failed due to RegisterCallback.", GetName().c_str()); in SubmitTask() 71 …DP_DEBUG_LOG("(%s) TimerExpired, handle = %{public}d", GetName().c_str(), static_cast<int>(handle)… in TimerExpired() 74 …DP_DEBUG_LOG("(%s) TimerExpired, handle = %{public}d", GetName().c_str(), static_cast<int>(handle)… in TimerExpired()
|
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
H A D | hiappevent_watcher_test.cpp | 86 std::cout << GetName() << " OnEvents size=" << events.size() << std::endl; in OnEvents() 88 std::cout << "domain=" << event->GetDomain() << ", eventName=" << event->GetName() in OnEvents() 211 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher1->GetName()); 212 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher2->GetName()); 213 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher3->GetName()); 214 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher4->GetName()); 215 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher5->GetName()); 241 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher->GetName()); 270 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher1->GetName()); 271 AppEventObserverMgr::GetInstance().UnregisterObserver(watcher2->GetName()); [all …]
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/ |
H A D | c_service_stub_code_emitter.cpp | 344 typeEmitter->EmitMemoryRecycle(param->GetName(), true, sb, prefix + TAB); in EmitErrorHandle() 379 param->GetName().c_str()); in EmitParamLocalVar() 431 typeEmitter->EmitCStubReadVar(param->GetName(), gotoLabel, sb, prefix); in EmitReadStubMethodParameter() 433 std::string cpName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadStubMethodParameter() 447 param->GetName().c_str()); in EmitReadStubMethodParameter() 454 typeEmitter->EmitCStubReadVar(param->GetName(), gotoLabel, sb, prefix); in EmitReadStubMethodParameter() 456 std::string name = StringHelper::Format("&%s", param->GetName().c_str()); in EmitReadStubMethodParameter() 465 std::string cloneName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadCStringStubMethodParameter() 478 param->GetName().c_str(), cloneName.c_str(), cloneName.c_str()); in EmitReadCStringStubMethodParameter() 520 method->GetName().c_str()); in EmitStubCallMethod() [all …]
|
H A D | c_service_impl_code_emitter.cpp | 145 sb.Append(TAB).AppendFormat("service->super.%s = %s%s;\n", method->GetName().c_str(), in EmitLowServiceImplGetMethod() 146 baseName_.c_str(), method->GetName().c_str()); in EmitLowServiceImplGetMethod() 150 sb.Append(TAB).AppendFormat("service->super.%s = %s%s;\n", method->GetName().c_str(), in EmitLowServiceImplGetMethod() 151 baseName_.c_str(), method->GetName().c_str()); in EmitLowServiceImplGetMethod() 307 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplMethodImpl() 311 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplMethodImpl() 334 method->GetName().c_str(), interfaceName_.c_str()); in EmitServiceImplGetVersionMethod() 373 baseName_.c_str(), method->GetName().c_str()); in EmitKernelServiceImplGetMethod() 399 baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplGetMethod() 403 …sb.Append(TAB).AppendFormat("%s->interface.%s = %s%s;\n", objName.c_str(), method->GetName().c_str… in EmitServiceImplGetMethod() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/core/ |
H A D | base.cpp | 35 MEDIA_LOG_I("plugin " PUBLIC_LOG_S " has been already inited", plugin_->GetName().c_str()); in Init() 53 plugin_->GetName().c_str()); in Deinit() 70 …LOG_I("plugin " PUBLIC_LOG_S " already prepared, ignore this prepare", plugin_->GetName().c_str()); in Prepare() 90 plugin_->GetName().c_str(), GetStateString(pluginState_.load())); in Reset() 107 …OG_I("plugin " PUBLIC_LOG_S " already in running state, ignore start", plugin_->GetName().c_str()); in Start() 124 …OG_I("plugin " PUBLIC_LOG_S " not running or paused, no need to stop", plugin_->GetName().c_str()); in Stop() 163 std::string Base::GetName() in GetName() function in Base 165 return plugin_->GetName(); in GetName()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/engine/ |
H A D | engine_input_property_manager.cpp | 39 …etObjectRegistry().GetPropertyRegister().Create(META_NS::ClassId::StackProperty, value->GetName()); in ConstructFromValue() 66 valueName = p->GetName(); in TieProperty() 69 auto it = props_.find(p->GetName()); in TieProperty() 78 props_[p->GetName()] = PropInfo { p, value }; in TieProperty() 97 if (auto p = data.GetPropertyByName(v->GetName())) { in PopulateProperties() 99 props_[v->GetName()] = PropInfo { p, v }; in PopulateProperties() 103 props_[v->GetName()] = PropInfo { p, v }; in PopulateProperties()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/ |
H A D | stream_pipeline_dispatcher.cpp | 71 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().substr(0, 3)) { // 3:Copy length in GetNode()
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | plugin_proxy.cpp | 27 HIVIEW_LOGD("Plugin name: %{public}s plugin_->OnEvent", plugin_->GetName().c_str()); in OnEvent() 38 HIVIEW_LOGD("Plugin name: %{public}s plugin_->CanProcessEvent", plugin_->GetName().c_str()); in CanProcessEvent() 49 … HIVIEW_LOGD("Plugin name: %{public}s plugin_->CanProcessMoreEvents", plugin_->GetName().c_str()); in CanProcessMoreEvents() 60 HIVIEW_LOGD("Plugin name: %{public}s plugin_->GetHandlerInfo", plugin_->GetName().c_str()); in GetHandlerInfo() 80 …HIVIEW_LOGD("Plugin name: %{public}s plugin_->OnEventListeningCallback", plugin_->GetName().c_str(… in OnEventListeningCallback() 123 plugin_->GetName().c_str(), count); in DestroyInstanceIfNeed()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | c_service_stub_code_emitter.cpp | 365 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitReadStubMethodParameter() 373 std::string cpName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadStubMethodParameter() 377 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitReadStubMethodParameter() 387 param->GetName().c_str()); in EmitReadStubMethodParameter() 396 std::string name = StringHelper::Format("&%s", param->GetName().c_str()); in EmitReadStubMethodParameter() 405 std::string cloneName = StringHelper::Format("%sCp", param->GetName().c_str()); in EmitReadCStringStubMethodParameter() 411 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitReadCStringStubMethodParameter() 418 param->GetName().c_str(), cloneName.c_str(), cloneName.c_str()); in EmitReadCStringStubMethodParameter() 436 sb.Append(prefix).AppendFormat("if (%s == NULL) {\n", param->GetName().c_str()); in EmitOutVarMemInitialize() 460 method->GetName().c_str()); in EmitStubCallMethod() [all …]
|
H A D | c_service_impl_code_emitter.cpp | 138 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() 366 baseName_.c_str(), method->GetName().c_str()); in EmitKernelServiceImplGetMethod() 392 baseName_.c_str(), method->GetName().c_str()); in EmitServiceImplGetMethod() 396 …sb.Append(TAB).AppendFormat("%s->interface.%s = %s%s;\n", objName.c_str(), method->GetName().c_str… in EmitServiceImplGetMethod() [all …]
|
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avcallmeta_data_test.cpp | 99 EXPECT_EQ("xiaoming", avCallMetaData.GetName()); 116 EXPECT_EQ(avCallMetaData.GetName(), g_callMetaData.GetName()); 179 EXPECT_EQ(avCallMetaData.GetName(), g_avcallMetaDataCloneTest.GetName()); 200 EXPECT_EQ(metaOut.GetName(), g_avcallMetaDataCloneTest.GetName());
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_thread_pool_test.cpp | 68 EXPECT_EQ(pool.GetName(), ""); 77 EXPECT_EQ(pool.GetName(), "test_02_pool"); 87 EXPECT_EQ(pool.GetName(), "test_02_pool"); 97 EXPECT_EQ(pool.GetName(), ""); 124 EXPECT_EQ(pool.GetName(), ""); 152 EXPECT_EQ(pool.GetName(), ""); 202 EXPECT_EQ(pool.GetName(), ""); 237 EXPECT_EQ(pool.GetName(), ""); 294 EXPECT_EQ(pool.GetName(), poolName);
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/rust/ |
H A D | sa_rust_interface_code_emitter.cpp | 184 sb.AppendFormat(" %s,\n", GetCodeFromMethod(method->GetName()).c_str()); in EmitCommands() 232 sb.AppendFormat(" fn %s(&self", method->GetName().c_str()); in EmitBrokers() 247 sb.AppendFormat("%s: &%s", GetNameFromParameter(param->GetName()).c_str(), in AppendBrokerParameters() 311 sb.AppendFormat(" let result = stub.%s(", method->GetName().c_str()); in AddRemoteRequestMethods() 313 sb.AppendFormat(" stub.%s(", method->GetName().c_str()); in AddRemoteRequestMethods() 331 sb.AppendFormat("&%s", GetNameFromParameter(param->GetName()).c_str()); in AddRemoteRequestParameters() 344 sb.AppendFormat(" fn %s(&self", method->GetName().c_str()); in EmitStub() 349 sb.AppendFormat(" self.0.%s(", method->GetName().c_str()); in EmitStub() 365 sb.Append(GetNameFromParameter(param->GetName())); in AppendStubParameters() 388 sb.AppendFormat(" fn %s(&self", method->GetName().c_str()); in EmitProxyMethodImpl() [all …]
|
/ohos5.0/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite.c | 28 static const char *GetName(Service *service); 34 .GetName = GetName, 40 static const char *GetName(Service *service) in GetName() function
|
/ohos5.0/base/security/permission_lite/services/pms_base/src/ |
H A D | permission_service.c | 28 static const char *GetName(Service *service); 34 .GetName = GetName, 48 static const char *GetName(Service *service) in GetName() function
|
/ohos5.0/base/security/device_security_level/services/sa/lite/ |
H A D | dslm_service.c | 24 static const char *GetName(Service *service); 30 .GetName = GetName, 37 static const char *GetName(Service *service) in GetName() function
|
/ohos5.0/base/powermgr/powermgr_lite/services/src/ |
H A D | power_manage_service.c | 34 static const char *GetName(Service *service); 40 .GetName = GetName, 47 static const char *GetName(Service *service) in GetName() function
|
/ohos5.0/base/security/permission_lite/services/ipc_auth/src/ |
H A D | ipc_auth_lite.c | 29 static const char *GetName(Feature *feature); 35 .GetName = GetName, 54 static const char *GetName(Feature *feature) in GetName() function
|