/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
D | a2dp_state_machine.cpp | 45 uint8_t role = (static_cast<A2dpAvdtMsg*>(msg.arg2_))->role; in Dispatch() local 46 A2dpAvdtp avdtp(role); in Dispatch() 52 ProcessDiscoverReq(msgData.connectInfo.addr, role, msgData.connectInfo.errCode); in Dispatch() 61 ProcessSetConfigReq(msgData, role); in Dispatch() 64 ProcessDisconnectReq(msgData.connectInfo.addr, role); in Dispatch() 67 ProcessSDPFailure(msgData.stream.addr, role); in Dispatch() 70 ProcessSetConfigInd(msgData, role); in Dispatch() 73 ProcessDisconnectInd(msgData.stream.addr, msgData.stream.handle, role); in Dispatch() 76 ProcessDisconnectCfm(msgData.stream.addr, msgData.stream.handle, role); in Dispatch() 79 ProcessTimeout(msgData.stream.addr, role); in Dispatch() [all …]
|
D | a2dp_state_machine.h | 85 void ProcessDiscoverReq(BtAddr addr, uint8_t role, uint8_t errCode); 93 void ProcessSDPFailure(BtAddr addr, uint8_t role) const; 102 void ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role); 110 void ProcessDisconnectReq(BtAddr addr, uint8_t role); 118 void ProcessTimeout(BtAddr addr, uint8_t role); 126 void ProcessSetConfigInd(A2dpAvdtMsgData msgData, uint8_t role); 134 void ProcessSetConfigReq(A2dpAvdtMsgData msgData, uint8_t role); 150 void ProcessDisconnectCfm(BtAddr addr, uint16_t handle, uint8_t role) const; 200 void ProcessSetConfigInd(A2dpAvdtMsgData msgData, uint8_t role); 208 void ProcessDisconnectReq(BtAddr addr, uint8_t role); [all …]
|
D | a2dp_avdtp.h | 42 explicit A2dpAvdtp(const uint8_t role); 300 … uint16_t handle, const BtAddr *bdAddr, uint8_t event, const AvdtCtrlData *data, uint8_t role); 313 const uint8_t event, const AvdtCtrlData &data, const uint8_t role) const; 324 static void SwitchThreadToA2dpService(uint8_t role, BtAddr bdAddr, utility::Message msgData); 336 const uint16_t handle, const BtAddr bdAddr, const uint8_t role, A2dpAvdtMsg &msg); 349 const AvdtCtrlData &data, const uint8_t role, A2dpAvdtMsg &msg); 362 const AvdtCtrlData &data, const uint8_t role, A2dpAvdtMsg &msg); 374 const uint16_t handle, const BtAddr bdAddr, const uint8_t role, A2dpAvdtMsg &msg); 387 const uint8_t role, A2dpAvdtMsg &msg, const AvdtCtrlData &data); 398 const BtAddr bdAddr, const uint16_t handle, const uint8_t role, A2dpAvdtMsg &msg); [all …]
|
D | a2dp_avdtp.cpp | 30 A2dpAvdtp::A2dpAvdtp(const uint8_t role) in A2dpAvdtp() argument 32 peerRole_ = role; in A2dpAvdtp() 284 uint16_t handle, const BtAddr *bdAddr, uint8_t event, const AvdtCtrlData *data, uint8_t role) in ProcAvdtpEvent() argument 286 … LOG_INFO("[A2dpAvdtp]%{public}s role[%u], event[%u] handle[%u] ", __func__, role, event, handle); in ProcAvdtpEvent() 291 msg->role = role; in ProcAvdtpEvent() 295 SwitchThreadToA2dpService(role, *bdAddr, msgData); in ProcAvdtpEvent() 298 void A2dpAvdtp::SwitchThreadToA2dpService(uint8_t role, BtAddr bdAddr, utility::Message msgData) in SwitchThreadToA2dpService() argument 300 A2dpService *service = GetServiceInstance(role); in SwitchThreadToA2dpService() 309 const BtAddr bdAddr, const uint8_t role, A2dpAvdtMsg &msg) in ParseAvdtpDisconnectInd() argument 311 A2dpProfile *profile = GetProfileInstance(role); in ParseAvdtpDisconnectInd() [all …]
|
D | a2dp_service_state_machine.cpp | 29 uint8_t role = msg.arg1_; in Dispatch() local 30 A2dpProfile *pflA2dp = GetProfileInstance(role); in Dispatch() 76 uint8_t role = msg.arg1_; in Dispatch() local 77 A2dpProfile *pflA2dp = GetProfileInstance(role); in Dispatch() 80 A2dpService *service = GetServiceInstance(role); in Dispatch() 105 UpdateDeviceInformation(rawAddr, true, role); in Dispatch() 109 UpdateDeviceInformation(rawAddr, false, role); in Dispatch() 114 UpdateDeviceInformation(rawAddr, false, role); in Dispatch() 122 void A2dpConnected::UpdateDeviceInformation(RawAddress rawAddr, bool value, uint8_t role) in UpdateDeviceInformation() argument 127 A2dpService *service = GetServiceInstance(role); in UpdateDeviceInformation() [all …]
|
D | a2dp_profile_peer.h | 209 bool SetPeerCapInfo(uint8_t intSeid, uint8_t acpSeid, AvdtSepConfig cap, uint8_t role); 373 bool JudgeCapabilityMatched(uint8_t role); 397 void SignalingTimeoutCallback(uint8_t role) const; 563 bool GetPeerCapComplete(uint8_t role) const; 609 void RegisterSEPConfigureInfo(const BtAddr &addr, uint8_t role); 619 void UpdatePeerCapabilityInfo(uint8_t acpSeid, AvdtSepConfig cap, uint8_t role); 637 bool FindCapabilityMatched(const A2dpCodecConfig &config, const uint8_t role); 669 const BtAddr &addr, const SdpService *serviceArray, uint16_t serviceNum, uint8_t role);
|
D | a2dp_profile.cpp | 63 A2dpProfile::A2dpProfile(const uint8_t role) in A2dpProfile() argument 65 LOG_INFO("[A2dpProfile]%{public}s role(%u)\n", __func__, role); in A2dpProfile() 67 role_ = role; in A2dpProfile() 136 uint8_t role = GetRole(); in Enable() local 137 A2dpAvdtp avdtpInstance(role); in Enable() 142 avdtRcb.role = AVDT_ROLE_SRC; in Enable() 160 if (role == A2DP_ROLE_SOURCE) { in Enable() 173 uint8_t role = GetRole(); in ProcessAvdtpCallback() local 175 A2dpProfilePeer *peer = FindOrCreatePeer(addr, role); in ProcessAvdtpCallback() 180 A2dpAvdtp avdtpInstance(role); in ProcessAvdtpCallback() [all …]
|
D | a2dp_profile_peer.cpp | 149 void A2dpProfilePeer::RegisterSEPConfigureInfo(const BtAddr &addr, uint8_t role) in RegisterSEPConfigureInfo() argument 153 A2dpAvdtp avdtp(role); in RegisterSEPConfigureInfo() 159 if (role == A2DP_ROLE_SOURCE) { in RegisterSEPConfigureInfo() 255 … A2dpProfilePeer::SetPeerCapInfo(uint8_t intSeid, uint8_t acpSeid, AvdtSepConfig cap, uint8_t role) in SetPeerCapInfo() argument 261 if (role == A2DP_ROLE_SOURCE) { in SetPeerCapInfo() 267 UpdatePeerCapabilityInfo(acpSeid, cap, role); in SetPeerCapInfo() 274 UpdatePeerCapabilityInfo(acpSeid, cap, role); in SetPeerCapInfo() 280 void A2dpProfilePeer::UpdatePeerCapabilityInfo(uint8_t acpSeid, AvdtSepConfig cap, uint8_t role) in UpdatePeerCapabilityInfo() argument 284 if (role == A2DP_ROLE_SOURCE) { in UpdatePeerCapabilityInfo() 473 bool A2dpProfilePeer::JudgeCapabilityMatched(uint8_t role) in JudgeCapabilityMatched() argument [all …]
|
D | a2dp_service_connection.h | 34 explicit A2dpConnectManager(uint8_t role); 118 static bool JudgeConnectExit(const RawAddress &device, uint8_t role);
|
D | a2dp_service.h | 57 explicit ObserverProfile(uint8_t role); 149 A2dpService(const std::string &name, const std::string version, const uint8_t role); 565 void ProcessTimeoutCallback(uint8_t role, const BtAddr &addr) const; 639 A2dpProfile *GetProfileInstance(uint8_t role); 647 A2dpService *GetServiceInstance(uint8_t role);
|
D | a2dp_service_connection.cpp | 24 A2dpConnectManager::A2dpConnectManager(uint8_t role) in A2dpConnectManager() argument 26 role_ = role; in A2dpConnectManager() 157 bool A2dpConnectManager::JudgeConnectExit(const RawAddress &device, uint8_t role) in JudgeConnectExit() argument 165 if (role == A2DP_ROLE_SOURCE) { in JudgeConnectExit()
|
/foundation/communication/dsoftbus/core/connection/p2p/manager/src/ |
D | p2plink_lnn_sync.c | 58 int32_t role = P2pLinkGetRole(); in P2pLinkLnnSync() local 59 if (g_lnnRole != role) { in P2pLinkLnnSync() 60 P2pLinkMyRoleChangeNotify((P2pLinkRole)role); in P2pLinkLnnSync() 61 CLOGI("sync role %d->%d", g_lnnRole, role); in P2pLinkLnnSync() 62 if (LnnSetLocalNumInfo(NUM_KEY_P2P_ROLE, role) == SOFTBUS_OK) { in P2pLinkLnnSync() 63 g_lnnRole = role; in P2pLinkLnnSync() 82 if (role == ROLE_GC) { in P2pLinkLnnSync()
|
D | p2plink_broadcast_receiver.c | 75 CLOGI("UpdateP2pGroup role %d num %d", group->role, group->peerMacNum); in UpdateP2pGroup() 76 P2pLinkSetRole(group->role); in UpdateP2pGroup() 77 if (group->role == ROLE_GO) { in UpdateP2pGroup() 79 } else if (group->role == ROLE_GC) { in UpdateP2pGroup()
|
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
D | dcamera_softbus_adapter_test.cpp | 73 DCAMERA_CHANNEL_ROLE role = DCAMERA_CHANNLE_ROLE_SOURCE; variable 74 … int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftbusSessionServer(sessionName, role); 87 DCAMERA_CHANNEL_ROLE role = DCAMERA_CHANNLE_ROLE_SOURCE; variable 88 … int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftbusSessionServer(sessionName, role); 102 DCAMERA_CHANNEL_ROLE role = DCAMERA_CHANNLE_ROLE_SOURCE; variable 103 … int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftbusSessionServer(sessionName, role); 123 DCAMERA_CHANNEL_ROLE role = DCAMERA_CHANNLE_ROLE_SOURCE; variable 124 … int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftbusSessionServer(sessionName, role); 145 DCAMERA_CHANNEL_ROLE role = DCAMERA_CHANNLE_ROLE_SOURCE; variable 146 … int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftbusSessionServer(sessionName, role); [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
D | avctp_api.c | 40 void AVCT_Register(uint16_t mtu, uint16_t mtuBr, uint16_t role) in AVCT_Register() argument 42 LOG_INFO("[AVCT] %{public}s: Regist mut(%hu) mtuBr(%hu) role(%hu)", __func__, mtu, mtuBr, role); in AVCT_Register() 53 param->role = role; in AVCT_Register() 66 AvctRegister(param->mtu, param->mtuBr, param->role); in AvctRegisterTsk() 71 void AvctRegister(uint16_t mtu, uint16_t mtuBr, uint16_t role) in AvctRegister() argument 73 … LOG_DEBUG("[AVCT] %{public}s: Regist mut(%hu) mtuBr(%hu) role(%hu)", __func__, mtu, mtuBr, role); in AvctRegister() 78 g_avctMng.role = role; in AvctRegister() 150 connParam->role); in AVCT_ConnectReq() 190 connParam->role); in AvctConnectReq() 198 if (cbConn->connParam.role == AVCT_INIT) { in AvctConnectReq() [all …]
|
D | avctp_api.h | 26 uint16_t role; member 59 uint16_t role; member 85 void AvctRegister(uint16_t mtu, uint16_t mtuBr, uint16_t role); 97 uint16_t AvctBrConnectReq(uint8_t connId, uint8_t role);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
D | smp_receive.h | 28 void SMP_Connected(const BtAddr *addr, uint16_t handle, uint8_t role, uint8_t status); 29 void SMP_Disconnected(uint16_t handle, uint8_t role, uint8_t reason);
|
/foundation/distributedhardware/device_manager/ext/no_interaction_auth/src/ability/lite/ |
D | dm_ability_manager.cpp | 25 AbilityStatus DmAbilityManager::StartAbility(AbilityRole role) in StartAbility() argument 28 mAbilityStatus_ = role; in StartAbility()
|
/foundation/communication/wifi_aware/hals/ |
D | hal_wifiaware.h | 38 …ervice(const char* svcName, unsigned char localHandle, HalRecvCallback recvCB, unsigned char role); 43 int HalWifiSdpStopService(unsigned char localHandle, unsigned char role);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
D | gap_btm_receive.c | 125 uint8_t role; member 139 …GapLeConnectionComplete(param->status, param->connectionHandle, ¶m->addr, param->role, param->… in GapLeConnectionCompleteTask() 143 uint8_t status, uint16_t connectionHandle, const BtAddr *addr, uint8_t role, void *context) in GapRecvLeConnectionComplete() argument 148 role, in GapRecvLeConnectionComplete() 160 btmParam->role = role; in GapRecvLeConnectionComplete()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
D | avctp.h | 126 uint8_t role; // Initiator/Acceptor member 149 BTSTACK_API void AVCT_Register(uint16_t mtu, uint16_t mtuBr, uint16_t role); 247 BTSTACK_API uint16_t AVCT_BrConnectReq(uint8_t connId, uint8_t role);
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/ |
D | net_ledger_mock.cpp | 47 int32_t LnnSetP2pRole(NodeInfo *info, int32_t role) in LnnSetP2pRole() argument 49 return GetNetLedgerInterface()->LnnSetP2pRole(info, role); in LnnSetP2pRole()
|
/foundation/communication/dsoftbus/core/connection/p2p/common/src/ |
D | p2plink_common.c | 43 NO_SANITIZE("cfi") void P2pLinkSetRole(P2pLinkRole role) in P2pLinkSetRole() argument 45 CLOGI("set my role %d", role); in P2pLinkSetRole() 46 g_role = role; in P2pLinkSetRole()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
D | hcodec_list.cpp | 83 if (hdiCap.role == MEDIA_ROLETYPE_VIDEO_AVC || hdiCap.role == MEDIA_ROLETYPE_VIDEO_HEVC) { in IsSupportedVideoCodec() 95 userCap.mimeType = TypeConverter::HdiRoleToMime(hdiCap.role); in HdiCapToUserCap() 180 if (hdiCap.role == MEDIA_ROLETYPE_VIDEO_AVC) { in GetCodecProfileLevels() 183 } else if (hdiCap.role == MEDIA_ROLETYPE_VIDEO_HEVC) { in GetCodecProfileLevels() 192 hdiCap.role, innerProfile.value(), innerLevel.value()); in GetCodecProfileLevels()
|
/foundation/distributedhardware/device_manager/ext/no_interaction_auth/src/ability/standard/ |
D | dm_ability_manager.cpp | 37 AbilityStatus DmAbilityManager::StartAbility(AbilityRole role) in StartAbility() argument 39 mAbilityStatus_ = role; in StartAbility()
|