Home
last modified time | relevance | path

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

/test/xts/dcts/communication/softbus_standard/common/
Dnet_trans_common.c43 static SessionAttribute* g_p2pattribute = NULL; variable
909 …sId = OpenSession(SESSION_NAME_DATA, SESSION_NAME_DATA, g_networkId, DEF_GROUP_ID, g_p2pattribute); in OpenSession4DataByP2p()
1146 return g_p2pattribute; in GetSessionAttr4DataP2p()
1283 if (g_p2pattribute == NULL) { in TestSetUp()
1284 g_p2pattribute = (SessionAttribute*)calloc(1, sizeof(SessionAttribute)); in TestSetUp()
1285 g_p2pattribute->dataType = TYPE_BYTES; in TestSetUp()
1286 g_p2pattribute->linkTypeNum = 1; in TestSetUp()
1287 g_p2pattribute->linkType[0] = LINK_TYPE_WIFI_P2P; in TestSetUp()
1360 if (g_p2pattribute != NULL) { in TestTearDown()
1361 free(g_p2pattribute); in TestTearDown()
[all …]