Home
last modified time | relevance | path

Searched refs:exceptionCode (Results 1 – 24 of 24) 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.h87 const int exceptionCode = TO_EXCEPTION(log.exception_code); in binderCallLogFn() local
89 if (hasReturnArgs || !IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
94 if (!IS_BINDER_OK(exceptionCode)) { in binderCallLogFn()
97 output.append(fmt::format("{}({}, \"{}\")", exceptionToString(exceptionCode), in binderCallLogFn()
98 (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.cpp101 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in ensureOrReplaceHalBinder()
270 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
482 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
516 if (!status.isOk() && status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC) { in getEntries()
/system/tools/aidl/tests/
Daidl_test_client_service_exceptions.cpp31 EXPECT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_SERVICE_SPECIFIC)) in TEST_F()
Daidl_test_client_defaultimpl.cpp48 ASSERT_EQ(status.exceptionCode(), android::binder::Status::EX_TRANSACTION_FAILED); in TEST_F()
Daidl_test_client_versioned_interface.cpp70 EXPECT_EQ(::android::binder::Status::EX_ILLEGAL_ARGUMENT, status.exceptionCode()) << status; in TEST_F()
Daidl_test_client_nullables.cpp133 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)) << status; in TEST_F()
146 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)) << status; in TEST_F()
Daidl_test_client_parcelables.cpp70 EXPECT_EQ(status.exceptionCode(), Status::Exception::EX_BAD_PARCELABLE); in TEST_F()
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V1-cpp-source/gen/android/aidl/test/trunk/
DITrunkStableTest.cpp80 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
137 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
194 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatUnion()
247 _transaction_log.exception_code = _aidl_status.exceptionCode(); in callMyCallback()
345 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
395 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
445 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
494 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
726 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
783 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
[all …]
/system/tools/aidl/tests/golden_output/frozen/tests/trunk_stable_test/android.aidl.test.trunk-V1-cpp-source/gen/android/aidl/test/trunk/
DITrunkStableTest.cpp80 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
137 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
194 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatUnion()
247 _transaction_log.exception_code = _aidl_status.exceptionCode(); in callMyCallback()
345 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
395 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
445 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
494 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
726 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
783 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
[all …]
/system/tools/aidl/tests/golden_output/tests/trunk_stable_test/android.aidl.test.trunk-V2-cpp-source/gen/android/aidl/test/trunk/
DITrunkStableTest.cpp80 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
137 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
194 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatUnion()
247 _transaction_log.exception_code = _aidl_status.exceptionCode(); in callMyCallback()
303 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatOtherParcelable()
402 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
452 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
502 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
551 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
596 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
[all …]
/system/tools/aidl/tests/golden_output/frozen/tests/trunk_stable_test/android.aidl.test.trunk-V2-cpp-source/gen/android/aidl/test/trunk/
DITrunkStableTest.cpp80 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatParcelable()
137 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatEnum()
194 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatUnion()
247 _transaction_log.exception_code = _aidl_status.exceptionCode(); in callMyCallback()
307 _transaction_log.exception_code = _aidl_status.exceptionCode(); in repeatOtherParcelable()
406 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
456 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
506 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
555 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
604 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
[all …]
/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/tools/aidl/tests/golden_output/frozen/aidl_test_loggable_interface-cpp-source/gen/android/aidl/loggable/
DILoggableInterface.cpp221 _transaction_log.exception_code = _aidl_status.exceptionCode(); in LogThis()
413 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
572 _transaction_log.exception_code = _aidl_status.exceptionCode(); in Log()
631 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/android/aidl/loggable/
DILoggableInterface.cpp221 _transaction_log.exception_code = _aidl_status.exceptionCode(); in LogThis()
413 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
572 _transaction_log.exception_code = _aidl_status.exceptionCode(); in Log()
631 _transaction_log.exception_code = _aidl_status.exceptionCode(); in onTransact()
/system/security/keystore/
Dkeystore_attestation_id.cpp287 status.exceptionMessage().c_str(), status.exceptionCode()); in gather_attestation_application_id()
/system/update_engine/aosp/
Dupdate_engine_client_android.cc317 return ExitWhenIdle(status.exceptionCode()); in ExitWhenIdle()
/system/netd/server/
DNetlinkHandler.cpp43 if (_rc.exceptionCode() == binder::Status::EX_TRANSACTION_FAILED && \
/system/netd/tests/
Dbinder_test.cpp950 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1286 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1302 ASSERT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1319 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1352 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
1357 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
1388 EXPECT_EQ(0, status.exceptionCode()); in TEST_F()
1392 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
2370 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
2380 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, status.exceptionCode()); in TEST_F()
[all …]
/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.cpp1932 EXPECT_EQ(::android::hardware::Status::EX_TRANSACTION_FAILED, status.exceptionCode()); in TEST_F()