Home
last modified time | relevance | path

Searched refs:exceptionCode (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/binder/
DStatus.cpp26 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument
27 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
28 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode()
30 return Status(exceptionCode, OK); in fromExceptionCode()
33 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
35 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
36 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode()
38 return Status(exceptionCode, OK, message); in fromExceptionCode()
41 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
43 return fromExceptionCode(exceptionCode, String8(message)); in fromExceptionCode()
[all …]
DIActivityManager.cpp44 int32_t exceptionCode = reply.readExceptionCode(); in openContentUri() local
45 if (!exceptionCode) { in openContentUri()
54 String8(stringUri).string(), exceptionCode); in openContentUri()
DIServiceManager.cpp272 return status.exceptionCode(); in addService()
DParcel.cpp2183 return status.exceptionCode(); in readExceptionCode()
/frameworks/av/media/libmedia/
DIMediaHTTPConnection.cpp70 int32_t exceptionCode = reply.readExceptionCode(); in connect() local
72 if (exceptionCode) { in connect()
104 int32_t exceptionCode = reply.readExceptionCode(); in readAt() local
106 if (exceptionCode) { in readAt()
148 int32_t exceptionCode = reply.readExceptionCode(); in getSize() local
150 if (exceptionCode) { in getSize()
166 int32_t exceptionCode = reply.readExceptionCode(); in getMIMEType() local
168 if (exceptionCode) { in getMIMEType()
186 int32_t exceptionCode = reply.readExceptionCode(); in getUri() local
188 if (exceptionCode) { in getUri()
/frameworks/native/libs/binder/include/binder/
DStatus.h87 static Status fromExceptionCode(int32_t exceptionCode);
88 static Status fromExceptionCode(int32_t exceptionCode,
90 static Status fromExceptionCode(int32_t exceptionCode,
101 static std::string exceptionToString(status_t exceptionCode);
126 int32_t exceptionCode() const { return mException; } in exceptionCode() function
141 Status(int32_t exceptionCode, int32_t errorCode);
142 Status(int32_t exceptionCode, int32_t errorCode, const String8& message);
/frameworks/native/include/binder/
DStatus.h87 static Status fromExceptionCode(int32_t exceptionCode);
88 static Status fromExceptionCode(int32_t exceptionCode,
90 static Status fromExceptionCode(int32_t exceptionCode,
101 static std::string exceptionToString(status_t exceptionCode);
126 int32_t exceptionCode() const { return mException; } in exceptionCode() function
141 Status(int32_t exceptionCode, int32_t errorCode);
142 Status(int32_t exceptionCode, int32_t errorCode, const String8& message);
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp316 EXPECT_EQ(sm->registerForNotifications("foofoo", cb).exceptionCode(), in TEST()
331 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), in TEST()
340 EXPECT_EQ(sm->registerForNotifications("foo@foo", cb).exceptionCode(), in TEST()
347 EXPECT_EQ(sm->registerForNotifications("foofoo", nullptr).exceptionCode(), in TEST()
357 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), 0); in TEST()
365 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), in TEST()
/frameworks/base/cmds/statsd/src/external/
DStatsCompanionServicePuller.cpp59 if (status.exceptionCode() == Status::Exception::EX_TRANSACTION_FAILED) { in PullInternal()
/frameworks/native/libs/binder/ndk/
Dstatus.cpp54 return PruneException(status->get()->exceptionCode()); in AStatus_getExceptionCode()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp179 EXPECT_EQ(BAD_TYPE, server->sendAndCallBinder(binder).exceptionCode()); in TEST()
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp346 if (status.exceptionCode() != binder::Status::EX_UNSUPPORTED_OPERATION) { in vibratorPerformEffect()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1733 ret.exceptionCode()); in notifyMonitoredUids()
3357 ret.exceptionCode()); in updateOpenCloseStatus()