Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp63 if (g_serverProxy != nullptr) { in BusCenterServerProxyInit()
73 if (g_serverProxy == nullptr) { in BusCenterServerProxyInit()
89 if (g_serverProxy == nullptr) { in BusCenterServerProxyDeInit()
94 g_serverProxy.clear(); in BusCenterServerProxyDeInit()
99 if (g_serverProxy == nullptr) { in ServerIpcGetAllOnlineNodeInfo()
112 if (g_serverProxy == nullptr) { in ServerIpcGetLocalDeviceInfo()
122 if (g_serverProxy == nullptr) { in ServerIpcGetNodeKeyInfo()
132 if (g_serverProxy == nullptr) { in ServerIpcSetNodeDataChangeFlag()
142 if (g_serverProxy == nullptr) { in ServerIpcRegDataLevelChangeCb()
152 if (g_serverProxy == nullptr) { in ServerIpcUnregDataLevelChangeCb()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/small/
H A Dbus_center_server_proxy.c180 if (g_serverProxy != NULL) { in BusCenterServerProxyInit()
213 g_serverProxy = NULL; in BusCenterServerProxyDeInit()
222 if (g_serverProxy == NULL) { in ServerIpcGetAllOnlineNodeInfo()
274 if (g_serverProxy == NULL) { in ServerIpcGetLocalDeviceInfo()
311 if (g_serverProxy == NULL) { in ServerIpcGetNodeKeyInfo()
350 if (g_serverProxy == NULL) { in ServerIpcSetNodeDataChangeFlag()
375 if (g_serverProxy == NULL) { in ServerIpcRegDataLevelChangeCb()
389 if (g_serverProxy == NULL) { in ServerIpcUnregDataLevelChangeCb()
403 if (g_serverProxy == NULL) { in ServerIpcSetDataLevel()
408 return g_serverProxy->Invoke(g_serverProxy, SERVER_SET_DATA_LEVEL, &request, NULL, NULL); in ServerIpcSetDataLevel()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/ipc/small/
H A Dtrans_server_proxy.c90 if (g_serverProxy != NULL) { in TransServerProxyInit()
121 g_serverProxy = NULL; in TransServerProxyDeInit()
140 if (g_serverProxy == NULL) { in ServerIpcCreateSessionServer()
168 if (g_serverProxy == NULL) { in ServerIpcRemoveSessionServer()
253 if (g_serverProxy == NULL) { in ServerIpcOpenSession()
257 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OPEN_SESSION, &request, in ServerIpcOpenSession()
284 if (g_serverProxy == NULL) { in ServerIpcOpenAuthSession()
305 if (g_serverProxy == NULL) { in ServerIpcNotifyAuthSuccess()
326 if (g_serverProxy == NULL) { in ServerIpcReleaseResources()
351 if (g_serverProxy == NULL) { in ServerIpcCloseChannel()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_frame.cpp44 OHOS::sptr<OHOS::IRemoteObject> g_serverProxy = nullptr; variable
66 if (g_serverProxy == nullptr) { in InnerRegisterService()
126 if (g_serverProxy == nullptr) { in ServerProxyInit()
127 g_serverProxy = GetSystemAbility(); in ServerProxyInit()
128 if (g_serverProxy == nullptr) { in ServerProxyInit()
132 if (g_serverProxy == g_oldServerProxy) { in ServerProxyInit()
133 g_serverProxy = nullptr; in ServerProxyInit()
144 if (!g_serverProxy->AddDeathRecipient(g_clientDeath)) { in ServerProxyInit()
172 g_oldServerProxy = g_serverProxy; in ClientDeathProcTask()
176 g_serverProxy.clear(); in ClientDeathProcTask()
[all …]
/ohos5.0/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, ServerMultiCallba… 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()
/ohos5.0/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dsoftbus_server_proxy.c30 static IClientProxy *g_serverProxy = NULL; variable
92 if (g_serverProxy->Invoke(g_serverProxy, MANAGE_REGISTER_SERVICE, &request, &ret, in RegisterService()
109 g_serverProxy = GetServerProxy(); in ServerProxyInit()
110 if (g_serverProxy == NULL) { in ServerProxyInit()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
H A Dtrans_server_proxy.cpp34 sptr<TransServerProxy> g_serverProxy = nullptr; variable
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… in GetProxy()
76 return g_serverProxy; in GetProxy()
109 g_serverProxy.clear(); in TransServerProxyDeInit()
236g_serverProxy != nullptr, SOFTBUS_NO_INIT, TRANS_SDK, "softbus server g_serverProxy is nullptr"); in ServerIpcSendMessage()
238 return g_serverProxy->SendMessage(channelId, channelType, data, len, msgType); in ServerIpcSendMessage()