Home
last modified time | relevance | path

Searched defs:StatusOr (Results 1 – 2 of 2) sorted by relevance

/system/security/keystore/include/keystore/
Dkeystore_attestation_id.h37 StatusOr(const status_t error) : _status(error), _value() {} in StatusOr() function
39 StatusOr(const T& value) : _status(NO_ERROR), _value(value) {} in StatusOr() function
41 StatusOr(T&& value) : _status(NO_ERROR), _value(value) {} in StatusOr() function
/system/netd/libnetdutils/include/netdutils/
DStatusOr.h39 StatusOr(Status status) : mStatus(std::move(status)) { assert(!isOk(mStatus)); } in StatusOr() function
44 StatusOr(const T& value) : mStatus(status::ok), mValue(value) {} in StatusOr() function
46 StatusOr(T&& value) : mStatus(status::ok), mValue(std::move(value)) {} in StatusOr() function