Home
last modified time | relevance | path

Searched refs:g_serverProxy (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp31 sptr<BusCenterServerProxy> g_serverProxy = nullptr; member
66 if (g_serverProxy != nullptr) { in BusCenterServerProxyInit()
75 g_serverProxy = new (std::nothrow) BusCenterServerProxy(object); in BusCenterServerProxyInit()
76 if (g_serverProxy == nullptr) { in BusCenterServerProxyInit()
80 int ret = g_serverProxy->BusCenterServerProxyStandardInit(); in BusCenterServerProxyInit()
92 if (g_serverProxy == nullptr) { in BusCenterServerProxyDeInit()
93 LNN_LOGE(LNN_EVENT, "g_serverProxy is nullptr"); in BusCenterServerProxyDeInit()
96 g_serverProxy->BusCenterServerProxyStandardDeInit(); in BusCenterServerProxyDeInit()
97 g_serverProxy.clear(); in BusCenterServerProxyDeInit()
102 if (g_serverProxy in ServerIpcGetAllOnlineNodeInfo()
[all...]
/foundation/communication/dsoftbus/sdk/bus_center/ipc/small/
H A Dbus_center_server_proxy.c83 static IClientProxy *g_serverProxy = NULL; variable
180 if (g_serverProxy != NULL) { in BusCenterServerProxyInit()
187 while (g_serverProxy == NULL) { in BusCenterServerProxyInit()
200 int32_t ret = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&g_serverProxy); in BusCenterServerProxyInit()
201 if (ret != EC_SUCCESS || g_serverProxy == NULL) { in BusCenterServerProxyInit()
213 g_serverProxy = NULL; in BusCenterServerProxyDeInit()
222 if (g_serverProxy == NULL) { in ServerIpcGetAllOnlineNodeInfo()
223 LNN_LOGE(LNN_EVENT, "g_serverProxy is NULL"); in ServerIpcGetAllOnlineNodeInfo()
234 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_GET_ALL_ONLINE_NODE_INF in ServerIpcGetAllOnlineNodeInfo()
[all...]
/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dsoftbus_server_proxy.c30 static IClientProxy *g_serverProxy = NULL; variable
93 if (g_serverProxy->Invoke(g_serverProxy, MANAGE_REGISTER_SERVICE, &request, &ret, in RegisterService()
110 g_serverProxy = GetServerProxy(); in ServerProxyInit()
111 if (g_serverProxy == NULL) { in ServerProxyInit()
116 if (g_serverProxy == g_oldServerProxy) { in ServerProxyInit()
117 g_serverProxy = NULL; in ServerProxyInit()
128 g_oldServerProxy = g_serverProxy; in ServerProxyDeInit()
129 if (g_serverProxy != NULL) { in ServerProxyDeInit()
130 (void)g_serverProxy in ServerProxyDeInit()
[all...]
/foundation/communication/dsoftbus/sdk/transmission/ipc/small/
H A Dtrans_server_proxy.c31 static IClientProxy *g_serverProxy = NULL; variable
90 if (g_serverProxy != NULL) { in TransServerProxyInit()
97 while (g_serverProxy == NULL) { in TransServerProxyInit()
109 int32_t ret = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&g_serverProxy); in TransServerProxyInit()
110 if (ret != EC_SUCCESS || g_serverProxy == NULL) { in TransServerProxyInit()
121 g_serverProxy = NULL; in TransServerProxyDeInit()
140 if (g_serverProxy == NULL) { in ServerIpcCreateSessionServer()
144 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_CREATE_SESSION_SERVER, &request, &ret, ProxyCallback); in ServerIpcCreateSessionServer()
168 if (g_serverProxy in ServerIpcRemoveSessionServer()
[all...]
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_frame.cpp45 OHOS::sptr<OHOS::IRemoteObject> g_serverProxy = nullptr; member
67 if (g_serverProxy == nullptr) { in InnerRegisterService()
68 COMM_LOGE(COMM_SDK, "g_serverProxy is nullptr!"); in InnerRegisterService()
72 new (std::nothrow) OHOS::SoftBusServerProxyFrame(g_serverProxy); in InnerRegisterService()
127 if (g_serverProxy == nullptr) { in ServerProxyInit()
128 g_serverProxy = GetSystemAbility(); in ServerProxyInit()
129 if (g_serverProxy == nullptr) { in ServerProxyInit()
133 if (g_serverProxy == g_oldServerProxy) { in ServerProxyInit()
134 g_serverProxy = nullptr; in ServerProxyInit()
135 COMM_LOGE(COMM_SDK, "g_serverProxy no in ServerProxyInit()
[all...]
/foundation/communication/ipc/ipc/test/ipc/client/
H A Dipc_test_client.c29 static IClientProxy *g_serverProxy = NULL; variable
76 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_ADD, &data, &ret, ServerAddCallback); in CallServerAdd()
108 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_MULTI, &data, &ret, ServerMultiCallback); in CallServerMulti()
139 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_SUB, &data, &ret, ServerSubCallback); in CallServerSub()
191 g_serverProxy = GetServerProxy(); in main()
192 if (g_serverProxy == NULL) { in main()
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
H A Dtrans_server_proxy.cpp34 sptr<TransServerProxy> g_serverProxy = nullptr; member
66 if (g_serverProxy != nullptr) { in GetProxy()
67 return g_serverProxy; in GetProxy()
73 g_serverProxy = new (std::nothrow) TransServerProxy(object); in GetProxy()
74 TRANS_CHECK_AND_RETURN_RET_LOGE(g_serverProxy != nullptr, nullptr, TRANS_SDK, "Create trans server proxy failed"); in GetProxy()
76 return g_serverProxy; in GetProxy()
88 TRANS_LOGD(TRANS_SDK, "softbus server g_serverProxy is nullptr, retry %{public}" PRIu32 "th time", count); in RetryGetProxy()
91 TRANS_LOGE(TRANS_SDK, "Failed to get softbus server g_serverProxy"); in RetryGetProxy()
109 g_serverProxy.clear(); in TransServerProxyDeInit()
116 proxy != nullptr, SOFTBUS_NO_INIT, TRANS_SDK, "softbus server g_serverProxy i in ServerIpcCreateSessionServer()
[all...]

Completed in 6 milliseconds