Home
last modified time | relevance | path

Searched refs:rsp (Results 1 - 25 of 64) sorted by relevance

123

/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_ipc_server_listener.cpp59 * set rsp not null
75 // set rsp not null in HWTEST_F()
76 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
80 int ret = ipcServerListener->SendRequest(cmdCode, req, rsp); in HWTEST_F()
90 * set rsp not null
104 // set rsp not null in HWTEST_F()
105 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
109 int ret = ipcServerListener->SendRequest(cmdCode, req, rsp); in HWTEST_F()
120 * set rsp not null
137 // set rsp no in HWTEST_F()
138 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
172 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
206 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
239 std::shared_ptr<IpcRsp> rsp = nullptr; HWTEST_F() local
272 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
297 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
320 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
343 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
[all...]
H A DUTTest_ipc_get_device_info_rsp.cpp50 std::shared_ptr<IpcGetDeviceInfoRsp> rsp = std::make_shared<IpcGetDeviceInfoRsp>(); in HWTEST_F() local
51 rsp->SetDeviceInfo(deviceInfo); in HWTEST_F()
52 DmDeviceInfo info = rsp->GetDeviceInfo(); in HWTEST_F()
68 std::shared_ptr<IpcGetDeviceInfoRsp> rsp = std::make_shared<IpcGetDeviceInfoRsp>(); in HWTEST_F() local
69 rsp->SetDeviceInfo(deviceInfo); in HWTEST_F()
70 DmDeviceInfo info = rsp->GetDeviceInfo(); in HWTEST_F()
H A DUTTest_ipc_server_client_proxy.cpp86 * set rsp not null
105 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
108 // set rsp not null in HWTEST_F()
114 ret = ipcServerListener->SendRequest(cmdCode, req, rsp); in HWTEST_F()
126 * set rsp not null
145 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
148 // set rsp not null in HWTEST_F()
154 ret = ipcServerListener->SendRequest(cmdCode, req, rsp); in HWTEST_F()
166 * set rsp not null
185 std::shared_ptr<IpcRsp> rsp in HWTEST_F() local
225 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
[all...]
H A DUTTest_ipc_client_stub.cpp139 * set rsp is nullptr
151 // set rsp is nullptr in HWTEST_F()
152 std::shared_ptr<IpcRsp> rsp = nullptr; in HWTEST_F() local
155 int ret = instance->SendCmd(cmdCode, req, rsp); in HWTEST_F()
169 std::shared_ptr<IpcRsp> rsp = nullptr; in HWTEST_F() local
171 int ret = instance->SendCmd(cmdCode, req, rsp); in HWTEST_F()
183 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
189 int ret = instance->SendCmd(cmdCode, req, rsp); in HWTEST_F()
202 std::shared_ptr<IpcRsp> rsp = nullptr; in HWTEST_F() local
204 int ret = instance->SendCmd(cmdCode, req, rsp); in HWTEST_F()
[all...]
H A DUTTest_ipc_cmd_register.cpp521 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
524 ret = IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in HWTEST_F()
546 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
549 ret = IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in HWTEST_F()
571 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
574 ret = IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in HWTEST_F()
596 std::shared_ptr<IpcGetTrustDeviceRsp> rsp = std::make_shared<IpcGetTrustDeviceRsp>(); in HWTEST_F() local
599 ret = IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in HWTEST_F()
613 std::shared_ptr<IpcGetLocalDeviceInfoRsp> rsp = std::make_shared<IpcGetLocalDeviceInfoRsp>(); in HWTEST_F() local
614 int ret = IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in HWTEST_F()
627 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); HWTEST_F() local
641 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); HWTEST_F() local
655 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); HWTEST_F() local
669 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
683 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
697 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
711 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
725 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
739 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
753 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
767 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
781 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
795 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
809 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
831 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
[all...]
H A DUTTest_ipc_client_manager.cpp415 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
421 int ret = instance->SendRequest(0, req, rsp); in HWTEST_F()
442 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
456 int ret = instance->SendRequest(0, req, rsp); in HWTEST_F()
477 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
491 int ret = instance->SendRequest(0, req, rsp); in HWTEST_F()
512 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
526 int ret = instance->SendRequest(0, req, rsp); in HWTEST_F()
547 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
561 int ret = instance->SendRequest(0, req, rsp); in HWTEST_F()
574 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
590 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
606 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
621 std::shared_ptr<IpcRsp> rsp = nullptr; HWTEST_F() local
[all...]
H A DUTTest_ipc_client_proxy.cpp286 * set rsp not nullptr
297 // set rsp not nullptr in HWTEST_F()
298 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in HWTEST_F() local
303 int32_t ret = ipcClientProxy->SendRequest(0, req, rsp); in HWTEST_F()
311 * set rsp nullptr
322 // set rsp nullptr in HWTEST_F()
323 std::shared_ptr<IpcRsp> rsp = nullptr; in HWTEST_F() local
328 int32_t ret = ipcClientProxy->SendRequest(0, req, rsp); in HWTEST_F()
336 * set rsp not nullptr
347 // set rsp no in HWTEST_F()
348 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
373 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
401 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
432 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
458 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); HWTEST_F() local
[all...]
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp222 std::shared_ptr<IpcGetTrustDeviceRsp> rsp = std::make_shared<IpcGetTrustDeviceRsp>(); in GetTrustedDeviceList() local
225 int32_t ret = ipcClientProxy_->SendRequest(GET_TRUST_DEVICE_LIST, req, rsp); in GetTrustedDeviceList()
232 ret = rsp->GetErrCode(); in GetTrustedDeviceList()
239 deviceList = rsp->GetDeviceVec(); in GetTrustedDeviceList()
258 std::shared_ptr<IpcGetTrustDeviceRsp> rsp = std::make_shared<IpcGetTrustDeviceRsp>(); in GetTrustedDeviceList() local
262 int32_t ret = ipcClientProxy_->SendRequest(GET_TRUST_DEVICE_LIST, req, rsp); in GetTrustedDeviceList()
269 ret = rsp->GetErrCode(); in GetTrustedDeviceList()
275 deviceList = rsp->GetDeviceVec(); in GetTrustedDeviceList()
315 std::shared_ptr<IpcGetDeviceInfoRsp> rsp = std::make_shared<IpcGetDeviceInfoRsp>(); in GetDeviceInfo() local
318 int32_t ret = ipcClientProxy_->SendRequest(GET_DEVICE_INFO, req, rsp); in GetDeviceInfo()
344 std::shared_ptr<IpcGetLocalDeviceInfoRsp> rsp = std::make_shared<IpcGetLocalDeviceInfoRsp>(); GetLocalDeviceInfo() local
464 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StartDeviceDiscovery() local
510 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StartDeviceDiscovery() local
543 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StopDeviceDiscovery() local
580 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StopDeviceDiscovery() local
613 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); PublishDeviceDiscovery() local
645 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnPublishDeviceDiscovery() local
690 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); AuthenticateDevice() local
724 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnAuthenticateDevice() local
755 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StopAuthenticateDevice() local
837 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); SetUserOperation() local
868 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetUdidByNetworkId() local
898 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetUuidByNetworkId() local
943 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); RegisterUiStateCallback() local
973 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnRegisterUiStateCallback() local
1007 std::shared_ptr<IpcSetCredentialRsp> rsp = std::make_shared<IpcSetCredentialRsp>(); RequestCredential() local
1040 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); ImportCredential() local
1072 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); DeleteCredential() local
1102 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); RegisterCredentialCallback() local
1130 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnRegisterCredentialCallback() local
1162 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); NotifyEvent() local
1196 std::shared_ptr<IpcSetCredentialRsp> rsp = std::make_shared<IpcSetCredentialRsp>(); RequestCredential() local
1223 std::shared_ptr<IpcSetCredentialRsp> rsp = std::make_shared<IpcSetCredentialRsp>(); CheckCredential() local
1256 std::shared_ptr<IpcSetCredentialRsp> rsp = std::make_shared<IpcSetCredentialRsp>(); ImportCredential() local
1289 std::shared_ptr<IpcSetCredentialRsp> rsp = std::make_shared<IpcSetCredentialRsp>(); DeleteCredential() local
1331 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetEncryptedUuidByNetworkId() local
1361 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GenerateEncryptedUuid() local
1509 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); BindDevice() local
1539 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnBindDevice() local
1568 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetNetworkTypeByNetworkId() local
1611 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); ImportAuthCode() local
1632 std::shared_ptr<IpcExportAuthCodeRsp> rsp = std::make_shared<IpcExportAuthCodeRsp>(); ExportAuthCode() local
1668 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StartDiscovering() local
1713 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StopDiscovering() local
1747 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); RegisterDiscoveryCallback() local
1787 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnRegisterDiscoveryCallback() local
1826 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StartAdvertising() local
1867 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); StopAdvertising() local
1899 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); BindTarget() local
1929 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); UnbindTarget() local
2059 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); RegisterPinHolderCallback() local
2092 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); CreatePinHolder() local
2122 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); DestroyPinHolder() local
2145 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); DpAclAdd() local
2174 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetDeviceSecurityLevel() local
2200 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); CheckApiPermission() local
2224 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); IsSameAccount() local
2243 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); CheckAccessControl() local
2266 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); CheckIsSameAccount() local
2298 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); ShiftLNNGear() local
2329 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); SetDnPolicy() local
2397 std::shared_ptr<IpcGetDeviceScreenStatusRsp> rsp = std::make_shared<IpcGetDeviceScreenStatusRsp>(); GetDeviceScreenStatus() local
2427 std::shared_ptr<IpcGetInfoByNetWorkRsp> rsp = std::make_shared<IpcGetInfoByNetWorkRsp>(); GetNetworkIdByUdid() local
[all...]
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/
H A Dipc_client_manager.cpp42 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in Init() local
45 int32_t ret = serverProxy_.SendCmd(REGISTER_DEVICE_MANAGER_LISTENER, req, rsp); in Init()
50 ret = rsp->GetErrCode(); in Init()
67 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in UnInit() local
69 int32_t ret = serverProxy_.SendCmd(UNREGISTER_DEVICE_MANAGER_LISTENER, req, rsp); in UnInit()
74 ret = rsp->GetErrCode(); in UnInit()
85 int32_t IpcClientManager::SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendRequest() argument
88 CHECK_NULL_RETURN(rsp, ERR_DM_POINT_NULL); in SendRequest()
93 return serverProxy_.SendCmd(cmdCode, req, rsp); in SendRequest()
/foundation/CastEngine/castengine_wifi_display/tests/demo/protocol/rtsp/
H A Drtsp_pusher_demo.cpp33 rtspClient->SetOnRecvRtspPacket([&](const std::string &method, const RtspMessage &rsp) { in main()
35 auto err = rtspClient->HandleOptionRsp(rsp); in main()
84 auto err = rtspClient->HandleAnnounceRsp(rsp); in main()
104 rtspClient->HandleSetupRsp(rsp); in main()
105 auto err = rtspClient->HandleDescribeRsp(rsp); in main()
121 rtspClient->HandlePlayRsp(rsp); in main()
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/
H A Dipc_server_listener.cpp25 int32_t IpcServerListener::SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendRequest() argument
27 if (rsp == nullptr) { in SendRequest()
44 return listener->SendCmd(cmdCode, req, rsp); in SendRequest()
52 int32_t IpcServerListener::SendAll(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendAll() argument
58 int32_t ret = IpcServerStub::GetInstance().SendALL(cmdCode, req, rsp); in SendAll()
H A Dipc_server_client_proxy.cpp26 int32_t IpcServerClientProxy::SendCmd(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendCmd() argument
47 return IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in SendCmd()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp248 std::string rsp("HTTP/1.1 200 OK\r\n" in ResponseFileLengthRequest()
252 rsp.append(std::to_string(0) + "-" + std::to_string(0) + "/" + std::to_string(fileLen) + "\r\n"); in ResponseFileLengthRequest()
253 rsp.append("Content-Disposition: attachment; filename=" + uri + "\r\n\r\n"); in ResponseFileLengthRequest()
258 int len = static_cast<int>(rsp.size()); in ResponseFileLengthRequest()
260 SendData(reinterpret_cast<uint8_t *>(const_cast<char *>(rsp.data())), len); in ResponseFileLengthRequest()
296 std::string rsp("HTTP/1.1 200 OK\r\n" in ResponseFileDataRequest()
299 rsp.append(std::to_string(sendLen) + "\r\n"); in ResponseFileDataRequest()
300 rsp.append("Content-Range: bytes " + std::to_string(start) + "-" + std::to_string(newEnd) + "/" + in ResponseFileDataRequest()
302 rsp.append("Content-Disposition: attachment; filename=" + uri + "\r\n\r\n"); in ResponseFileDataRequest()
305 size_t offset = rsp in ResponseFileDataRequest()
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp241 std::string rsp("HTTP/1.1 200 OK\r\n" in ResponseFileLengthRequest()
245 rsp.append(std::to_string(0) + "-" + std::to_string(0) + "/" + std::to_string(fileLen) + "\r\n"); in ResponseFileLengthRequest()
246 rsp.append("Content-Disposition: attachment; filename=" + uri + "\r\n\r\n"); in ResponseFileLengthRequest()
251 int len = static_cast<int>(rsp.size()); in ResponseFileLengthRequest()
253 SendData(reinterpret_cast<uint8_t *>(const_cast<char *>(rsp.data())), len); in ResponseFileLengthRequest()
289 std::string rsp("HTTP/1.1 200 OK\r\n" in ResponseFileDataRequest()
292 rsp.append(std::to_string(sendLen) + "\r\n"); in ResponseFileDataRequest()
293 rsp.append("Content-Range: bytes " + std::to_string(start) + "-" + std::to_string(newEnd) + "/" + in ResponseFileDataRequest()
295 rsp.append("Content-Disposition: attachment; filename=" + uri + "\r\n\r\n"); in ResponseFileDataRequest()
298 size_t offset = rsp in ResponseFileDataRequest()
[all...]
/foundation/distributedhardware/device_manager/test/servicesfuzztest/ipcserverlistener_fuzzer/
H A Dipc_server_listener_fuzzer.cpp36 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in IpcServerListenerFuzzTest() local
39 ipcServerListener->SendRequest(cmdCode, req, rsp); in IpcServerListenerFuzzTest()
40 ipcServerListener->SendAll(cmdCode, req, rsp); in IpcServerListenerFuzzTest()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dwifi_p2p_service_manager_test.cpp99 WifiP2pServiceResponse rsp; in HWTEST_F() local
101 rsp.SetServiceStatus(P2pServiceStatus::PSRS_SERVICE_PROTOCOL_NOT_AVAILABLE); in HWTEST_F()
102 EXPECT_FALSE(pWifiP2pServiceManager->AddDeviceService(rsp, dev)); in HWTEST_F()
104 rsp.SetServiceStatus(P2pServiceStatus::PSRS_SUCCESS); in HWTEST_F()
105 EXPECT_TRUE(pWifiP2pServiceManager->AddDeviceService(rsp, dev)); in HWTEST_F()
113 WifiP2pServiceResponse rsp; in HWTEST_F() local
114 rsp.SetServiceStatus(P2pServiceStatus::PSRS_SUCCESS); in HWTEST_F()
115 EXPECT_TRUE(pWifiP2pServiceManager->AddDeviceService(rsp, device)); in HWTEST_F()
127 WifiP2pServiceResponse rsp; in HWTEST_F() local
128 rsp in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/
H A Dipc_client_proxy.cpp42 int32_t IpcClientProxy::SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendRequest() argument
47 if (ipcClientManager_ == nullptr || req == nullptr || rsp == nullptr) { in SendRequest()
48 LOGE("req,rsp or ipc client is null"); in SendRequest()
51 return ipcClientManager_->SendRequest(cmdCode, req, rsp); in SendRequest()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/
H A Dipc_client_manager.cpp89 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in Init() local
92 ret = dmInterface_->SendCmd(REGISTER_DEVICE_MANAGER_LISTENER, req, rsp); in Init()
97 ret = rsp->GetErrCode(); in Init()
121 std::shared_ptr<IpcRsp> rsp = std::make_shared<IpcRsp>(); in UnInit() local
123 int32_t ret = dmInterface_->SendCmd(UNREGISTER_DEVICE_MANAGER_LISTENER, req, rsp); in UnInit()
141 int32_t IpcClientManager::SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendRequest() argument
147 if (req == nullptr || rsp == nullptr) { in SendRequest()
152 return dmInterface_->SendCmd(cmdCode, req, rsp); in SendRequest()
H A Dipc_client_server_proxy.cpp25 int32_t IpcClientServerProxy::SendCmd(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendCmd() argument
51 return IpcCmdRegister::GetInstance().ReadResponse(cmdCode, reply, rsp); in SendCmd()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hid2d.cpp111 static void ConvertRecommendChannelResponse(const OHOS::Wifi::RecommendChannelResponse& rsp, in ConvertRecommendChannelResponse() argument
115 response->status = RecommendStatus(static_cast<int>(rsp.status)); in ConvertRecommendChannelResponse()
116 response->index = rsp.index; in ConvertRecommendChannelResponse()
117 response->centerFreq = rsp.centerFreq; in ConvertRecommendChannelResponse()
118 response->centerFreq1 = rsp.centerFreq1; in ConvertRecommendChannelResponse()
119 response->centerFreq2 = rsp.centerFreq2; in ConvertRecommendChannelResponse()
120 response->bandwidth = rsp.bandwidth; in ConvertRecommendChannelResponse()
130 OHOS::Wifi::RecommendChannelResponse rsp; in Hid2dGetRecommendChannel() local
132 OHOS::Wifi::ErrCode retCode = wifiHid2dPtr->Hid2dGetRecommendChannel(req, rsp); in Hid2dGetRecommendChannel()
136 ConvertRecommendChannelResponse(rsp, respons in Hid2dGetRecommendChannel()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/
H A Dwfd_sink_scene.cpp307 auto rsp = std::make_shared<WfdCommonRsp>(); in OnRequest() local
309 rsp->ret = HandleStart(data, rsp); in OnRequest()
310 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest()
315 auto rsp = std::make_shared<WfdCommonRsp>(); in OnRequest() local
317 rsp->ret = HandleStop(data, rsp); in OnRequest()
318 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest()
323 auto rsp = std::make_shared<WfdCommonRsp>(); in OnRequest() local
325 rsp in OnRequest()
331 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
339 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
347 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
355 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
363 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
371 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
379 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
387 auto rsp = std::make_shared<WfdCommonRsp>(); OnRequest() local
395 auto rsp = std::make_shared<GetSinkConfigRsp>(); OnRequest() local
[all...]
/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dipc_server_listener.cpp19 int32_t IpcServerListener::SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendRequest() argument
26 int32_t IpcServerListener::SendAll(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp) in SendAll() argument
H A Dipc_server_listener.h37 int32_t SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);
43 int32_t SendAll(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);
/foundation/distributedhardware/device_manager/services/service/include/ipc/standard/
H A Dipc_server_listener.h37 int32_t SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);
44 int32_t SendAll(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);
/foundation/distributedhardware/device_manager/services/service/include/ipc/lite/
H A Dipc_server_listener.h38 int32_t SendRequest(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);
45 int32_t SendAll(int32_t cmdCode, std::shared_ptr<IpcReq> req, std::shared_ptr<IpcRsp> rsp);

Completed in 13 milliseconds

123