Home
last modified time | relevance | path

Searched refs:osType (Results 1 - 25 of 93) sorted by relevance

1234

/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_device_node_listener.cpp35 int32_t osType = Constants::OH_OS_TYPE; in OnDeviceOnline() local
37 if (!GetOsInfoFromDM(deviceInfo.extraData, osType, osVersion)) { in OnDeviceOnline()
42 deviceInfo.networkId, ONLINE, osType, osVersion); in OnDeviceOnline()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/accessmanager/
H A Daccess_manager.cpp144 int32_t osType = GetDeviceSystemType(deviceInfo.extraData); in OnDeviceOnline() local
146 deviceInfo.deviceTypeId, osType); in OnDeviceOnline()
148 "osType = %{public}d", ret, GetAnonyString(networkId).c_str(), GetAnonyString(uuid).c_str(), in OnDeviceOnline()
149 GetAnonyString(udid).c_str(), osType); in OnDeviceOnline()
217 int32_t osType = GetDeviceSystemType(deviceInfo.extraData); in CheckTrustedDeviceOnline() local
219 "osType = %{public}d", GetAnonyString(networkId).c_str(), GetAnonyString(uuid).c_str(), in CheckTrustedDeviceOnline()
220 GetAnonyString(udid).c_str(), osType); in CheckTrustedDeviceOnline()
222 deviceInfo.deviceTypeId, osType); in CheckTrustedDeviceOnline()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info.c169 int32_t osType = 0; in IsNeedSyncP2pInfo() local
174 if (LnnGetOsTypeByNetworkId(info->networkId, &osType) != SOFTBUS_OK) { in IsNeedSyncP2pInfo()
175 LNN_LOGE(LNN_BUILDER, "get remote osType fail"); in IsNeedSyncP2pInfo()
177 if (osType != OH_OS_TYPE) { in IsNeedSyncP2pInfo()
178 LNN_LOGE(LNN_BUILDER, "remote osType is %{public}d, need sync p2pinfo", osType); in IsNeedSyncP2pInfo()
260 int32_t osType = 0; in ProcessSyncWifiDirectAddr() local
261 if (LnnGetOsTypeByNetworkId(info[i].networkId, &osType) != SOFTBUS_OK) { in ProcessSyncWifiDirectAddr()
262 LNN_LOGE(LNN_BUILDER, "get remote osType fail"); in ProcessSyncWifiDirectAddr()
264 if (osType ! in ProcessSyncWifiDirectAddr()
[all...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_listener.c82 info->osType = appInfo->osType; in GetProxyChannelInfo()
103 if (LnnGetOsTypeByNetworkId(buf, &(info.osType)) != SOFTBUS_OK) { in NotifyNormalChannelOpened()
104 TRANS_LOGE(TRANS_CTRL, "get remote osType fail, channelId=%{public}d", channelId); in NotifyNormalChannelOpened()
166 extra.osType = (appInfo->osType < 0) ? UNKNOW_OS_TYPE : appInfo->osType; in OnProxyChannelOpened()
282 .osType = (appInfo->osType < 0) ? UNKNOW_OS_TYPE : appInfo->osType, in TransProxyReportOpenChannelFailEvent()
364 int32_t osType = 0; TransProxyGetAppInfo() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/
H A Ddistributed_hardware_manager_factory.cpp144 int32_t osType = GetDeviceSystemType(deviceInfo.extraData); in CheckExitSAOrNot() local
145 std::thread([this, networkId, uuid, udid, deviceType, osType]() { in CheckExitSAOrNot()
146 this->SendOnLineEvent(networkId, uuid, udid, deviceType, osType); in CheckExitSAOrNot()
157 const std::string &udid, uint16_t deviceType, int32_t osType) in SendOnLineEvent()
190 if (osType == DOUBLE_FRAME_DEVICE_TYPE) { in SendOnLineEvent()
156 SendOnLineEvent(const std::string &networkId, const std::string &uuid, const std::string &udid, uint16_t deviceType, int32_t osType) SendOnLineEvent() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/
H A Ddms_device_info.h41 int32_t deviceState = ONLINE, int32_t osType = Constants::OH_OS_TYPE, std::string osVersion = "") in DmsDeviceInfo()
43 osType_(osType), osVersion_(osVersion) {} in DmsDeviceInfo()
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/
H A Dlnn_event_form.h109 int32_t osType; // OS_TYPE member
137 int32_t osType; // OS_TYPE member
150 int32_t osType; member
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/
H A Dtrans_channel_common.h70 bool IsPeerDeviceLegacyOs(int32_t osType);
72 void GetOsTypeByNetworkId(const char *networkId, int32_t *osType);
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/
H A Dtrans_lane_common_test_mock.cpp44 int32_t LnnGetOsTypeByNetworkId(const char *networkId, int32_t *osType) in LnnGetOsTypeByNetworkId() argument
46 return GetTransLaneCommonTestInterface()->LnnGetOsTypeByNetworkId(networkId, osType); in LnnGetOsTypeByNetworkId()
H A Dtrans_lane_common_test_mock.h35 virtual int32_t LnnGetOsTypeByNetworkId(const char *networkId, int32_t *osType) = 0;
53 MOCK_METHOD2(LnnGetOsTypeByNetworkId, int32_t (const char *networkId, int32_t *osType));
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
H A Dclient_trans_proxy_manager.h32 int32_t osType; member
70 int32_t ClientTransProxyGetOsTypeByChannelId(int32_t channelId, int32_t *osType);
H A Dclient_trans_proxy_file_manager.h128 int32_t osType; member
157 int32_t osType; member
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_channel_callback.c70 int32_t osType = 0; in TransServerOnChannelOpened() local
71 GetOsTypeByNetworkId(channel->peerDeviceId, &osType); in TransServerOnChannelOpened()
88 .osType = (osType < 0) ? UNKNOW_OS_TYPE : osType, in TransServerOnChannelOpened()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_file_manager.c259 if (info->crc == APP_INFO_FILE_FEATURES_SUPPORT && info->osType == OH_TYPE) { in PackFileTransStartInfo()
296 if (info->crc == APP_INFO_FILE_FEATURES_SUPPORT && info->osType == OH_TYPE) { in UnpackFileTransStartInfo()
493 if (sendInfo->osType == OH_TYPE) { in SendOneFrame()
503 if (sendInfo->osType == OH_TYPE) { in SendOneFrame()
650 if (sendInfo->osType == OH_TYPE) { in FileToFrame()
864 static int32_t GetSendListenerInfoByChannelId(int32_t channelId, SendListenerInfo *info, int32_t osType) in GetSendListenerInfoByChannelId() argument
899 info->osType = osType; in GetSendListenerInfoByChannelId()
904 static int32_t CreateSendListenerInfo(SendListenerInfo **sendListenerInfo, int32_t channelId, int32_t osType) in CreateSendListenerInfo() argument
912 ret = GetSendListenerInfoByChannelId(channelId, sendInfo, osType); in CreateSendListenerInfo()
946 int32_t osType; HandleFileSendingProcess() local
1177 CreateNewRecipient(int32_t sessionId, int32_t channelId, int32_t osType) CreateNewRecipient() argument
1263 GetRecipientInCreateFileRef(int32_t sessionId, int32_t channelId, int32_t osType) GetRecipientInCreateFileRef() argument
1349 CreateFileFromFrame( int32_t sessionId, int32_t channelId, const FileFrame *fileFrame, int32_t osType, uint32_t packetSize) CreateFileFromFrame() argument
1512 ProcessOneFrame( const FileFrame *fileFrame, uint32_t dataLen, int32_t crc, SingleFileInfo *fileInfo, int32_t osType) ProcessOneFrame() argument
1877 CheckFrameLength(int32_t channelId, uint32_t frameLength, int32_t osType, uint32_t *packetSize) CheckFrameLength() argument
1902 int32_t osType; ProcessRecvFileFrameData() local
[all...]
/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_message_service.c84 int32_t osType = OH_OS_TYPE; in SendBytes() local
88 ret = ClientGetChannelOsTypeBySessionId(sessionId, &osType); in SendBytes()
92 if ((osType == OH_OS_TYPE) && (businessType != BUSINESS_TYPE_BYTE) && (businessType != BUSINESS_TYPE_NOT_CARE) && in SendBytes()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dnetwork_agent_template.cpp87 int32_t osType = entraDataJson[PARAM_KEY_OS_TYPE].get<int32_t>(); in ConnectOnlineDevices() local
88 if (osType != DEVICE_OS_TYPE_OH) { in ConnectOnlineDevices()
90 Utils::GetAnonyString(info.GetCid()).c_str(), osType); in ConnectOnlineDevices()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_file_manager_test.cpp290 channel->osType = OH_TYPE; in HWTEST_F()
453 int32_t osType = TEST_OS_TYPE; in HWTEST_F() local
478 FileRecipientInfo *result = CreateNewRecipient(sessionId, channelId, osType); in HWTEST_F()
742 .osType = OH_TYPE, in HWTEST_F()
754 info.osType = OH_TYPE; in HWTEST_F()
997 info.osType = OH_TYPE; in HWTEST_F()
1234 int32_t osType = TEST_OS_TYPE; in HWTEST_F() local
1238 result = GetRecipientInCreateFileRef(sessionId, channelId, osType); in HWTEST_F()
1242 result = GetRecipientInCreateFileRef(sessionId, channelId, osType); in HWTEST_F()
1350 int32_t osType in HWTEST_F() local
1838 int32_t osType = TEST_OS_TYPE; HWTEST_F() local
1903 int32_t osType = TEST_OS_TYPE; HWTEST_F() local
[all...]
H A Dclient_trans_proxy_file_manager_mock_test.cpp111 .osType = OH_TYPE, in HWTEST_F()
157 info.osType = OH_TYPE; in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_channel_common.c186 void GetOsTypeByNetworkId(const char *networkId, int32_t *osType) in GetOsTypeByNetworkId() argument
188 int32_t errCode = LnnGetOsTypeByNetworkId(networkId, osType); in GetOsTypeByNetworkId()
190 TRANS_LOGE(TRANS_CTRL, "get remote osType err, errCode=%{public}d", errCode); in GetOsTypeByNetworkId()
271 GetOsTypeByNetworkId(appInfo->peerNetWorkId, &appInfo->osType); in CopyAppInfoFromSessionParam()
462 appInfo->osType = nodeInfo->deviceInfo.osType; in TransBuildTransOpenChannelStartEvent()
463 extra->osType = appInfo->osType; in TransBuildTransOpenChannelStartEvent()
579 bool IsPeerDeviceLegacyOs(int32_t osType) in IsPeerDeviceLegacyOs() argument
581 // peer device legacyOs when osType i in IsPeerDeviceLegacyOs()
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_common_test.cpp284 int32_t osType = 1; in HWTEST_F() local
287 GetOsTypeByNetworkId(TEST_NEW_WORK_ID, &osType); in HWTEST_F()
288 EXPECT_EQ(osType, 1); in HWTEST_F()
291 GetOsTypeByNetworkId(TEST_NEW_WORK_ID, &osType); in HWTEST_F()
292 EXPECT_EQ(osType, 1); in HWTEST_F()
895 int32_t osType = HO_OS_TYPE; in HWTEST_F() local
896 bool ret = IsPeerDeviceLegacyOs(osType); in HWTEST_F()
921 int32_t osType = OH_OS_TYPE; in HWTEST_F() local
922 bool ret = IsPeerDeviceLegacyOs(osType); in HWTEST_F()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_device_info.h48 int32_t osType; member
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/
H A Dlnn_event_test.cpp77 .osType = 15, in HWTEST_F()
131 .osType = -15, in HWTEST_F()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_utils.cpp583 int32_t osType = OH_OS_TYPE; in CheckLinkAtDfsChannelConflict() local
584 if (LnnGetOsTypeByNetworkId(remoteNetworkId.c_str(), &osType) != SOFTBUS_OK || osType == OH_OS_TYPE) { in CheckLinkAtDfsChannelConflict()
589 LinkManager::GetInstance().ForEach([&dfsLinkIsExist, osType, type](InnerLink &link) { in CheckLinkAtDfsChannelConflict()
602 int32_t osType = OH_OS_TYPE; in GetOsType() local
603 auto ret = LnnGetOsTypeByNetworkId(networkId, &osType); in GetOsType()
605 CONN_LOGI(CONN_WIFI_DIRECT, "dfx remote os type %{public}d", osType); in GetOsType()
606 return osType; in GetOsType()
/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h45 bool GetOsInfoFromDM(const std::string &dmInfoEx, int32_t &osType, std::string &osVersion);
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/
H A Dlnn_data_cloud_sync.h52 int32_t osType; member

Completed in 17 milliseconds

1234