Home
last modified time | relevance | path

Searched refs:up (Results 1 - 25 of 72) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_packing_common.h22 uvec2 PackVec4Half2x16(const vec4 up) in PackVec4Half2x16() argument
25 packed.x = packHalf2x16(up.xy); in PackVec4Half2x16()
26 packed.y = packHalf2x16(up.zw); in PackVec4Half2x16()
32 vec4 up; in UnpackVec4Half2x16() local
33 up.xy = unpackHalf2x16(packed.x); in UnpackVec4Half2x16()
34 up.zw = unpackHalf2x16(packed.y); in UnpackVec4Half2x16()
35 return up; in UnpackVec4Half2x16()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/
H A Dnetsys_wrapper_test.cpp40 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
41 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;
103 int32_t NetlinkNativeNotifyCallBack::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
105 std::cout << " [OnInterfaceChanged] " << ifName << " status :" << (up ? "[update]" : "[remove]") << std::endl; in OnInterfaceChanged()
108 EXPECT_TRUE(up); in OnInterfaceChanged()
110 EXPECT_FALSE(up); in OnInterfaceChanged()
114 int32_t NetlinkNativeNotifyCallBack::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
118 EXPECT_TRUE(up); in OnInterfaceLinkStateChanged()
120 EXPECT_FALSE(up); in OnInterfaceLinkStateChanged()
H A Dwrapper_distributor_test.cpp78 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override
81 isWifiInterfaceChanged_ = up;
86 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override
89 isWifiLinkStateUp_ = up;
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dnet_interface_callback.cpp90 int32_t NetInterfaceStateCallback::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
92 NETMGR_EXT_LOG_D("OnInterfaceChanged, iface:[%{public}s]->Up:[%{public}d]", ifName.c_str(), up); in OnInterfaceChanged()
96 int32_t NetInterfaceStateCallback::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
98 NETMGR_EXT_LOG_D("OnInterfaceLinkStateChanged, iface:[%{public}s]->Up:[%{public}d]", ifName.c_str(), up); in OnInterfaceLinkStateChanged()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnotify_callback_stub.cpp127 bool up = data.ReadBool(); in CmdOnInterfaceChanged() local
129 int32_t result = OnInterfaceChanged(ifName, up); in CmdOnInterfaceChanged()
141 bool up = data.ReadBool(); in CmdOnInterfaceLinkStateChanged() local
143 int32_t result = OnInterfaceLinkStateChanged(ifName, up); in CmdOnInterfaceLinkStateChanged()
154 bool up = data.ReadBool(); in CmdOnRouteChanged() local
159 int32_t result = OnRouteChanged(up, route, gateway, ifName); in CmdOnRouteChanged()
/foundation/communication/netmanager_base/services/netconnmanager/include/stub/
H A Dnet_interface_callback_proxy.h37 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
38 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/
H A Di_net_interface_callback.h38 virtual int32_t OnInterfaceChanged(const std::string &ifName, bool up) = 0;
39 virtual int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) = 0;
H A Dnet_interface_callback_stub.h40 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
41 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;
/foundation/communication/netmanager_ext/services/mdnsmanager/include/
H A Dnet_interface_callback.h35 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
36 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnotify_callback_proxy.h33 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
34 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;
H A Di_notify_callback.h40 virtual int32_t OnInterfaceChanged(const std::string &ifName, bool up) = 0;
41 virtual int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) = 0;
/foundation/communication/netmanager_base/test/commonduplicatedcode/
H A Dcommon_notify_callback_test.h47 int32_t OnInterfaceChanged(const std::string &ifName, bool up) override
52 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
H A Dwrapper_distributor.cpp198 void WrapperDistributor::NotifyInterfaceChange(const std::string &ifName, bool up) in NotifyInterfaceChange() argument
200 NETNATIVE_LOG_D("interface Change: %{public}s, %{public}d", ifName.c_str(), up); in NotifyInterfaceChange()
208 callback->OnInterfaceChanged(ifName, up); in NotifyInterfaceChange()
213 void WrapperDistributor::NotifyInterfaceLinkStateChange(const std::string &ifName, bool up) in NotifyInterfaceLinkStateChange() argument
215 NETNATIVE_LOG_D("interface link state Change: %{public}s, %{public}d", ifName.c_str(), up); in NotifyInterfaceLinkStateChange()
223 callback->OnInterfaceLinkStateChanged(ifName, up); in NotifyInterfaceLinkStateChange()
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnotify_callback_proxy.cpp61 bool WriteLinkStateData(MessageParcel &data, const std::string &ifName, bool up) in WriteLinkStateData() argument
72 if (!data.WriteBool(up)) { in WriteLinkStateData()
188 int32_t NotifyCallbackProxy::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
192 if (!WriteLinkStateData(data, ifName, up)) { in OnInterfaceChanged()
213 int32_t NotifyCallbackProxy::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
217 if (!WriteLinkStateData(data, ifName, up)) { in OnInterfaceLinkStateChanged()
/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
H A Dnet_interface_callback_proxy.cpp177 int32_t NetInterfaceStateCallbackProxy::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
189 if (!dataParcel.WriteBool(up)) { in OnInterfaceChanged()
209 int32_t NetInterfaceStateCallbackProxy::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
221 if (!dataParcel.WriteBool(up)) { in OnInterfaceLinkStateChanged()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/
H A Dnet_interface_callback_stub.cpp198 int32_t NetInterfaceStateCallbackStub::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
200 NETMGR_LOG_D("OnInterfaceChanged, iface:[%{public}s] -> Up:[%{public}d]", ifName.c_str(), up); in OnInterfaceChanged()
204 int32_t NetInterfaceStateCallbackStub::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
206 NETMGR_LOG_D("OnInterfaceLinkStateChanged, iface:[%{public}s] -> Up:[%{public}d]", ifName.c_str(), up); in OnInterfaceLinkStateChanged()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dinterface_state_observer.cpp52 int32_t InterfaceStateObserver::OnInterfaceChanged(const std::string &iface, bool up) in OnInterfaceChanged() argument
58 auto pair = new std::pair<std::string, bool>(iface, up); in OnInterfaceChanged()
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/proxy/
H A Dinterface_state_callback_proxy.cpp89 int32_t InterfaceStateCallbackProxy::OnInterfaceChanged(const std::string &ifName, bool up) in OnInterfaceChanged() argument
110 if (!data.WriteBool(up)) { in OnInterfaceChanged()
/foundation/communication/netmanager_ext/interfaces/innerkits/ethernetclient/include/proxy/
H A Dinterface_state_callback.h30 virtual int32_t OnInterfaceChanged(const std::string &ifName, bool up) = 0;
H A Dinterface_state_callback_proxy.h34 virtual int32_t OnInterfaceChanged(const std::string &ifName, bool up) override;
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dquaternion_util.h98 /** Look rotation from forward and up vectors */
99 static inline Quat LookRotation(Vec3 forward, Vec3 up) in LookRotation() argument
102 const Vec3 right = Math::Normalize(Math::Cross(up, forward)); in LookRotation()
103 up = Math::Cross(forward, right); in LookRotation()
107 const float m10 = up.x; in LookRotation()
108 const float m11 = up.y; in LookRotation()
109 const float m12 = up.z; in LookRotation()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_management.cpp33 constexpr const char *IFACE_LINK_UP = "up";
66 NETMGR_EXT_LOG_E("Iface[%{public}s] added set up fail!", iface.c_str()); in OnInterfaceAdded()
89 int32_t EthernetManagement::DevInterfaceStateCallback::OnInterfaceLinkStateChanged(const std::string &ifName, bool up) in OnInterfaceLinkStateChanged() argument
94 ethernetManagement_.UpdateInterfaceState(ifName, up); in OnInterfaceLinkStateChanged()
98 NETMGR_EXT_LOG_I("OnInterfaceLinkStateChanged iface[%{public}s] up[%{public}d], cost=%{public}lld", in OnInterfaceLinkStateChanged()
99 ifName.c_str(), up, durationNs.count()); in OnInterfaceLinkStateChanged()
142 void EthernetManagement::UpdateInterfaceState(const std::string &dev, bool up) in UpdateInterfaceState() argument
144 NETMGR_EXT_LOG_D("EthernetManagement UpdateInterfaceState dev[%{public}s] up[%{public}d]", dev.c_str(), up); in UpdateInterfaceState()
155 devState->SetLinkUp(up); in UpdateInterfaceState()
[all...]
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_tracker.cpp84 int32_t NetworkShareTracker::NetsysCallback::OnInterfaceChanged(const std::string &iface, bool up) in OnInterfaceChanged() argument
86 NetworkShareTracker::GetInstance().InterfaceStatusChanged(iface, up); in OnInterfaceChanged()
90 int32_t NetworkShareTracker::NetsysCallback::OnInterfaceLinkStateChanged(const std::string &iface, bool up) in OnInterfaceLinkStateChanged() argument
92 NetworkShareTracker::GetInstance().InterfaceStatusChanged(iface, up); in OnInterfaceLinkStateChanged()
1096 bool NetworkShareTracker::IsHandleNetlinkEvent(const SharingIfaceType &type, bool up) in IsHandleNetlinkEvent() argument
1100 return up ? curWifiState_ == Wifi::ApState::AP_STATE_STARTING in IsHandleNetlinkEvent()
1106 return up ? curBluetoothState_ == Bluetooth::BTConnectState::CONNECTING in IsHandleNetlinkEvent()
1112 return up ? curUsbState_ == UsbShareState::USB_SHARING in IsHandleNetlinkEvent()
1119 void NetworkShareTracker::InterfaceStatusChanged(const std::string &iface, bool up) in InterfaceStatusChanged() argument
1126 if (!InterfaceNameToType(iface, type) || !IsHandleNetlinkEvent(type, up)) { in InterfaceStatusChanged()
[all...]
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dwidget_adapter.cpp57 const OHOS::Render3D::Vec3& up, const OHOS::Render3D::Quaternion& rotation) in SetupCameraTransform()
60 engine_->SetupCameraTransform(position, lookAt, up, rotation); in SetupCameraTransform()
55 SetupCameraTransform( const OHOS::Render3D::Position& position, const OHOS::Render3D::Vec3& lookAt, const OHOS::Render3D::Vec3& up, const OHOS::Render3D::Quaternion& rotation) SetupCameraTransform() argument
/foundation/communication/netmanager_ext/services/ethernetmanager/include/
H A Dethernet_service.h53 int32_t OnInterfaceChanged(const std::string &iface, bool up) override;
54 int32_t OnInterfaceLinkStateChanged(const std::string &ifName, bool up) override;

Completed in 11 milliseconds

123