Home
last modified time | relevance | path

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

/frameworks/native/include/powermanager/
DPowerHalWrapper.h68 bool isOk() const { return !mUnsupported && mValue.has_value(); } in isOk()
69 bool isFailed() const { return !mUnsupported && !mValue.has_value(); } in isFailed()
70 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
76 bool mUnsupported; variable
79 : mValue(std::make_optional(value)), mErrorMessage(), mUnsupported(false) {} in HalResult()
81 : mValue(), mErrorMessage(std::move(errorMessage)), mUnsupported(unsupported) {} in HalResult()
99 bool isOk() const { return !mUnsupported && !mFailed; } in isOk()
100 bool isFailed() const { return !mUnsupported && mFailed; } in isFailed()
101 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
107 bool mUnsupported; variable
[all …]
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h68 bool isOk() const { return !mUnsupported && mValue.has_value(); } in isOk()
69 bool isFailed() const { return !mUnsupported && !mValue.has_value(); } in isFailed()
70 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
83 bool mUnsupported; variable
86 : mValue(std::make_optional(value)), mErrorMessage(), mUnsupported(false) {} in HalResult()
88 : mValue(), mErrorMessage(std::move(errorMessage)), mUnsupported(unsupported) {} in HalResult()
106 bool isOk() const { return !mUnsupported && !mFailed; } in isOk()
107 bool isFailed() const { return !mUnsupported && mFailed; } in isFailed()
108 bool isUnsupported() const { return mUnsupported; } in isUnsupported()
121 bool mUnsupported; variable
[all …]