Home
last modified time | relevance | path

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

/system/libhidl/base/
DStatus.cpp54 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument
55 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
56 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode()
58 return Status(exceptionCode, OK); in fromExceptionCode()
61 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
63 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
64 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode()
66 return Status(exceptionCode, OK, message); in fromExceptionCode()
75 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
76 : mException(exceptionCode), in Status()
[all …]
/system/netd/include/binder_utils/
DBinderUtil.h85 const int exceptionCode = in binderCallLogFn() local
88 if (hasReturnArgs || !IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
93 if (!IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
97 "%s(%d, \"%s\")", exceptionToString(exceptionCode).c_str(), in binderCallLogFn()
98 (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.cpp127 fprintf(stderr, "Exception code: %d\n", ret.exceptionCode()); \
169 fprintf(stderr, "Exception code: %d\n", ret.exceptionCode()); \
184 fprintf(stderr, "list: exception (%d)\n", ret.exceptionCode()); in list()
Dkeystore_attestation_id.cpp286 status.exceptionMessage().string(), status.exceptionCode()); in gather_attestation_application_id()
/system/security/identity/
DUtil.cpp41 halStatus.exceptionCode(), Status::exceptionToString(halStatus.exceptionCode()).c_str(), in halStatusToError()
DCredential.cpp80 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in loadCredential()
385 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
419 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
/system/tools/aidl/tests/
Daidl_test_client_service_exceptions.cpp37 if (status.exceptionCode() != Status::EX_SERVICE_SPECIFIC || in ConfirmServiceSpecificExceptions()
Daidl_test_client_nullables.cpp149 if (s->TakesAnIBinder(null_binder).exceptionCode() != in CheckAppropriateIBinderHandling()
155 if (s->TakesAnIBinderList(*list_with_nulls).exceptionCode() != in CheckAppropriateIBinderHandling()
/system/libhidl/transport/
DHidlBinderSupport.cpp198 if (s.exceptionCode() == Status::EX_TRANSACTION_FAILED) { in writeToParcel()
202 status_t status = parcel->writeInt32(s.exceptionCode()); in writeToParcel()
204 if (s.exceptionCode() == Status::EX_NONE) { in writeToParcel()
/system/extras/partition_tools/
Dlpdump_target.cc40 return -status.exceptionCode(); in Run()
/system/netd/tests/
Dbinder_test.cpp613 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
839 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
855 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
872 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
905 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
910 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
941 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
945 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1850 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1860 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
[all …]
/system/update_engine/
Dupdate_engine_client_android.cc280 return ExitWhenIdle(status.exceptionCode()); in ExitWhenIdle()
/system/netd/server/
DNetlinkHandler.cpp43 if (_rc.exceptionCode() == binder::Status::EX_TRANSACTION_FAILED && \
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp777 EXPECT_EQ(::android::hardware::Status::EX_TRANSACTION_FAILED, status.exceptionCode()); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1936 EXPECT_EQ(::android::hardware::Status::EX_TRANSACTION_FAILED, status.exceptionCode()); in TEST_F()