class ScopedAStatus
Defined at line 245 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
Convenience wrapper. See AStatus.
Public Methods
void ScopedAStatus (AStatus * a)
Takes ownership of a.
WARNING: this constructor is only expected to be used when reading a
status value. Use `ScopedAStatus::ok()` instead.
Defined at line 253 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
void ~ScopedAStatus ()
Defined at line 254 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
void ScopedAStatus (ScopedAStatus && )
Defined at line 255 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus & operator= (ScopedAStatus && )
Defined at line 256 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
bool isOk ()
See AStatus_isOk.
Defined at line 261 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
binder_exception_t getExceptionCode ()
See AStatus_getExceptionCode
Defined at line 266 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
int32_t getServiceSpecificError ()
See AStatus_getServiceSpecificError
Defined at line 271 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
binder_status_t getStatus ()
See AStatus_getStatus
Defined at line 276 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
const char * getMessage ()
See AStatus_getMessage
Defined at line 281 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
std::string getDescription ()
Defined at line 283 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus ok ()
Convenience methods for creating scoped statuses.
Defined at line 316 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus fromExceptionCode (binder_exception_t exception)
Defined at line 317 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus fromExceptionCodeWithMessage (binder_exception_t exception, const char * message)
Defined at line 320 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus fromServiceSpecificError (int32_t serviceSpecific)
Defined at line 324 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus fromServiceSpecificErrorWithMessage (int32_t serviceSpecific, const char * message)
Defined at line 327 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h
ScopedAStatus fromStatus (binder_status_t status)
Defined at line 331 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_auto_utils.h