/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_common_event_helper.cpp | 31 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 ¶mKey, 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 D | wifi_common_event_helper.h | 52 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 ¶mKey, T paramValue,
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble_advertise_callback.cpp | 42 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 D | napi_bluetooth_gatt_server_callback.cpp | 43 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 D | napi_bluetooth_gatt_client_callback.cpp | 36 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 D | napi_bluetooth_opp_observer.cpp | 34 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 D | napi_bluetooth_hfp_ag_observer.cpp | 34 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 D | napi_bluetooth_hfp_hf_observer.cpp | 34 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 D | bluetooth_common_event_helper.cpp | 27 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 D | bluetooth_common_event_helper.h | 27 static bool PublishEvent(const std::string &eventAction,int code,
|
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
H A D | napi_bluetooth_connection_observer.cpp | 104 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 D | napi_bluetooth_remote_device_observer.cpp | 44 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 D | napi_bluetooth_hid_host_observer.cpp | 34 eventSubscribe_.PublishEvent(STR_BT_HID_HOST_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan_observer.cpp | 35 eventSubscribe_.PublishEvent(STR_BT_PAN_OBSERVER_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse_observer.cpp | 33 eventSubscribe_.PublishEvent(STR_BT_PBAP_PSE_CONNECTION_STATE_CHANGE, nativeObject);
in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src_observer.cpp | 31 eventSubscribe_.PublishEvent(STR_BT_A2DP_SOURCE_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse_observer.cpp | 32 eventSubscribe_.PublishEvent(STR_BT_MAP_MSE_CONNECTION_STATE_CHANGE, nativeObject);
in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ |
H A D | napi_bluetooth_avrcp_ct_observer.cpp | 32 eventSubscribe_.PublishEvent(STR_BT_AVRCP_CT_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
H A D | napi_bluetooth_avrcp_tg_observer.cpp | 32 eventSubscribe_.PublishEvent(STR_BT_AVRCP_TG_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
H A D | napi_bluetooth_a2dp_snk_observer.cpp | 32 eventSubscribe_.PublishEvent(STR_BT_A2DP_SINK_CONNECTION_STATE_CHANGE, nativeObject); in OnConnectionStateChanged()
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | event_publisher.h | 35 void PublishEvent(std::string &result, const std::string &eventType, const std::string &eventValue);
|
/foundation/bundlemanager/bundle_framework/test/resource/common/include/ |
H A D | stpageabilityevent.h | 84 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 D | stpageabilityevent.cpp | 27 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 D | napi_event_subscribe_module.h | 41 void PublishEvent(std::string eventName, const std::shared_ptr<NapiNativeObject> &nativeObject);
|
/foundation/resourceschedule/work_scheduler/services/test/src/ |
H A D | event_publisher_test.cpp | 45 * @tc.desc: Test EventPublisher PublishEvent. 54 eventPublisher_->PublishEvent(result, eventType, eventValue); in HWTEST_F()
|