Home | History | Annotate | Download | only in binder

Lines Matching refs:Status

33 //     status_t status;
34 // binder::Status remote_exception;
35 // if ((status = data.writeInterfaceToken(interface_descriptor)) != OK ||
36 // (status = data.writeInt32(function_input)) != OK) {
39 // if ((status = remote()->transact(transaction, data, &reply)) != OK) {
42 // if ((status = remote_exception.readFromParcel(reply)) != OK) {
51 class Status final {
73 static Status ok();
83 static Status fromExceptionCode(int32_t exceptionCode);
84 static Status fromExceptionCode(int32_t exceptionCode,
86 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode);
87 static Status fromServiceSpecificError(int32_t serviceSpecificErrorCode,
89 static Status fromStatusT(status_t status);
91 Status() = default;
92 ~Status() = default;
94 // Status objects are copyable and contain just simple data.
95 Status(const Status& status) = default;
96 Status(Status&& status) = default;
97 Status& operator=(const Status& status) = default;
108 // Setting a |status| != OK causes generated code to return |status|
111 void setFromStatusT(status_t status);
129 Status(int32_t exceptionCode, int32_t errorCode);
130 Status(int32_t exceptionCode, int32_t errorCode, const String8& message);
142 }; // class Status
146 T& operator<< (T& stream, const Status& s) {