Home
last modified time | relevance | path

Searched refs:notifyState (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/bus_center/network/
H A Dlnn_bt_monitor.c46 SoftBusBtState *notifyState = (SoftBusBtState *)SoftBusMalloc(sizeof(SoftBusBtState)); in LnnOnBtStateChanged() local
47 if (notifyState == NULL) { in LnnOnBtStateChanged()
51 *notifyState = SOFTBUS_BT_UNKNOWN; in LnnOnBtStateChanged()
54 *notifyState = SOFTBUS_BLE_TURN_ON; in LnnOnBtStateChanged()
57 *notifyState = SOFTBUS_BLE_TURN_OFF; in LnnOnBtStateChanged()
60 *notifyState = SOFTBUS_BR_TURN_ON; in LnnOnBtStateChanged()
63 *notifyState = SOFTBUS_BR_TURN_OFF; in LnnOnBtStateChanged()
69 if (*notifyState == SOFTBUS_BT_UNKNOWN) { in LnnOnBtStateChanged()
71 SoftBusFree(notifyState); in LnnOnBtStateChanged()
74 LNN_LOGI(LNN_STATE, "async notify bt state changed, listenerId=%{public}d, notifyState in LnnOnBtStateChanged()
[all...]
/foundation/communication/dsoftbus/adapter/common/bus_center/wlan/
H A Dlnn_wifiservice_monitor.cpp133 SoftBusWifiState *notifyState = (SoftBusWifiState *)SoftBusMalloc(sizeof(SoftBusWifiState)); in OnReceiveEvent() local
134 if (notifyState == NULL) { in OnReceiveEvent()
135 LNN_LOGE(LNN_BUILDER, "notifyState malloc err"); in OnReceiveEvent()
138 *notifyState = state; in OnReceiveEvent()
140 (void *)notifyState); in OnReceiveEvent()
143 SoftBusFree(notifyState); in OnReceiveEvent()
209 SoftBusWifiState *notifyState = (SoftBusWifiState *)SoftBusMalloc(sizeof(SoftBusWifiState)); in UpdateLocalWifiActiveCapability() local
210 if (notifyState == NULL) { in UpdateLocalWifiActiveCapability()
211 LNN_LOGE(LNN_BUILDER, "notifyState malloc err"); in UpdateLocalWifiActiveCapability()
216 *notifyState in UpdateLocalWifiActiveCapability()
230 SoftBusWifiState *notifyState = (SoftBusWifiState *)SoftBusMalloc(sizeof(SoftBusWifiState)); UpdateLocalWifiConnCapability() local
[all...]
/foundation/communication/dsoftbus/adapter/common/bus_center/driver/
H A Dlnn_hdf_driver_monitor.c82 SoftBusWifiState *notifyState = (SoftBusWifiState *)SoftBusMalloc(sizeof(SoftBusWifiState)); in ProcessWlanEvent() local
83 if (notifyState == NULL) { in ProcessWlanEvent()
84 LNN_LOGE(LNN_EVENT, "notifyState malloc err"); in ProcessWlanEvent()
87 *notifyState = SOFTBUS_WIFI_UNKNOWN; in ProcessWlanEvent()
89 (void *)notifyState); in ProcessWlanEvent()
92 SoftBusFree(notifyState); in ProcessWlanEvent()
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service_listener.cpp135 DmDeviceState notifyState = state; in ProcessDeviceStateChange() local
139 notifyState = DmDeviceState::DEVICE_INFO_CHANGED; in ProcessDeviceStateChange()
144 SetDeviceInfo(pReq, it, notifyState, info, deviceBasicInfo); in ProcessDeviceStateChange()

Completed in 3 milliseconds