Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 155) sorted by relevance

1234567

/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h40 Direction direction; member
52 direction = Direction::INVALID; in AddFilter()
62 direction = Direction::INVALID; in RemoveFilter()
74 static bool ProcessFirewallDirection(int32_t type, Direction &direction);
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp32 data.WriteInt32(static_cast<int32_t>(filter.direction)); in WriteAddFilterConfig()
46 IptablesUtils::ProcessFirewallDirection(data.ReadInt32(), filter.direction); in ReadAddFilterConfig()
58 data.WriteInt32(static_cast<int32_t>(filter.direction)); in WriteRemoveFilterConfig()
70 IptablesUtils::ProcessFirewallDirection(data.ReadInt32(), filter.direction); in ReadRemoveFilterConfig()
93 bool IptablesUtils::ProcessFirewallDirection(int32_t type, Direction &direction) in ProcessFirewallDirection() argument
96 direction = Direction(type); in ProcessFirewallDirection()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp136 if (!ConvertChainCommand(addFilter.action, addFilter.direction, command)) { in ConvertAddFilterToIptablesCommand()
152 if (removeFilter.direction == IPTABLES::Direction::INVALID) { in ExecRemoveFilterIptablesCommand()
158 return ExecRemoveFilterBySimpleCommand(removeFilter.direction); in ExecRemoveFilterIptablesCommand()
163 ErrCode IptablesRulePlugin::ExecRemoveFilterBySimpleCommand(const IPTABLES::Direction &direction) in ExecRemoveFilterBySimpleCommand() argument
167 switch (direction) { in ExecRemoveFilterBySimpleCommand()
188 ConvertChainCommand(removeFilter.action, removeFilter.direction, command); in ExecRemoveFilterByDetailedCommand()
200 …lePlugin::ConvertChainCommand(const IPTABLES::Action &action, const IPTABLES::Direction &direction, in ConvertChainCommand() argument
203 if (action == IPTABLES::Action::ALLOW && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
205 } else if (action == IPTABLES::Action::ALLOW && direction == IPTABLES::Direction::OUTPUT) { in ConvertChainCommand()
207 } else if (action == IPTABLES::Action::DENY && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
[all …]
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_textchange_listener.cpp58 void JsGetInputMethodTextChangedListener::MoveCursor(const Direction direction) in MoveCursor() argument
60 JsGetInputMethodController::GetInstance()->MoveCursor(direction); in MoveCursor()
Djs_get_input_method_controller.cpp176 napi_value direction = nullptr; in GetJsDirectionProperty() local
185 NAPI_CALL(env, napi_create_object(env, &direction)); in GetJsDirectionProperty()
186 NAPI_CALL(env, napi_set_named_property(env, direction, "CURSOR_UP", cursorUp)); in GetJsDirectionProperty()
187 NAPI_CALL(env, napi_set_named_property(env, direction, "CURSOR_DOWN", cursorDown)); in GetJsDirectionProperty()
188 NAPI_CALL(env, napi_set_named_property(env, direction, "CURSOR_LEFT", cursorLeft)); in GetJsDirectionProperty()
189 NAPI_CALL(env, napi_set_named_property(env, direction, "CURSOR_RIGHT", cursorRight)); in GetJsDirectionProperty()
190 return direction; in GetJsDirectionProperty()
412 napi_value JsGetInputMethodController::CreateSelectMovement(napi_env env, int32_t direction) in CreateSelectMovement() argument
418 napi_create_int32(env, direction, &value); in CreateSelectMovement()
733 void JsGetInputMethodController::OnSelectByMovement(int32_t direction) in OnSelectByMovement() argument
[all …]
Djs_get_input_method_textchange_listener.h35 void MoveCursor(const Direction direction) override;
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dcontroller_listener.h25 virtual void OnSelectByMovement(int32_t direction) = 0;
Di_input_data_channel.h64 virtual int32_t SelectByMovement(int32_t direction, int32_t cursorMoveSkip) = 0;
/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp94 void TextListener::MoveCursor(const Direction direction) in MoveCursor() argument
96 direction_ = static_cast<int32_t>(direction); in MoveCursor()
98 IMSA_HILOGI("TextChangeListener: MoveCursor, direction is: %{public}d", direction); in MoveCursor()
/base/location/interfaces/inner_api/include/
Dlocation.h85 inline void SetDirection(double direction) in SetDirection() argument
87 direction_ = direction; in SetDirection()
/base/customization/enterprise_device_management/services/edm_plugin/include/
Diptables_rule_plugin.h48 ErrCode ExecRemoveFilterBySimpleCommand(const IPTABLES::Direction &direction);
50 bool ConvertChainCommand(const IPTABLES::Action &action, const IPTABLES::Direction &direction,
/base/global/resource_management/frameworks/resmgr/include/
Dres_config_impl.h64 void SetDirection(Direction direction);
160 bool IsDirectionMatch(Direction direction) const;
Dhap_parser.h196 std::string direction; member
208 Direction direction = DIRECTION_NOT_SET; member
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/
DnotificationDialog.ets39 …Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Center, alignItems: ItemAlign.Cente…
46 …Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Center, alignItems: ItemAlign.End }…
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_data_channel_proxy.cpp129 int32_t InputDataChannelProxy::SelectByMovement(int32_t direction, int32_t cursorMoveSkip) in SelectByMovement() argument
132 return SendRequest(SELECT_BY_MOVEMENT, [direction, cursorMoveSkip](MessageParcel &parcel) { in SelectByMovement()
133 return ITypesUtil::Marshal(parcel, direction, cursorMoveSkip); in SelectByMovement()
Dinput_data_channel_stub.cpp137 int32_t direction = 0; in SelectByMovementOnRemote() local
139 auto ret = SendMessage([&data, &direction, &cursorMoveSkip](MessageParcel &parcel) { in SelectByMovementOnRemote()
140 return ITypesUtil::Unmarshal(data, direction, cursorMoveSkip) in SelectByMovementOnRemote()
141 && ITypesUtil::Marshal(parcel, direction, cursorMoveSkip) in SelectByMovementOnRemote()
323 int32_t InputDataChannelStub::SelectByMovement(int32_t direction, int32_t cursorMoveSkip) in SelectByMovement() argument
/base/global/i18n/frameworks/intl/src/
Dcharacter.cpp64 UCharDirection direction = u_charDirection(char32); in IsRTLCharacter() local
65 if (RTLDirectionSet.find(direction) != RTLDirectionSet.end()) { in IsRTLCharacter()
/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/
Dlocation_proxy_adapter_test.cpp166 double direction = locationInfoImpl->GetDirection(); variable
167 EXPECT_NEAR(direction, 0.0, 0.01);
197 double direction = locationInfoImpl->GetDirection(); variable
198 EXPECT_NEAR(direction, 0.0, 0.01);
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dhap_parser.cpp413 Direction direction = DIRECTION_NOT_SET; in CreateResConfigFromKeyParams() local
430 direction = DIRECTION_VERTICAL; in CreateResConfigFromKeyParams()
432 direction = DIRECTION_HORIZONTAL; in CreateResConfigFromKeyParams()
437 resConfig->SetDirection(direction); in CreateResConfigFromKeyParams()
505 std::string direction; in ToFolderPath() local
521 direction = keyParam->GetStr(); in ToFolderPath()
541 PathAppend(path, direction, c2); in ToFolderPath()
/base/usb/usb_manager/
DREADME.md55direction is determined by the request type. If the result of**requestType & USB_ENDPOINT_DIR_MASK…
57 …transfer on a specified endpoint. The data transfer direction is determined by the endpoint direct…
123 // Read data. Select the corresponding RX endpoint (endpoint.direction == 0x80) from deviceList for…
135 // Send data. Select the corresponding TX endpoint (endpoint.direction == 0) from deviceList for da…
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp54 removeFilter.direction = IPTABLES::Direction::INPUT; in ResetIptablesRule()
66 remoutOutFilter.direction = IPTABLES::Direction::OUTPUT; in ResetIptablesRule()
152 addFilter.direction = IPTABLES::Direction::INPUT;
183 filter.direction = IPTABLES::Direction::INPUT;
208 filter.direction = IPTABLES::Direction::INVALID;
228 filter.direction = IPTABLES::Direction::INPUT;
266 filter.direction = IPTABLES::Direction::INPUT;
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_config_impl.h66 void SetDirection(Direction direction);
Dres_config.h35 virtual void SetDirection(Direction direction) = 0;
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp116 void ResConfigImpl::SetDirection(Direction direction) in SetDirection() argument
118 this->direction_ = direction; in SetDirection()
330 bool ResConfigImpl::IsDirectionMatch(Direction direction) const in IsDirectionMatch()
332 if (this->direction_ != DIRECTION_NOT_SET && direction != DIRECTION_NOT_SET) { in IsDirectionMatch()
333 if (this->direction_ != direction) { in IsDirectionMatch()
/base/customization/enterprise_device_management/test/unittest/test_bundle/right_hap/src/main/js/default/pages/index/
Dindex.css17 flex-direction: column;

1234567