Home
last modified time | relevance | path

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

/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp68 bool isSucc = action_->SetBrightness(brightness); in OnChanged() local
69 if (isSucc) { in OnChanged()
319 bool isSucc = action_->SetBrightness(brightness); in UpdateBrightness() local
321 isSucc ? "succ" : "failed", brightness); in UpdateBrightness()
322 if (isSucc && updateSetting) { in UpdateBrightness()
325 return isSucc; in UpdateBrightness()
Dscreen_action.cpp171 bool isSucc = Rosen::DisplayManager::GetInstance().SetScreenBrightness(displayId_, value); in SetBrightness() local
174 brightness_ = isSucc ? value : brightness_; in SetBrightness()
175 return isSucc; in SetBrightness()
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp293 bool isSucc = DisplayPowerMgrClient::GetInstance().SetBrightness(value); in SetBrightness() local
294 if (!isSucc) { in SetBrightness()
297 return isSucc; in SetBrightness()
310 bool isSucc = DisplayPowerMgrClient::GetInstance().AutoAdjustBrightness(mode); in SetAutoMode() local
311 …AY_HILOGD(FEAT_BRIGHTNESS, "set auto brightness mode: %{public}d, succ: %{public}d", mode, isSucc); in SetAutoMode()
312 return isSucc; in SetAutoMode()
/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_data.cpp272 bool r = isSucc; in IsSuccess()
273 isSucc = true; in IsSuccess()
341 isSucc = false; in UpdateNumberFormat()
346 isSucc = false; in UpdateNumberFormat()
Dlocale_info.cpp200 bool r = isSucc; in IsSuccess()
201 isSucc = true; in IsSuccess()
207 isSucc = false; in SetFail()
/base/global/i18n_lite/interfaces/kits/i18n/include/
Dlocale_info.h209 bool isSucc = true; variable
/base/global/i18n_lite/frameworks/i18n/include/
Dnumber_data.h92 bool isSucc = true; variable
/base/powermgr/display_manager/test/unittest/src/
Ddisplay_power_mgr_brightness_test.cpp595 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIME); variable
596 EXPECT_TRUE(isSucc);
609 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIME); variable
610 EXPECT_FALSE(isSucc);
623 bool isSucc = DisplayPowerMgrClient::GetInstance().BoostBrightness(BOOST_TIME); variable
624 EXPECT_TRUE(isSucc);
/base/powermgr/display_manager/service/zidl/src/
Ddisplay_power_mgr_stub.cpp347 bool isSucc = RegisterCallback(callback); in RegisterCallbackStub() local
348 WRITE_PARCEL_WITH_RET(reply, Bool, isSucc, E_WRITE_PARCEL_ERROR); in RegisterCallbackStub()