Searched refs:AStatus (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_status.h | 102 struct AStatus; 103 typedef struct AStatus AStatus; typedef 110 __attribute__((warn_unused_result)) AStatus* AStatus_newOk() __INTRODUCED_IN(29); 120 __attribute__((warn_unused_result)) AStatus* AStatus_fromExceptionCode(binder_exception_t exception) 132 __attribute__((warn_unused_result)) AStatus* AStatus_fromExceptionCodeWithMessage( 144 __attribute__((warn_unused_result)) AStatus* AStatus_fromServiceSpecificError( 157 __attribute__((warn_unused_result)) AStatus* AStatus_fromServiceSpecificErrorWithMessage( 169 __attribute__((warn_unused_result)) AStatus* AStatus_fromStatus(binder_status_t status) 180 bool AStatus_isOk(const AStatus* status) __INTRODUCED_IN(29); 189 binder_exception_t AStatus_getExceptionCode(const AStatus* status) __INTRODUCED_IN(29); [all …]
|
D | binder_auto_utils.h | 192 class ScopedAStatus : public impl::ScopedAResource<AStatus*, void, AStatus_delete, nullptr> { 197 explicit ScopedAStatus(AStatus* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
|
D | binder_parcel.h | 452 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) 464 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status)
|
/frameworks/native/libs/binder/ndk/ |
D | status.cpp | 25 AStatus* AStatus_newOk() { in AStatus_newOk() 26 return new AStatus(); in AStatus_newOk() 29 AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { in AStatus_fromExceptionCode() 30 return new AStatus(Status::fromExceptionCode(PruneException(exception))); in AStatus_fromExceptionCode() 33 AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { in AStatus_fromExceptionCodeWithMessage() 34 return new AStatus(Status::fromExceptionCode(PruneException(exception), message)); in AStatus_fromExceptionCodeWithMessage() 37 AStatus* AStatus_fromServiceSpecificError(int32_t serviceSpecific) { in AStatus_fromServiceSpecificError() 38 return new AStatus(Status::fromServiceSpecificError(serviceSpecific)); in AStatus_fromServiceSpecificError() 41 AStatus* AStatus_fromServiceSpecificErrorWithMessage(int32_t serviceSpecific, const char* message) { in AStatus_fromServiceSpecificErrorWithMessage() 42 return new AStatus(Status::fromServiceSpecificError(serviceSpecific, message)); in AStatus_fromServiceSpecificErrorWithMessage() [all …]
|
D | status_internal.h | 24 struct AStatus { struct 25 AStatus() {} // ok in AStatus() argument 26 explicit AStatus(::android::binder::Status&& status) : mStatus(std::move(status)) {} in AStatus() function
|
D | parcel.cpp | 281 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) { in AParcel_writeStatusHeader() 284 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status) { in AParcel_readStatusHeader() 288 *status = new AStatus(std::move(bstatus)); in AParcel_readStatusHeader()
|