/system/sepolicy/private/ |
D | genfs_contexts | 175 genfscon debugfs /tracing/events/header_page u:object_r:debugfs_tracing:s0 176 genfscon debugfs /tracing/events/f2fs/f2fs_get_data_block/ u:object_r:debugfs_tracing:s0 177 genfscon debugfs /tracing/events/f2fs/f2fs_iget/ u:object_r:debugfs_tracing:s0 178 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/ u:object_r:debugfs_tracing:s0 179 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/ u:object_r:debugfs_tracing:s0 180 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/ u:object_r:debugfs_tracing:s0 181 genfscon debugfs /tracing/events/f2fs/f2fs_write_end/ u:object_r:debugfs_tracing:s0 182 genfscon debugfs /tracing/events/ext4/ext4_da_write_begin/ u:object_r:debugfs_tracing:s0 183 genfscon debugfs /tracing/events/ext4/ext4_da_write_end/ u:object_r:debugfs_tracing:s0 184 genfscon debugfs /tracing/events/ext4/ext4_es_lookup_extent_enter/ u:object_r:debugfs_tracing:s0 [all …]
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | genfs_contexts | 174 genfscon debugfs /tracing/events/header_page u:object_r:debugfs_tracing:s0 175 genfscon debugfs /tracing/events/f2fs/f2fs_get_data_block/ u:object_r:debugfs_tracing:s0 176 genfscon debugfs /tracing/events/f2fs/f2fs_iget/ u:object_r:debugfs_tracing:s0 177 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/ u:object_r:debugfs_tracing:s0 178 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/ u:object_r:debugfs_tracing:s0 179 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/ u:object_r:debugfs_tracing:s0 180 genfscon debugfs /tracing/events/f2fs/f2fs_write_end/ u:object_r:debugfs_tracing:s0 181 genfscon debugfs /tracing/events/ext4/ext4_da_write_begin/ u:object_r:debugfs_tracing:s0 182 genfscon debugfs /tracing/events/ext4/ext4_da_write_end/ u:object_r:debugfs_tracing:s0 183 genfscon debugfs /tracing/events/ext4/ext4_es_lookup_extent_enter/ u:object_r:debugfs_tracing:s0 [all …]
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | genfs_contexts | 165 genfscon debugfs /tracing/events/header_page u:object_r:debugfs_tracing:s0 166 genfscon debugfs /tracing/events/f2fs/f2fs_get_data_block/ u:object_r:debugfs_tracing:s0 167 genfscon debugfs /tracing/events/f2fs/f2fs_iget/ u:object_r:debugfs_tracing:s0 168 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/ u:object_r:debugfs_tracing:s0 169 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/ u:object_r:debugfs_tracing:s0 170 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/ u:object_r:debugfs_tracing:s0 171 genfscon debugfs /tracing/events/f2fs/f2fs_write_end/ u:object_r:debugfs_tracing:s0 172 genfscon debugfs /tracing/events/ext4/ext4_da_write_begin/ u:object_r:debugfs_tracing:s0 173 genfscon debugfs /tracing/events/ext4/ext4_da_write_end/ u:object_r:debugfs_tracing:s0 174 genfscon debugfs /tracing/events/ext4/ext4_es_lookup_extent_enter/ u:object_r:debugfs_tracing:s0 [all …]
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | genfs_contexts | 144 genfscon debugfs /tracing/events/workqueue/ u:object_r:debugfs_tracing_deb… 145 genfscon debugfs /tracing/events/regulator/ u:object_r:debugfs_tracing_deb… 146 genfscon debugfs /tracing/events/pagecache/ u:object_r:debugfs_tracing_deb… 147 genfscon debugfs /tracing/events/irq/ u:object_r:debugfs_tracing_deb… 148 genfscon debugfs /tracing/events/ipi/ u:object_r:debugfs_tracing_deb… 149 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/ u:object_r:debugfs_tracing:s0 150 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/ u:object_r:debugfs_tracing:s0 151 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/ u:object_r:debugfs_tracing:s0 152 genfscon debugfs /tracing/events/f2fs/f2fs_write_end/ u:object_r:debugfs_tracing:s0 153 genfscon debugfs /tracing/events/ext4/ext4_da_write_begin/ u:object_r:debugfs_tracing:s0 [all …]
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | genfs_contexts | 76 genfscon debugfs /tracing/events/sync/enable u:object_r:debugfs_tracing_deb… 77 genfscon debugfs /tracing/events/workqueue/enable u:object_r:debugfs_tracing_deb… 78 genfscon debugfs /tracing/events/regulator/enable u:object_r:debugfs_tracing_deb… 79 genfscon debugfs /tracing/events/pagecache/enable u:object_r:debugfs_tracing_deb… 80 genfscon debugfs /tracing/events/irq/enable u:object_r:debugfs_tracing_deb… 81 genfscon debugfs /tracing/events/ipi/enable u:object_r:debugfs_tracing_deb… 82 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_enter/enable u:object_r:debugfs_tracing_deb… 83 genfscon debugfs /tracing/events/f2fs/f2fs_sync_file_exit/enable u:object_r:debugfs_tracing_deb… 84 genfscon debugfs /tracing/events/f2fs/f2fs_write_begin/enable u:object_r:debugfs_tracing_deb… 85 genfscon debugfs /tracing/events/f2fs/f2fs_write_end/enable u:object_r:debugfs_tracing_deb… [all …]
|
/system/core/adb/fdevent/ |
D | fdevent_epoll.cpp | 64 result.events = 0; in calculate_epoll_event() 66 result.events |= EPOLLIN; in calculate_epoll_event() 69 result.events |= EPOLLOUT; in calculate_epoll_event() 72 result.events |= EPOLLERR; in calculate_epoll_event() 74 result.events |= EPOLLRDHUP; in calculate_epoll_event() 92 void fdevent_context_epoll::Set(fdevent* fde, unsigned events) { in Set() argument 94 fde->state = events; in Set() 97 if ((previous_state & ~FDE_TIMEOUT) == (events & ~FDE_TIMEOUT)) { in Set() 140 unsigned events = 0; in Loop() local 141 if (epoll_events[i].events & EPOLLIN) { in Loop() [all …]
|
D | fdevent_poll.cpp | 82 void fdevent_context_poll::Set(fdevent* fde, unsigned events) { in Set() argument 84 fde->state = events; in Set() 85 D("fdevent_set: %s, events = %u", dump_fde(fde).c_str(), events); in Set() 92 if (pollfd.events & POLLIN) { in dump_pollfds() 95 if (pollfd.events & POLLOUT) { in dump_pollfds() 114 D("--- --- waiting for events"); in Loop() 119 pfd.events = 0; in Loop() 121 pfd.events |= POLLIN; in Loop() 124 pfd.events |= POLLOUT; in Loop() 127 pfd.events |= POLLERR; in Loop() [all …]
|
D | fdevent_test.cpp | 54 static void FdEventCallback(int fd, unsigned events, void* userdata) { in FdEventCallback() argument 56 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventCallback() 57 if (events & FDE_READ) { in FdEventCallback() 64 if (events & FDE_WRITE) { in FdEventCallback() 76 static void FdEventNewCallback(fdevent* fde, unsigned events, void* userdata) { in FdEventNewCallback() argument 79 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventNewCallback() 80 if (events & FDE_READ) { in FdEventNewCallback() 87 if (events & FDE_WRITE) { in FdEventNewCallback() 237 std::vector<std::pair<TimeoutEvent, std::chrono::steady_clock::time_point>> events; in TEST_F() member 246 test.fde = fdevent_create(fds[0], [](fdevent* fde, unsigned events, void* arg) { in TEST_F() argument [all …]
|
D | fdevent.h | 36 // Events that may be observed 44 typedef void (*fd_func)(int fd, unsigned events, void *userdata); 45 typedef void (*fd_func2)(struct fdevent* fde, unsigned events, void* userdata); 47 void invoke_fde(struct fdevent* fde, unsigned events); 52 unsigned events; member 86 // Change which events should cause notifications. 87 virtual void Set(fdevent* fde, unsigned events) = 0; 88 void Add(fdevent* fde, unsigned events); 89 void Del(fdevent* fde, unsigned events); 92 // If no events are triggered by the timeout, an FDE_TIMEOUT will be generated. [all …]
|
D | fdevent.cpp | 38 void invoke_fde(struct fdevent* fde, unsigned events) { in invoke_fde() argument 40 (*f)(fde->fd.get(), events, fde->arg); in invoke_fde() 42 (*f)(fde, events, fde->arg); in invoke_fde() 105 void fdevent_context::Add(fdevent* fde, unsigned events) { in Add() argument 106 CHECK(!(events & FDE_TIMEOUT)); in Add() 107 Set(fde, fde->state | events); in Add() 110 void fdevent_context::Del(fdevent* fde, unsigned events) { in Del() argument 111 CHECK(!(events & FDE_TIMEOUT)); in Del() 112 Set(fde, fde->state & ~events); in Del() 147 void fdevent_context::HandleEvents(const std::vector<fdevent_event>& events) { in HandleEvents() argument [all …]
|
/system/core/bootstat/ |
D | README.md | 3 The bootstat command records boot events (e.g., `firmware_loaded`, 4 `boot_complete`) and the relative time at which these events occurred. The 22 ## Recording boot events ## 32 ## Logging boot events ## 34 To log the persisted boot events, call `bootstat` with the `-l` option. 38 bootstat logs all boot events recorded using the `-r` option to the EventLog 43 ## Printing boot events ## 45 To print the set of persisted boot events, call `bootstat` with the `-p` option. 48 Boot events:
|
D | boot_event_record_store_test.cpp | 139 auto events = store.GetAllBootEvents(); in TEST_F() local 140 ASSERT_EQ(1U, events.size()); in TEST_F() 141 EXPECT_EQ("cenozoic", events[0].first); in TEST_F() 142 EXPECT_TRUE(FuzzUptimeEquals(uptime, events[0].second)); in TEST_F() 160 auto events = store.GetAllBootEvents(); in TEST_F() local 161 ASSERT_EQ(3U, events.size()); in TEST_F() 165 for (auto i = events.begin(); i != events.end(); ++i) { in TEST_F() 183 auto events = store.GetAllBootEvents(); in TEST_F() local 184 ASSERT_EQ(1U, events.size()); in TEST_F() 185 EXPECT_EQ("permian", events[0].first); in TEST_F() [all …]
|
/system/extras/boottime_tools/bootanalyze/ |
D | bootanalyze.py | 97 for key, pattern in cfg['events'].iteritems()} 126 events = shutdown_event_all.get(k) 127 if not events: 128 events = [] 129 shutdown_event_all[k] = events 130 events.append(v) 133 events = shutdown_timing_event_all.get(k) 134 if not events: 135 events = [] 136 shutdown_timing_event_all[k] = events [all …]
|
/system/core/libappfuse/ |
D | EpollController.cc | 38 bool EpollController::AddFd(int fd, int events, void* data) { in AddFd() argument 39 return InvokeControl(EPOLL_CTL_ADD, fd, events, data); in AddFd() 42 bool EpollController::UpdateFd(int fd, int events, void* data) { in UpdateFd() argument 43 return InvokeControl(EPOLL_CTL_MOD, fd, events, data); in UpdateFd() 47 return InvokeControl(EPOLL_CTL_DEL, fd, /* events */ 0, nullptr); in RemoveFd() 50 const std::vector<epoll_event>& EpollController::events() const { in events() function in android::fuse::EpollController 54 bool EpollController::InvokeControl(int op, int fd, int events, void* data) const { in InvokeControl() argument 57 event.events = events; in InvokeControl()
|
/system/chre/core/include/chre/core/ |
D | nanoapp.h | 30 * A class that tracks the state of a Nanoapp including incoming events and 88 * @return true if the nanoapp should receive broadcast events with the given 94 * Updates the Nanoapp's registration so that it will receive broadcast events 103 * events with the given event ID. 110 * Adds an event to this nanoapp's queue of pending events. 117 * Indicates whether there are any pending events in this apps queue. 119 * @return true if there are events waiting to be processed 126 * Configures whether nanoapp info events will be sent to the nanoapp. 127 * Nanoapps are not sent nanoapp start/stop events by default. 129 * @param enable true if events are to be sent, false otherwise. [all …]
|
D | event_loop.h | 48 * loop that delivers events to the nanoapps managed within for processing. 62 * events to the app. 129 * events to nanoapps. Only returns after stop() is called (from another 143 * be provided to this method because it should only be used to post events 238 * therefore it should not be allowed to send events or messages, etc. 263 //! The maximum number of events that can be active in the system. 266 //! The minimum number of events to reserve in the event pool for high 267 //! priority events. 270 //! The maximum number of events that are awaiting to be scheduled. These 271 //! events are in a queue to be distributed to apps. [all …]
|
/system/core/libutils/ |
D | Looper.cpp | 49 int SimpleLooperCallback::handleEvent(int fd, int events, void* data) { in handleEvent() argument 50 return mCallback(fd, events, data); in handleEvent() 56 // Maximum number of file descriptors for which to retrieve poll events each iteration. 146 eventItem.events = EPOLLIN; in rebuildEpollLocked() 159 ALOGE("Error adding epoll events for fd %d while rebuilding epoll set: %s", in rebuildEpollLocked() 183 int events = response.events; in pollOnce() local 187 "fd=%d, events=0x%x, data=%p", in pollOnce() 188 this, ident, fd, events, data); in pollOnce() 191 if (outEvents != nullptr) *outEvents = events; in pollOnce() 273 // Handle all events. in pollInner() [all …]
|
/system/extras/simpleperf/ |
D | cmd_list.cpp | 44 // Because PMU events are provided by kernel, we assume it's supported. in IsEventTypeSupported() 50 // Exclude kernel to list supported events even when kernel recording isn't allowed. in IsEventTypeSupported() 84 // For raw events, we may not be able to detect whether it is supported on device. in IsEventTypeSupported() 103 printf(" # More cache events are available in `simpleperf list raw`.\n"); in PrintEventTypesOfType() 133 " hw hardware events\n" in ListCommand() 134 " sw software events\n" in ListCommand() 135 " cache hardware cache events\n" in ListCommand() 136 " raw raw cpu pmu events\n" in ListCommand() 137 " tracepoint tracepoint events\n" in ListCommand() 138 " cs-etm coresight etm instruction tracing events\n" in ListCommand() [all …]
|
D | IOEventLoop.h | 31 // IOEventLoop is a class wrapper of libevent, it monitors events happened, 32 // and calls the corresponding callbacks. Possible events are: file ready to 39 // Use precise timer for periodic events which want precision in ms. 55 // Register a vector of signal Events. 63 // Run a loop polling for Events. It only exits when ExitLoop() is called 64 // in a callback function of registered Events. 80 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
|
/system/extras/simpleperf/doc/ |
D | executable_commands_reference.md | 11 - [Select events to stat](#select-events-to-stat) 19 - [Select events to record](#select-events-to-record) 37 several hardware counters, counting events like how many cpu cycles have happened, how many 40 The Linux kernel wraps these hardware counters into hardware perf events. In addition, the Linux 41 kernel also provides hardware independent software events and tracepoint events. The Linux kernel 42 exposes all events to userspace via the perf_event_open system call, which is used by simpleperf. 46 The stat command gives a summary of how many events have happened in the profiled processes in a 56 4. Each time a given number of events happen, the kernel dumps a sample to the mapped buffers. 95 The list command lists all events available on the device. Different devices may support different 96 events because they have different hardware and kernels. [all …]
|
/system/extras/simpleperf/include/ |
D | simpleperf.h | 37 // If there is not enough hardware counters, kernel will share counters between events. 44 // PerfEventSet can be used to count perf events or record perf events in perf.data. 45 // To count perf events, you can do as follows: 47 // 2. Select perf events to count. You can add more than one events. 71 // Add event in the set. All valid events are returned by GetAllEvents(). 72 // To only monitor events happen in user space, add :u suffix, like cpu-cycles:u.
|
/system/core/adb/libs/adbconnection/ |
D | adbconnection_server.cpp | 67 std::array<epoll_event, 16> events; in adbconnection_listen() local 69 events[0].events = EPOLLIN; in adbconnection_listen() 70 events[0].data.fd = -1; in adbconnection_listen() 71 if (epoll_ctl(epfd.get(), EPOLL_CTL_ADD, s.get(), &events[0]) != 0) { in adbconnection_listen() 76 int epoll_rc = TEMP_FAILURE_RETRY(epoll_wait(epfd.get(), events.data(), events.size(), -1)); in adbconnection_listen() 82 const epoll_event& event = events[i]; in adbconnection_listen() 93 register_event.events = EPOLLIN; in adbconnection_listen()
|
/system/chre/apps/chqts/src/general_test/ |
D | send_event_stress_test.cc | 29 * We stress the system by sending more and more events until it runs out. 30 * Then we wait for all the events to be delivered, and all the completion 37 // If the system keeps claiming it can send more events, we don't let it 39 // we'll call its bluff, and make sure that all of these events get 41 // system down to no more events available), it will still give us confidence 85 // We want at least 2 events for this to pretend to be an exhaustion test. in setUp() 87 sendFatalFailureToHost("Insufficient events available"); in setUp() 113 sendFatalFailureToHost("Too many events delivered"); in handleEvent() 151 sendFatalFailureToHost("completeCallbacks delivered before events"); in completeCallback()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 22 * Context Hub Runtime Environment API dealing with events and messages. 60 * User events may use any value in the range 0x8000 to 0xFFFF, inclusive. 89 * function has been called, and it returned true) and is able to receive events 103 * receive events sent via chreSendEvent(). Any events sent prior to receiving 132 * First possible value for CHRE_EVENT_SENSOR events. 134 * This allows us to separately define our CHRE_EVENT_SENSOR_* events in 140 * Last possible value for CHRE_EVENT_SENSOR events. 142 * This allows us to separately define our CHRE_EVENT_SENSOR_* events in 148 * First event in the block reserved for GNSS. These events are defined in 155 * First event in the block reserved for WiFi. These events are defined in [all …]
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | event.h | 22 * Context Hub Runtime Environment API dealing with events and messages. 60 * User events may use any value in the range 0x8000 to 0xFFFF, inclusive. 89 * function has been called, and it returned true) and is able to receive events 103 * receive events sent via chreSendEvent(). Any events sent prior to receiving 132 * First possible value for CHRE_EVENT_SENSOR events. 134 * This allows us to separately define our CHRE_EVENT_SENSOR_* events in 140 * Last possible value for CHRE_EVENT_SENSOR events. 142 * This allows us to separately define our CHRE_EVENT_SENSOR_* events in 148 * First event in the block reserved for GNSS. These events are defined in 155 * First event in the block reserved for WiFi. These events are defined in [all …]
|