/foundation/multimodalinput/input/intention/ipc/socket/src/ |
H A D | socket_params.cpp | 21 AllocSocketPairParam::AllocSocketPairParam(const std::string &programName, int32_t moduleType) in AllocSocketPairParam() argument 22 : programName(programName), moduleType(moduleType) in AllocSocketPairParam() 29 parcel.WriteInt32(moduleType) in Marshalling() 37 parcel.ReadInt32(moduleType) in Unmarshalling()
|
/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | uds_server_test.cpp | 189 const int32_t moduleType = 1; in HWTEST_F() local 196 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 213 const int32_t moduleType = 1; in HWTEST_F() local 220 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 236 const int32_t moduleType = 1; in HWTEST_F() local 244 ret = udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 262 const int32_t moduleType = 1; in HWTEST_F() local 267 udsServer.AddSocketPairInfo(programName, moduleType, uid, pid, serverFd, toReturnClientFd, tokenType); in HWTEST_F() 286 const int32_t moduleType = 1; in HWTEST_F() local 291 udsServer.AddSocketPairInfo(programName, moduleType, ui in HWTEST_F() 311 const int32_t moduleType = 1; HWTEST_F() local 334 const int32_t moduleType = 1; HWTEST_F() local 357 const int32_t moduleType = 1; HWTEST_F() local 381 const int32_t moduleType = 1; HWTEST_F() local 406 const int32_t moduleType = 1; HWTEST_F() local 430 const int32_t moduleType = 1; HWTEST_F() local 453 const int32_t moduleType = 1; HWTEST_F() local 476 const int32_t moduleType = 1; HWTEST_F() local 500 const int32_t moduleType = 1; HWTEST_F() local 523 const int32_t moduleType = 1; HWTEST_F() local 546 const int32_t moduleType = 1; HWTEST_F() local 582 int32_t moduleType = 1; HWTEST_F() local [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/ |
H A D | channel_request.h | 34 ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInfo, in ChannelRequest() 36 : moduleType(moduleType), in ChannelRequest() 52 ModuleType moduleType; member
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/ |
H A D | channel_request.h | 34 ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInfo, in ChannelRequest() 36 : moduleType(moduleType), in ChannelRequest() 52 ModuleType moduleType; member
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/ |
H A D | cast_session_listeners.cpp | 294 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelCreated() local 295 switch (moduleType) { in OnChannelCreated() 323 Message(MessageId::MSG_ERROR, errorCode, MODULE_TYPE_STRING[static_cast<int>(channelRequest.moduleType)])); in OnChannelOpenFailed() 336 MODULE_TYPE_STRING[static_cast<int>(channel->GetRequest().moduleType)])); in OnChannelError() 349 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelRemoved() local 350 switch (moduleType) { in OnChannelRemoved() 360 CLOGW("Invalid module type:%{public}d", static_cast<int>(moduleType)); in OnChannelRemoved() 373 void CastSessionImpl::ChannelManagerListenerImpl::SetMediaChannel(ModuleType moduleType) in SetMediaChannel() argument [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/ |
H A D | cast_session_listeners.cpp | 294 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelCreated() local 295 switch (moduleType) { in OnChannelCreated() 323 Message(MessageId::MSG_ERROR, errorCode, MODULE_TYPE_STRING[static_cast<int>(channelRequest.moduleType)])); in OnChannelOpenFailed() 336 MODULE_TYPE_STRING[static_cast<int>(channel->GetRequest().moduleType)])); in OnChannelError() 349 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelRemoved() local 350 switch (moduleType) { in OnChannelRemoved() 360 CLOGW("Invalid module type:%{public}d", static_cast<int>(moduleType)); in OnChannelRemoved() 373 void CastSessionImpl::ChannelManagerListenerImpl::SetMediaChannel(ModuleType moduleType) in SetMediaChannel() argument [all...] |
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | module_info_utils.cpp | 30 SetModuleInfoModuleType(des, src.moduleType); in CopyModuleInfo() 61 AdapterFree(moduleInfo->moduleType); in ClearModuleInfo() 101 bool ModuleInfoUtils::SetModuleInfoModuleType(ModuleInfo *moduleInfo, const char *moduleType) in SetModuleInfoModuleType() argument 103 if (moduleInfo == nullptr || moduleType == nullptr) { in SetModuleInfoModuleType() 107 AdapterFree(moduleInfo->moduleType); in SetModuleInfoModuleType() 108 moduleInfo->moduleType = Utils::Strdup(moduleType); in SetModuleInfoModuleType() 109 return moduleInfo->moduleType != nullptr; in SetModuleInfoModuleType()
|
H A D | module_info.cpp | 30 AdapterFree(moduleInfo->moduleType); in ClearModuleInfo()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/ |
H A D | tcp_connection.cpp | 85 if (request.moduleType == ModuleType::VIDEO && request.remoteDeviceInfo.deviceType != DeviceType::DEVICE_HICAR) { in StartListen() 121 CLOGE("Open Session Failed, sessionId = %{public}d, moduleType = %{public}d", in Accept() 122 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType); in Accept() 128 CLOGE("Open Session Failed, sessionId = %{public}d, moduleType = %{public}d", in Accept() 129 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType); in Accept() 133 if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept() 138 CLOGD("Open Session Succ, sessionId = %{public}d, moduleType = %{public}d, client = %{public}d", in Accept() 139 tcpAudioConn_->channelRequest_.remoteDeviceInfo.sessionId, tcpAudioConn_->channelRequest_.moduleType, in Accept() 145 CLOGD("Open Session Succ, sessionId = %{public}d, moduleType = %{public}d, client = %{public}d", in Accept() 146 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType, sockf in Accept() [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/ |
H A D | tcp_connection.cpp | 85 if (request.moduleType == ModuleType::VIDEO && request.remoteDeviceInfo.deviceType != DeviceType::DEVICE_HICAR) { in StartListen() 121 CLOGE("Open Session Failed, sessionId = %{public}d, moduleType = %{public}d", in Accept() 122 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType); in Accept() 128 CLOGE("Open Session Failed, sessionId = %{public}d, moduleType = %{public}d", in Accept() 129 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType); in Accept() 133 if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept() 138 CLOGD("Open Session Succ, sessionId = %{public}d, moduleType = %{public}d, client = %{public}d", in Accept() 139 tcpAudioConn_->channelRequest_.remoteDeviceInfo.sessionId, tcpAudioConn_->channelRequest_.moduleType, in Accept() 145 CLOGD("Open Session Succ, sessionId = %{public}d, moduleType = %{public}d, client = %{public}d", in Accept() 146 channelRequest_.remoteDeviceInfo.sessionId, channelRequest_.moduleType, sockf in Accept() [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/softbus/ |
H A D | softbus_connection.cpp | 391 std::string sessionName = CreateSessionName(request.moduleType, request.remoteDeviceInfo.sessionId); in StashConnectionInfo() 397 int sessionType = GetSessionType(request.moduleType); in StashConnectionInfo() 403 int SoftBusConnection::GetSessionType(ModuleType moduleType) const in GetSessionType() 405 CLOGD("In, moduleType = %{public}d.", moduleType); in GetSessionType() 406 switch (moduleType) { in GetSessionType() 412 CLOGD("GetSessionType TYPE_BYTES, ModuleType = %{public}d.", moduleType); in GetSessionType() 416 CLOGD("GetSessionType TYPE_STREAM, ModuleType = %{public}d.", moduleType); in GetSessionType() 419 CLOGD("GetSessionType TYPE_FILE, ModuleType = %{public}d.", moduleType); in GetSessionType() 422 CLOGD("GetSessionType TYPE_BYTES, ModuleType = %{public}d.", moduleType); in GetSessionType() 430 CreateSessionName(ModuleType moduleType, int sessionId) CreateSessionName() argument [all...] |
H A D | softbus_connection.h | 76 int GetSessionType(ModuleType moduleType) const; 77 std::string CreateSessionName(ModuleType moduleType, int sessionId);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/ |
H A D | softbus_connection.cpp | 388 std::string sessionName = CreateSessionName(request.moduleType, request.remoteDeviceInfo.sessionId); in StashConnectionInfo() 394 int sessionType = GetSessionType(request.moduleType); in StashConnectionInfo() 400 int SoftBusConnection::GetSessionType(ModuleType moduleType) const in GetSessionType() 402 CLOGD("In, moduleType = %{public}d.", moduleType); in GetSessionType() 403 switch (moduleType) { in GetSessionType() 409 CLOGD("GetSessionType TYPE_BYTES, ModuleType = %{public}d.", moduleType); in GetSessionType() 413 CLOGD("GetSessionType TYPE_STREAM, ModuleType = %{public}d.", moduleType); in GetSessionType() 416 CLOGD("GetSessionType TYPE_FILE, ModuleType = %{public}d.", moduleType); in GetSessionType() 419 CLOGD("GetSessionType TYPE_BYTES, ModuleType = %{public}d.", moduleType); in GetSessionType() 427 CreateSessionName(ModuleType moduleType, int sessionId) CreateSessionName() argument [all...] |
H A D | softbus_connection.h | 76 int GetSessionType(ModuleType moduleType) const; 77 std::string CreateSessionName(ModuleType moduleType, int sessionId);
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/runner_runtime/ |
H A D | delegator_mgmt.js | 16 function isSystemplugin(shortName, moduleType) { 17 const plugin = moduleType === 'ohos' ? globalThis.ohosplugin : globalThis.systemplugin;
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | paMgmt.js | 16 function isSystemplugin(shortName, moduleType) { 17 const plugin = moduleType === 'ohos' ? globalThis.ohosplugin : globalThis.systemplugin;
|
/foundation/multimodalinput/input/intention/ipc/socket/include/ |
H A D | socket_params.h | 33 AllocSocketPairParam(const std::string &programName, int32_t moduleType); 38 int32_t moduleType { -1 };
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | bundle_pack_info.h | 63 std::string moduleType; member 96 std::string moduleType; member
|
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/ |
H A D | channel_manager.cpp | 166 bool ChannelManager::DestroyChannel(ModuleType moduleType) in DestroyChannel() argument 173 if (it->first.moduleType == moduleType) { in DestroyChannel()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/ |
H A D | channel_manager.cpp | 166 bool ChannelManager::DestroyChannel(ModuleType moduleType) in DestroyChannel() argument 173 if (it->first.moduleType == moduleType) { in DestroyChannel()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_navigation_test/ |
H A D | bms_bundle_navigation_test.cpp | 978 hapModuleInfoEntry.moduleType = ModuleType::ENTRY; in HWTEST_F() 984 hapModuleInfoFeature.moduleType = ModuleType::FEATURE; in HWTEST_F() 1003 hapModuleInfoEntry.moduleType = ModuleType::ENTRY; in HWTEST_F() 1009 hapModuleInfoLibrary.moduleType = ModuleType::SHARED; in HWTEST_F() 1028 hapModuleInfoFeature.moduleType = ModuleType::FEATURE; in HWTEST_F() 1034 hapModuleInfoLibrary.moduleType = ModuleType::SHARED; in HWTEST_F() 1053 hapModuleInfoEntry.moduleType = ModuleType::ENTRY; in HWTEST_F() 1076 hapModuleInfoEntry.moduleType = ModuleType::ENTRY; in HWTEST_F() 1082 hapModuleInfoFeature.moduleType = ModuleType::FEATURE; in HWTEST_F() 1103 hapModuleInfoEntry.moduleType in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/ |
H A D | module_info.h | 82 char *moduleType; member
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | i_uds_server.h | 26 virtual int32_t AddSocketPairInfo(const std::string& programName, const int32_t moduleType, const int32_t uid,
|
/foundation/ability/ability_runtime/test/unittest/child_process_manager_test/ |
H A D | mock_bundle_manager.cpp | 33 moduleInfo.moduleType = AppExecFwk::ModuleType::ENTRY; in GetBundleInfoForSelf()
|
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/ |
H A D | module_info_utils.h | 31 static bool SetModuleInfoModuleType(ModuleInfo *moduleInfo, const char *moduleType);
|