Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_manager.c493 ConnBrConnection *serverConnection = ConnBrGetConnectionByAddr(device->addr, CONN_SIDE_SERVER); in AttempReuseConnect() local
494 if (clientConnection == NULL && serverConnection == NULL) { in AttempReuseConnect()
513 if (serverConnection != NULL && BrReuseConnection(device, serverConnection)) { in AttempReuseConnect()
516 serverConnection->connectionId); in AttempReuseConnect()
526 if (serverConnection != NULL) { in AttempReuseConnect()
527 ConnBrReturnConnection(&serverConnection); in AttempReuseConnect()
768 …ConnBrConnection *serverConnection = ConnBrGetConnectionByAddr(connection->addr, CONN_SIDE_SERVER); in ClientConnectFailed() local
769 if (serverConnection != NULL) { in ClientConnectFailed()
770 if (BrReuseConnection(connectingDevice, serverConnection)) { in ClientConnectFailed()
772 serverConnection->connectionId, anomizeAddress); in ClientConnectFailed()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c426 …ConnBleConnection *serverConnection = ConnBleGetConnectionByAddr(device->addr, CONN_SIDE_SERVER, B… in AttempReuseConnect() local
427 if (udidConnection == NULL && clientConnection == NULL && serverConnection == NULL) { in AttempReuseConnect()
455 if (serverConnection != NULL && BleReuseConnection(device, serverConnection)) { in AttempReuseConnect()
470 if (serverConnection != NULL) { in AttempReuseConnect()
471 ConnBleReturnConnection(&serverConnection); in AttempReuseConnect()
701 ConnBleConnection *serverConnection = in BleTryReuseServerOrRetryConnect() local
703 if (serverConnection != NULL && BleReuseConnection(connectingDevice, serverConnection)) { in BleTryReuseServerOrRetryConnect()
705 … "connId=%{public}u, addr=%{public}s", serverConnection->connectionId, anomizeAddress); in BleTryReuseServerOrRetryConnect()
706 ConnBleReturnConnection(&serverConnection); in BleTryReuseServerOrRetryConnect()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_manager_test.cpp409 ConnBleConnection *serverConnection = variable
411 ASSERT_NE(serverConnection, NULL);
412 serverConnection->underlayerHandle = 50;
413 ret = ConnBleSaveConnection(serverConnection);