Home
last modified time | relevance | path

Searched refs:exceptionCode (Results 1 – 17 of 17) 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.h80 const int exceptionCode = TO_EXCEPTION(log.exception_code); in binderCallLogFn() local
82 if (hasReturnArgs || !IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
87 if (!IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
90 output.append(fmt::format("{}({}, \"{}\")", exceptionToString(exceptionCode), in binderCallLogFn()
91 (errCode != 0) ? errCode : exceptionCode, log.exception_message)); 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/identity/
DUtil.cpp41 halStatus.exceptionCode(), Status::exceptionToString(halStatus.exceptionCode()).c_str(), in halStatusToError()
DCredential.cpp91 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in ensureOrReplaceHalBinder()
424 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
458 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
/system/tools/aidl/tests/
Daidl_test_client_service_exceptions.cpp36 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_SERVICE_SPECIFIC)) << status; in TEST_F()
Daidl_test_client_versioned_interface.cpp66 EXPECT_EQ(::android::binder::Status::EX_ILLEGAL_ARGUMENT, status.exceptionCode()) << status; in TEST_F()
Daidl_test_client_nullables.cpp119 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)) << status; in TEST_F()
132 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)); in TEST_F()
/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.cpp699 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
992 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1008 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1025 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1058 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
1063 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1094 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
1098 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1977 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1987 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
[all …]
/system/update_engine/aosp/
Dupdate_engine_client_android.cc280 return ExitWhenIdle(status.exceptionCode()); in ExitWhenIdle()
/system/security/keystore/
Dkeystore_attestation_id.cpp286 status.exceptionMessage().string(), status.exceptionCode()); in gather_attestation_application_id()
/system/netd/server/
DNetlinkHandler.cpp43 if (_rc.exceptionCode() == binder::Status::EX_TRANSACTION_FAILED && \
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/android/aidl/loggable/
DILoggableInterface.cpp227 _transaction_log.exception_code = _aidl_status.exceptionCode(); in LogThis()
419 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp766 EXPECT_EQ(::android::hardware::Status::EX_TRANSACTION_FAILED, status.exceptionCode()); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1916 EXPECT_EQ(::android::hardware::Status::EX_TRANSACTION_FAILED, status.exceptionCode()); in TEST_F()