Home
last modified time | relevance | path

Searched refs:serviceType (Results 1 - 25 of 57) sorted by relevance

123

/foundation/multimedia/image_framework/plugins/manager/include/
H A Dplugin_server.h64 inline T *CreateObject(uint16_t serviceType, uint32_t &errorCode) in CreateObject() argument
69 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, emptyCapabilities, in CreateObject()
74 inline T *CreateObject(uint16_t serviceType) in CreateObject() argument
80 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, emptyCapabilities, in CreateObject()
85 inline T *CreateObject(uint16_t serviceType, const PriorityScheme &priorityScheme, uint32_t &errorCode) in CreateObject() argument
89 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, emptyCapabilities, in CreateObject()
94 inline T *CreateObject(uint16_t serviceType, const PriorityScheme &priorityScheme) in CreateObject() argument
99 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, emptyCapabilities, in CreateObject()
104 inline T *CreateObject(uint16_t serviceType, const std::map<std::string, AttrData> &capabilities, in CreateObject() argument
109 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, capabilitie in CreateObject()
114 CreateObject(uint16_t serviceType, const std::map<std::string, AttrData> &capabilities) CreateObject() argument
124 CreateObject(uint16_t serviceType, const std::map<std::string, AttrData> &capabilities, const PriorityScheme &priorityScheme, uint32_t &errorCode) CreateObject() argument
133 CreateObject(uint16_t serviceType, const std::map<std::string, AttrData> &capabilities, const PriorityScheme &priorityScheme) CreateObject() argument
143 PluginServerGetClassInfo(uint16_t serviceType, std::vector<ClassInfo> &classesInfo) PluginServerGetClassInfo() argument
151 PluginServerGetClassInfo(uint16_t serviceType, const std::map<std::string, AttrData> &capabilities, std::vector<ClassInfo> &classesInfo) PluginServerGetClassInfo() argument
[all...]
/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dplugin_metadata.h34 "serviceType":0
51 "serviceType":0
78 "serviceType":0
105 "serviceType":0
132 "serviceType":0
159 "serviceType":0
176 "serviceType":0
203 "serviceType":0
230 "serviceType":0
257 "serviceType"
[all...]
H A Dplugin_fw.cpp55 PluginClassBase *PluginFw::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
62 return implClassMgr_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in CreateObject()
65 uint32_t PluginFw::PluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in PluginFwGetClassInfo() argument
72 return implClassMgr_.ImplClassMgrGetClassInfo(interfaceID, serviceType, capabilities, classesInfo); in PluginFwGetClassInfo()
H A Dplugin_fw.h39 PluginClassBase *CreateObject(uint16_t interfaceID, uint16_t serviceType,
42 uint32_t PluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType,
H A Dimpl_class.cpp257 uint16_t serviceType; in AnalysisServices() local
285 uint32_t result = JsonHelper::GetUint16Value(serviceInfo, "serviceType", serviceType); in AnalysisServices()
288 IMAGE_LOGE("read serviceType failed at %{public}zu.", i); in AnalysisServices()
291 // serviceType is optional, and default zero. in AnalysisServices()
292 serviceType = 0; in AnalysisServices()
295 IMAGE_LOGD("insert service iid: %{public}hu, serviceType: %{public}hu.", interfaceID, serviceType); in AnalysisServices()
296 services_.insert(MakeServiceFlag(interfaceID, serviceType)); in AnalysisServices()
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_manager.cpp55 .serviceType = serviceInfo.type, in RegisterService()
94 int32_t MDnsManager::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService() argument
102 if (!IsTypeValid(serviceType)) { in StartDiscoverService()
105 std::string name = impl.Decorated(serviceType); in StartDiscoverService()
115 discoveryMap_.emplace(cb, serviceType); in StartDiscoverService()
117 return impl.Discovery(serviceType, cb); in StartDiscoverService()
150 auto serviceType = it.second; in RestartDiscoverService() local
151 impl.StopCbMap(serviceType); in RestartDiscoverService()
152 impl.Discovery(serviceType, cb); in RestartDiscoverService()
H A Dmdns_protocol_impl.cpp208 std::string fullName = Decorated(it->serviceName + MDNS_DOMAIN_SPLITER_STR + it->serviceType); in handleOfflineService()
246 if (!(IsNameValid(info.serviceName) && IsTypeValid(info.serviceType) && IsPortValid(info.port))) { in Register()
249 std::string name = Decorated(info.serviceName + MDNS_DOMAIN_SPLITER_STR + info.serviceType); in Register()
276 bool MDnsProtocolImpl::DiscoveryFromCache(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in DiscoveryFromCache() argument
279 std::string name = Decorated(serviceType); in DiscoveryFromCache()
305 bool MDnsProtocolImpl::DiscoveryFromNet(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in DiscoveryFromNet() argument
308 std::string name = Decorated(serviceType); in DiscoveryFromNet()
322 std::string fullName = Decorated(res.serviceName + MDNS_DOMAIN_SPLITER_STR + res.serviceType); in DiscoveryFromNet()
357 int32_t MDnsProtocolImpl::Discovery(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in Discovery() argument
360 DiscoveryFromCache(serviceType, c in Discovery()
931 StopCbMap(const std::string &serviceType) StopCbMap() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_sd_service_request.cpp38 WifiP2pDnsSdServiceRequest WifiP2pDnsSdServiceRequest::Create(const std::string &serviceType) in Create() argument
41 serviceType + ".local.", WifiP2pDnsSdServiceInfo::DNS_PTR_TYPE, WifiP2pDnsSdServiceInfo::VERSION_1); in Create()
46 const std::string &instanceName, const std::string &serviceType) in Create()
48 WifiP2pDnsSdServiceRequest req(instanceName + "." + serviceType + ".local.", in Create()
45 Create( const std::string &instanceName, const std::string &serviceType) Create() argument
H A Dwifi_p2p_dns_sd_service_info.h48 * @param serviceType - dns service type name
53 static WifiP2pDnsSdServiceInfo Create(const std::string &instanceName, const std::string &serviceType,
77 * @param serviceType - DNS service type
82 const std::string &instanceName, const std::string &serviceType, const std::string &svrName);
88 * @param serviceType - DNS service type
93 static std::string BuildTxtServiceQuery(const std::string &instanceName, const std::string &serviceType,
H A Dwifi_p2p_dns_sd_service_info.cpp45 WifiP2pDnsSdServiceInfo WifiP2pDnsSdServiceInfo::Create(const std::string &instanceName, const std::string &serviceType, in Create() argument
53 queries.push_back(BuildPtrServiceQuery(instanceName, serviceType, svrName)); in Create()
54 queries.push_back(BuildTxtServiceQuery(instanceName, serviceType, txtRecord, svrName)); in Create()
62 const std::string &instanceName, const std::string &serviceType, const std::string &svrName) in BuildPtrServiceQuery()
68 ret << BuildRequest(serviceType + ".local.", DNS_PTR_TYPE, VERSION_1); in BuildPtrServiceQuery()
88 const std::string &serviceType, const WifiP2PDnsTxtRecord &txtRecord, const std::string &svrName) in BuildTxtServiceQuery()
92 std::string dnsName = instanceName + std::string(".") + serviceType + std::string(".local."); in BuildTxtServiceQuery()
61 BuildPtrServiceQuery( const std::string &instanceName, const std::string &serviceType, const std::string &svrName) BuildPtrServiceQuery() argument
87 BuildTxtServiceQuery(const std::string &instanceName, const std::string &serviceType, const WifiP2PDnsTxtRecord &txtRecord, const std::string &svrName) BuildTxtServiceQuery() argument
H A Dwifi_p2p_dns_sd_service_request.h36 * @param serviceType - DNS service type
39 static WifiP2pDnsSdServiceRequest Create(const std::string &serviceType);
45 * @param serviceType - DNS service type
48 static WifiP2pDnsSdServiceRequest Create(const std::string &instanceName, const std::string &serviceType);
/foundation/multimedia/image_framework/plugins/manager/src/thirdpartyadp/gstreamer/
H A Dgst_plugin_fw.cpp53 PluginClassBase *GstPluginFw::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
58 (void) serviceType; in CreateObject()
61 IMAGE_LOGD("CreateObject by serviceType called."); in CreateObject()
67 uint32_t GstPluginFw::GstPluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in GstPluginFwGetClassInfo() argument
72 (void) serviceType; in GstPluginFwGetClassInfo()
75 IMAGE_LOGD("GetClassInfo by serviceType called."); in GstPluginFwGetClassInfo()
H A Dgst_plugin_fw.h37 PluginClassBase *CreateObject(uint16_t interfaceID, uint16_t serviceType,
40 uint32_t GstPluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType,
/foundation/multimedia/image_framework/plugins/manager/src/
H A Dplugin_server.cpp124 PluginClassBase *PluginServer::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
128 IMAGE_LOGD("create object iid: %{public}hu, service Type: %{public}u.", interfaceID, serviceType); in CreateObject()
133 obj = gstPluginFw_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in CreateObject()
139 obj = pluginFw_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in CreateObject()
143 uint32_t PluginServer::PluginServerGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in PluginServerGetClassInfo() argument
154 resultGst = gstPluginFw_.GstPluginFwGetClassInfo(interfaceID, serviceType, capabilities, classesInfo); in PluginServerGetClassInfo()
158 uint32_t resultFw = pluginFw_.PluginFwGetClassInfo(interfaceID, serviceType, capabilities, classesInfo); in PluginServerGetClassInfo()
162 IMAGE_LOGE("failed to get class by serviceType, resultGst: %{public}u, resultFw: %{public}u.", in PluginServerGetClassInfo()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dgst_plugin_fw_test.cpp79 uint16_t serviceType = 0; in HWTEST_F() local
83 PluginClassBase *obj = gstPluginFw_.CreateObject(id, serviceType, capabilities, priorityScheme, errorCode); in HWTEST_F()
98 uint16_t serviceType = 0; in HWTEST_F() local
101 uint32_t resultGst = gstPluginFw_.GstPluginFwGetClassInfo(id, serviceType, capabilities, classesInfo); in HWTEST_F()
H A Dplugin_server_test.cpp165 uint16_t serviceType = 1; in HWTEST_F() local
170 uint32_t ret = pluginServer.PluginServerGetClassInfo(interfaceID, serviceType, capabilities, classesinfo); in HWTEST_F()
218 uint16_t serviceType = 0; in HWTEST_F() local
222 PluginClassBase* result = server.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dwifi_p2p_dns_sd_service_info_test.cpp54 std::string serviceType; in HWTEST_F() local
58 WifiP2pDnsSdServiceInfo::Create(instanceName, serviceType, txtMap, svrName); in HWTEST_F()
67 std::string serviceType; in HWTEST_F() local
70 WifiP2pDnsSdServiceInfo::Create(instanceName, serviceType, txtMap, svrName).BuildRequest(dnsName, dnsType, version); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dservice_profile.cpp29 const std::string& serviceType) : deviceId_(deviceId), serviceName_(serviceName), serviceType_(serviceType) in ServiceProfile()
65 void ServiceProfile::SetServiceType(const std::string& serviceType) in SetServiceType() argument
67 serviceType_ = serviceType; in SetServiceType()
28 ServiceProfile(const std::string& deviceId, const std::string& serviceName, const std::string& serviceType) ServiceProfile() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_transport_softbus_adapter.cpp429 void DSchedTransportSoftbusAdapter::RegisterListener(int32_t serviceType, std::shared_ptr<IDataListener> listener) in RegisterListener() argument
431 HILOGI("start, service type: %{public}d", serviceType); in RegisterListener()
433 HILOGE("listener is null, type: %{public}d", serviceType); in RegisterListener()
437 if (listeners_.empty() || listeners_.find(serviceType) == listeners_.end()) { in RegisterListener()
438 HILOGD("service type %{public}d does not exist in the listeners, adding", serviceType); in RegisterListener()
441 listeners_[serviceType] = newListeners; in RegisterListener()
445 auto iterItem = listeners_.find(serviceType); in RegisterListener()
457 void DSchedTransportSoftbusAdapter::UnregisterListener(int32_t serviceType, std::shared_ptr<IDataListener> listener) in UnregisterListener() argument
459 HILOGI("start, service type: %{public}d", serviceType); in UnregisterListener()
461 HILOGE("listener is null, type: %{public}d", serviceType); in UnregisterListener()
[all...]
/foundation/deviceprofile/device_info_manager/common/include/interfaces/
H A Dservice_profile.h27 ServiceProfile(const std::string& deviceId, const std::string& serviceName, const std::string& serviceType);
36 void SetServiceType(const std::string& serviceType);
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/getdeviceprofile_fuzzer/
H A Dgetdeviceprofile_fuzzer.cpp44 std::string serviceType(reinterpret_cast<const char*>(data), size); in FuzzGetDeviceProfile()
46 profile.SetServiceType(serviceType); in FuzzGetDeviceProfile()
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/
H A Dmdns_client.cpp107 int32_t MDnsClient::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService() argument
109 if (!IsTypeValid(serviceType)) { in StartDiscoverService()
110 NETMGR_EXT_LOG_E("arguments are not valid, [%{public}s]", serviceType.c_str()); in StartDiscoverService()
123 int32_t ret = proxy->StartDiscoverService(serviceType, cb); in StartDiscoverService()
127 MDnsClientResume::GetInstance().SaveStartDiscoverService(serviceType, cb); in StartDiscoverService()
/foundation/deviceprofile/device_info_manager/old/services/core/src/
H A Dservice_characteristic_profile.cpp36 void ServiceCharacteristicProfile::SetServiceType(const std::string& serviceType) in SetServiceType() argument
38 serviceType_ = serviceType; in SetServiceType()
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/putdeviceprofile_fuzzer/
H A Dputdeviceprofile_fuzzer.cpp47 std::string serviceType(reinterpret_cast<const char*>(data), size); in FuzzPutDeviceProfile()
50 profile.SetServiceType(serviceType); in FuzzPutDeviceProfile()
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp170 std::string serviceType; in QueryCommand() local
183 result = HandleNormalOption(option, deviceId, serviceId, serviceType); in QueryCommand()
202 std::string serviceType; in PutCommand() local
214 result = HandleNormalOption(option, deviceId, serviceId, serviceType); in PutCommand()
220 profile.SetServiceType(serviceType); in PutCommand()
235 std::string serviceType; in DeleteCommand() local
249 result = HandleNormalOption(option, deviceId, serviceId, serviceType); in DeleteCommand()
344 std::string& serviceId, std::string& serviceType) in HandleNormalOption()
380 serviceType = optarg; in HandleNormalOption()
343 HandleNormalOption(int option, std::string& deviceId, std::string& serviceId, std::string& serviceType) HandleNormalOption() argument

Completed in 10 milliseconds

123