/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_central_manager_impl.cpp | 1826 void BleCentralManagerImpl::HandleGapEvent(const BLE_GAP_CB_EVENT &event, int status) const in HandleGapEvent() argument 1828 LOG_DEBUG("[BleCentralManagerImpl] %{public}s:[event no: %{public}d]", __func__, static_cast<int>(event)); in HandleGapEvent() 1830 switch (event) { in HandleGapEvent() 1853 LOG_ERROR("[BleCentralManagerImpl] %{public}s:Invalid event! %{public}d.", __func__, event); in HandleGapEvent() 1942 void BleCentralManagerImpl::HandleGapExScanEvent(const BLE_GAP_CB_EVENT &event, int status) const in HandleGapExScanEvent() argument 1944 LOG_DEBUG("[BleCentralManagerImpl] %{public}s:[event no: %{public}d]", __func__, static_cast<int>(event)); in HandleGapExScanEvent() 1946 switch (event) { in HandleGapExScanEvent() [all...] |
H A D | ble_advertiser_impl.cpp | 1472 void BleAdvertiserImpl::HandleGapEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower) in HandleGapEvent() argument 1474 LOG_DEBUG("[BleAdvertiserImpl] %{public}s:[event no: %{public}d]", __func__, static_cast<int>(event)); in HandleGapEvent() 1476 switch (event) { in HandleGapEvent() 1496 LOG_ERROR("[BleAdvertiserImpl] %{public}s:Invalid event! %{public}d.", __func__, event); in HandleGapEvent() 1865 void BleAdvertiserImpl::HandleGapExAdvEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower, uint8_t handle) in HandleGapExAdvEvent() argument 1867 HILOGI("event no: %{public}d.", static_cast<int>(event)); in HandleGapExAdvEvent() 1869 switch (event) { in HandleGapExAdvEvent() [all...] |
H A D | ble_security.cpp | 821 LOG_DEBUG("[BleSecurity] %{public}s:Ble pair comelete event result = %u", __func__, param.lePairComplete_.result); in GapLePairComplete() 848 void BleSecurity::HandleGapEvent(const BLE_GAP_CB_EVENT &event, const BleGapCallbackParam ¶m) in HandleGapEvent() argument 850 LOG_DEBUG("[BleSecurity] %{public}s:[event no: %{public}d].", __func__, static_cast<int>(event)); in HandleGapEvent() 851 if (pimpl->funcMap_.find(event) == pimpl->funcMap_.end()) { in HandleGapEvent() 852 LOG_ERROR("[BleSecurity] %{public}s:[Not exist event no: %{public}d].", __func__, static_cast<int>(event)); in HandleGapEvent() 854 (this->*pimpl->funcMap_[event])(param); in HandleGapEvent()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uifirst_manager_test.cpp | 557 RSUifirstManager::EventInfo event; in HWTEST_F() local 558 uifirstManager_.currentFrameEvent_.push_back(event); in HWTEST_F() 576 RSUifirstManager::EventInfo event; in HWTEST_F() local 577 event.disableNodes.emplace(surfaceNode->GetId()); in HWTEST_F() 578 uifirstManager_.currentFrameEvent_.push_back(event); in HWTEST_F() 600 RSUifirstManager::EventInfo event; in HWTEST_F() local 601 event.disableNodes.emplace(surfaceNode->GetId()); in HWTEST_F() 602 uifirstManager_.currentFrameEvent_.push_back(event); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service_connection.cpp | 535 EventInfo event = { "VOTER_VIRTUALDISPLAY", ADD_VOTE, OLED_60_HZ, OLED_60_HZ, name }; in CreateVirtualScreen() local 536 NotifyRefreshRateEvent(event); in CreateVirtualScreen() 622 EventInfo event = { "VOTER_VIRTUALDISPLAY", REMOVE_VOTE }; in RemoveVirtualScreen() local 623 NotifyRefreshRateEvent(event); in RemoveVirtualScreen() 1992 EventInfo event = { "VOTER_VIRTUALDISPLAY", ADD_VOTE, OLED_60_HZ, OLED_60_HZ }; 1993 NotifyRefreshRateEvent(event); 1995 EventInfo event = { "VOTER_VIRTUALDISPLAY", REMOVE_VOTE }; 1996 NotifyRefreshRateEvent(event);
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_single_kv_store.cpp | 270 * on(event:'syncComplete',syncCallback: Callback<Array<[string, number]>>):void; 271 * on(event:'dataChange', subType: SubscribeType, observer: Callback<ChangeNotification>): void; 277 // required 2 arguments :: <event> [...] <callback> in OnEvent() 280 std::string event; in OnEvent() 281 ctxt->status = JSUtil::GetValue(env, argv[0], event); in OnEvent() 282 ZLOGI("subscribe to event:%{public}s", event.c_str()); in OnEvent() 283 auto handle = onEventHandlers_.find(event); in OnEvent() 300 * off(event:'syncComplete',syncCallback: Callback<Array<[string, number]>>):void; 301 * off(event [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_impl.cpp | 85 EventCenter::GetInstance().Subscribe(CloudEvent::GET_SCHEMA, [this](const Event &event) { in CloudServiceImpl() 86 GetSchema(event); in CloudServiceImpl() 88 EventCenter::GetInstance().Subscribe(CloudEvent::CLOUD_SHARE, [this](const Event &event) { in CloudServiceImpl() 89 CloudShare(event); in CloudServiceImpl() 968 void CloudServiceImpl::GetSchema(const Event &event) in GetSchema() argument 970 auto &rdbEvent = static_cast<const CloudEvent &>(event); in GetSchema() 983 void CloudServiceImpl::CloudShare(const Event &event) in CloudShare() argument 985 auto &cloudShareEvent = static_cast<const CloudShareEvent &>(event); in CloudShare()
|
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_impl_three.cpp | 610 std::string event = R"({"extra": {"deviceId": "123"})"; in HWTEST_F() local 616 int32_t ret = DeviceManager::GetInstance().NotifyEvent(packName, eventId, event); in HWTEST_F() 633 std::string event = R"({"extra": {"deviceId": "123"})"; in HWTEST_F() local 634 int32_t ret = DeviceManager::GetInstance().NotifyEvent(packName, eventId, event); in HWTEST_F() 650 std::string event = R"({"extra": {"deviceId": "123"})"; in HWTEST_F() local 651 int32_t ret = DeviceManager::GetInstance().NotifyEvent(packName, eventId, event); in HWTEST_F() 667 std::string event = R"({"extra": {"deviceId": "123"})"; in HWTEST_F() local 668 int32_t ret = DeviceManager::GetInstance().NotifyEvent(packName, eventId, event); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_acl.c | 117 BtmRemoteDeviceSupportEvent event; member 1397 uint16_t connectionHandle, BtmRemoteDeviceSupportEvent event, List *requests) in BtmGetRemoteDeviceSupportRequests() 1407 if (request->event == event && request->connectionHandle == connectionHandle) { in BtmGetRemoteDeviceSupportRequests() 2047 request->event = REMOTE_EXTENDED_FEATURE_COMPLETE; in BTM_IsRemoteDeviceSupportHostSecureSimplePairing() 2084 request->event = REMOTE_LE_FEATURE_COMPLETE; in BTM_IsRemoteDeviceSupportConnectionParametersRequest() 2120 request->event = REMOTE_FEATURE_COMPLETE; in BTM_IsRemoteDeviceSupportEdrAcl2MbMode() 2156 request->event = REMOTE_FEATURE_COMPLETE; in BTM_IsRemoteDeviceSupportEdrAcl3MbMode() 1396 BtmGetRemoteDeviceSupportRequests( uint16_t connectionHandle, BtmRemoteDeviceSupportEvent event, List *requests) BtmGetRemoteDeviceSupportRequests() argument
|
/third_party/node/deps/v8/tools/profview/ |
H A D | profview.js | 183 reader.onload = function(event) { 184 main.setFile(JSON.parse(event.target.result)); 186 reader.onerror = function(event) { 188 "File could not be read! Code " + event.target.error.code); 405 nameElement.onclick = (event) => { 409 event.stopPropagation(); 419 linkElement.onclick = (event) => { 424 event.stopPropagation();
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_wrapper.h | 320 void setEvent(VkEvent event, VkPipelineStageFlags stageMask); 324 void resetEvent(VkEvent event, VkPipelineStageFlags stageMask); 922 ANGLE_INLINE void CommandBuffer::setEvent(VkEvent event, VkPipelineStageFlags stageMask) in setEvent() argument 924 ASSERT(valid() && event != VK_NULL_HANDLE); in setEvent() 925 vkCmdSetEvent(mHandle, event, stageMask); in setEvent() 944 ANGLE_INLINE void CommandBuffer::resetEvent(VkEvent event, VkPipelineStageFlags stageMask) in resetEvent() argument 946 ASSERT(valid() && event != VK_NULL_HANDLE); in resetEvent() 947 vkCmdResetEvent(mHandle, event, stageMask); in resetEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 55 #include "core/event/mouse_event.h" 1646 UiSessionManager::GetInstance().ReportComponentChangeEvent("event", "onPopupSelected"); in OnListItemClick() 1689 auto onKeyEvent = [wp = WeakClaim(this)](const KeyEvent& event) -> bool { in InitOnKeyEvent() 1692 return pattern->OnKeyEvent(event); in InitOnKeyEvent() 1698 bool IndexerPattern::OnKeyEvent(const KeyEvent& event) in OnKeyEvent() argument 1700 if (event.action != KeyAction::DOWN) { in OnKeyEvent() 1703 if (event.code == KeyCode::KEY_DPAD_UP) { in OnKeyEvent() 1706 if (event.code == KeyCode::KEY_DPAD_DOWN) { in OnKeyEvent() 1709 if (!event.IsCombinationKey() && (event in OnKeyEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_pattern.cpp | 159 // Init click event for static form. in InitClickEvent() 172 // check touch duration in click event in InitClickEvent() 190 void FormPattern::HandleTouchDownEvent(const TouchEventInfo& event) in HandleTouchDownEvent() argument 192 touchDownTime_ = event.GetTimeStamp(); in HandleTouchDownEvent() 194 if (!event.GetTouches().empty()) { in HandleTouchDownEvent() 195 lastTouchLocation_ = event.GetTouches().front().GetScreenLocation(); in HandleTouchDownEvent() 199 void FormPattern::HandleTouchUpEvent(const TouchEventInfo& event) in HandleTouchUpEvent() argument 201 auto duration = event.GetTimeStamp().time_since_epoch().count() - touchDownTime_.time_since_epoch().count(); in HandleTouchUpEvent() 207 if (event.GetTouches().empty()) { in HandleTouchUpEvent() 210 auto distance = event in HandleTouchUpEvent() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/ |
H A D | subwindow_ohos.cpp | 519 // Set min window hot area so that sub window can transparent event. in ShowWindow() 547 AccessibilityEvent event; in ShowWindow() local 548 event.type = AccessibilityEventType::PAGE_CHANGE; in ShowWindow() 549 event.windowId = context->GetWindowId(); in ShowWindow() 550 event.windowChangeTypes = WINDOW_UPDATE_ADDED; in ShowWindow() 551 context->SendEventToAccessibility(event); in ShowWindow() 639 AccessibilityEvent event; in HideWindow() local 640 event.type = AccessibilityEventType::PAGE_CHANGE; in HideWindow() 641 event.windowId = context->GetWindowId(); in HideWindow() 642 event in HideWindow() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | drag_event_test_ng.cpp | 16 #include "test/unittest/core/event/drag_event_test_ng.h" 331 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 662 * @tc.expected: cover GetTextDraggable() is false, Trigger drag start event set by user. in HWTEST_F() 923 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 987 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 1271 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 1329 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 1468 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 1517 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, const std::string& extraParams) -> DragDropInfo { in HWTEST_F() 1560 auto onDragStart = [](const RefPtr<OHOS::Ace::DragEvent>& event, cons in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_model_test_ng.cpp | 287 * @tc.desc: Test RegisterToolbarHotZoneEvent and cover all conditions of the event callback. 304 // Get the event callback defined in RegisterToolbarHotZoneEvent in HWTEST_F() 320 auto event = gestureEventHub->clickEventActuator_->GetClickEvent(); in HWTEST_F() local 321 ASSERT_NE(event, nullptr); in HWTEST_F() 325 event(gestureEvent); in HWTEST_F() 328 event(gestureEvent); in HWTEST_F() 738 auto event = gestureEventHub->clickEventActuator_->GetClickEvent(); in HWTEST_F() local 739 ASSERT_NE(event, nullptr); in HWTEST_F() 741 event(gestureEvent); in HWTEST_F() 870 auto event in HWTEST_F() local [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessible_ability_manager_service.cpp | 138 HILOG_ERROR("AccessibleAbilityManagerService::OnStart failed:create AAMS event handler failed"); in OnStart() 1940 void AccessibleAbilityManagerService::FindInnerWindowId(const AccessibilityEventInfo &event, int32_t& windowId) in FindInnerWindowId() argument 1944 int64_t elementId = event.GetAccessibilityId(); in FindInnerWindowId() 1955 if (GetParentElementRecursively(event.GetWindowId(), elementId, infos) == false || infos.size() == 0) { in FindInnerWindowId() 1969 void AccessibleAbilityManagerService::UpdateAccessibilityWindowStateByEvent(const AccessibilityEventInfo &event) in UpdateAccessibilityWindowStateByEvent() argument 1971 EventType evtType = event.GetEventType(); in UpdateAccessibilityWindowStateByEvent() 1972 HILOG_DEBUG("windowId is %{public}d", event.GetWindowId()); in UpdateAccessibilityWindowStateByEvent() 1973 int32_t windowId = event.GetWindowId(); in UpdateAccessibilityWindowStateByEvent() 1975 FindInnerWindowId(event, windowId); in UpdateAccessibilityWindowStateByEvent() 2690 void AccessibleAbilityManagerService::InsertWindowIdEventPair(int32_t windowId, const AccessibilityEventInfo &event) in InsertWindowIdEventPair() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_test_ng.cpp | 1724 KeyEvent event; in HWTEST_F() local 1729 event.action = KeyAction::UP; in HWTEST_F() 1730 event.code = KeyCode::KEY_TAB; in HWTEST_F() 1731 bool result = TextPickerDialogView::OnKeyEvent(event); in HWTEST_F() 1737 event.action = KeyAction::DOWN; in HWTEST_F() 1738 event.code = KeyCode::KEY_ESCAPE; in HWTEST_F() 1739 result = TextPickerDialogView::OnKeyEvent(event); in HWTEST_F() 1745 event.action = KeyAction::DOWN; in HWTEST_F() 1746 event.code = KeyCode::KEY_FORWARD_DEL; in HWTEST_F() 1747 result = TextPickerDialogView::OnKeyEvent(event); in HWTEST_F() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_wext.c | 238 wpa_printf(MSG_MSGDUMP, "WEXT: Custom wireless event: '%s'", in wpa_driver_wext_event_wireless_custom() 308 wpa_printf(MSG_DEBUG, "Michael MIC failure wireless event: " in wpa_driver_wext_event_wireless_michaelmicfailure() 333 wpa_printf(MSG_DEBUG, "PMKID candidate wireless event: " in wpa_driver_wext_event_wireless_pmkidcand() 353 wpa_hexdump(MSG_DEBUG, "AssocReq IE wireless event", (const u8 *) ev, in wpa_driver_wext_event_wireless_assocreqie() 373 wpa_hexdump(MSG_DEBUG, "AssocResp IE wireless event", (const u8 *) ev, in wpa_driver_wext_event_wireless_assocrespie() 426 wpa_printf(MSG_DEBUG, "Wireless event: cmd=0x%x len=%d", in wpa_driver_wext_event_wireless() 450 wpa_printf(MSG_DEBUG, "Wireless event: new AP: " in wpa_driver_wext_event_wireless() 536 union wpa_event_data event; in wpa_driver_wext_event_link() local 538 os_memset(&event, 0, sizeof(event)); in wpa_driver_wext_event_link() [all...] |
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | input_windows_manager_ex_test.cpp | 472 libinput_event_tablet_tool event {}; in HWTEST_F() 475 EXPECT_NO_FATAL_FAILURE(inputWindowsManager->TransformTipPoint(&event, coord, displayId)); in HWTEST_F() 497 libinput_event_tablet_tool event {}; in HWTEST_F() 500 EXPECT_NO_FATAL_FAILURE(inputWindowsManager->TransformTipPoint(&event, coord, displayId)); in HWTEST_F() 521 libinput_event_tablet_tool event {}; in HWTEST_F() 524 EXPECT_NO_FATAL_FAILURE(inputWindowsManager->TransformTipPoint(&event, coord, displayId)); in HWTEST_F() 540 libinput_event_tablet_tool event {}; in HWTEST_F() 547 bool ret = inputWindowsManager->TransformTipPoint(&event, coord, displayId); in HWTEST_F() 563 libinput_event_tablet_tool event {}; in HWTEST_F() 570 bool ret = inputWindowsManager->TransformTipPoint(&event, coor in HWTEST_F() [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/continue/ |
H A D | dsched_continue_test.cpp | 982 AppExecFwk::InnerEvent *event = nullptr; in HWTEST_F() local 983 auto destructor = [](AppExecFwk::InnerEvent *event) { in HWTEST_F() 984 if (event != nullptr) { in HWTEST_F() 985 delete event; in HWTEST_F() 988 conti->ProcessEvent(AppExecFwk::InnerEvent::Pointer(event, destructor)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_event_hub.cpp | 16 #include "core/components_ng/event/gesture_event_hub.h" 21 #include "core/components_ng/event/click_event.h" 22 #include "core/components_ng/event/event_hub.h" 158 // this node has long press and drag event, combine into parallelRecognizer. in ProcessDragEventTouchTestHit() 729 bool GestureEventHub::KeyBoardShortCutClick(const KeyEvent& event, const WeakPtr<NG::FrameNode>& node) in KeyBoardShortCutClick() argument 737 info.SetSourceDevice(event.sourceType); in KeyBoardShortCutClick() 738 info.SetTimeStamp(event.timeStamp); in KeyBoardShortCutClick() 1089 const RefPtr<LongPressEvent>& event, bool isForDrag, bool isDisableMouseLeft, int32_t duration) in SetLongPressEvent() 1095 longPressEventActuator_->SetLongPressEvent(event, isForDrag, isDisableMouseLeft); in SetLongPressEvent() 1088 SetLongPressEvent( const RefPtr<LongPressEvent>& event, bool isForDrag, bool isDisableMouseLeft, int32_t duration) SetLongPressEvent() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_area_test.cpp | 67 #include "core/event/key_event.h" 68 #include "core/event/touch_event.h" 988 KeyEvent event; in HWTEST_F() local 989 event.code = KeyCode::KEY_ESCAPE; in HWTEST_F() 990 pattern_->OnKeyEvent(event); in HWTEST_F() 1008 event.code = KeyCode::KEY_ESCAPE; in HWTEST_F() 1009 pattern_->OnKeyEvent(event); in HWTEST_F()
|
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_impl.cpp | 76 void OnEvent(const Event &event)
in OnEvent() argument 78 hiTransCoderImpl_->OnEvent(event);
in OnEvent() 742 void HiTransCoderImpl::OnEvent(const Event &event)
in OnEvent() argument 744 switch (event.type) {
in OnEvent() 746 HandleErrorEvent(AnyCast<int32_t>(event.param));
in OnEvent()
|
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/ |
H A D | hirecorder_impl.cpp | 36 void OnEvent(const Event &event)
in OnEvent() argument 38 hiRecorderImpl_->OnEvent(event);
in OnEvent() 494 void HiRecorderImpl::OnEvent(const Event &event)
in OnEvent() argument 496 switch (event.type) {
in OnEvent() 502 switch (AnyCast<Status>(event.param)) {
in OnEvent()
|