Home
last modified time | relevance | path

Searched refs:PublishEvent (Results 1 - 25 of 31) sorted by relevance

12

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_common_event_helper.cpp31 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, const int &code, const std::string &data, in PublishEvent() function in OHOS::Wifi::WifiCommonEventHelper
59 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, const int &code, const std::string &data) in PublishEvent() function in OHOS::Wifi::WifiCommonEventHelper
78 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, const std::string &paramKey, T paramValue, in PublishEvent() function in OHOS::Wifi::WifiCommonEventHelper
101 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI2_POWER_STATE, code, data); in PublishWifi2PowerStateChangeEvent()
106 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_POWER_STATE, code, data); in PublishPowerStateChangeEvent()
111 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_SCAN_FINISHED, code, data); in PublishScanFinishedEvent()
116 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_SCAN_STATE, code, data); in PublishScanStateChangedEvent()
125 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_SEMI_STATE, code, data, permissions); in PublishWifiSemiStateChangedEvent()
131 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_RSSI_VALUE, pramKey, paramValue, code, data); in PublishRssiValueChangedEvent()
136 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WITAS_RSSI_VALU in PublishWiTasRssiValueChangedEvent()
[all...]
H A Dwifi_common_event_helper.h52 static bool PublishEvent(const std::string &eventAction, const int &code, const std::string &data,
55 static bool PublishEvent(const std::string &eventAction, const int &code, const std::string &data);
58 static bool PublishEvent(const std::string &eventAction, const std::string &paramKey, T paramValue,
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble_advertise_callback.cpp42 eventSubscribe_.PublishEvent(REGISTER_BLE_ADVERTISING_STATE_INFO_TYPE, nativeObject); in OnStartResultEvent()
50 eventSubscribe_.PublishEvent(REGISTER_BLE_ADVERTISING_STATE_INFO_TYPE, nativeObject); in OnEnableResultEvent()
58 eventSubscribe_.PublishEvent(REGISTER_BLE_ADVERTISING_STATE_INFO_TYPE, nativeObject); in OnDisableResultEvent()
66 eventSubscribe_.PublishEvent(REGISTER_BLE_ADVERTISING_STATE_INFO_TYPE, nativeObject); in OnStopResultEvent()
H A Dnapi_bluetooth_gatt_server_callback.cpp43 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_CHARACTERISTIC_READ, nativeObject); in OnCharacteristicReadRequest()
53 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_CHARACTERISTIC_WRITE, nativeObject); in OnCharacteristicWriteRequest()
86 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_CONNECT_STATE_CHANGE, nativeObject); in OnConnectionStateUpdate()
96 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_DESCRIPTOR_WRITE, nativeObject); in OnDescriptorWriteRequest()
106 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_DESCRIPTOR_READ, nativeObject); in OnDescriptorReadRequest()
114 eventSubscribe_.PublishEvent(STR_BT_GATT_SERVER_CALLBACK_MTU_CHANGE, nativeObject); in OnMtuUpdate()
H A Dnapi_bluetooth_gatt_client_callback.cpp36 eventSubscribe_.PublishEvent(STR_BT_GATT_CLIENT_CALLBACK_BLE_CHARACTERISTIC_CHANGE, nativeObject); in OnCharacteristicChanged()
57 eventSubscribe_.PublishEvent(STR_BT_GATT_CLIENT_CALLBACK_BLE_CONNECTIION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
103 eventSubscribe_.PublishEvent(STR_BT_GATT_CLIENT_CALLBACK_BLE_MTU_CHANGE, nativeObject); in OnMtuUpdate()
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp_observer.cpp34 eventSubscribe_.PublishEvent(STR_BT_OPP_OBSERVER_RECEIVE_INCOMING_FILE, nativeObject); in OnReceiveIncomingFileChanged()
41 eventSubscribe_.PublishEvent(STR_BT_OPP_OBSERVER_TRANSFER_STATE_CHANGE, nativeObject); in OnTransferStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag_observer.cpp34 eventSubscribe_.PublishEvent(STR_BT_HANDS_FREE_AUDIO_GATEWAY_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
41 eventSubscribe_.PublishEvent(STR_BT_HANDS_FREE_AUDIO_GATEWAY_OBSERVER_SCO_STATE_CHANGE, nativeObject); in OnScoStateChanged()
H A Dnapi_bluetooth_hfp_hf_observer.cpp34 eventSubscribe_.PublishEvent(STR_BT_HANDS_FREE_UNIT_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
41 eventSubscribe_.PublishEvent(STR_BT_HANDS_FREE_UNIT_OBSERVER_SCO_STATE_CHANGE, nativeObject); in OnScoStateChanged()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dbluetooth_common_event_helper.cpp27 bool BluetoothCommonEventHelper::PublishEvent(const std::string &eventAction,int code, in PublishEvent() function in OHOS::BluetoothHelper::BluetoothCommonEventHelper
55 return BluetoothCommonEventHelper::PublishEvent(COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE , code, permissions); in PublishBluetoothStateChangeEvent()
H A Dbluetooth_common_event_helper.h27 static bool PublishEvent(const std::string &eventAction,int code,
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection_observer.cpp104 eventSubscribe_.PublishEvent(REGISTER_PIN_REQUEST_TYPE, nativeObject); in OnPairConfirmedCallBack()
111 eventSubscribe_.PublishEvent(REGISTER_DEVICE_FIND_TYPE, nativeObject); in OnDiscoveryResultCallBack()
120 eventSubscribe_.PublishEvent(REGISTER_DISCOVERY_RESULT_TYPE, nativeObject); in OnDiscoveryResultCallBack()
H A Dnapi_bluetooth_remote_device_observer.cpp44 eventSubscribe_.PublishEvent(REGISTER_BOND_STATE_TYPE, nativeObject); in OnPairStatusChanged()
81 eventSubscribe_.PublishEvent(REGISTER_BATTERY_CHANGE_TYPE, nativeObject); in OnRemoteBatteryChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host_observer.cpp34 eventSubscribe_.PublishEvent(STR_BT_HID_HOST_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan_observer.cpp35 eventSubscribe_.PublishEvent(STR_BT_PAN_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/
H A Dnapi_bluetooth_pbap_pse_observer.cpp33 eventSubscribe_.PublishEvent(STR_BT_PBAP_PSE_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/
H A Dnapi_bluetooth_a2dp_src_observer.cpp31 eventSubscribe_.PublishEvent(STR_BT_A2DP_SOURCE_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/map/
H A Dnapi_bluetooth_map_mse_observer.cpp32 eventSubscribe_.PublishEvent(STR_BT_MAP_MSE_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_avrcp_ct_observer.cpp32 eventSubscribe_.PublishEvent(STR_BT_AVRCP_CT_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
H A Dnapi_bluetooth_avrcp_tg_observer.cpp32 eventSubscribe_.PublishEvent(STR_BT_AVRCP_TG_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
H A Dnapi_bluetooth_a2dp_snk_observer.cpp32 eventSubscribe_.PublishEvent(STR_BT_A2DP_SINK_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Devent_publisher.h35 void PublishEvent(std::string &result, const std::string &eventType, const std::string &eventValue);
/foundation/bundlemanager/bundle_framework/test/resource/common/include/
H A Dstpageabilityevent.h84 bool PublishEvent(const std::string &eventName, const int &code, const std::string &data);
97 static bool PublishEvent(const std::string &eventName, const int &code, const std::string &data);
/foundation/bundlemanager/bundle_framework/test/resource/common/src/
H A Dstpageabilityevent.cpp27 bool STPageAbilityEvent::PublishEvent(const std::string &eventName, const int &code, const std::string &data) in PublishEvent() function in OHOS::AppExecFwk::STPageAbilityEvent
174 bool STPageAbilityEventSubscriber::PublishEvent(const std::string &eventName, const int &code, const std::string &data) in PublishEvent() function in OHOS::AppExecFwk::STPageAbilityEventSubscriber
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_event_subscribe_module.h41 void PublishEvent(std::string eventName, const std::shared_ptr<NapiNativeObject> &nativeObject);
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Devent_publisher_test.cpp45 * @tc.desc: Test EventPublisher PublishEvent.
54 eventPublisher_->PublishEvent(result, eventType, eventValue); in HWTEST_F()

Completed in 6 milliseconds

12