Searched refs:serverProxyFrame (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/dsoftbus/sdk/frame/standard/src/ |
H A D | softbus_server_proxy_frame.cpp | 71 OHOS::sptr<OHOS::SoftBusServerProxyFrame> serverProxyFrame = in InnerRegisterService() local 73 if (serverProxyFrame == nullptr) { in InnerRegisterService() 74 COMM_LOGE(COMM_SDK, "serverProxyFrame is nullptr!"); in InnerRegisterService() 84 while (serverProxyFrame->SoftbusRegisterService(clientName[i], nullptr) != SOFTBUS_OK) { in InnerRegisterService() 239 OHOS::sptr<OHOS::SoftBusServerProxyFrame> serverProxyFrame = in ClientRegisterService() local 241 if (serverProxyFrame == nullptr) { in ClientRegisterService() 242 COMM_LOGE(COMM_SDK, "serverProxyFrame is nullptr!"); in ClientRegisterService() 246 while (serverProxyFrame->SoftbusRegisterService(pkgName, nullptr) != SOFTBUS_OK) { in ClientRegisterService()
|
/foundation/communication/dsoftbus/tests/sdk/frame/standard/ |
H A D | softbus_frame_standard_test.cpp | 195 sptr<SoftBusServerProxyFrame> serverProxyFrame = new (std::nothrow) SoftBusServerProxyFrame(nullptr); in HWTEST_F() local 196 ASSERT_TRUE(serverProxyFrame != nullptr); in HWTEST_F() 197 EXPECT_EQ(serverProxyFrame->SoftbusRegisterService("SoftbusRegisterServiceTest", nullptr), SOFTBUS_IPC_ERR); in HWTEST_F() 201 serverProxyFrame = new (std::nothrow) SoftBusServerProxyFrame(serverProxy); in HWTEST_F() 202 ASSERT_TRUE(serverProxyFrame != nullptr); in HWTEST_F() 203 EXPECT_EQ(serverProxyFrame->SoftbusRegisterService("SoftbusRegisterServiceTest", nullptr), SOFTBUS_IPC_ERR); in HWTEST_F() 205 EXPECT_EQ(serverProxyFrame->SoftbusRegisterService(nullptr, nullptr), SOFTBUS_TRANS_PROXY_WRITECSTRING_FAILED); in HWTEST_F()
|
Completed in 3 milliseconds