Home
last modified time | relevance | path

Searched refs:enable_ (Results 1 - 16 of 16) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Denabled_notification_callback_data.cpp27 : bundle_(bundle), uid_(uid), enable_(enable) in EnabledNotificationCallbackData()
52 enable_ = enable; in SetEnable()
57 return enable_; in GetEnable()
65 ", enable = " + std::to_string(enable_) + in Dump()
81 if (!parcel.WriteBool(enable_)) { in Marshalling()
104 enable_ = parcel.ReadBool(); in ReadFromParcel()
/base/update/updater/utils/include/
H A Dscope_guard.h28 ScopeGuard(ExitAction &&action) : action_(action), enable_(true) {} in ScopeGuard()
31 if (enable_) { in ~ScopeGuard()
38 enable_ = false; in Disable()
43 bool enable_; member in Updater::Detail::ScopeGuard
/base/powermgr/power_manager/services/native/src/wakeup/
H A Dwakeup_sources.h34 WakeupSource(WakeupDeviceType reason, bool enable, uint32_t click) : reason_(reason), enable_(enable), click_(click) in WakeupSource()
46 return enable_; in IsEnable()
56 bool enable_; member in OHOS::PowerMgr::WakeUpAction::WakeupSource
/base/powermgr/power_manager/utils/vibrator/include/
H A Dvibrator_source_parser.h29 VibratorSource(std::string scene, bool enable, std::string type) : scene_(scene), enable_(enable), type_(type) {}; in VibratorSource()
34 return enable_; in IsEnable()
46 bool enable_ = false; member in OHOS::PowerMgr::VibratorSource
/base/notification/distributed_notification_service/tools/test/unittest/dump/
H A Dnotification_shell_command_dump_test.cpp136 std::string enable_ = "setting"; member in __anon1175::AnmManagerDumpTest
533 (char *)enable_.c_str(), in HWTEST_F()
554 (char *)enable_.c_str(), in HWTEST_F()
574 (char *)enable_.c_str(), in HWTEST_F()
595 (char *)enable_.c_str(), in HWTEST_F()
617 (char *)enable_.c_str(), in HWTEST_F()
660 (char *)enable_.c_str(), in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_bundle_info.cpp99 item.enable_ = slotInfo.enable_; in AddSlotInfo()
119 jsonNode[BUNDLE_INFO_SLOT_ENABLE] = slotsInfo_[index].enable_ ? 1 : 0; in ToJson()
147 slotInfo.enable_ = (slotEnable == CONST_ENABLE_INT); in SlotsFromJson()
190 return "type: " + std::to_string(slotType_) + " " + std::to_string(enable_) + " " in Dump()
/base/msdp/device_status/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_builder.cpp66 if (enable_) { in Enable()
69 enable_ = true; in Enable()
83 if (enable_) { in Disable()
84 enable_ = false; in Disable()
103 if (!enable_) { in Freeze()
114 if (!enable_) { in Thaw()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Denabled_notification_callback_data.h83 bool enable_; member in OHOS::Notification::EnabledNotificationCallbackData
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dinput_device_mgr.cpp36 if (enable_) { in Enable()
40 enable_ = true; in Enable()
46 if (enable_) { in Disable()
47 enable_ = false; in Disable()
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_clone_bundle_info.h34 bool enable_; member in OHOS::Notification::NotificationCloneBundleInfo::SlotInfo
/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dinput_event_builder_test.cpp201 builder_->enable_ = false; in HWTEST_F()
203 builder_->enable_ = true; in HWTEST_F()
215 builder_->enable_ = false; in HWTEST_F()
217 builder_->enable_ = true; in HWTEST_F()
230 builder_->enable_ = true; in HWTEST_F()
232 builder_->enable_ = false; in HWTEST_F()
H A Dcooperate_plugin_test.cpp2711 g_context->inputDevMgr_.enable_ = true; in HWTEST_F()
/base/msdp/device_status/intention/cooperate/plugin/include/input_event_transmission/
H A Dinput_event_builder.h100 bool enable_ { false };
/base/msdp/device_status/intention/cooperate/plugin/include/
H A Dinput_device_mgr.h68 bool enable_ { false };
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp361 slotInfo.enable_ = slot->GetEnable(); in GetAllCLoneBundlesInfo()
H A Dnotification_preferences.cpp678 slotInfo->SetEnable(cloneSlot.enable_); in UpdateCloneBundleInfo()

Completed in 14 milliseconds