Home
last modified time | relevance | path

Searched refs:mUnsupported (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/include/powermanager/
DHalResult.h101 bool isOk() const { return !mUnsupported && mValue.has_value(); } in isOk()
102 bool isFailed() const { return !mUnsupported && !mValue.has_value(); } in isFailed()
103 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
109 bool mUnsupported; variable
112 : mValue{std::move(value)}, mErrorMessage(), mUnsupported(false) {} in HalResult()
114 : mValue(), mErrorMessage(std::move(errorMessage)), mUnsupported(unsupported) {} in HalResult()
150 bool isOk() const { return !mUnsupported && !mFailed; } in isOk()
151 bool isFailed() const { return !mUnsupported && mFailed; } in isFailed()
152 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
158 bool mUnsupported; variable
[all …]