/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/ |
H A D | bus_center_client_proxy.cpp | 31 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(clientObject); in GetClientProxy() local 32 return clientProxy; in GetClientProxy() 42 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(info->pkgName, info->pid); in ClientOnJoinLNNResult() local 43 if (clientProxy == nullptr) { in ClientOnJoinLNNResult() 47 return clientProxy->OnJoinLNNResult(addr, addrTypeLen, networkId, retCode); in ClientOnJoinLNNResult() 57 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); in ClientOnLeaveLNNResult() local 58 if (clientProxy == nullptr) { in ClientOnLeaveLNNResult() 62 return clientProxy->OnLeaveLNNResult(networkId, retCode); in ClientOnLeaveLNNResult() 70 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); in ClinetOnNodeOnlineStateChanged() local 71 clientProxy in ClinetOnNodeOnlineStateChanged() 81 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); ClinetOnNodeBasicInfoChanged() local 96 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); ClientOnNodeStatusChanged() local 107 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); ClinetOnLocalNetworkIdChanged() local 122 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); ClinetNotifyDeviceTrustedChange() local 138 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(proxy.second); ClientNotifyHichainProofException() local 155 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientOnTimeSyncResult() local 170 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientOnPublishLNNResult() local 186 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientOnRefreshLNNResult() local 202 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientOnRefreshDeviceFound() local 224 sptr<BusCenterClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientOnDataLevelChanged() local [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/ipc/ |
H A D | trans_client_proxy_standard_test.cpp | 57 sptr<TransClientProxy> clientProxy = new (std::nothrow) TransClientProxy(remoteObject); in HWTEST_F() local 58 ASSERT_TRUE(clientProxy != nullptr); in HWTEST_F() 67 ret = clientProxy->OnJoinLNNResult(addr, addrTypeLen, networkId, tmp); in HWTEST_F() 70 ret = clientProxy->OnJoinMetaNodeResult(addr, addrTypeLen, metaInfo, infoLen, tmp); in HWTEST_F() 73 ret = clientProxy->OnLeaveLNNResult(networkId, tmp); in HWTEST_F() 76 ret = clientProxy->OnLeaveMetaNodeResult(networkId, tmp); in HWTEST_F() 80 ret = clientProxy->OnNodeOnlineStateChanged("test", isOnline, addr, addrTypeLen); in HWTEST_F() 83 ret = clientProxy->OnNodeBasicInfoChanged("test", addr, addrTypeLen, tmp); in HWTEST_F() 86 ret = clientProxy->OnTimeSyncResult(addr, addrTypeLen, tmp); in HWTEST_F() 89 clientProxy in HWTEST_F() 110 sptr<TransClientProxy> clientProxy = new (std::nothrow) TransClientProxy(remoteObject); HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/core/transmission/ipc/standard/src/ |
H A D | trans_client_proxy.cpp | 35 sptr<TransClientProxy> clientProxy = new (std::nothrow) TransClientProxy(clientObject); in GetClientProxy() local 36 return clientProxy; in GetClientProxy() 45 sptr<TransClientProxy> clientProxy = GetClientProxy(pkgName, pid); in InformPermissionChange() local 46 if (clientProxy == nullptr) { in InformPermissionChange() 50 return clientProxy->OnClientPermissonChange(pkgName, state); in InformPermissionChange() 63 sptr<TransClientProxy> clientProxy = GetClientProxy(pkgName, pid); in ClientIpcOnChannelOpened() local 64 if (clientProxy == nullptr) { in ClientIpcOnChannelOpened() 68 return clientProxy->OnChannelOpened(sessionName, channel); in ClientIpcOnChannelOpened() 77 sptr<TransClientProxy> clientProxy = GetClientProxy(data->msgPkgName, data->msgPid); in ClientIpcOnChannelBind() local 78 if (clientProxy in ClientIpcOnChannelBind() 99 sptr<TransClientProxy> clientProxy = GetClientProxy(data->msgPkgName, data->msgPid); ClientIpcOnChannelOpenFailed() local 115 sptr<TransClientProxy> clientProxy = GetClientProxy(data->msgPkgName, data->msgPid); ClientIpcOnChannelLinkDown() local 138 sptr<TransClientProxy> clientProxy = GetClientProxy(data->msgPkgName, data->msgPid); ClientIpcOnChannelClosed() local 158 sptr<TransClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientIpcSetChannelInfo() local 185 sptr<TransClientProxy> clientProxy = GetClientProxy(data->msgPkgName, data->msgPid); ClientIpcOnChannelMsgReceived() local 197 sptr<TransClientProxy> clientProxy = GetClientProxy(pkgName, param->pid); ClientIpcOnChannelQosEvent() local 213 sptr<TransClientProxy> clientProxy = GetClientProxy(pkgName, pid); ClientIpcOnTransLimitChange() local [all...] |
/foundation/communication/dsoftbus/tests/core/bus_center/test/ipc/ |
H A D | client_proxy_test.cpp | 69 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); in HWTEST_F() local 70 ASSERT_TRUE(clientProxy != nullptr); in HWTEST_F() 73 int32_t ret = clientProxy->OnJoinLNNResult(nullptr, TEST_ADDR_TYPE_LEN, TEST_NETWORK_ID, TEST_RET_CODE); in HWTEST_F() 75 ret = clientProxy->OnJoinLNNResult(addrInput, TEST_ADDR_TYPE_LEN, nullptr, TEST_RET_CODE); in HWTEST_F() 77 ret = clientProxy->OnJoinLNNResult(addrInput, TEST_ADDR_TYPE_LEN, TEST_NETWORK_ID, TEST_RET_CODE); in HWTEST_F() 93 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); in HWTEST_F() local 94 ASSERT_TRUE(clientProxy != nullptr); in HWTEST_F() 95 int32_t ret = clientProxy->OnLeaveLNNResult(nullptr, TEST_RET_CODE); in HWTEST_F() 97 ret = clientProxy->OnLeaveLNNResult(TEST_NETWORK_ID, TEST_RET_CODE); in HWTEST_F() 113 sptr<BusCenterClientProxy> clientProxy in HWTEST_F() local 136 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); HWTEST_F() local 158 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); HWTEST_F() local 180 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); HWTEST_F() local 200 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); HWTEST_F() local 220 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(remoteObject); HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/sdk/frame/small/src/ |
H A D | softbus_server_proxy.c | 42 IClientProxy *clientProxy = NULL; in GetServerProxy() local 46 while (clientProxy == NULL) { in GetServerProxy() 58 int32_t ret = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&clientProxy); in GetServerProxy() 59 if (ret != EC_SUCCESS || clientProxy == NULL) { in GetServerProxy() 67 return clientProxy; in GetServerProxy()
|
/foundation/communication/ipc/ipc/test/ipc/client/ |
H A D | ipc_test_client.c | 148 IClientProxy *clientProxy = NULL; in GetServerProxy() local 152 while (clientProxy == NULL) { in GetServerProxy() 166 int32_t ret = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&clientProxy); in GetServerProxy() 167 if (ret != EC_SUCCESS || clientProxy == NULL) { in GetServerProxy() 175 return clientProxy; in GetServerProxy()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/ |
H A D | ipc_client_server_proxy.cpp | 59 IClientProxy *clientProxy = nullptr; in GetServerProxy() local 67 if (iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&clientProxy) != DM_OK || in GetServerProxy() 68 clientProxy == nullptr) { in GetServerProxy() 71 return clientProxy; in GetServerProxy()
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_impl.cpp | 55 DhcpClientProxy *clientProxy = DhcpClientProxy::GetInstance(); in Init() local 56 if (clientProxy == nullptr) { in Init() 60 if (clientProxy->Init() != DHCP_OPT_SUCCESS) { in Init() 65 client_ = clientProxy; in Init()
|
H A D | dhcp_server_impl.cpp | 60 if (clientProxy->Init() != DHCP_OPT_SUCCESS) { in Init() 65 client_ = clientProxy; in Init()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/ipc/ |
H A D | bus_center_client_proxy_standard_test.cpp | 59 sptr<BusCenterClientProxy> clientProxy = new (std::nothrow) BusCenterClientProxy(clientObject); in GetClientProxy() local 60 return clientProxy; in GetClientProxy()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | svc_session_manager_test.cpp | 77 {.clientToken = CLIENT_TOKEN_ID, .scenario = scenario, .backupExtNameMap = {}, .clientProxy = remote_}); in Init() 170 newImpl.clientProxy = nullptr; in HWTEST_F() 204 sessionManagerPtr_->impl_.clientProxy = nullptr; in HWTEST_F() 210 sessionManagerPtr_->impl_.clientProxy = remote_; in HWTEST_F() 218 sessionManagerPtr_->impl_.clientProxy = remote_; in HWTEST_F() 286 sessionManagerPtr_->impl_.clientProxy = nullptr; in HWTEST_F() 293 sessionManagerPtr_->impl_.clientProxy = remote_; in HWTEST_F() 296 reinterpret_cast<long long>(sessionManagerPtr_->impl_.clientProxy.GetRefPtr())); in HWTEST_F() 577 newImpl.clientProxy = nullptr; in HWTEST_F() 585 newImpl.clientProxy in HWTEST_F() [all...] |
H A D | service_test.cpp | 920 impl_.clientProxy = nullptr; in HWTEST_F() 968 impl_.clientProxy = nullptr; in HWTEST_F() 992 impl_.clientProxy = nullptr; in HWTEST_F()
|
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_session_manager.cpp | 104 if (!force && (!impl_.clientToken || !impl_.clientProxy)) { in Deactive() 107 if (!force && (remoteInAction != impl_.clientProxy->AsObject())) { in Deactive() 136 if (!impl_.clientProxy) { in GetServiceReverseProxy() 139 return impl_.clientProxy; in GetServiceReverseProxy() 354 if (!newImpl.clientProxy) { in InitClient() 357 auto remoteObj = newImpl.clientProxy->AsObject(); in InitClient()
|
H A D | service.cpp | 124 .clientProxy = nullptr, in OnStart() 312 .clientProxy = remote, in InitRestoreSession() 338 .clientProxy = remote, in InitBackupSession()
|
H A D | service_incremental.cpp | 267 .clientProxy = remote, in InitIncrementalBackupSession()
|
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/ |
H A D | svc_session_manager.h | 83 sptr<IServiceReverse> clientProxy; member 133 * @return sptr<IServiceReverse> 返回clientProxy 535 * @brief 初始化 clientProxy
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/ |
H A D | screen_session_manager_stub.cpp | 675 auto clientProxy = iface_cast<IScreenSessionManagerClient>(remoteObject); in OnRemoteRequest() local 676 if (clientProxy == nullptr) { in OnRemoteRequest() 677 WLOGFE("clientProxy is null"); in OnRemoteRequest() 680 SetClient(clientProxy); in OnRemoteRequest()
|
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/ |
H A D | svc_session_manager_mock.cpp | 65 return impl_.clientProxy; in GetServiceReverseProxy()
|