Home
last modified time | relevance | path

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

/system/libhidl/base/
DStatus.cpp85 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument
86 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
87 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode()
89 return Status(exceptionCode, OK); in fromExceptionCode()
92 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
94 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
95 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode()
97 return Status(exceptionCode, OK, message); in fromExceptionCode()
106 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
107 : mException(exceptionCode), in Status()
[all …]
/system/netd/include/
DBinderUtil.h82 const int exceptionCode = in binderCallLogFn() local
85 if (hasReturnArgs || !IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
90 if (!IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
94 "%s(%d, \"%s\")", exceptionToString(exceptionCode).c_str(), in binderCallLogFn()
95 (errCode != 0) ? errCode : exceptionCode, in binderCallLogFn()
/system/libhidl/base/include/hidl/
DStatus.h86 static Status fromExceptionCode(int32_t exceptionCode);
87 static Status fromExceptionCode(int32_t exceptionCode,
107 int32_t exceptionCode() const { return mException; } in exceptionCode() function
119 Status(int32_t exceptionCode, int32_t errorCode);
120 Status(int32_t exceptionCode, int32_t errorCode, const char *message);
/system/security/keystore/
Dkeystore_cli.cpp142 fprintf(stderr, "Exception code: %d\n", ret.exceptionCode()); \
184 fprintf(stderr, "Exception code: %d\n", ret.exceptionCode()); \
199 fprintf(stderr, "list: exception (%d)\n", ret.exceptionCode()); in list()
Dkeystore_attestation_id.cpp285 status.exceptionMessage().string(), status.exceptionCode()); in gather_attestation_application_id()
/system/tools/aidl/tests/
Daidl_test_client_service_exceptions.cpp37 if (status.exceptionCode() != Status::EX_SERVICE_SPECIFIC || in ConfirmServiceSpecificExceptions()
Daidl_test_client_nullables.cpp146 if (s->TakesAnIBinder(null_binder).exceptionCode() != in CheckAppropriateIBinderHandling()
152 if (s->TakesAnIBinderList(*list_with_nulls).exceptionCode() != in CheckAppropriateIBinderHandling()
/system/libhidl/transport/
DHidlBinderSupport.cpp209 if (s.exceptionCode() == Status::EX_TRANSACTION_FAILED) { in writeToParcel()
213 status_t status = parcel->writeInt32(s.exceptionCode()); in writeToParcel()
215 if (s.exceptionCode() == Status::EX_NONE) { in writeToParcel()
/system/extras/partition_tools/
Dlpdump_target.cc40 return -status.exceptionCode(); in Run()
/system/netd/resolv/
Ddnsresolver_binder_test.cpp269 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
272 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
/system/update_engine/
Dupdate_engine_client_android.cc248 return ExitWhenIdle(status.exceptionCode()); in ExitWhenIdle()
/system/netd/tests/
Dbinder_test.cpp653 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
881 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
897 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
934 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
939 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
970 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
974 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1868 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1878 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1892 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
[all …]
/system/netd/server/
DNetlinkHandler.cpp43 if (_rc.exceptionCode() == binder::Status::EX_TRANSACTION_FAILED && \