Searched refs:ReadMessage (Results 1 - 6 of 6) sorted by relevance
/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_client_test/ |
H A D | ams_service_app_spawn_client_test.cpp | 227 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 257 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 308 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 382 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillRepeatedly(Return(ERR_APPEXECFWK_SOCKET_READ_FAILED)); in HWTEST_F() 433 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 586 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 615 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 650 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 688 EXPECT_CALL(*socketMock, ReadMessage(_, _)).WillOnce(Invoke(socketMock.get(), &MockAppSpawnSocket::ReadImpl)); in HWTEST_F() 795 EXPECT_CALL(*socketMock, ReadMessage( in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_socket_test/ |
H A D | ams_service_app_spawn_socket_test.cpp | 133 * SubFunction: ReadMessage 136 * CaseDescription: Verify the function ReadMessage can check the invalid buffer point. 149 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 157 * SubFunction: ReadMessage 160 * CaseDescription: Verify the function ReadMessage can check the buffer length is 0. 173 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 181 * SubFunction: ReadMessage 184 * CaseDescription: Verify the function ReadMessage can check the buffer length < 0. 197 EXPECT_EQ(ERR_INVALID_VALUE, appSpawnSocket->ReadMessage(buff.get(), len)); in HWTEST() 205 * SubFunction: ReadMessage [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/service_app_spawn_client_test/ |
H A D | ams_service_app_spawn_client_module_test.cpp | 97 int32_t ReadMessage(void* buf, [[maybe_unused]] int32_t len) override 100 TAG_LOGE(AAFwkTag::TEST, "MockedAppSpawnSocket::ReadMessage mock case not openConnection!"); 104 TAG_LOGE(AAFwkTag::TEST, "MockedAppSpawnSocket::ReadMessage mock case failed to openConnection!"); 108 TAG_LOGE(AAFwkTag::TEST, "MockedAppSpawnSocket::ReadMessage mock case failed to readMessage!"); 518 EXPECT_CALL(*mockedAppSpawnSocket, ReadMessage(_, _)) in HWTEST_F() 556 EXPECT_CALL(*mockedAppSpawnSocket, ReadMessage(_, _)) in HWTEST_F() 603 * CaseDescription: Test if AppSpawnClient act normal when failed to start process for ReadMessage, 622 EXPECT_CALL(*mockedAppSpawnSocket, ReadMessage(_, _)).WillRepeatedly(Return(ERR_OK)).RetiresOnSaturation(); in HWTEST_F() 627 EXPECT_CALL(*mockedAppSpawnSocket, ReadMessage(_, _)) in HWTEST_F() 645 * CaseDescription: Test if AppSpawnClient act normal when failed to connect daemon for ReadMessage [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_socket.cpp | 86 ErrCode AppSpawnSocket::ReadMessage(void *buf, const int32_t len) in ReadMessage() function in OHOS::AppExecFwk::AppSpawnSocket
|
/foundation/communication/netstack/interfaces/innerkits/tls_socket/include/ |
H A D | tls_socket.h | 618 int ReadMessage();
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket.cpp | 409 int TLSSocket::ReadMessage() in ReadMessage() function in OHOS::NetStack::TlsSocket::TLSSocket 471 int ret = ReadMessage(); in StartReadMessage()
|
Completed in 8 milliseconds