Home
last modified time | relevance | path

Searched refs:Events (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_dao.cpp58 {Events::FIELD_DOMAIN, SqlUtil::SQL_TEXT_TYPE}, in Create()
59 {Events::FIELD_NAME, SqlUtil::SQL_TEXT_TYPE}, in Create()
60 {Events::FIELD_TYPE, SqlUtil::SQL_INT_TYPE}, in Create()
61 {Events::FIELD_TIME, SqlUtil::SQL_INT_TYPE}, in Create()
62 {Events::FIELD_TZ, SqlUtil::SQL_TEXT_TYPE}, in Create()
63 {Events::FIELD_PID, SqlUtil::SQL_INT_TYPE}, in Create()
64 {Events::FIELD_TID, SqlUtil::SQL_INT_TYPE}, in Create()
66 {Events::FIELD_SPAN_ID, SqlUtil::SQL_INT_TYPE}, in Create()
87 bucket.PutInt(Events::FIELD_PID, event->GetPid()); in Insert()
88 bucket.PutInt(Events::FIELD_TID, event->GetTid()); in Insert()
[all …]
H A Dapp_event_store.cpp92 event->SetSeq(GetLongFromResultSet(resultSet, Events::FIELD_SEQ)); in GetEventFromResultSet()
98 event->SetPid(GetIntFromResultSet(resultSet, Events::FIELD_PID)); in GetEventFromResultSet()
99 event->SetTid(GetIntFromResultSet(resultSet, Events::FIELD_TID)); in GetEventFromResultSet()
111 std::string sql = "ALTER TABLE " + Events::TABLE + " ADD COLUMN " in UpToDbVersion2()
405 … + Events::TABLE + "." + Events::FIELD_SEQ + " WHERE " + AppEventMapping::FIELD_OBSERVER_SEQ + "=?" in QueryEvents()
537 + " NOT IN (SELECT " + Events::FIELD_RUNNING_ID + " FROM " + Events::TABLE + ")) AND " in DeleteUnusedParamsExceptCurId()
556 + Events::FIELD_SEQ + " FROM " + Events::TABLE + ")"; in DeleteUnusedEventMapping()
576 = Events::FIELD_SEQ + " NOT IN (SELECT " + Events::FIELD_SEQ + " FROM " + Events::TABLE in DeleteHistoryEvent()
577 …+ " WHERE " + Events::FIELD_DOMAIN + " != ? ORDER BY "+ Events::FIELD_SEQ + " DESC LIMIT 0,?) AND " in DeleteHistoryEvent()
578 + Events::FIELD_SEQ + " NOT IN (SELECT " + Events::FIELD_SEQ + " FROM " + Events::TABLE in DeleteHistoryEvent()
[all …]
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dio_event_epoll.cpp92 if (events == Events::EVENT_NONE) { in ModifyEvents()
129 REventId res = Events::EVENT_NONE; in Epoll2Reactor()
131 res |= Events::EVENT_CLOSE; in Epoll2Reactor()
135 res |= Events::EVENT_ERROR; in Epoll2Reactor()
139 res |= Events::EVENT_READ; in Epoll2Reactor()
143 res |= Events::EVENT_WRITE; in Epoll2Reactor()
153 if (reactorEvent & Events::EVENT_READ) { in Reactor2Epoll()
157 if (reactorEvent & Events::EVENT_WRITE) { in Reactor2Epoll()
161 if (reactorEvent & Events::EVENT_ERROR) { in Reactor2Epoll()
H A Dio_event_handler.cpp25 :prev_(nullptr), next_(nullptr), fd_(IO_EVENT_INVALID_FD), events_(Events::EVENT_NONE), in IOEventHandler()
86 events_ |= Events::EVENT_READ; in EnableRead()
91 events_ |= Events::EVENT_WRITE; in EnableWrite()
96 events_ &= ~Events::EVENT_WRITE; in DisableWrite()
100 events_ = Events::EVENT_NONE; in DisableAll()
H A Devent_demultiplexer.cpp78 if (handler->Events() == EventReactor::NONE_EVENT) { in UpdateEventHandler()
93 event.events = Reactor2Epoll(handler->Events()); in Update()
/ohos5.0/docs/en/application-dev/dfx/
H A DReadme-EN.md11 - [Subscribing to Application Events (ArkTS)](hiappevent-watcher-app-events-arkts.md)
12 - [Subscribing to Application Events (C/C++)](hiappevent-watcher-app-events-ndk.md)
16 - [Subscribing to Crash Events (ArkTS)](hiappevent-watcher-crash-events-arkts.md)
17 - [Subscribing to Crash Events (C/C++)](hiappevent-watcher-crash-events-ndk.md)
20 - [Subscribing to Freeze Events (ArkTS)](hiappevent-watcher-freeze-events-arkts.md)
21 - [Subscribing to Freeze Events (C/C++)](hiappevent-watcher-freeze-events-ndk.md)
24 … - [Subscribing to Resource Leak Events (ArkTS)](hiappevent-watcher-resourceleak-events-arkts.md)
25 … - [Subscribing to Resource Leak Events (C/C++)](hiappevent-watcher-resourceleak-events-ndk.md)
29 …- [Subscribing to Address Sanitizer Events (C/C++)](hiappevent-watcher-address-sanitizer-events-nd…
32 …- [Subscribing to Main Thread Jank Events (ArkTS)](hiappevent-watcher-mainthreadjank-events-arkts.…
[all …]
H A Dhiappevent-watcher-freeze-events.md5 - [Subscribing to Freeze Events (ArkTS)](hiappevent-watcher-freeze-events-arkts.md)
6 - [Subscribing to Freeze Events (C/C++)](hiappevent-watcher-freeze-events-ndk.md)
24 | event_handler | string[] | Events not yet handled by the main thread.|
H A Dhiappevent-watcher-mainthreadjank-events.md5 - [Subscribing to Main Thread Jank Events (ArkTS)](hiappevent-watcher-mainthreadjank-events-arkts.m…
6 - [Subscribing to Main Thread Jank Events (C/C++)](hiappevent-watcher-mainthreadjank-events-ndk.md)
/ohos5.0/docs/en/application-dev/basic-services/common-event/
H A DReadme-EN.md1 # Common Events
9 - [Subscribing to Common Events in Dynamic Mode](common-event-subscription.md)
11 …- [Subscribing to Common Events in Static Mode (for System Applications Only)](common-event-static…
13 - [Unsubscribing from Common Events in Dynamic Mode](common-event-unsubscription.md)
14 - [Publishing Common Events](common-event-publish.md)
16 - [Removing Sticky Common Events (for System Applications Only)](common-event-remove-sticky.md)
H A Dcommon-event-unsubscription.md1 # Unsubscribing from Common Events in Dynamic Mode
28 2. Subscribe to an event by following the procedure described in [Subscribing to Common Events in D…
H A Dcommon-event-remove-sticky.md1 # Removing Sticky Common Events (for System Applications Only)
35 …etails about how to publish sticky common events, see [Publishing Common Events](common-event-publ…
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Devents.rs58 pub struct Events { struct
63 impl Events { implementation
65 pub fn with_capacity(cap: usize) -> Events { in with_capacity() argument
66 Events { in with_capacity()
100 impl fmt::Debug for Events { implementation
106 impl<'a> IntoIterator for &'a Events { implementation
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dkqueue.rs47 pub fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in select() argument
220 pub struct Events(Vec<Event>); struct
222 impl Events { implementation
225 Events(Vec::with_capacity(capacity)) in with_capacity()
229 impl Deref for Events { implementation
237 impl DerefMut for Events { implementation
245 unsafe impl Send for Events {} implementation
246 unsafe impl Sync for Events {} implementation
H A Dmod.rs43 pub use epoll::{Event, Events, Selector};
50 pub use kqueue::{Event, Events, Selector};
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_guide_event.md96 ### OHOS::Utils::Events
99 namespace OHOS::Utils::Events;
101 命名空间`Events`包含了c_utils中事件处理器功能中各兴趣事件的事件类型。
134 | | **IOEventHandler**(int fd, EventId events =Events::EVENT_NONE, const EventCallback & cb =nullpt…
171 | | **IOEventHandler**(int fd, EventId events =Events::EVENT_NONE, const EventCallback & cb =nullpt…
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dget_device_info_data.cpp41 static const uint16_t Events[] = { variable
159 MtpPacketTool::PutAUInt16(outBuffer, Events, sizeof(Events) / sizeof(uint16_t)); in Maker()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/
H A Dpoll.rs17 use crate::{Events, Interest, Selector, Source, Token};
37 pub fn poll(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in poll() argument
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp132 handler->SetEvents(Events::EVENT_READ | Events::EVENT_WRITE); in BENCHMARK_F()
133 AssertEqual(handler->GetEvents(), (Events::EVENT_READ | Events::EVENT_WRITE), in BENCHMARK_F()
143 AssertEqual(handler->GetEvents(), Events::EVENT_NONE, in BENCHMARK_F()
149 AssertEqual(handler->GetEvents(), (Events::EVENT_READ | Events::EVENT_WRITE), in BENCHMARK_F()
154 AssertEqual(handler->GetEvents(), Events::EVENT_READ, in BENCHMARK_F()
177 AssertEqual(handler->GetEvents(), Events::EVENT_READ, in BENCHMARK_F()
505 handler->SetEvents(Events::EVENT_NONE); in BENCHMARK_F()
612 handler->SetEvents(Events::EVENT_WRITE); in BENCHMARK_F()
1382 AssertEqual(handler->GetEvents(), Events::EVENT_NONE, in BENCHMARK_F()
1403 EventId events = Events::EVENT_READ; in BENCHMARK_F()
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-perf.md79 …| LOSCFG_PERF_HW_PMU | Enable&nbsp;Hardware&nbsp;Pmu&nbsp;Events&nbsp;for&nbsp;Sampling | 使能硬件PMU事…
80 …| LOSCFG_PERF_TIMED_PMU | Enable&nbsp;Hrtimer&nbsp;Period&nbsp;Events&nbsp;for&nbsp;Sampling | 使能高…
81 …| LOSCFG_PERF_SW_PMU | Enable&nbsp;Software&nbsp;Events&nbsp;for&nbsp;Sampling | 使能软件事件,需要开启LOSCFG…
116 前提条件:在menuconfig菜单中完成perf模块的配置, 并勾选Enable Hook Feature,Enable Software Events for Sampling。
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/examples/
H A Dylong_io_tcp_server.rs23 use ylong_io::{EventTrait, Events, Interest, Poll, TcpListener, Token};
34 let mut events = Events::with_capacity(128); in main()
/ohos5.0/docs/en/application-dev/ui/
H A DReadme-EN.md82 - Using Interaction Events
84 - Universal Events
90 - Gesture Events
94 - [Multi-level Gesture Events](arkts-gesture-events-multi-level-gesture.md)
121 - Adding Interaction Events
122 - [Listening for Component Events](ndk-listen-to-component-events.md)
123 - [Binding Gesture Events](ndk-bind-gesture-events.md)
153 - [Defining Gesture Events](ui-js-building-ui-event.md)
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_event_test.cpp98 handler->SetEvents(Events::EVENT_READ | Events::EVENT_WRITE);
99 EXPECT_EQ(handler->GetEvents(), Events::EVENT_READ | Events::EVENT_WRITE);
108 EXPECT_EQ(handler->GetEvents(), Events::EVENT_NONE);
113 EXPECT_EQ(handler->GetEvents(), Events::EVENT_READ | Events::EVENT_WRITE);
117 EXPECT_EQ(handler->GetEvents(), Events::EVENT_READ);
142 EXPECT_EQ(handler->GetEvents(), Events::EVENT_READ);
386 handler->SetEvents(Events::EVENT_NONE);
493 handler->SetEvents(Events::EVENT_WRITE);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-ability-component-sys.md17 **AbilityComponent** cannot process input events. Events are directly distributed to the internal a…
39 ## Events section
/ohos5.0/docs/en/application-dev/application-test/
H A Darkxtest-guidelines.md607 #### Simulating Click Events
610 #### Simulating Mouse Events
613 #### Simulating Input Events
614 … the input of Chinese and English text, see [Example of Simulating Input Events](https://gitee.com…
616 #### Simulating Screenshot Events
619 #### Simulating Fling Events
622 #### Simulating Swipe Events
625 #### Simulating Pinch Events
628 #### Simulating Scroll Events
629 For details about how to simulate components scrolling, see [Example of Simulating Scroll Events](h…
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/app_bar/
H A Dapp_bar_test_ng.cpp450 auto Events = actuator->clickEvents_; variable
453 for (const auto& callback : Events) {
457 for (const auto& callback : Events) {
480 auto Events = actuator->clickEvents_; variable
482 for (const auto& callback : Events) {

12345678910>>...16