Home
last modified time | relevance | path

Searched refs:negoChannel (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dforce_disconnect_command.cpp39 if (info.negoChannel.type == NEGO_CHANNEL_AUTH) { in ForceDisconnectCommand()
41 … info_.channel_ = std::make_shared<AuthNegotiateChannel>(info.negoChannel.handle.authHandle); in ForceDisconnectCommand()
42 } else if (info.negoChannel.type == NEGO_CHANNEL_COC) { in ForceDisconnectCommand()
44 … info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info.negoChannel.handle.channelId); in ForceDisconnectCommand()
H A Ddisconnect_command.cpp35 if (info.negoChannel.type == NEGO_CHANNEL_AUTH) { in DisconnectCommand()
37 … info_.channel_ = std::make_shared<AuthNegotiateChannel>(info.negoChannel.handle.authHandle); in DisconnectCommand()
38 } else if (info.negoChannel.type == NEGO_CHANNEL_COC) { in DisconnectCommand()
40 … info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info.negoChannel.handle.channelId); in DisconnectCommand()
H A Dconnect_command.cpp128 if (info_.info_.negoChannel.type == NEGO_CHANNEL_AUTH) { in PreferNegotiateChannel()
130 …info_.channel_ = std::make_shared<AuthNegotiateChannel>(info_.info_.negoChannel.handle.authHandle); in PreferNegotiateChannel()
131 } else if (info_.info_.negoChannel.type == NEGO_CHANNEL_COC) { in PreferNegotiateChannel()
133 …info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info_.info_.negoChannel.handle.channel… in PreferNegotiateChannel()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_types.h165 struct WifiDirectNegotiateChannel negoChannel; member
181 struct WifiDirectNegotiateChannel negoChannel; member
189 struct WifiDirectNegotiateChannel negoChannel; member
H A Dwifi_direct_manager.cpp49 auto type = info.negoChannel.handle.authHandle.type; in SetBootLinkTypeByAuthHandle()
85 WifiDirectNegoChannelType type = info->negoChannel.type; in SetElementTypeExtra()
H A Dwifi_direct_scheduler.cpp34 DumpNegotiateChannel(info.negoChannel); in ConnectDevice()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link_p2p.c554 info.negoChannel.type = NEGO_CHANNEL_AUTH; in OnConnOpenedForDisconnect()
555 info.negoChannel.handle.authHandle = authHandle; in OnConnOpenedForDisconnect()
1489 info.negoChannel.type = NEGO_CHANNEL_AUTH; in OnAuthConnOpened()
1490 info.negoChannel.handle.authHandle = authHandle; in OnAuthConnOpened()
1640 info.negoChannel.type = NEGO_CHANNEL_COC; in OnProxyChannelOpened()
1641 info.negoChannel.handle.channelId = channelId; in OnProxyChannelOpened()
1773 wifiDirectInfo.negoChannel.type = NEGO_CHANNEL_AUTH; in OnAuthTriggerConnOpened()
2596 info->negoChannel.type = NEGO_CHANNEL_AUTH; in GenerateWifiDirectNegoChannel()
2602 info->negoChannel.type = NEGO_CHANNEL_COC; in GenerateWifiDirectNegoChannel()
2608 info->negoChannel.type = NEGO_CHANNEL_AUTH; in GenerateWifiDirectNegoChannel()
[all …]
H A Dlnn_lane_link_wifi_direct.c329 info.negoChannel.type = NEGO_CHANNEL_AUTH; in OnConnOpenedForForceDisconnect()
330 info.negoChannel.handle.authHandle = authHandle; in OnConnOpenedForForceDisconnect()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_manager_test.cpp69 info.negoChannel.type = NEGO_CHANNEL_AUTH;
75 info.negoChannel.type = NEGO_CHANNEL_COC;
81 info.negoChannel.type = NEGO_CHANNEL_NULL;
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp288 info.negoChannel.type = NEGO_CHANNEL_COC; in PrepareConnectParameter()
289 …info.negoChannel.handle.channelId = context_.Get(TestContextKey::CONNECT_NEGO_CHANNEL_ID, int32_t(… in PrepareConnectParameter()
312 info.negoChannel.type = NEGO_CHANNEL_COC; in PrepareDisconnectParameter()
313 …info.negoChannel.handle.channelId = context_.Get(TestContextKey::CONNECT_NEGO_CHANNEL_ID, int32_t(… in PrepareDisconnectParameter()
320 forceInfo.negoChannel.type = info.negoChannel.type; in PrepareDisconnectParameter()
321 forceInfo.negoChannel.handle.channelId = info.negoChannel.handle.channelId; in PrepareDisconnectParameter()