Home
last modified time | relevance | path

Searched refs:subInfo (Results 1 – 8 of 8) sorted by relevance

/foundation/communication/dsoftbus/sdk/discovery/ipc/standard/src/
Ddisc_server_proxy_standard.cpp43 int32_t DiscServerProxy::StartDiscovery(const char *pkgName, const SubscribeInfo *subInfo) in StartDiscovery() argument
57 data.WriteInt32(subInfo->subscribeId); in StartDiscovery()
58 data.WriteInt32(subInfo->mode); in StartDiscovery()
59 data.WriteInt32(subInfo->medium); in StartDiscovery()
60 data.WriteInt32(subInfo->freq); in StartDiscovery()
61 data.WriteBool(subInfo->isSameAccount); in StartDiscovery()
62 data.WriteBool(subInfo->isWakeRemote); in StartDiscovery()
63 data.WriteCString(subInfo->capability); in StartDiscovery()
64 data.WriteUint32(subInfo->dataLen); in StartDiscovery()
65 if (subInfo->dataLen != 0) { in StartDiscovery()
[all …]
/foundation/communication/dsoftbus/core/frame/standard/init/src/
Dsoftbus_server_stub.cpp166 SubscribeInfo subInfo; in StartDiscoveryInner() local
172 subInfo.subscribeId = data.ReadInt32(); in StartDiscoveryInner()
173 subInfo.mode = (DiscoverMode)data.ReadInt32(); in StartDiscoveryInner()
174 subInfo.medium = (ExchanageMedium)data.ReadInt32(); in StartDiscoveryInner()
175 subInfo.freq = (ExchangeFreq)data.ReadInt32(); in StartDiscoveryInner()
176 subInfo.isSameAccount = data.ReadBool(); in StartDiscoveryInner()
177 subInfo.isWakeRemote = data.ReadBool(); in StartDiscoveryInner()
178 subInfo.capability = data.ReadCString(); in StartDiscoveryInner()
179 if (subInfo.capability == nullptr) { in StartDiscoveryInner()
183 subInfo.dataLen = data.ReadUint32(); in StartDiscoveryInner()
[all …]
/foundation/distributedhardware/devicemanager/ext/mini/interfaces_mini/kits/js/src/
Dnative_devicemanager_js.cpp833 DmSubscribeInfo subInfo; in StartDeviceDiscoverSync() local
834 int32_t res = JsToDmSubscribeInfo(args[0], subInfo); in StartDeviceDiscoverSync()
841 subInfo.subscribeId, in StartDeviceDiscoverSync()
842 subInfo.mode, in StartDeviceDiscoverSync()
843 subInfo.medium, in StartDeviceDiscoverSync()
844 subInfo.freq, in StartDeviceDiscoverSync()
845 subInfo.isSameAccount, in StartDeviceDiscoverSync()
846 subInfo.isWakeRemote, in StartDeviceDiscoverSync()
847 subInfo.capability); in StartDeviceDiscoverSync()
850 subInfo, discoverCallback); in StartDeviceDiscoverSync()
/foundation/distributedhardware/devicemanager/interfaces/kits/js_mini/src/
Dnative_devicemanager_js.cpp905 DmSubscribeInfo subInfo; in StartDeviceDiscoverSync() local
906 int32_t res = JsToDmSubscribeInfo(args[0], subInfo); in StartDeviceDiscoverSync()
913 subInfo.subscribeId, in StartDeviceDiscoverSync()
914 subInfo.mode, in StartDeviceDiscoverSync()
915 subInfo.medium, subInfo.freq, subInfo.isSameAccount, in StartDeviceDiscoverSync()
916 subInfo.isWakeRemote, subInfo.capability); in StartDeviceDiscoverSync()
919 subInfo, extra, discoverCallback); in StartDeviceDiscoverSync()
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
Dtrans_server_proxy_standard.cpp42 int32_t TransServerProxy::StartDiscovery(const char *pkgName, const SubscribeInfo *subInfo) in StartDiscovery() argument
45 (void)subInfo; in StartDiscovery()
/foundation/communication/wifi/services/wifi_standard/wifi_framework/dhcp_manage/mgr_service/src/
Ddhcp_client_service_impl.cpp203 EventFwk::CommonEventSubscribeInfo subInfo(matchingSkills); in SubscribeDhcpEvent() local
204 auto dhcpSubscriber = std::make_shared<OHOS::Wifi::DhcpEventSubscriber>(subInfo); in SubscribeDhcpEvent()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
Dbus_center_server_proxy_standard.cpp49 int32_t BusCenterServerProxy::StartDiscovery(const char *pkgName, const SubscribeInfo *subInfo) in StartDiscovery() argument
/foundation/distributedhardware/devicemanager/interfaces/kits/js/src/
Dnative_devicemanager_js.cpp1639 DmSubscribeInfo subInfo; in StartDeviceDiscoverSync() local
1640 int32_t res = JsToDmSubscribeInfo(env, argv[0], subInfo); in StartDeviceDiscoverSync()
1644 …eviceManager::GetInstance().StartDeviceDiscovery(deviceManagerWrapper->bundleName_, subInfo, extra, in StartDeviceDiscoverSync()
1648 DiscoveryCallback->OnDiscoveryFailed(subInfo.subscribeId, ret); in StartDeviceDiscoverSync()