Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_listener.c37 LaneType laneType; member
83 if (laneBusinessInfo->laneType == item->laneType && in GetLaneBusinessInfoWithoutLock()
100 laneBusinessInfo.laneType = LANE_TYPE_TRANS; in UpdateLaneBusinessInfoItem()
116 int32_t AddLaneBusinessInfoItem(LaneType laneType, uint64_t laneId) in AddLaneBusinessInfoItem() argument
118 if (!LaneTypeCheck(laneType) || laneId == INVALID_LANE_ID) { in AddLaneBusinessInfoItem()
125 laneBusinessInfo.laneType = laneType; in AddLaneBusinessInfoItem()
135 laneType, laneId, item->ref); in AddLaneBusinessInfoItem()
155 laneType, laneId); in AddLaneBusinessInfoItem()
161 if (!LaneTypeCheck(laneType)) { in DelLaneBusinessInfoItem()
168 laneBusinessInfo.laneType = laneType; in DelLaneBusinessInfoItem()
[all …]
H A Dlnn_trans_lane.c765 static int32_t ParseLaneTypeByLaneReqId(uint32_t laneReqId, LaneType *laneType) in ParseLaneTypeByLaneReqId() argument
767 if (laneReqId == INVALID_LANE_REQ_ID || laneType == NULL) { in ParseLaneTypeByLaneReqId()
771 *laneType = (LaneType)(laneReqId >> LANE_REQ_ID_TYPE_SHIFT); in ParseLaneTypeByLaneReqId()
1006 LaneType laneType; in NotifyLaneAllocSuccess() local
1007 if (ParseLaneTypeByLaneReqId(laneReqId, &laneType) != SOFTBUS_OK || in NotifyLaneAllocSuccess()
1008 AddLaneBusinessInfoItem(laneType, laneId) != SOFTBUS_OK) { in NotifyLaneAllocSuccess()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_test.cpp400 LaneType laneType = LANE_TYPE_TRANS; variable
434 LaneType laneType = LANE_TYPE_TRANS; variable
471 LaneType laneType = LANE_TYPE_TRANS; variable
502 LaneType laneType = LANE_TYPE_TRANS; variable
533 LaneType laneType = LANE_TYPE_TRANS; variable
563 LaneType laneType = LANE_TYPE_TRANS; variable
593 LaneType laneType = LANE_TYPE_TRANS; variable
797 allocInfo.type = laneType;
1125 laneType = LANE_TYPE_TRANS;
2570 allocInfo.type = laneType;
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/
H A Dlnn_trans_lane_deps_mock.cpp119 int32_t AddLaneBusinessInfoItem(LaneType laneType, uint64_t laneId) in AddLaneBusinessInfoItem() argument
121 return GetTransLaneIf()->AddLaneBusinessInfoItem(laneType, laneId); in AddLaneBusinessInfoItem()
124 int32_t DelLaneBusinessInfoItem(LaneType laneType, uint64_t laneId) in DelLaneBusinessInfoItem() argument
126 return GetTransLaneIf()->DelLaneBusinessInfoItem(laneType, laneId); in DelLaneBusinessInfoItem()
H A Dlnn_trans_lane_deps_mock.h48 virtual int32_t AddLaneBusinessInfoItem(LaneType laneType, uint64_t laneId) = 0;
49 virtual int32_t DelLaneBusinessInfoItem(LaneType laneType, uint64_t laneId) = 0;
75 MOCK_METHOD2(AddLaneBusinessInfoItem, int32_t (LaneType laneType, uint64_t laneId));
76 MOCK_METHOD2(DelLaneBusinessInfoItem, int32_t (LaneType laneType, uint64_t laneId));
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_listener.h29 int32_t AddLaneBusinessInfoItem(LaneType laneType, uint64_t laneId);
30 int32_t DelLaneBusinessInfoItem(LaneType laneType, uint64_t laneId);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dlane_test.cpp215 LaneType laneType = LANE_TYPE_TRANS; variable
216 uint32_t laneReqId = laneManager->lnnGetLaneHandle(laneType);
218 EXPECT_EQ(laneType, laneReqId >> LANE_REQ_ID_TYPE_SHIFT);
230 LaneType laneType = LANE_TYPE_TRANS; variable
239 laneReqId = laneManager->lnnGetLaneHandle(laneType);
243 laneReqId = laneManager->lnnGetLaneHandle(laneType);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_lane.h34 int32_t GetAuthConn(const char *uuid, LaneLinkType laneType, AuthConnInfo *connInfo);
H A Dauth_manager.h78 int32_t GetAuthConn(const char *uuid, LaneLinkType laneType, AuthConnInfo *connInfo);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_lane.c47 int32_t GetAuthConn(const char *uuid, LaneLinkType laneType, AuthConnInfo *connInfo) in GetAuthConn() argument
54 switch (laneType) { in GetAuthConn()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/
H A Dlnn_lane_listener_test.cpp210 laneBusinessInfo.laneType = LANE_TYPE_TRANS;