Home
last modified time | relevance | path

Searched refs:EIO (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/libs/vr/libpdx_uds/
Dipc_helper_tests.cpp52 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in SendTest()
54 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in SendTest()
65 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in RecvTest()
67 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in RecvTest()
97 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in SendMessageTest()
99 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in SendMessageTest()
110 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in RecvMessageTest()
112 .WillByDefault(SetErrnoAndReturn(EIO, -1)); in RecvMessageTest()
155 .WillOnce(SetErrnoAndReturn(EIO, -1)); in TEST_F()
159 EXPECT_EQ(EIO, status.error()); in TEST_F()
[all …]
Dclient_channel_factory.cpp133 return ErrorStatus(EIO); in Connect()
152 return ErrorStatus(EIO); in Connect()
163 return ErrorStatus(EIO); in Connect()
Dservice_framework_tests.cpp149 REPLY_ERROR_RETURN(message, EIO, {}); in HandleMessage()
159 REPLY_ERROR_RETURN(message, EIO, {}); in HandleMessage()
175 REPLY_ERROR_RETURN(message, EIO, {}); in HandleMessage()
219 REPLY_ERROR_RETURN(message, EIO, {}); in HandleMessage()
Dipc_helper.cpp301 ret.SetError(EIO); in Receive()
334 ret.SetError(EIO); in Receive()
493 return ErrorStatus(EIO); in WaitForEndpoint()
Dclient_channel.cpp86 return ErrorStatus(EIO); in ReadAndDiscardData()
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp321 EXPECT_CALL(*endpoint(), MessageReply(&message, -EIO)) in TEST_F()
402 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F()
403 EXPECT_EQ(EIO, message_->Reply(12).error()); in TEST_F()
459 RemoteHandle handle{-EIO}; in TEST_F()
460 EXPECT_CALL(*endpoint(), MessageReply(message_.get(), -EIO)) in TEST_F()
498 Status<int> status{ErrorStatus{EIO}}; in TEST_F()
558 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F()
561 EXPECT_EQ(EIO, message_->WriteVector(vec, 2).error()); in TEST_F()
572 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F()
574 EXPECT_EQ(EIO, message_->PushFileHandle(handle).error()); in TEST_F()
[all …]
Dstatus_tests.cpp45 Status<std::string> status_str = ErrorStatus(EIO); in TEST()
48 EXPECT_EQ(EIO, status_str.error()); in TEST()
52 Status<int> status = ErrorStatus(EIO); in TEST()
53 EXPECT_EQ(status.GetErrorMessage(), strerror(EIO)); in TEST()
Dclient_tests.cpp166 FailingClient::Create(std::make_unique<MockClientChannel>(), EIO); in TEST_F()
189 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F()
192 EXPECT_EQ(EIO, status.error()); in TEST_F()
231 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F()
235 EXPECT_EQ(EIO, status.error()); in TEST_F()
388 client_->Close(EIO); in TEST_F()
392 EXPECT_EQ(EIO, status.error()); in TEST_F()
394 EXPECT_EQ(-EIO, client_->error()); in TEST_F()
398 client_->Close(EIO); in TEST_F()
Dservice.cpp98 return ErrorStatus{EIO}; in ReadVectorAll()
137 return ErrorStatus{EIO}; in WriteVectorAll()
615 return message.ReplyError(EIO); in HandleSystemMessage()
/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp82 errno = EIO; in writeHandle()
191 errno = EIO; in receiveFile()
206 errno = EIO; in receiveFile()
299 errno = EIO; in sendFile()
DMtpFfsHandle.cpp401 errno = EIO; in cancelEvents()
440 errno = EIO; in iobufSubmit()
483 errno = written == -1 ? aio_error(&aio) : EIO; in receiveFile()
537 errno = EIO; in receiveFile()
640 errno = num_read == -1 ? aio_error(&aio) : EIO; in sendFile()
/frameworks/base/libs/androidfw/
DBackupData.cpp202 m_status = EIO; \
233 if (amt == EIO) { in ReadNextHeader()
357 m_status = EIO; in ReadEntityData()
DBackupHelpers.cpp705 err = EIO; in write_tarfile()
772 return EIO; in WriteFile()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dremote_method.h200 RemoteMethodError(message, EIO);
236 RemoteMethodError(message, EIO);
276 RemoteMethodError(message, EIO);
381 result.SetError(EIO);
441 result.SetError(EIO);
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp56 return -EIO; in ImportBuffer()
104 return -EIO; in ImportBuffer()
/frameworks/base/services/incremental/
DIncrementalServiceValidation.cpp42 : -EIO; in fromBinderStatus()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dipc_helper.h191 status.SetError(EIO); in ReceiveData()
201 status.SetError(EIO); in ReceiveData()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp109 return -EIO; in InitializeBuffer()
115 return EIO; in InitializeBuffer()
127 return -EIO; in InitializeBuffer()
/frameworks/base/services/core/java/com/android/server/clipboard/
DEmulatorClipboardMonitor.java244 throw new ErrnoException("write", OsConstants.EIO); in writeFully()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp230 ev.u.get_report_reply.err = report.size() == 0 ? EIO : 0; in sendGetFeatureReportReply()
241 ev.u.set_report_reply.err = success ? 0 : EIO; in sendSetReportReply()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h133 status.SetError(EIO); in ReadAll()
141 status.SetError(EIO); in WriteAll()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java272 public static final int EIO = placeholder(); field in OsConstants
1088 if (errno == EIO) { in errnoName()
/frameworks/base/core/java/android/os/
DFileUtils.java28 import static android.system.OsConstants.EIO;
585 throw new ErrnoException("splice, pipe --> fdOut", EIO); in copyInternalSpliceSocket()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc679 errno = EIO; in funopen_write()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp189 initConstant(env, c, "EIO", EIO); in OsConstants_initConstants()

12