Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link_conflict.c197 if (outputInfo->devIdCnt > 0) { in GenerateConflictInfo()
200 outputInfo->devIdCnt = 0; in GenerateConflictInfo()
202 if (inputInfo->devIdCnt > 0) { in GenerateConflictInfo()
204 (char (*)[NETWORK_ID_BUF_LEN])SoftBusCalloc(inputInfo->devIdCnt * NETWORK_ID_BUF_LEN); in GenerateConflictInfo()
210 if (memcpy_s(devIdList, inputInfo->devIdCnt * NETWORK_ID_BUF_LEN, in GenerateConflictInfo()
211 inputInfo->devIdList, inputInfo->devIdCnt * NETWORK_ID_BUF_LEN) != EOK) { in GenerateConflictInfo()
217 outputInfo->devIdCnt = inputInfo->devIdCnt; in GenerateConflictInfo()
306 if (item->devIdCnt > 0) { in DelLinkConflictInfo()
522 if (item->devIdCnt > 0) { in DeinitLaneLinkConflict()
H A Dlnn_lane_link_wifi_direct.c488 if (inputItem->devIdCnt > 0) { in FreeLinkConflictDevInfo()
496 inputItem->devIdCnt = 0; in FreeLinkConflictDevInfo()
596 if (conflictItem.devIdCnt > 0) { in HandleForceDownWifiDirect()
636 if (conflictItem.devIdCnt > 0) { in HandleForceDownWifiDirectTrans()
H A Dlnn_lane_link.c776 …opyAllDevIdWithoutLock(LaneLinkType type, uint8_t resourceNum, char **devIdList, uint8_t *devIdCnt) in CopyAllDevIdWithoutLock() argument
811 *devIdCnt = tmpCnt; in CopyAllDevIdWithoutLock()
815 int32_t GetAllDevIdWithLinkType(LaneLinkType type, char **devIdList, uint8_t *devIdCnt) in GetAllDevIdWithLinkType() argument
817 if (devIdList == NULL || devIdCnt == NULL || type == LANE_LINK_TYPE_BUTT) { in GetAllDevIdWithLinkType()
838 int32_t ret = CopyAllDevIdWithoutLock(type, resourceNum, devIdList, devIdCnt); in GetAllDevIdWithLinkType()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/
H A Dlnn_lane_link_wifi_direct_test.cpp222 conflictItem.devIdCnt = 1;
269 conflictItem.devIdCnt = 1;
318 conflictItem.devIdCnt = 1;
367 conflictItem.devIdCnt = 1;
420 conflictItem.devIdCnt = 1;
518 conflictItem.devIdCnt = 1;
549 conflictItem.devIdCnt = 1;
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_link_conflict.h57 uint8_t devIdCnt; member
H A Dlnn_lane_link.h144 int32_t GetAllDevIdWithLinkType(LaneLinkType type, char **devIdList, uint8_t *devIdCnt);