/foundation/CastEngine/castengine_wifi_display/services/interaction/domain/rpc/ |
H A D | domain_rpc_manager.cpp | 42 int32_t DomainRpcManager::SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) in SendDomainRequest() argument 51 rpcClients_[BaseMsg->toDevId]->SendDomainRequest(remoteId, BaseMsg); in SendDomainRequest() 94 int32_t DomainRpcManager::AddRpcClient(std::string remoteId) in AddRpcClient() argument 96 SHARING_LOGD("remoteId: %{public}s.", remoteId.c_str()); in AddRpcClient() 99 if (client->GetDomainProxy(remoteId) == nullptr) { in AddRpcClient() 106 rpcClients_.insert(std::make_pair(remoteId, client)); in AddRpcClient() 116 int32_t DomainRpcManager::AddRpcClient(std::string remoteId, sptr<IDomainRpcService> peerProxy) in AddRpcClient() argument 118 SHARING_LOGD("remoteId: %{public}s.", remoteId in AddRpcClient() 134 DelRpcClient(std::string remoteId) DelRpcClient() argument 158 OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) OnDomainRequest() argument 169 OnPeerConnected(std::string remoteId) OnPeerConnected() argument 174 OnPeerDisconnected(std::string remoteId) OnPeerDisconnected() argument [all...] |
H A D | domain_rpc_service.cpp | 80 std::string remoteId = IPCSkeleton::GetCallingDeviceID(); in GetSubSystemAbility() local 81 DomainRpcStubs_.insert(std::make_pair(remoteId, object)); in GetSubSystemAbility() 123 int32_t DomainRpcService::SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> msg) in SendDomainRequest() argument 131 void DomainRpcService::DelPeerProxy(std::string remoteId) in DelPeerProxy() argument 133 SHARING_LOGD("remoteId: %{public}s.", remoteId.c_str()); in DelPeerProxy() 135 if (peerProxys_.find(remoteId) != peerProxys_.end()) { in DelPeerProxy() 136 peerProxys_[remoteId]->AsObject()->RemoveDeathRecipient(deathRecipients_[remoteId]); in DelPeerProxy() 137 peerProxys_.erase(remoteId); in DelPeerProxy() [all...] |
H A D | domain_rpc_manager.h | 35 int32_t SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) override; 37 int32_t DelRpcClient(std::string remoteId); 38 int32_t AddRpcClient(std::string remoteId); 40 int32_t AddRpcClient(std::string remoteId, sptr<IDomainRpcService> peerProxy); 42 void OnPeerConnected(std::string remoteId) final; 43 void OnPeerDisconnected(std::string remoteId) final; 44 void OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) final;
|
H A D | domain_rpc_service.h | 40 void DelPeerProxy(std::string remoteId); 44 int32_t SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> msg) final;
|
H A D | domain_rpc_client.h | 50 int32_t SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) final;
|
H A D | domain_rpc_client.cpp | 157 int32_t DomainRpcClient::SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) in SendDomainRequest() argument
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/domain/ |
H A D | domain_def.h | 37 virtual void OnPeerConnected(std::string remoteId) = 0; 38 virtual void OnPeerDisconnected(std::string remoteId) = 0; 39 virtual void OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) = 0; 66 void SetRemoteId(std::string remoteId) in SetRemoteId() argument 69 remoteId_ = remoteId; in SetRemoteId() 80 virtual int32_t SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) = 0; 97 virtual int32_t DelPeer(std::string remoteId) = 0; 99 virtual void OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) = 0; 118 virtual bool IsPeerExist(std::string remoteId) = 0; 119 virtual int32_t SendDomainRequest(std::string remoteId, st [all...] |
H A D | domain_manager.cpp | 42 int32_t DomainManager::SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) in SendDomainRequest() argument 64 void DomainManager::OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) in OnDomainRequest() argument 91 SHARING_LOGD("trace, remoteId: %{public}s.", caller->GetRemoteId().c_str()); in AddPeer() 98 int32_t DomainManager::DelPeer(std::string remoteId) in DelPeer() argument 100 SHARING_LOGD("trace, remoteId: %{public}s.", remoteId.c_str()); in DelPeer() 102 if (peerTypeMap_.find(remoteId) != peerTypeMap_.end()) { in DelPeer() 103 peerTypeMap_.erase(remoteId); in DelPeer() 105 SHARING_LOGE("remoteId is not exist."); in DelPeer() 112 std::shared_ptr<ITransmitMgr> DomainManager::FindMgrByRemoteId(std::string remoteId) in FindMgrByRemoteId() argument [all...] |
H A D | domain_manager.h | 44 int32_t DelPeer(std::string remoteId) override; 46 void OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg) override; 50 int32_t SendDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> BaseMsg); 53 std::shared_ptr<ITransmitMgr> FindMgrByRemoteId(std::string remoteId);
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/interaction/domain/ |
H A D | domain_unit_test.cpp | 59 void OnPeerConnected(std::string remoteId) in OnPeerConnected() argument 61 (void)remoteId; in OnPeerConnected() 63 void OnPeerDisconnected(std::string remoteId) in OnPeerDisconnected() argument 65 (void)remoteId; in OnPeerDisconnected() 67 void OnDomainRequest(std::string remoteId, std::shared_ptr<BaseDomainMsg> baseMsg) in OnDomainRequest() argument 69 (void)remoteId; in OnDomainRequest() 93 std::string remoteId = "dsads"; in HWTEST_F() local 94 auto ret = DomainManager::GetInstance()->DelPeer(remoteId); in HWTEST_F() 108 std::string remoteId = "sdsdsd"; in HWTEST_F() local 111 DomainManager::GetInstance()->OnDomainRequest(remoteId, baseMs in HWTEST_F() 132 std::string remoteId = "sdsdsd"; HWTEST_F() local 143 std::string remoteId = "sdsdsd"; HWTEST_F() local 152 std::string remoteId = "sdsdsd"; HWTEST_F() local 178 std::string remoteId = "sdsdsd"; HWTEST_F() local 219 std::string remoteId = "sdsdsd"; HWTEST_F() local 237 std::string remoteId = "sdsdsd"; HWTEST_F() local 299 std::string remoteId = "1212"; HWTEST_F() local 308 std::string remoteId = "1212"; HWTEST_F() local 315 std::string remoteId = "1212"; HWTEST_F() local 323 std::string remoteId = "1212"; HWTEST_F() local 337 std::string remoteId = "1212"; HWTEST_F() local 345 std::string remoteId = "1212"; HWTEST_F() local 351 std::string remoteId = "1212"; HWTEST_F() local 357 std::string remoteId = "1212"; HWTEST_F() local 571 std::string remoteId = "sdsdsdsd"; HWTEST_F() local 581 std::string remoteId = "sdsdsdsd"; HWTEST_F() local 617 std::string remoteId = "sdsdsd"; HWTEST_F() local 630 std::string remoteId = "sdsdsd"; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_native_view_ffi.cpp | 62 int64_t FfiOHOSAceFrameworkNativeViewCtor(int64_t remoteId) in FfiOHOSAceFrameworkNativeViewCtor() argument 64 auto remoteView = RemoteData::Create<RemoteView>(remoteId); in FfiOHOSAceFrameworkNativeViewCtor()
|
H A D | cj_native_view_ffi.h | 37 CJ_EXPORT int64_t FfiOHOSAceFrameworkNativeViewCtor(int64_t remoteId);
|
/foundation/distributedhardware/distributed_input/services/source/transport/test/sourcetransunittest/ |
H A D | distributed_input_sourcetrans_test.cpp | 516 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; in HWTEST_F() local 517 DistributedInputTransportBase::GetInstance().remoteDevSessionMap_[remoteId] = sessionId; in HWTEST_F() 568 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; in HWTEST_F() local 569 DistributedInputTransportBase::GetInstance().remoteDevSessionMap_[remoteId] = sessionId; in HWTEST_F() 590 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; in HWTEST_F() local 591 DistributedInputTransportBase::GetInstance().remoteDevSessionMap_[remoteId] = sessionId; in HWTEST_F() 657 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; in HWTEST_F() local 658 DistributedInputTransportBase::GetInstance().remoteDevSessionMap_[remoteId] = sessionId; in HWTEST_F() 677 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; in HWTEST_F() local 678 DistributedInputTransportBase::GetInstance().remoteDevSessionMap_[remoteId] in HWTEST_F() 725 std::string remoteId = "f6d4c08647073e02e7a78f09473aa122ff57fc81c00981fcf5be989e7d112591"; HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_core_unittest.cpp | 400 int remoteId = proxy->GetHandle(); in HWTEST_F() local 401 EXPECT_GE(remoteId, 0); in HWTEST_F()
|