Home
last modified time | relevance | path

Searched refs:devId2SessIdMap_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dsoftbus_channel_adapter.cpp128 devId2SessIdMap_.clear(); in ~SoftbusChannelAdapter()
233 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end(); it++) { in RemoveChannelServer()
449 if (devId2SessIdMap_.find(idMapKey) == devId2SessIdMap_.end()) { in GetSessIdBySessName()
454 return devId2SessIdMap_[idMapKey]; in GetSessIdBySessName()
460 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end(); it++) { in GetSessionNameById()
494 if (devId2SessIdMap_.find(idMapKey) == devId2SessIdMap_.end()) { in OnSoftbusChannelOpened()
511 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end();) { in OnSoftbusChannelClosed()
515 it = devId2SessIdMap_.erase(it); in OnSoftbusChannelClosed()
536 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end(); it++) { in OnSoftbusBytesReceived()
551 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end(); it++) { in OnSoftbusStreamReceived()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/daudio_input_test/
H A Ddaudio_input_test.cpp482 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.clear();
497 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.clear();
503 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.insert(std::make_pair(key, socketId));
514 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.clear();
523 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.insert(std::make_pair(key, socketId));
530 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.clear();
543 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.insert(std::make_pair(key, sessionId));
545 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.insert(std::make_pair(key, sessionId));
552 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.clear();
557 SoftbusChannelAdapter::GetInstance().devId2SessIdMap_.insert(std::make_pair(key, sessionId));
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/
H A Dsoftbus_adapter.cpp211 devId2SessIdMap_.insert(std::make_pair(socketId, mySessionName + "_" + peerDevId)); in OpenSoftbusSession()
233 devId2SessIdMap_.erase(sessionId); in CloseSoftbusSession()
273 for (auto it = devId2SessIdMap_.begin(); it != devId2SessIdMap_.end(); it++) { in GetSoftbusListenerByName()
311 devId2SessIdMap_.insert(std::make_pair(sessionId, it->second)); in OnSoftbusSessionOpened()
341 devId2SessIdMap_.erase(sessionId); in OnSoftbusSessionClosed()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/softbusadapter/include/
H A Dsoftbus_adapter.h77 std::map<int32_t, std::string> devId2SessIdMap_; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/
H A Dsoftbus_channel_adapter.h94 std::map<std::string, int32_t> devId2SessIdMap_; variable