Searched refs:AStatus (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_status.h | 103 struct AStatus; 104 typedef struct AStatus AStatus; typedef 113 __attribute__((warn_unused_result)) AStatus* AStatus_newOk() __INTRODUCED_IN(29); 125 __attribute__((warn_unused_result)) AStatus* AStatus_fromExceptionCode(binder_exception_t exception) 139 __attribute__((warn_unused_result)) AStatus* AStatus_fromExceptionCodeWithMessage( 153 __attribute__((warn_unused_result)) AStatus* AStatus_fromServiceSpecificError( 168 __attribute__((warn_unused_result)) AStatus* AStatus_fromServiceSpecificErrorWithMessage( 182 __attribute__((warn_unused_result)) AStatus* AStatus_fromStatus(binder_status_t status) 195 bool AStatus_isOk(const AStatus* status) __INTRODUCED_IN(29); 206 binder_exception_t AStatus_getExceptionCode(const AStatus* status) __INTRODUCED_IN(29); [all …]
|
D | binder_parcel.h | 471 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) 485 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() function 26 explicit AStatus(::android::binder::Status&& status) : mStatus(std::move(status)) {} in AStatus() argument
|
D | parcel.cpp | 274 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) { in AParcel_writeStatusHeader() 277 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status) { in AParcel_readStatusHeader() 281 *status = new AStatus(std::move(bstatus)); in AParcel_readStatusHeader()
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_auto_utils.h | 198 class ScopedAStatus : public impl::ScopedAResource<AStatus*, void, AStatus_delete, nullptr> { 203 explicit ScopedAStatus(AStatus* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
|