Home
last modified time | relevance | path

Searched refs:psm (Results 1 - 25 of 52) sorted by relevance

123

/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_state_machine.h76 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd) : State(name, psm), pd_(pd){}; in PowerState() argument
84 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerState() argument
85 : State(name, psm, fstate), pd_(pd){}; in PowerState()
103 * @param psm StateMachine.
107 PowerActiveState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(ACTIVE_STATE, psm, pd){}; in PowerActiveState() argument
144 * @param psm StateMachine.
149 PowerActiveActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerActiveActivingState() argument
150 : PowerState(ACTIV_ACTIVING_STATE, psm, p in PowerActiveActivingState()
173 PowerActiveSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) PowerActiveSniffingState() argument
196 PowerSniffState(PowerStateMachine &psm, PowerDevice &pd) PowerSniffState() argument
219 PowerSniffActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) PowerSniffActivingState() argument
243 PowerSniffSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) PowerSniffSniffingState() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap.c33 L2capPsm *psm = NULL; in L2CAP_ConnectReq() local
45 psm = L2capGetPsm(lpsm); in L2CAP_ConnectReq()
46 if (psm == NULL) { in L2CAP_ConnectReq()
466 L2capPsm *psm = NULL; in L2CAP_RegisterService() local
468 LOG_INFO("%{public}s:%{public}d enter, psm = 0x%04X", __FUNCTION__, __LINE__, lpsm); in L2CAP_RegisterService()
478 // check whether the psm is valid in L2CAP_RegisterService()
483 psm = L2capGetPsm(lpsm); in L2CAP_RegisterService()
484 if (psm != NULL) { in L2CAP_RegisterService()
488 psm = L2capAlloc(sizeof(L2capPsm)); in L2CAP_RegisterService()
489 if (psm in L2CAP_RegisterService()
506 L2capPsm *psm = NULL; L2CAP_DeregisterService() local
575 L2capPsm *psm = NULL; L2CAP_Finalize() local
[all...]
H A Dl2cap_le.c419 L2capLePsm *psm = NULL; in L2capLeResponseTimeout() local
423 psm = L2capLeGetPsm(chan->lpsm); in L2capLeResponseTimeout()
424 if (psm != NULL) { in L2capLeResponseTimeout()
427 psm->service.leDisconnectAbnormal(lereq->lcid, 0, psm->ctx); in L2capLeResponseTimeout()
569 L2capLePsm *psm = NULL; in L2capLeTxWithCredit() local
572 psm = L2capLeGetPsm(chan->lpsm); in L2capLeTxWithCredit()
573 if (psm != NULL) { in L2capLeTxWithCredit()
578 psm->service.leRemoteBusy(chan->lcid, chan->busyState, psm in L2capLeTxWithCredit()
584 L2capLePsm *psm = NULL; L2capLeTxWithCredit() local
700 L2capLePsm *psm = NULL; L2capLeProcessCreditBasedConnectionReq() local
761 L2capLePsm *psm = NULL; L2capLeProcessCreditBasedConnectionRsp() local
822 L2capLePsm *psm = NULL; L2capLeProcessDisconnectionReq() local
866 L2capLePsm *psm = NULL; L2capLeProcessDisconnectionRsp() local
1029 L2capLePsm *psm = NULL; L2capLeDataCallback() local
1114 L2capLePsm *psm = NULL; L2capLeCleanAllChannels() local
1259 L2capLePsm *psm = NULL; L2CAP_LeCreditBasedConnectionReq() local
1459 L2capLePsm *psm = NULL; L2CAP_LeRegisterService() local
1497 L2capLePsm *psm = NULL; L2CAP_LeDeregisterService() local
1804 void *psm = NULL; L2CAP_LeFinalize() local
[all...]
H A Dl2cap_core.c44 L2capPsm *psm = NULL; in L2capDisconnectAbnormal() local
46 psm = L2capGetPsm(chan->lpsm); in L2capDisconnectAbnormal()
47 if (psm != NULL) { in L2capDisconnectAbnormal()
50 psm->service.disconnectAbnormal(chan->lcid, reason, psm->ctx); in L2capDisconnectAbnormal()
633 L2capPsm *psm = NULL; in L2capErfcRemoteBusyProcess() local
651 psm = L2capGetPsm(chan->lpsm); in L2capErfcRemoteBusyProcess()
652 if (psm != NULL) { in L2capErfcRemoteBusyProcess()
654 psm->service.remoteBusy(chan->lcid, isBusy, psm in L2capErfcRemoteBusyProcess()
1396 L2capPsm *psm = NULL; L2capProcessConfigurationReqParse() local
1516 L2capPsm *psm = NULL; L2capProcessConfigurationRsp() local
1576 L2capPsm *psm = NULL; L2capProcessConnectionReq() local
1636 L2capPsm *psm = NULL; L2capProcessConnectionRsp() local
1702 L2capPsm *psm = NULL; L2capProcessDisconnectionReq() local
1747 L2capPsm *psm = NULL; L2capProcessDisconnectionRsp() local
1801 L2capPsm *psm = NULL; L2capIncomingConnection() local
1926 L2capPsm *psm = NULL; L2capProcessCommandReject() local
2105 L2capPsm *psm = NULL; L2capProcessData() local
[all...]
H A Dl2cap_inst.c47 L2capPsm *psm = NULL; in L2capGetPsm() local
52 psm = ListGetNodeData(node); in L2capGetPsm()
53 if (psm->lpsm == lpsm) { in L2capGetPsm()
54 return psm; in L2capGetPsm()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_snoop_filter.c109 static bool IsL2capDynamicPsm(uint16_t psm) in IsL2capDynamicPsm() argument
111 if (psm > L2CAP_DYNAMIC_PSM_NUM_BASE) { in IsL2capDynamicPsm()
214 void BTM_AddLocalL2capPsmForLogging(uint8_t module, uint16_t psm) in BTM_AddLocalL2capPsmForLogging() argument
221 LOG_INFO("%{public}s: module:%{public}d, local psm:0x%04x", __FUNCTION__, module, psm); in BTM_AddLocalL2capPsmForLogging()
222 BtmSnoopFilterInfo *info = AllocFilterInfo(module, 0, psm, true, NULL); in BTM_AddLocalL2capPsmForLogging()
229 void BTM_AddRemoteL2capPsmForLogging(uint8_t module, uint16_t psm, const BtAddr *remoteAddr) in BTM_AddRemoteL2capPsmForLogging() argument
236 LOG_INFO("%{public}s: module:%{public}d, " BT_ADDR_FMT " local psm:0x%04x", in BTM_AddRemoteL2capPsmForLogging()
240 psm); in BTM_AddRemoteL2capPsmForLogging()
241 BtmSnoopFilterInfo *info = AllocFilterInfo(module, 0, psm, fals in BTM_AddRemoteL2capPsmForLogging()
248 BTM_RemoveLocalL2capPsmForLogging(uint8_t module, uint16_t psm) BTM_RemoveLocalL2capPsmForLogging() argument
268 BTM_RemoveRemoteL2capPsmForLogging(uint8_t module, uint16_t psm, const BtAddr *remoteAddr) BTM_RemoveRemoteL2capPsmForLogging() argument
[all...]
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_socket.h66 typedef void (*SocketBleConnectionStateChangedCallback)(const BdAddr *bdAddr, int psm, int status, int result);
117 * @param psm BluetoothSocketType is {@link OHOS_SOCKET_L2CAP_LE} use dynamic PSM value from remote device.
121 int SocketConnect(const BluetoothCreateSocketPara *socketPara, const BdAddr *bdAddr, int psm);
129 * @param psm BluetoothSocketType is {@link OHOS_SOCKET_L2CAP_LE} use dynamic PSM value from remote device.
134 int SocketConnectEx(const BluetoothCreateSocketPara *socketPara, const BdAddr *bdAddr, int psm,
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_gap.c153 AvctRecvConnectionReqAct(&(param->addr), param->aclHandle, param->lcid, param->id, param->psm); in AvctRevConnSecurityResult()
155 AvctBrRecvConnectionReqAct(&(param->addr), param->aclHandle, param->lcid, param->id, param->psm); in AvctRevConnSecurityResult()
172 * Param[in] psm
175 void AvctRequestSecurity(const AvctCbDev *cbDev, GAP_Service serviceId, uint16_t psm) in AvctRequestSecurity() argument
177 LOG_DEBUG("[AVCT] %{public}s:Sevcieid(0x%x),psm(0x%x)", __func__, serviceId, psm); in AvctRequestSecurity()
185 gapParam.info.channelId.l2capPsm = psm; in AvctRequestSecurity()
213 connParam->psm = lpsm; in AvctRequestSecurityBy()
H A Davctp_gap.h35 extern void AvctRequestSecurity(const AvctCbDev *cbDev, GAP_Service serviceId, uint16_t psm);
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_socket_observer_stub.cpp63 int psm = data.ReadInt32(); in OnConnectionStateChangedInner() local
70 .psm = psm, in OnConnectionStateChangedInner()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
H A Davdtp_l2cap.h27 uint16_t psm; member
84 void AVDT_L2capConnectIndCallback(uint16_t lcid, uint8_t id, const L2capConnectionInfo *info, uint16_t psm, void *ctx);
86 void AvdtL2capConnectIndCallback(uint16_t lcid, uint8_t id, const L2capConnectionInfo *info, uint16_t psm, void *ctx);
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_socket_observer.h35 int psm; member
H A Di_bluetooth_socket.h42 int32_t psm; member
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_socket.h71 int psm; member
151 * @param psm dynamic PSM value from remote device.
156 int Connect(int psm);
227 * @return int psm.
322 * @return int psm.
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_manager.h51 uint32_t psm; member
75 uint32_t psm; member
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_link.h59 int32_t psm; member
85 int32_t psm; member
H A Dlnn_lane_interface.h91 int32_t psm; member
194 //'psm' is valid only when 'expectedlink' contains 'LANE_COC'
195 int32_t psm; member
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_common.c58 connInfo->connInfo.ble.psm = linkInfo->linkInfo.ble.psm; in BleInfoProc()
163 connInfo->connInfo.ble.psm = linkInfo->linkInfo.ble.psm; in CocInfoProc()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_socket_observer_proxy.cpp37 data.WriteInt32(callbackParam.psm); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_socket.cpp69 socektConnectCallback.bleConnStateCb(&addr, param.psm, param.status, param.result);
226 * @param psm BluetoothSocketType is {@link OHOS_SOCKET_L2CAP_LE} use dynamic PSM value from remote device.
230 int SocketConnect(const BluetoothCreateSocketPara *socketPara, const BdAddr *bdAddr, int psm) in SocketConnect() argument
251 int result = client->Connect(psm); in SocketConnect()
268 * @param psm BluetoothSocketType is {@link OHOS_SOCKET_L2CAP_LE} use dynamic PSM value from remote device.
273 int SocketConnectEx(const BluetoothCreateSocketPara *socketPara, const BdAddr *bdAddr, int psm, in SocketConnectEx() argument
302 int result = client->Connect(psm); in SocketConnectEx()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/
H A Dtransport_l2cap.h80 int AcceptConnection(const RawAddress &addr, uint16_t psm) override;
89 int RejectConnection(const RawAddress &addr, uint16_t psm) override;
357 // local psm
359 // remote psm
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_connection_addr_utils.c210 connInfo->info.bleInfo.psm = addr->info.ble.psm; in LnnConvertAddrToAuthConnInfo()
249 addr->info.ble.psm = connInfo->info.bleInfo.psm; in LnnConvertAuthConnInfoToAddr()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_common.c350 option->bleOption.psm = connInfo->info.bleInfo.psm; in ConvertToConnectOption()
412 connInfo->info.bleInfo.psm = info->bleInfo.psm; in ConvertToAuthConnInfo()
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dbtm.h927 void BTSTACK_API BTM_AddLocalL2capPsmForLogging(uint8_t module, uint16_t psm);
928 void BTSTACK_API BTM_AddRemoteL2capPsmForLogging(uint8_t module, uint16_t psm, const BtAddr *remoteAddr);
929 void BTSTACK_API BTM_RemoveLocalL2capPsmForLogging(uint8_t module, uint16_t psm);
930 void BTSTACK_API BTM_RemoveRemoteL2capPsmForLogging(uint8_t module, uint16_t psm, const BtAddr *remoteAddr);
/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_conn_interface.h109 uint32_t psm; member
177 uint32_t psm; member

Completed in 15 milliseconds

123