Lines Matching refs:Status
36 Return<Status> LightExt::applyHBM() { in applyHBM()
37 if (!mHasHbmNode) return Status::UNKNOWN; in applyHBM()
40 if (mRegHBM == mCurHBM && mRegHBMSV == mCurHBMSV) return Status::SUCCESS; in applyHBM()
70 return Status::UNKNOWN; in applyHBM()
79 return Status::SUCCESS; in applyHBM()
83 Return<Status> LightExt::setLight(Type type, const LightState& state) { in setLight()
93 Status status = mLight->setLight(type, state); in setLight()
103 Return<Status> LightExt::setHbm(bool on) { in setHbm()
107 if (mVRMode) return Status::UNKNOWN; in setHbm()
109 Status status = applyHBM(); in setHbm()
111 if (status != Status::SUCCESS) in setHbm()
118 Return<Status> LightExt::setHbmSv(bool on) { in setHbmSv()
122 if (mVRMode) return Status::UNKNOWN; in setHbmSv()
124 Status status = applyHBM(); in setHbmSv()
126 if (status != Status::SUCCESS) in setHbmSv()