Home
last modified time | relevance | path

Searched refs:chanList (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_inst.c112 nodeChan = ListGetFirstNode(conn->chanList); in L2capGetConnection3()
132 node = ListGetFirstNode(conn->chanList); in L2capGetChannel()
235 if ((conn->state == L2CAP_CONNECTION_CONNECTED) && (ListGetFirstNode(conn->chanList) == NULL)) { in L2capNewChannel()
254 ListAddLast(conn->chanList, chan); in L2capNewChannel()
337 if (ListGetFirstNode(conn->chanList) != NULL) { in L2capDisconnectTimeout()
362 ListRemoveNode(conn->chanList, chan); in L2capDeleteChannel()
366 if (ListGetFirstNode(conn->chanList) == NULL) { in L2capDeleteChannel()
371 if (ListGetFirstNode(conn->chanList) == NULL) { in L2capDeleteChannel()
401 conn->chanList = ListCreate(NULL); in L2capNewConnection()
414 if (conn->chanList ! in L2capDeleteConnection()
[all...]
H A Dl2cap_le.c64 List *chanList; // Pack struct L2capLeChannel member
161 node = ListGetFirstNode(conn->chanList); in L2capLeGetChannel()
209 node = ListGetFirstNode(conn->chanList); in L2capLeGetChannel4()
269 ListAddLast(conn->chanList, chan); in L2capLeNewChannel()
304 ListRemoveNode(conn->chanList, chan); in L2capLeDeleteChannel()
308 if (ListGetFirstNode(conn->chanList) == NULL) { in L2capLeDeleteChannel()
332 conn->chanList = ListCreate(NULL); in L2capLeNewConnection()
343 if (conn->chanList != NULL) { in L2capLeDeleteConnection()
347 node = ListGetFirstNode(conn->chanList); in L2capLeDeleteConnection()
353 ListRemoveNode(conn->chanList, cha in L2capLeDeleteConnection()
[all...]
H A Dl2cap_core.c1859 node = ListGetFirstNode(conn->chanList); in L2capProcessInformationRsp()
2178 static void L2capAclConnectFailed(List *chanList, uint8_t status) in L2capAclConnectFailed() argument
2183 if (chanList == NULL) { in L2capAclConnectFailed()
2188 node = ListGetFirstNode(chanList); in L2capAclConnectFailed()
2196 ListRemoveNode(chanList, chan); in L2capAclConnectFailed()
2200 ListDelete(chanList); in L2capAclConnectFailed()
2213 List *chanList = NULL; in L2capConnectComplete() local
2217 chanList = conn->chanList; in L2capConnectComplete()
2218 conn->chanList in L2capConnectComplete()
2247 List *chanList = conn->chanList; L2capAclDisconnected() local
[all...]
H A Dl2cap_inst.h157 List *chanList; // Pack struct L2capChannel member
H A Dl2cap.c527 nodeChan = ListGetFirstNode(conn->chanList); in L2CAP_DeregisterService()
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dwifi_mock.cpp71 WifiErrorCode Hid2dGetChannelListFor5G(int32_t *chanList, int32_t len) in Hid2dGetChannelListFor5G() argument
73 return GetWifiInterface()->Hid2dGetChannelListFor5G(chanList, len); in Hid2dGetChannelListFor5G()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hid2d.cpp140 NO_SANITIZE("cfi") WifiErrorCode Hid2dGetChannelListFor5G(int *chanList, int len) in Hid2dGetChannelListFor5G() argument
143 CHECK_PTR_RETURN(chanList, ERROR_WIFI_INVALID_ARGS); in Hid2dGetChannelListFor5G()
150 *chanList = vecChannelList[idx]; in Hid2dGetChannelListFor5G()
151 ++chanList; in Hid2dGetChannelListFor5G()
154 WIFI_LOGW("Get channel list for 5G, `chanList` is too small!"); in Hid2dGetChannelListFor5G()
156 *chanList = 0; in Hid2dGetChannelListFor5G()
/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_c_hid2d_test.cpp106 int *chanList = nullptr; in HWTEST_F() local
108 Hid2dGetChannelListFor5G(chanList, len); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dwifi_mock.h39 virtual WifiErrorCode Hid2dGetChannelListFor5G(int32_t *chanList, int32_t len) = 0;
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_hid2d.h239 * @param chanList - An array of pre-allocated memory for storing channel list results,
240 * Use the '0' to indicates the end of valid data in the "chanList" array.
242 * @param len - the length of the pre-alloc "chanList"
245 WifiErrorCode Hid2dGetChannelListFor5G(int *chanList, int len);
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp37 WifiErrorCode Hid2dGetChannelListFor5G(int32_t *chanList, int32_t len) in Hid2dGetChannelListFor5G() argument
39 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->Hid2dGetChannelListFor5G(chanList, len); in Hid2dGetChannelListFor5G()
H A Dwifi_direct_mock.h44 virtual WifiErrorCode Hid2dGetChannelListFor5G(int32_t *chanList, int32_t len) = 0;
134 MOCK_METHOD(WifiErrorCode, Hid2dGetChannelListFor5G, (int32_t *chanList, int32_t len), (override));
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/adapter/
H A Dp2p_adapter_test.cpp133 [&array, size](int32_t *chanList, int32_t len) { in HWTEST_F()
135 chanList[0] = array[0]; in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp133 EXPECT_CALL(mock, Hid2dGetChannelListFor5G(_, _)).WillRepeatedly([this](int32_t *chanList, int32_t len) { in InjectData()
136 chanList[i] = value.second[i]; in InjectData()
439 EXPECT_CALL(mock, Hid2dGetChannelListFor5G(_, _)).WillRepeatedly([channels](int32_t *chanList, int32_t len) { in HWTEST_F()
441 chanList[i] = channels[i]; in HWTEST_F()
476 EXPECT_CALL(mock, Hid2dGetChannelListFor5G(_, _)).WillRepeatedly([](int32_t *chanList, int32_t len) { in HWTEST_F()

Completed in 20 milliseconds