Searched refs:mode_ (Results 1 – 7 of 7) sorted by relevance
/base/update/updater/services/ui/ |
D | updater_ui_facade.cpp | 26 …: strategies_ {UpdaterUiConfig::GetStrategy()}, pgMgr_ {PageManager::GetInstance()}, mode_ {Update… in UpdaterUiFacade() 49 if (mode == mode_) { in SetMode() 52 mode_ = mode; in SetMode() 59 return mode_; in GetMode() 64 if (mode_ < UpdaterMode::SDCARD || mode_ >= UpdaterMode::MODEMAX) { in CheckMode() 68 auto it = strategies_.find(mode_); in CheckMode() 107 if (auto it = progressMap_.find(mode_); it->second != nullptr) { in ShowProgress() 127 if (auto it = logoMap_.find(mode_); it->second != nullptr) { in SetLogoVisible() 139 if (auto it = progressMap_.find(mode_); it->second != nullptr) { in SetProgressVisible() 248 if (progressMap_.find(mode_) == progressMap_.end()) { in SetLogoProgress() [all …]
|
D | updater_ui_facade.h | 64 UpdaterMode mode_; variable
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mode_module_native_test.cpp | 54 powerModeModuleTest->mode_ = PowerMode::PERFORMANCE_MODE; 56 powerModeModuleTest->mode_ = PowerMode::EXTREME_POWER_SAVE_MODE; 58 powerModeModuleTest->mode_ = static_cast<PowerMode>(POWERMODE); 76 powerModeModuleTest->mode_ = PowerMode::PERFORMANCE_MODE;
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mode_module.cpp | 33 : mode_(PowerMode::NORMAL_MODE), lastMode_(LAST_MODE_FLAG), started_(false) in PowerModeModule() 54 POWER_HILOGI(FEATURE_POWER_MODE, "mode_: %{public}u, mode: %{public}u", mode_, mode); in SetModeItem() 57 if (this->mode_ == mode) { in SetModeItem() 73 POWER_HILOGD(FEATURE_POWER_MODE, "mode_: %{public}u", mode_); in GetModeItem() 75 return mode_; in GetModeItem() 86 mode_ = mode; in EnableMode() 104 …edSingleton<PowerModePolicy>::GetInstance()->SetPowerModePolicy(static_cast<uint32_t>(this->mode_), in UpdateModepolicy() 186 switch (mode_) { in PublishPowerModeEvent()
|
/base/powermgr/power_manager/services/native/include/ |
D | power_mode_module.h | 59 PowerMode mode_; variable
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_sub_parameter.h | 244 SmsDisplayMode &mode_;
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_sub_parameter.cpp | 1178 CdmaSmsDisplayMode::CdmaSmsDisplayMode(SmsDisplayMode &mode) : mode_(mode) in CdmaSmsDisplayMode() 1192 if (pdu.WriteBits(static_cast<uint8_t>(mode_), BIT2)) { in Encode() 1215 mode_ = SmsDisplayMode(v); in Decode()
|