/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/test/unittest/av_receiver_engine/src/ |
H A D | av_receiver_engine_test.cpp | 53 std::string peerDevId = "pEid"; in HWTEST_F() local 54 auto receiver = std::make_shared<AVReceiverEngine>(ownerName, peerDevId); in HWTEST_F() 73 std::string peerDevId = "pEid"; in HWTEST_F() local 74 auto receiver = std::make_shared<AVReceiverEngine>(ownerName, peerDevId); in HWTEST_F() 83 std::string peerDevId = "pEid"; in HWTEST_F() local 84 auto receiver = std::make_shared<AVReceiverEngine>(ownerName, peerDevId); in HWTEST_F() 93 std::string peerDevId = "pEid"; in HWTEST_F() local 94 auto receiver = std::make_shared<AVReceiverEngine>(ownerName, peerDevId); in HWTEST_F() 105 std::string peerDevId = "pEid"; in HWTEST_F() local 106 auto receiver = std::make_shared<AVReceiverEngine>(OWNER_NAME_D_MIC, peerDevId); in HWTEST_F() 114 std::string peerDevId = "pEid"; HWTEST_F() local 123 std::string peerDevId = "pEid"; HWTEST_F() local 133 std::string peerDevId = "pEid"; HWTEST_F() local 143 std::string peerDevId = "pEid"; HWTEST_F() local 153 std::string peerDevId = "pEid"; HWTEST_F() local 164 std::string peerDevId = "pEid"; HWTEST_F() local 176 std::string peerDevId = "pEid"; HWTEST_F() local 188 std::string peerDevId = "pEid"; HWTEST_F() local 198 std::string peerDevId = "pEid"; HWTEST_F() local 209 std::string peerDevId = "pEid"; HWTEST_F() local 221 std::string peerDevId = "pEid"; HWTEST_F() local 236 std::string peerDevId = "pEid"; HWTEST_F() local 247 std::string peerDevId = "pEid"; HWTEST_F() local 258 std::string peerDevId = "pEid"; HWTEST_F() local 270 std::string peerDevId = "pEid"; HWTEST_F() local 283 std::string peerDevId = "pEid"; HWTEST_F() local 301 std::string peerDevId = "pEid"; HWTEST_F() local 311 std::string peerDevId = "pEid"; HWTEST_F() local 323 std::string peerDevId = "pEid"; HWTEST_F() local 334 std::string peerDevId = "pEid"; HWTEST_F() local 344 std::string peerDevId = "pEid"; HWTEST_F() local 360 std::string peerDevId = "pEid"; HWTEST_F() local 374 std::string peerDevId = "pEid"; HWTEST_F() local 395 std::string peerDevId = "pEid"; HWTEST_F() local 437 std::string peerDevId = "pEid"; HWTEST_F() local 447 std::string peerDevId = "pEid"; HWTEST_F() local 459 std::string peerDevId = "pEid"; HWTEST_F() local 469 std::string peerDevId = "pEid"; HWTEST_F() local 481 std::string peerDevId = "pEid"; HWTEST_F() local 491 std::string peerDevId = "pEid"; HWTEST_F() local 503 std::string peerDevId = "pEid"; HWTEST_F() local 515 std::string peerDevId = "pEid"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/test/unittest/av_sender_engine/src/ |
H A D | av_sender_engine_test.cpp | 57 std::string peerDevId = "pEid"; in HWTEST_F() local 58 auto sender = std::make_shared<AVSenderEngine>(ownerName, peerDevId); in HWTEST_F() 76 std::string peerDevId = "pEid"; in HWTEST_F() local 77 auto sender = std::make_shared<AVSenderEngine>(ownerName, peerDevId); in HWTEST_F() 86 std::string peerDevId = "pEid"; in HWTEST_F() local 87 auto sender = std::make_shared<AVSenderEngine>(ownerName, peerDevId); in HWTEST_F() 100 std::string peerDevId = "pEid"; in HWTEST_F() local 101 auto sender = std::make_shared<AVSenderEngine>(ownerName, peerDevId); in HWTEST_F() 112 std::string peerDevId = "pEid"; in HWTEST_F() local 113 auto sender = std::make_shared<AVSenderEngine>(OWNER_NAME_D_MIC, peerDevId); in HWTEST_F() 121 std::string peerDevId = "pEid"; HWTEST_F() local 131 std::string peerDevId = "pEid"; HWTEST_F() local 141 std::string peerDevId = "pEid"; HWTEST_F() local 151 std::string peerDevId = "pEid"; HWTEST_F() local 162 std::string peerDevId = "pEid"; HWTEST_F() local 174 std::string peerDevId = "pEid"; HWTEST_F() local 187 std::string peerDevId = "pEid"; HWTEST_F() local 199 std::string peerDevId = "pEid"; HWTEST_F() local 209 std::string peerDevId = "pEid"; HWTEST_F() local 220 std::string peerDevId = "pEid"; HWTEST_F() local 232 std::string peerDevId = "pEid"; HWTEST_F() local 247 std::string peerDevId = "pEid"; HWTEST_F() local 263 std::string peerDevId = "pEid"; HWTEST_F() local 279 std::string peerDevId = "pEid"; HWTEST_F() local 295 std::string peerDevId = "pEid"; HWTEST_F() local 316 std::string peerDevId = "pEid"; HWTEST_F() local 329 std::string peerDevId = "pEid"; HWTEST_F() local 342 std::string peerDevId = "pEid"; HWTEST_F() local 370 std::string peerDevId = "pEid"; HWTEST_F() local 389 std::string peerDevId = "pEid"; HWTEST_F() local 401 std::string peerDevId = "pEid"; HWTEST_F() local 413 std::string peerDevId = "pEid"; HWTEST_F() local 425 std::string peerDevId = "pEid"; HWTEST_F() local 438 std::string peerDevId = "pEid"; HWTEST_F() local 451 std::string peerDevId = "pEid"; HWTEST_F() local 462 std::string peerDevId = "pEid"; HWTEST_F() local 473 std::string peerDevId = "pEid"; HWTEST_F() local 485 std::string peerDevId = "pEid"; HWTEST_F() local 497 std::string peerDevId = "pEid"; HWTEST_F() local 512 std::string peerDevId = "pEid"; HWTEST_F() local 528 std::string peerDevId = "pEid"; HWTEST_F() local 544 std::string peerDevId = "pEid"; HWTEST_F() local 560 std::string peerDevId = "pEid"; HWTEST_F() local 571 std::string peerDevId = "pEid"; HWTEST_F() local 583 std::string peerDevId = "pEid"; HWTEST_F() local 594 std::string peerDevId = "pEid"; HWTEST_F() local 606 std::string peerDevId = "pEid"; HWTEST_F() local 618 std::string peerDevId = "pEid"; HWTEST_F() local 629 std::string peerDevId = "pEid"; HWTEST_F() local 645 std::string peerDevId = "pEid"; HWTEST_F() local 659 std::string peerDevId = "pEid"; HWTEST_F() local 677 std::string peerDevId = "pEid"; HWTEST_F() local 699 std::string peerDevId = "pEid"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | softbus_channel_adapter.cpp | 85 std::string peerDevId(info.networkId);
in OnSessionOpened() 87 SoftbusChannelAdapter::GetInstance().OnSoftbusChannelOpened(peerSessionName, sessionId, peerDevId, 0);
in OnSessionOpened() 247 const std::string & peerDevId)
in SendEventChannelOPened() 250 AVTransEvent event = {type, mySessName, peerDevId};
in SendEventChannelOPened() 262 const std::string &peerDevId)
in OpenSoftbusChannel() 264 AVTRANS_LOGI("Open softbus channel for mySessName:%{public}s, peerSessName:%{public}s, peerDevId:%{public}s.",
in OpenSoftbusChannel() 265 mySessName.c_str(), peerSessName.c_str(), GetAnonyString(peerDevId).c_str());
in OpenSoftbusChannel() 268 TRUE_RETURN_V_MSG_E(peerDevId.empty(), ERR_DH_AVT_INVALID_PARAM, "input peerDevId is empty.");
in OpenSoftbusChannel() 271 int32_t existSessId = GetSessIdBySessName(mySessName, peerDevId);
in OpenSoftbusChannel() 246 SendEventChannelOPened(const std::string & mySessName, const std::string & peerDevId) SendEventChannelOPened() argument 261 OpenSoftbusChannel(const std::string &mySessName, const std::string &peerSessName, const std::string &peerDevId) OpenSoftbusChannel() argument 315 CloseSoftbusChannel(const std::string& sessName, const std::string &peerDevId) CloseSoftbusChannel() argument 333 SendBytesData(const std::string& sessName, const std::string &peerDevId, const std::string &data) SendBytesData() argument 356 SendStreamData(const std::string& sessName, const std::string &peerDevId, const StreamData *data, const StreamData *ext) SendStreamData() argument 379 RegisterChannelListener(const std::string& sessName, const std::string &peerDevId, ISoftbusChannelListener *listener) RegisterChannelListener() argument 394 UnRegisterChannelListener(const std::string& sessName, const std::string &peerDevId) UnRegisterChannelListener() argument 407 StartDeviceTimeSync(const std::string &pkgName, const std::string& sessName, const std::string &peerDevId) StartDeviceTimeSync() argument 427 StopDeviceTimeSync(const std::string &pkgName, const std::string& sessName, const std::string &peerDevId) StopDeviceTimeSync() argument 445 GetSessIdBySessName(const std::string& sessName, const std::string &peerDevId) GetSessIdBySessName() argument 470 OnSoftbusChannelOpened(std::string peerSessionName, int32_t sessionId, std::string peerDevId, int32_t result) OnSoftbusChannelOpened() argument 507 std::string peerDevId = GetPeerDevIdBySessId(sessionId); OnSoftbusChannelClosed() local 529 std::string peerDevId = GetPeerDevIdBySessId(sessionId); OnSoftbusBytesReceived() local 599 std::string peerDevId = (it->first).substr(position + 1); GetPeerDevIdBySessId() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/services/src/ |
H A D | av_trans_control_center.cpp | 93 std::string peerDevId; in ReleaseAVCenter() local 100 peerDevId = engine2DevIdMap_[engineId]; in ReleaseAVCenter() 105 if (it->second == peerDevId) { in ReleaseAVCenter() 111 AVTRANS_LOGI("Control channel is still being used by other engine, peerDevId=%{public}s.", in ReleaseAVCenter() 112 GetAnonyString(peerDevId).c_str()); in ReleaseAVCenter() 119 auto iter = std::find(connectedDevIds_.begin(), connectedDevIds_.end(), peerDevId); in ReleaseAVCenter() 121 AVTRANS_LOGE("Control channel has not been opened successfully for peerDevId=%{public}s.", in ReleaseAVCenter() 122 GetAnonyString(peerDevId).c_str()); in ReleaseAVCenter() 129 SoftbusChannelAdapter::GetInstance().StopDeviceTimeSync(PKG_NAME_DH_FWK, sessionName_, peerDevId); in ReleaseAVCenter() 130 SoftbusChannelAdapter::GetInstance().CloseSoftbusChannel(sessionName_, peerDevId); in ReleaseAVCenter() 139 CreateControlChannel(int32_t engineId, const std::string &peerDevId) CreateControlChannel() argument 295 HandleDataReceived(const std::string &content, const std::string &peerDevId) HandleDataReceived() argument [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/ |
H A D | softbus_channel_adapter.h | 47 const std::string &peerDevId);
48 int32_t CloseSoftbusChannel(const std::string &mySessName, const std::string &peerDevId);
50 int32_t SendBytesData(const std::string &sessName, const std::string &peerDevId, const std::string &data);
51 int32_t SendStreamData(const std::string &sessName, const std::string &peerDevId, const StreamData *data,
54 int32_t RegisterChannelListener(const std::string &sessName, const std::string &peerDevId,
56 int32_t UnRegisterChannelListener(const std::string &sessName, const std::string &peerDevId);
59 const std::string &peerDevId);
61 const std::string &peerDevId);
66 std::string peerDevId, int32_t result);
78 int32_t GetSessIdBySessName(const std::string &sessName, const std::string &peerDevId);
[all...] |
/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/unittest/src/ |
H A D | softbus_adapter_test.cpp | 93 std::string peerDevId = "peerDevId"; in HWTEST_F() local 117 int32_t actual = softbusAdapter.CreateSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 119 softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 134 std::string peerDevId = "peerDevId"; in HWTEST_F() local 136 int32_t actual = softbusAdapter.CreateSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 138 softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 151 std::string peerDevId = "peerDevId"; in HWTEST_F() local 168 std::string peerDevId = "peerDevId"; HWTEST_F() local 185 std::string peerDevId = "testDevId"; HWTEST_F() local 204 std::string peerDevId = "testDevId"; HWTEST_F() local 223 std::string peerDevId = "testDevId"; HWTEST_F() local 238 std::string peerDevId = "testDevId"; HWTEST_F() local 255 std::string peerDevId = ""; HWTEST_F() local 272 std::string peerDevId = "peerDevId"; HWTEST_F() local 288 std::string peerDevId = "testDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/test/unittest/av_sender_engine_provider/src/ |
H A D | av_sender_engine_provider_test.cpp | 54 std::string peerDevId = "peerDevId"; in HWTEST_F() local 57 auto avSenderEngine = avSendProTest_->CreateAVSenderEngine(peerDevId); in HWTEST_F() 63 std::string peerDevId = "peerDevId"; in HWTEST_F() local 66 auto avSenderEngine = avSendProTest_->CreateAVSenderEngine(peerDevId); in HWTEST_F() 74 std::string peerDevId = "peerDevId"; in HWTEST_F() local 77 auto avSenderEngine = avSendProTest_->CreateAVSenderEngine(peerDevId); in HWTEST_F() 78 auto sender = std::make_shared<AVSenderEngine>(ownerName, peerDevId); in HWTEST_F() 88 std::string peerDevId = "peerDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/services/ |
H A D | av_sync_manager_test.cpp | 80 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 85 streamSecond.peerDevId = "streamSecondpeerDevId"; in HWTEST_F() 104 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 123 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 128 streamSecond.peerDevId = "streamSecondpeerDevId"; in HWTEST_F() 162 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 183 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 204 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 224 streamFirst.peerDevId = "streamFirstpeerDevId"; in HWTEST_F() 244 streamFirst.peerDevId in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/softbusadapter_fuzzer/ |
H A D | softbusadapter_fuzzer.cpp | 30 std::string peerDevId = "abcd"; in SoftbusCreatSoftBusSinkSocketServerFuzzTest() local 34 sessionMode, peerDevId, peerSessionName); in SoftbusCreatSoftBusSinkSocketServerFuzzTest() 48 std::string peerDevId = "bb536a637105409e904d4da83790a4a7"; in SoftbusCreateSoftBusSourceSocketClientFuzzTest() local 50 DCameraSoftbusAdapter::GetInstance().CreateSoftBusSourceSocketClient(myDevId, peerSessName, peerDevId, in SoftbusCreateSoftBusSourceSocketClientFuzzTest() 62 std::string peerDevId = "abcd"; in SoftbusDestroySoftbusSessionServerFuzzTest() local 66 sessionMode, peerDevId, peerSessionName); in SoftbusDestroySoftbusSessionServerFuzzTest() 81 std::string peerDevId = "bb536a637105409e904d4da83790a4a7"; in SoftbusCloseSoftbusSessionFuzzTest() local 83 sessionMode, peerDevId, peerSessName); in SoftbusCloseSoftbusSessionFuzzTest() 99 std::string peerDevId = "bb536a637105409e904d4da83790a4a7"; in SoftbusSendSofbusStreamFuzzTest() local 101 DCameraSoftbusAdapter::GetInstance().CreateSoftBusSourceSocketClient(myDevId, peerSessName, peerDevId, in SoftbusSendSofbusStreamFuzzTest() [all...] |
/foundation/distributedhardware/distributed_audio/services/audiotransport/test/unittest/receiverengine/src/ |
H A D | av_receiver_engine_adapter_test.cpp | 50 std::string peerDevId = "peerDevId"; in HWTEST_F() local 52 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, receiverAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 54 EXPECT_EQ(DH_SUCCESS, receiverAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 65 std::string peerDevId = "peerDevId"; in HWTEST_F() local 120 std::string peerDevId = "peerDevId"; in HWTEST_F() local 122 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, receiverAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 124 EXPECT_EQ(DH_SUCCESS, receiverAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 135 std::string peerDevId = "peerDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | dcamera_softbus_adapter_test.cpp | 73 std::string peerDevId = "abcd"; in HWTEST_F() local 77 sessionMode, peerDevId, peerSessionName); in HWTEST_F() 91 std::string peerDevId = "abcd"; in HWTEST_F() local 95 sessionMode, peerDevId, peerSessionName); in HWTEST_F() 113 std::string peerDevId = TEST_DEVICE_ID; in HWTEST_F() local 115 sessionMode, peerDevId, peerSessName); in HWTEST_F() 134 std::string peerDevId = TEST_DEVICE_ID; in HWTEST_F() local 136 sessionMode, peerDevId, peerSessName); in HWTEST_F() 156 std::string peerDevId = TEST_DEVICE_ID; in HWTEST_F() local 158 int32_t ret = DCameraSoftbusAdapter::GetInstance().CreateSoftBusSourceSocketClient(myDevId, peerSessName, peerDevId, in HWTEST_F() 181 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 221 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 251 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 282 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 315 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 348 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 398 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 428 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 459 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 492 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 525 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 568 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 600 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 632 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 663 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local 694 std::string peerDevId = TEST_DEVICE_ID; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourcetrans/src/ |
H A D | screen_source_trans_test.cpp | 98 std::string peerDevId; in HWTEST_F() local 100 int32_t actual = trans->SetUp(localParam, remoteParam, peerDevId); in HWTEST_F() 133 int32_t actual = trans->SetUp(localParam, remoteParam, "peerDevId"); in HWTEST_F() 154 std::string peerDevId = "sinkDevId"; in HWTEST_F() local 156 int32_t actual = trans->InitScreenTrans(localParam, remoteParam, peerDevId); in HWTEST_F() 177 std::string peerDevId = "sinkDevId"; in HWTEST_F() local 180 int32_t actual = trans->InitScreenTrans(localParam, remoteParam, peerDevId); in HWTEST_F() 208 std::string peerDevId = "sinkDevId"; in HWTEST_F() local 209 trans->screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in HWTEST_F() 237 std::string peerDevId in HWTEST_F() local 253 std::string peerDevId = "sinkDevId"; HWTEST_F() local 281 std::string peerDevId = "sinkDevId"; HWTEST_F() local 297 std::string peerDevId = "sinkDevId"; HWTEST_F() local 360 std::string peerDevId; HWTEST_F() local 387 std::string peerDevId; HWTEST_F() local 414 std::string peerDevId = "sinkDevId"; HWTEST_F() local 441 std::string peerDevId = "sinkDevId"; HWTEST_F() local 469 std::string peerDevId = "sinkDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/interface/ |
H A D | i_av_engine_provider.h | 48 * @param peerDevId id of the remote target device. 51 virtual std::shared_ptr<IAVSenderEngine> CreateAVSenderEngine(const std::string &peerDevId) in CreateAVSenderEngine() argument 53 (void)peerDevId; in CreateAVSenderEngine() 69 * @param peerDevId id of the remote target device. 72 virtual std::shared_ptr<IAVReceiverEngine> CreateAVReceiverEngine(const std::string &peerDevId) in CreateAVReceiverEngine() argument 74 (void)peerDevId; in CreateAVReceiverEngine()
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/domain/rpc/ |
H A D | domain_rpc_service_stub.cpp | 92 std::string peerDevId = IPCSkeleton::GetCallingDeviceID(); in SetListenerObject() local 94 peerProxys_[peerDevId] = peerProxy; in SetListenerObject() 96 SHARING_LOGD("peer deviceId: %{public}s, listener num: %{public}zu.", GetAnonyString(peerDevId).c_str(), in SetListenerObject() 99 auto deathRecipient = new (std::nothrow) DomainRpcDeathRecipient(peerDevId); in SetListenerObject() 100 deathRecipients_[peerDevId] = deathRecipient; in SetListenerObject() 101 CreateDeathListener(peerDevId); in SetListenerObject() 110 DomainRpcManager::GetInstance()->AddRpcClient(peerDevId, peerProxy); in SetListenerObject()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/test/unittest/av_receiver_engine_provider/src/ |
H A D | av_receiver_engine_provider_test.cpp | 54 std::string peerDevId = "peerDevId"; in HWTEST_F() local 57 auto avReceiverEngine = avReceiveProTest_->CreateAVReceiverEngine(peerDevId); in HWTEST_F() 63 std::string peerDevId = "peerDevId"; in HWTEST_F() local 66 auto avReceiverEngine = avReceiveProTest_->CreateAVReceiverEngine(peerDevId); in HWTEST_F() 74 std::string peerDevId = "peerDevId"; in HWTEST_F() local 77 auto avReceiverEngine = avReceiveProTest_->CreateAVReceiverEngine(peerDevId); in HWTEST_F() 78 auto receiver = std::make_shared<AVReceiverEngine>(ownerName, peerDevId); in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/ |
H A D | softbus_adapter.cpp | 77 const std::string &sessionName, const std::string &peerDevId) in RegisterSoftbusListener() 84 GetAnonyString(peerDevId).c_str()); in RegisterSoftbusListener() 85 std::string strListenerKey = sessionName + "_" + peerDevId; in RegisterSoftbusListener() 96 int32_t SoftbusAdapter::UnRegisterSoftbusListener(const std::string &sessionName, const std::string &peerDevId) in UnRegisterSoftbusListener() argument 99 GetAnonyString(peerDevId).c_str()); in UnRegisterSoftbusListener() 100 std::string strListenerKey = sessionName + "_" + peerDevId; in UnRegisterSoftbusListener() 109 const std::string &peerDevId) in CreateSoftbusSessionServer() 112 GetAnonyString(peerDevId).c_str()); in CreateSoftbusSessionServer() 115 std::string idMapValue = sessionName + "_" + peerDevId; in CreateSoftbusSessionServer() 147 serverIdMap_.insert(std::make_pair(socketId, sessionName + "_" + peerDevId)); in CreateSoftbusSessionServer() 76 RegisterSoftbusListener(const std::shared_ptr<ISoftbusListener> &listener, const std::string &sessionName, const std::string &peerDevId) RegisterSoftbusListener() argument 108 CreateSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, const std::string &peerDevId) CreateSoftbusSessionServer() argument 153 RemoveSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, const std::string &peerDevId) RemoveSoftbusSessionServer() argument 180 OpenSoftbusSession(const std::string &mySessionName, const std::string &peerSessionName, const std::string &peerDevId) OpenSoftbusSession() argument [all...] |
/foundation/distributedhardware/distributed_audio/services/audiotransport/test/unittest/senderengine/src/ |
H A D | av_sender_engine_adapter_test.cpp | 51 std::string peerDevId = "peerDevId"; in HWTEST_F() local 53 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, senderAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 55 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, senderAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 66 std::string peerDevId = "peerDevId"; in HWTEST_F() local 151 std::string peerDevId = "peerDevId"; in HWTEST_F() local 153 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, senderAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 155 EXPECT_EQ(DH_SUCCESS, senderAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 166 std::string peerDevId = "peerDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/2.0/src/ |
H A D | av_sender_engine_adapter_test.cpp | 52 std::string peerDevId = "peerDevId"; in HWTEST_F() local 53 EXPECT_EQ(ERR_DH_AV_TRANS_NULL_VALUE, senderAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 55 EXPECT_EQ(DH_SUCCESS, senderAdapter_->Initialize(providerPtr, peerDevId)); in HWTEST_F() 66 std::string peerDevId = "peerDevId"; in HWTEST_F() local 137 std::string peerDevId = "peerDevId"; in HWTEST_F() local 138 EXPECT_EQ(ERR_DH_AV_TRANS_NULL_VALUE, senderAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 140 EXPECT_EQ(DH_SUCCESS, senderAdapter_->CreateControlChannel(peerDevId)); in HWTEST_F() 151 std::string peerDevId = "peerDevId"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/softbusadapter/include/ |
H A D | softbus_adapter.h | 35 std::string peerDevId; member 42 const std::string &peerDevId); 44 const std::string &peerDevId); 46 const std::string &peerDevId); 52 const std::string &peerDevId); 53 int32_t UnRegisterSoftbusListener(const std::string &sessionName, const std::string &peerDevId);
|
/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/fuzztest/softbusadapter_fuzzer/ |
H A D | softbusadapter_fuzzer.cpp | 138 std::string peerDevId(reinterpret_cast<const char*>(data), size); in SoftbusRegisterSoftbusListenerFuzzTest() 141 (void)softbusAdapter->RegisterSoftbusListener(listener, sessionName, peerDevId); in SoftbusRegisterSoftbusListenerFuzzTest() 142 (void)softbusAdapter->UnRegisterSoftbusListener(sessionName, peerDevId); in SoftbusRegisterSoftbusListenerFuzzTest() 151 std::string peerDevId(reinterpret_cast<const char*>(data), size); in SoftbusUnRegisterSoftbusListenerFuzzTest() 154 (void)softbusAdapter->UnRegisterSoftbusListener(sessionName, peerDevId); in SoftbusUnRegisterSoftbusListenerFuzzTest() 164 std::string peerDevId(reinterpret_cast<const char*>(data), size); in SoftbusCreateSoftbusSessionServerFuzzTest() 167 (void)softbusAdapter->CreateSoftbusSessionServer(pkgName, sessionName, peerDevId); in SoftbusCreateSoftbusSessionServerFuzzTest() 168 (void)softbusAdapter->RemoveSoftbusSessionServer(pkgName, sessionName, peerDevId); in SoftbusCreateSoftbusSessionServerFuzzTest() 178 std::string peerDevId(reinterpret_cast<const char*>(data), size); in SoftbusRemoveSoftbusSessionServerFuzzTest() 181 (void)softbusAdapter->RemoveSoftbusSessionServer(pkgName, sessionName, peerDevId); in SoftbusRemoveSoftbusSessionServerFuzzTest() [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/ |
H A D | screenregionmgr.cpp | 92 int32_t ScreenRegionManager::CreateDScreenRegion(const std::string &peerDevId) in CreateDScreenRegion() argument 94 DHLOGI("CreateDScreenRegion for peerDevId: %{public}s", GetAnonyString(peerDevId).c_str()); in CreateDScreenRegion() 95 auto screenRegion = std::make_shared<ScreenRegion>(peerDevId); in CreateDScreenRegion() 101 int32_t ScreenRegionManager::DestoryDScreenRegion(const std::string &peerDevId) in DestoryDScreenRegion() argument 103 DHLOGI("DestoryDScreenRegion for peerDevId: %{public}s", GetAnonyString(peerDevId).c_str()); in DestoryDScreenRegion() 190 ScreenRegionManager::GetInstance().CreateDScreenRegion(event.peerDevId); in OnProviderEvent() 192 ScreenRegionManager::GetInstance().DestoryDScreenRegion(event.peerDevId); in OnProviderEvent()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/daudio_input_test/ |
H A D | daudio_input_test.cpp | 31 const std::string KEY_PEER_DEVID = "peerDevId"; 317 std::string peerDevId = ""; in HWTEST_F() local 318 ParseChannelDescription(descJsonStr, ownerName, peerDevId); in HWTEST_F() 325 std::string peerDevId = ""; in HWTEST_F() local 330 ParseChannelDescription(descJsonStr, ownerName, peerDevId); in HWTEST_F() 341 ParseChannelDescription(descJsonStr1, ownerName, peerDevId); in HWTEST_F() 351 ParseChannelDescription(descJsonStr2, ownerName, peerDevId); in HWTEST_F() 423 std::string peerDevId = "peerDevId_test"; in HWTEST_F() local 429 auto ret = avMessage->UnmarshalMessage(jsonStr, peerDevId); in HWTEST_F() 439 ret = avMessage->UnmarshalMessage(jsonStr1, peerDevId); in HWTEST_F() 500 std::string peerDevId = "peerDevId_test"; HWTEST_F() local 516 std::string peerDevId = "peerDevId_test"; HWTEST_F() local 532 std::string peerDevId = "peerDevId_test"; HWTEST_F() local 553 std::string peerDevId = "peerDevIdtest"; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/2.0/src/ |
H A D | screenregionmgr_test.cpp | 55 std::string peerDevId = "peerDevId"; in HWTEST_F() local 56 int32_t ret =ScreenRegionManager::GetInstance().CreateDScreenRegion(peerDevId); in HWTEST_F() 68 std::string peerDevId = "peerDevId"; in HWTEST_F() local 69 int32_t ret =ScreenRegionManager::GetInstance().DestoryDScreenRegion(peerDevId); in HWTEST_F()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinktrans/include/ |
H A D | screen_sink_trans.h | 37 int32_t SetUp(const VideoParam &localParam, const VideoParam &remoteParam, const std::string &peerDevId) override; 52 int32_t CheckTransParam(const VideoParam &localParam, const VideoParam &remoteParam, const std::string &peerDevId); 53 int32_t InitScreenTrans(const VideoParam &localParam, const VideoParam &remoteParam, const std::string &peerDevId); 56 const std::string &peerDevId);
|
/foundation/distributedhardware/distributed_audio/services/audiotransport/receiverengine/src/ |
H A D | av_receiver_engine_adapter.cpp | 31 int32_t AVTransReceiverAdapter::Initialize(IAVEngineProvider *providerPtr, const std::string &peerDevId) in Initialize() argument 38 receiverEngine_ = providerPtr->CreateAVReceiverEngine(peerDevId); in Initialize() 81 int32_t AVTransReceiverAdapter::CreateControlChannel(const std::string &peerDevId) in CreateControlChannel() argument 83 DHLOGI("Create control channel, peerDevId:%{public}s.", GetAnonyString(peerDevId).c_str()); in CreateControlChannel() 90 std::vector<std::string> dstDevIds = {peerDevId}; in CreateControlChannel()
|