/foundation/multimodalinput/input/test/facility/libinput_wrapper/src/ |
H A D | libinput_wrapper.cpp | 100 std::cout << "Failed to dispatch input event" << std::endl; in Dispatch() 109 struct libinput_event *event; in DrainEvents() local 112 while ((event = libinput_get_event(input_))) { in DrainEvents() 113 libinput_event_destroy(event); in DrainEvents()
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | joystick_transform_processor.h | 92 std::shared_ptr<PointerEvent> OnEvent(struct libinput_event *event) override; 96 bool OnEventJoystickButton(struct libinput_event* event); 97 bool OnEventJoystickAxis(struct libinput_event *event);
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | ref_count_collect.cpp | 97 OnDemandEvent event = { UNREF_EVENT }; in IdentifyUnrefOndemand() local 98 auto callback = [event, saIdleList = std::move(saControlList)] () { in IdentifyUnrefOndemand() 99 SystemAbilityManager::GetInstance()->ProcessOnDemandEvent(event, saIdleList); in IdentifyUnrefOndemand()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | netsys_udp_transfer.cpp | 26 int16_t event; member 74 udpBuffer.event = POLLOUT; in PollUdpSendData() 84 udpBuffer.event = POLLIN; in PollUdpRecvData()
|
/foundation/communication/netmanager_base/bpf/bpf_loader/ |
H A D | bpf_loader.h | 53 const char *event; member 133 bool LoadProg(const std::string &event, const bpf_insn *insn, size_t insnCnt); 143 bpf_prog_type ConvertEventToProgType(const std::string &event);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_monitor.cpp | 50 int event = cbInfo.type; in OnStaJoinOrLeave() local 52 WIFI_LOGI("StationChangeEvent event: [%{public}d(join=105)] %{public}s . %{private}s . %{private}s.,", in OnStaJoinOrLeave() 53 event, in OnStaJoinOrLeave() 57 SendMessage(m_selectIfacName, ApStatemachineEvent::CMD_ASSOCIATED_STATIONS_CHANGED, event, 0, anySta); in OnStaJoinOrLeave() 122 WIFI_LOGI("Ap Monitor event: iface [%{public}s], eventID [%{public}d].", in SendMessage()
|
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiscansa_fuzzer/ |
H A D | wifiscansa_fuzzer.cpp | 126 std::vector<std::string> event; in RegisterCallBackFuzzTest() local 127 event.push_back(std::string(reinterpret_cast<const char*>(data), size)); in RegisterCallBackFuzzTest() 128 pWifiScanServiceImpl.RegisterCallBack(callback, event); in RegisterCallBackFuzzTest()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/eventcenter/ |
H A D | event_center.cpp | 128 for (auto &event : events_) { in Post() 129 if (event->GetEventId() != evt->GetEventId()) { in Post() 133 if (event->Equals(*evt)) { in Post() 146 // The topper layer event will be effective in AddHandler()
|
/foundation/distributeddatamgr/pasteboard/framework/framework/eventcenter/ |
H A D | event_center.cpp | 127 for (auto &event : events_) { in Post() 128 if (event->GetEventId() != evt->GetEventId()) { in Post() 132 if (event->Equals(*evt)) { in Post() 145 // The topper layer event will be effective in AddHandler()
|
/foundation/distributedhardware/distributed_audio/services/audioclient/spkclient/include/ |
H A D | dspeaker_client.h | 71 int32_t SetMute(const AudioEvent &event) override; 72 int32_t SetAudioParameters(const AudioEvent &event) override; 77 void OnEngineTransEvent(const AVTransEvent &event) override;
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/inner_kits/ |
H A D | av_trans_control_center_callback_test.cpp | 118 AVTransEvent event; in HWTEST_F() local 119 event.type = EventType::EVENT_ADD_STREAM; in HWTEST_F() 120 int32_t ret = callBack_->Notify(event); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
H A D | avctp_conn.c | 73 * Param[in] event 79 void AvctCbConnEvtCallback(const AvctCbConn *cbConn, uint8_t event, uint16_t result, const BtAddr *peerAddr) in AvctCbConnEvtCallback() argument 81 LOG_DEBUG("[AVCT]---%{public}s: connId(%hhu) EventId(%hhu), result(%hu)", __func__, cbConn->connId, event, result); in AvctCbConnEvtCallback() 84 (*cback)(cbConn->connId, event, result, peerAddr, cbConn->connParam.context); in AvctCbConnEvtCallback()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/publish/ |
H A D | screen_session_publish.cpp | 25 const std::string COMMON_EVENT_DISPLAY_ROTATION_CHANGED = "usual.event.dms.rotation_changed"; 26 const std::string COMMON_EVENT_CAST_PLUGGED_CHANGED = "usual.event.dms.cast_plugged_changed"; 55 for (auto &[event, want] : cesWantMap_) { in InitPublishEvents() 58 TLOGE(WmsLogTag::DMS, "common event: %{publish}s new want failed", event.c_str()); in InitPublishEvents() 61 want->SetAction(event); in InitPublishEvents() 86 TLOGI(WmsLogTag::DMS, "start to publish cast plugged event"); in PublishCastPluggedEvent() 105 TLOGI(WmsLogTag::DMS, "end of publish cast plugged event"); in PublishCastPluggedEvent() 110 TLOGI(WmsLogTag::DMS, "start to publish cast plug in event"); in PublishCastPlugInEvent() 116 TLOGI(WmsLogTag::DMS, "start to publish cast plug out event"); in PublishCastPlugOutEvent() [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | session_display_power_controller.cpp | 112 void SessionDisplayPowerController::NotifyDisplayEvent(DisplayEvent event) in NotifyDisplayEvent() argument 114 TLOGI(WmsLogTag::DMS, "[UL_POWER]DisplayEvent:%{public}u", event); in NotifyDisplayEvent() 115 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
|
/foundation/window/window_manager/window_scene/session/container/include/ |
H A D | window_event_channel.h | 71 void PrintKeyEvent(const std::shared_ptr<MMI::KeyEvent>& event); 72 void PrintPointerEvent(const std::shared_ptr<MMI::PointerEvent>& event); 73 void PrintInfoPointerEvent(const std::shared_ptr<MMI::PointerEvent>& event);
|
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | octeon_edac-pc.c | 36 * @event: non-zero if unrecoverable. 39 unsigned long event, void *ptr) in co_cache_error_event() 49 if (event) { in co_cache_error_event() 69 if (event) in co_cache_error_event() 38 co_cache_error_event(struct notifier_block *this, unsigned long event, void *ptr) co_cache_error_event() argument
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | ipa_uc.c | 21 * initialization. It needs to be notified in the event the AP crashes. 25 * The other is used to notify the AP of the occurrence of an event. In 52 * @event: event code (microcontroller->AP) 54 * @event_param: event parameter (microcontroller->AP) 75 u8 event; /* enum ipa_uc_event */ member 124 /* Microcontroller event IPA interrupt handler */ 130 if (shared->event == IPA_UC_EVENT_ERROR) in ipa_uc_event_handler() 131 dev_err(dev, "microcontroller error event\n"); in ipa_uc_event_handler() 133 dev_err(dev, "unsupported microcontroller event in ipa_uc_event_handler() [all...] |
/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | region.c | 121 static void nd_region_notify(struct device *dev, enum nvdimm_event event) in nd_region_notify() argument 123 if (event == NVDIMM_REVALIDATE_POISON) { in nd_region_notify() 139 device_for_each_child(dev, &event, child_notify); in nd_region_notify()
|
/kernel/linux/linux-5.10/include/linux/soc/mediatek/ |
H A D | mtk-cmdq.h | 183 * cmdq_pkt_wfe() - append wait for event command to the CMDQ packet 185 * @event: the desired event type to wait 186 * @clear: clear event or not after event arrive 190 int cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event, bool clear); 193 * cmdq_pkt_clear_event() - append clear event command to the CMDQ packet 195 * @event: the desired event to be cleared 199 int cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event); [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | max98357a.c | 61 struct snd_kcontrol *kcontrol, int event) in max98357a_sdmode_event() 68 if (event & SND_SOC_DAPM_POST_PMU) in max98357a_sdmode_event() 70 else if (event & SND_SOC_DAPM_POST_PMD) in max98357a_sdmode_event() 60 max98357a_sdmode_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) max98357a_sdmode_event() argument
|
H A D | rt1015p.c | 56 struct snd_kcontrol *kcontrol, int event) in rt1015p_sdb_event() 63 if (event & SND_SOC_DAPM_POST_PMU) in rt1015p_sdb_event() 65 else if (event & SND_SOC_DAPM_POST_PMD) in rt1015p_sdb_event() 55 rt1015p_sdb_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) rt1015p_sdb_event() argument
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | backward-ring-buffer.c | 3 * Test backward bit in event attribute, read ring buffer from end to 39 union perf_event *event; in count_samples() local 42 while ((event = perf_mmap__read_event(&map->core)) != NULL) { in count_samples() 43 const u32 type = event->header.type; in count_samples() 125 pr_debug("Failed to parse tracepoint event, try use root\n"); in test__backward_ring_buffer()
|
H A D | task-exit.c | 39 * if the number of exit event reported by the kernel is 1 or not 40 * in order to check the kernel returns correct number of event. 45 union perf_event *event; in test__task_exit() local 126 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__task_exit() 127 if (event->header.type == PERF_RECORD_EXIT) in test__task_exit()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | probe-event.h | 54 /* kprobe-tracer and uprobe-tracer tracing event (point + arg) */ 56 char *event; /* Event name */ member 92 /* Perf probe probing event (point + arg) */ 94 char *event; /* Event name */ member 98 bool sdt; /* SDT/cached event flag */ 99 bool uprobes; /* Uprobe event flag */ 149 /* Release event contents */ 172 int show_perf_probe_event(const char *group, const char *event, 189 /* Maximum index number of event-name postfix */
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | xen-acpi-pad.c | 97 static void acpi_pad_notify(acpi_handle handle, u32 event, in acpi_pad_notify() argument 100 switch (event) { in acpi_pad_notify() 105 pr_warn("Unsupported event [0x%x]\n", event); in acpi_pad_notify()
|