/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | enabled_notification_callback_data.cpp | 27 : 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 D | scope_guard.h | 28 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 D | wakeup_sources.h | 34 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 D | vibrator_source_parser.h | 29 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 D | notification_shell_command_dump_test.cpp | 136 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 D | notification_clone_bundle_info.cpp | 99 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 D | input_event_builder.cpp | 66 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 D | enabled_notification_callback_data.h | 83 bool enable_; member in OHOS::Notification::EnabledNotificationCallbackData
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | input_device_mgr.cpp | 36 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 D | notification_clone_bundle_info.h | 34 bool enable_; member in OHOS::Notification::NotificationCloneBundleInfo::SlotInfo
|
/base/msdp/device_status/test/unittest/intention/cooperate/src/ |
H A D | input_event_builder_test.cpp | 201 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 D | cooperate_plugin_test.cpp | 2711 g_context->inputDevMgr_.enable_ = true; in HWTEST_F()
|
/base/msdp/device_status/intention/cooperate/plugin/include/input_event_transmission/ |
H A D | input_event_builder.h | 100 bool enable_ { false };
|
/base/msdp/device_status/intention/cooperate/plugin/include/ |
H A D | input_device_mgr.h | 68 bool enable_ { false };
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences_info.cpp | 361 slotInfo.enable_ = slot->GetEnable(); in GetAllCLoneBundlesInfo()
|
H A D | notification_preferences.cpp | 678 slotInfo->SetEnable(cloneSlot.enable_); in UpdateCloneBundleInfo()
|