/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_exec.cpp | 66 SharingIfaceType ifaceType = static_cast<SharingIfaceType>(context->GetParam()); in ExecStartSharing() local 67 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->StartSharing(ifaceType); in ExecStartSharing() 83 SharingIfaceType ifaceType = static_cast<SharingIfaceType>(context->GetParam()); in ExecStopSharing() local 84 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->StopSharing(ifaceType); in ExecStopSharing() 125 SharingIfaceType ifaceType = static_cast<SharingIfaceType>(context->GetParam()); in ExecGetSharingState() local 128 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharingState(ifaceType, ifaceState); in ExecGetSharingState() 145 SharingIfaceType ifaceType = static_cast<SharingIfaceType>(context->GetParam()); in ExecGetSharableRegexes() local 147 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharableRegexs(ifaceType, ifaceRegexs); in ExecGetSharableRegexes()
|
H A D | netshare_module.cpp | 177 napi_value ifaceType = NapiUtils::CreateObject(env); in InitProperties() local 178 NapiUtils::DefineProperties(env, ifaceType, sharingIfaceType); in InitProperties() 179 NapiUtils::SetNamedProperty(env, exports, INTERFACE_SHARING_IFACE_TYPE, ifaceType); in InitProperties()
|
/foundation/communication/netmanager_ext/test/networksharemanager/fuzztest/netshareclient_fuzzer/ |
H A D | netshare_client_fuzzer.cpp | 536 SharingIfaceType ifaceType = SharingIfaceType(SharingIfaceType(num % ENUM_TYPE_VALUE3)); in NetworkShareTrackerFuzzTest() local 547 NetworkShareTracker::GetInstance().StartNetworkSharing(ifaceType); in NetworkShareTrackerFuzzTest() 548 NetworkShareTracker::GetInstance().StopNetworkSharing(ifaceType); in NetworkShareTrackerFuzzTest() 549 NetworkShareTracker::GetInstance().GetSharableRegexs(ifaceType, ifaceRegexs); in NetworkShareTrackerFuzzTest() 550 NetworkShareTracker::GetInstance().GetSharingState(ifaceType, ifaceState); in NetworkShareTrackerFuzzTest() 557 std::make_shared<NetworkShareSubStateMachine>(iface, ifaceType, nullptr); in NetworkShareTrackerFuzzTest() 585 SharingIfaceType ifaceType = SharingIfaceType(SharingIfaceType(num % ENUM_TYPE_VALUE3)); in NetworkShareTrackerPrivateFuzzTest() local 587 std::make_shared<NetworkShareSubStateMachine>(iface, ifaceType, nullptr); in NetworkShareTrackerPrivateFuzzTest() 592 tra.EnableNetSharingInternal(ifaceType, num > 0); in NetworkShareTrackerPrivateFuzzTest() 602 tra.SendIfaceSharingStateChange(ifaceType, ifac in NetworkShareTrackerPrivateFuzzTest() 636 SharingIfaceType ifaceType = SharingIfaceType(SharingIfaceType(num % ENUM_TYPE_VALUE3)); NetworkShareHisysEventFuzzTest() local [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device_local.c | 193 static inline bool NeedCreateSynchronously(uint8_t ifaceType) in NeedCreateSynchronously() argument 195 return ifaceType < IFACE_TYPE_P2P; in NeedCreateSynchronously() 382 uint8_t ifaceType = IFACE_TYPE_MAX; in AddLocalIfaceIpChanged() local 407 if (curIfaceType < ifaceType) { /* storge the highest priority interface name */ in AddLocalIfaceIpChanged() 413 ifaceType = curIfaceType; in AddLocalIfaceIpChanged() 606 uint8_t ifaceType = GetIfaceType(req[i].ifr_name); in DetectLocalIface() local 607 if (ifaceType > IFACE_TYPE_WLAN) { in DetectLocalIface() 707 static inline bool IfaceTypeIsMatch(uint8_t ifaceType, uint8_t serverType) in IfaceTypeIsMatch() argument 710 (serverType == SERVER_TYPE_WLANORETH && (ifaceType == IFACE_TYPE_ETH || ifaceType in IfaceTypeIsMatch() 737 uint8_t ifaceType = GetIfaceType(req.ifr_ifrn.ifrn_name); LocalIfaceGetCoapCtxByRemoteIp() local [all...] |
H A D | nstackx_smartgenius.c | 128 uint8_t ifaceType = GetIfaceType((char *)RTA_DATA(tb[IFA_LABEL])); in IfAddrMsgHandle() local 129 if (ifaceType >= IFACE_TYPE_UNKNOWN) { in IfAddrMsgHandle()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | hal_device_manage_test.cpp | 258 IfaceType ifaceType = IfaceType::STA;
in HWTEST_F() local 261 1, ifaceType, ifaceType, wifiChipInfo.ifaces[ifaceType], interfacesToBeRemovedFirst);
in HWTEST_F() 321 IfaceType ifaceType = IfaceType::STA;
in HWTEST_F() local 331 ifaceName, ifaceType, true, ifaceType);
in HWTEST_F() 333 ifaceType = IfaceType::AP;
in HWTEST_F() 337 ifaceName, ifaceType, true, ifaceType);
in HWTEST_F() 566 IfaceType ifaceType; HWTEST_F() local 622 IfaceType ifaceType = IfaceType::STA; HWTEST_F() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/hal_device_manage/ |
H A D | hal_device_manage.cpp | 922 bool HalDeviceManager::GetIfaceType(sptr<IChipIface> &iface, IfaceType &ifaceType)
in GetIfaceType() argument 925 int32_t ret = iface->GetIfaceType(ifaceType);
in GetIfaceType() 931 LOGI("GetIfaceType, ifaceType:%{public}d", static_cast<int>(ifaceType));
in GetIfaceType() 1137 IfaceType ifaceType = IFACE_TYPE_DEFAULT;
in SelectInterfacesToDelete() local 1138 GetIfaceType(info.iface, ifaceType);
in SelectInterfacesToDelete() 1139 auto iter = mInterfaceInfoCache.find(std::pair<std::string, IfaceType>(info.name, ifaceType));
in SelectInterfacesToDelete() 1259 int ifaceType = limit.types.at((k / span) % limit.types.size());
in ExpandIfaceCombos() local 1260 expandedIfaceCombos[k][ifaceType]++;
in ExpandIfaceCombos() 1496 IfaceType ifaceType in RemoveIface() local [all...] |
H A D | hal_device_manage.h | 420 bool GetIfaceType(sptr<IChipIface> &iface, IfaceType &ifaceType);
|
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | intf_type_check.cpp | 238 AutoPtr<ASTInterfaceType> ifaceType = dynamic_cast<ASTInterfaceType *>(paramType.Get());
in CheckIntfHdiAstParam() local 239 if (ifaceType->IsCallback() && paramAttr != ASTParamAttr::PARAM_IN) {
in CheckIntfHdiAstParam() 244 } else if (!ifaceType->IsCallback() && paramAttr != ASTParamAttr::PARAM_OUT) {
in CheckIntfHdiAstParam()
|
H A D | parser.cpp | 885 AutoPtr<ASTInterfaceType> ifaceType = dynamic_cast<ASTInterfaceType *>(paramType.Get());
in ParseParam() local 886 if (!ifaceType->IsCallback()) {
in ParseParam() 887 ifaceType->SetSerializable(true);
in ParseParam()
|