Home
last modified time | relevance | path

Searched refs:sharingType (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_hisysevent.cpp37 eventInfo.sharingType = -1; in SendFaultEvent()
45 void NetworkShareHisysEvent::SendFaultEvent(const SharingIfaceType &sharingType, in SendFaultEvent() argument
51 eventInfo.sharingType = static_cast<int32_t>(sharingType); in SendFaultEvent()
62 …etworkShareHisysEvent::SendBehaviorEvent(int32_t sharingCount, const SharingIfaceType &sharingType) in SendBehaviorEvent() argument
66 eventInfo.sharingType = static_cast<int32_t>(sharingType); in SendBehaviorEvent()
H A Dnetworkshare_service.cpp107 std::string sharingType; in GetDumpMessage() local
108 GetSharingType(SharingIfaceType::SHARING_WIFI, "wifi;", sharingType); in GetDumpMessage()
109 GetSharingType(SharingIfaceType::SHARING_USB, "usb;", sharingType); in GetDumpMessage()
110 GetSharingType(SharingIfaceType::SHARING_BLUETOOTH, "bluetooth;", sharingType); in GetDumpMessage()
111 message.append("\tSharing Types: " + sharingType + "\n"); in GetDumpMessage()
126 std::string &sharingType) in GetSharingType() argument
131 sharingType += typeContent; in GetSharingType()
336 std::string sharingType; in DisAllowNetworkShareEventCallback() local
340 if (sharingType.find("wifi") != std::string::npos) { in DisAllowNetworkShareEventCallback()
343 if (sharingType.find("usb") != std::string::npos) { in DisAllowNetworkShareEventCallback()
[all …]
/ohos5.0/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/
H A Dnetworkshare_hisysevent_test.cpp63 SharingIfaceType sharingType = SharingIfaceType::SHARING_WIFI; variable
68 …NetworkShareHisysEvent::GetInstance().SendFaultEvent(sharingType, operatorType, errorCode, errorMs…
70 NetworkShareHisysEvent::GetInstance().SendBehaviorEvent(sharingCount, sharingType);
H A Dnetworkshare_service_test.cpp290 std::string sharingType; variable
292 instance_->GetSharingType(SharingIfaceType::SHARING_BLUETOOTH, typeContent, sharingType);
/ohos5.0/foundation/communication/netmanager_ext/utils/event_report/src/
H A Dnet_event_report.cpp40 … EVENT_KEY_SHARING_TYPE, eventInfo.sharingType, EVENT_KEY_OPERATION_TYPE, eventInfo.operatorType, in SendSetupFaultEvent()
47 … EVENT_KEY_SHARING_TYPE, eventInfo.sharingType, EVENT_KEY_OPERATION_TYPE, eventInfo.operatorType, in SendCancleFaultEvent()
54 … EVENT_KEY_SHARING_COUNT, eventInfo.sharingCount, EVENT_KEY_SHARING_TYPE, eventInfo.sharingType); in SendTimeBehaviorEvent()
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_hisysevent.h33 …void SendFaultEvent(const SharingIfaceType &sharingType, const NetworkShareEventOperator &operator…
36 void SendBehaviorEvent(int32_t sharingCount, const SharingIfaceType &sharingType);
H A Dnetworkshare_service.h122 …haringType(const SharingIfaceType &type, const std::string &typeContent, std::string &sharingType);
/ohos5.0/docs/zh-cn/readme/
H A D网络管理子系统.md80 this.sharingType = 0; // 0: WIFI 1: USB 2: BLUETOOTH
82 sharing.startSharing(this.sharingType,(err)=>{
86 sharing.stopSharing(this.sharingType,(err)=>{
/ohos5.0/foundation/communication/netmanager_ext/utils/event_report/include/
H A Dnet_event_report.h29 int32_t sharingType = 0; member
/ohos5.0/docs/en/readme/
H A Dnetwork-management.md80 this.sharingType = 0; // The value 0 indicates Wi-Fi, 1 indicates USB, and 2 indicates Bluetooth.
82 sharing.startSharing(this.sharingType,(err)=>{
86 sharing.stopSharing(this.sharingType,(err)=>{
/ohos5.0/foundation/communication/netmanager_ext/
H A DREADME_zh.md137 sharing.startSharing(this.sharingType,(err)=>{
149 sharing.stopSharing(this.sharingType,(err)=>{