Home
last modified time | relevance | path

Searched refs:INVALID (Results 1 – 25 of 35) sorted by relevance

12

/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h26 enum class AddMethod { INVALID = -1, APPEND, INSERT }; enumerator
28 enum class Direction { INVALID = -1, INPUT, OUTPUT }; enumerator
30 enum class Action { INVALID = -1, ALLOW, DENY }; enumerator
32 enum class Protocol { INVALID = -1, ALL, TCP, UDP, ICMP }; enumerator
50 protocol = Protocol::INVALID; in AddFilter()
51 action = Action::INVALID; in AddFilter()
52 direction = Direction::INVALID; in AddFilter()
53 method = AddMethod::INVALID; in AddFilter()
60 protocol = Protocol::INVALID; in RemoveFilter()
61 action = Action::INVALID; in RemoveFilter()
[all …]
/base/powermgr/battery_manager/charger/include/
Dcharger_thread.h75 static const int32_t INVALID = -1; variable
76 int64_t keyWait_ = INVALID;
77 int64_t backlightWait_ = INVALID;
78 int32_t capacity_ = INVALID;
/base/powermgr/battery_manager/charger/src/
Dcharger_thread.cpp134 int64_t timeout = INVALID; in UpdateWaitInterval()
136 if (keyWait_ != INVALID && keyWait_ < nextWait) { in UpdateWaitInterval()
140 if (backlightWait_ != INVALID && backlightWait_ < nextWait) { in UpdateWaitInterval()
144 if (nextWait != INVALID && nextWait != INT64_MAX) { in UpdateWaitInterval()
260 if (keyWait_ == INVALID || nextMoment < keyWait_) { in SetKeyWait()
283 if (backlightWait_ != INVALID && GetCurrentTime() > backlightWait_ + BACKLIGHT_OFF_TIME_MS) { in HandleScreenState()
288 backlightWait_ = INVALID; in HandleScreenState()
298 if (keyWait_ != INVALID && now > keyWait_) { in HandlePowerKeyState()
299 keyWait_ = INVALID; in HandlePowerKeyState()
327 backlightWait_ = INVALID; in HandlePowerKey()
/base/msdp/device_status/utils/ipc/include/
Dnet_packet.h23 MessageId idMsg { MessageId::INVALID };
54 MessageId msgId_ { MessageId::INVALID };
/base/sensors/sensor/utils/ipc/include/
Dproto.h33 INVALID, enumerator
Dnet_packet.h46 MessageId msgId_ = MessageId::INVALID;
Drust_binding.h27 OHOS::Sensors::MessageId msgId { OHOS::Sensors::MessageId::INVALID };
/base/global/i18n/frameworks/intl/src/
Dsystem_locale_manager.cpp129 CompareResult result = CompareResult::INVALID; in SortLocaleItemList()
135 if (result == CompareResult::INVALID) { in SortLocaleItemList()
144 if (result == CompareResult::INVALID) { in SortLocaleItemList()
201 CompareResult result = CompareResult::INVALID; in SortTimezoneCityItemList()
206 if (result == CompareResult::INVALID) { in SortTimezoneCityItemList()
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_cmd.h35 INVALID = -1, enumerator
104 INVALID = 0, enumerator
111 INVALID = 0, enumerator
/base/msdp/device_status/services/interaction/drag/include/
Dstate_change_notify.h35 MessageId msgId { MessageId::INVALID };
/base/msdp/device_status/utils/common/include/
Dproto.h42 INVALID, enumerator
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/
Draw_data_base_def.h151 INVALID = 4, enumerator
/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.h29 INVALID = -1, enumerator
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp208 filter.direction = IPTABLES::Direction::INVALID;
252 ret = plugin->ExecRemoveFilterBySimpleCommand(IPTABLES::Direction::INVALID);
299 …ret = plugin->ConvertChainCommand(IPTABLES::Action::INVALID, IPTABLES::Direction::INVALID, command…
328 plugin->ConvertProtocolCommand(IPTABLES::Protocol::INVALID, command5);
350 ret = plugin->ConvertActionCommand(IPTABLES::Action::INVALID, command3);
/base/hiviewdfx/hiview/base/event_raw/include/base/
Draw_data_base_def.h153 INVALID = 4, enumerator
/base/msdp/device_status/interfaces/innerkits/include/
Dstationary_data.h38 INVALID = false, enumerator
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp41 …::vector<int32_t> (static_cast<int32_t>(Type::TYPE_MAX), static_cast<int32_t>(TypeValue::INVALID));
119 tempcount_[static_cast<int32_t>(type)] = static_cast<int32_t>(TypeValue::INVALID); in DisableCount()
/base/global/i18n/frameworks/intl/include/
Dcollator.h33 INVALID = -2, enumerator
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp152 if (removeFilter.direction == IPTABLES::Direction::INVALID) { in ExecRemoveFilterIptablesCommand()
156 …destPort.empty() && removeFilter.uid.empty() && removeFilter.action == IPTABLES::Action::INVALID && in ExecRemoveFilterIptablesCommand()
157 removeFilter.protocol == IPTABLES::Protocol::INVALID) { in ExecRemoveFilterIptablesCommand()
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_event_manager.h42 MessageId msgId { MessageId::INVALID };
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h50 INVALID enumerator
76 INVALID enumerator
821 ReminderType reminderType_ {ReminderType::INVALID};
/base/security/access_token/services/tokensyncmanager/test/mock/include/
Dsession.h66 INVALID = -1, enumerator
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h116 INVALID = 0, enumerator
367 int32_t componentType = CAST_INT(ComponentType::INVALID);
466 ComponentType fileType = ComponentType::INVALID;
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp326 …timeFormat(FormatTime::INVALID), timeAccuFormat(FormatTimeAccu::INVALID), year(false), zone(false),
422 ….timeFormat = ((context.timeFormat == FormatTime::INVALID) ? FormatTime::TIME : context.timeFormat… in QueryLogHandler()
424 …((context.timeAccuFormat == FormatTimeAccu::INVALID) ? FormatTimeAccu::MSEC : context.timeAccuForm… in QueryLogHandler()
795 if (context.timeFormat != FormatTime::INVALID) { in FormatHandler()
806 if (context.timeAccuFormat != FormatTimeAccu::INVALID) { in FormatHandler()
/base/web/webview/ohos_adapter/camera_adapter/include/
Dcamera_manager_adapter_impl.h33 INVALID = 0, enumerator

12