Searched refs:AdvertisingState (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble_advertise_callback.cpp | 41 std::make_shared<NapiNativeAdvertisingStateInfo>(advHandle, static_cast<int>(AdvertisingState::STARTED)); in OnStartResultEvent() 49 std::make_shared<NapiNativeAdvertisingStateInfo>(advHandle, static_cast<int>(AdvertisingState::ENABLED)); in OnEnableResultEvent() 57 std::make_shared<NapiNativeAdvertisingStateInfo>(advHandle, static_cast<int>(AdvertisingState::DISABLED)); in OnDisableResultEvent() 65 std::make_shared<NapiNativeAdvertisingStateInfo>(advHandle, static_cast<int>(AdvertisingState::STOPPED)); in OnStopResultEvent()
|
H A D | napi_bluetooth_ble.cpp | 1082 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STARTED), "STARTED"); in PropertyInit() 1083 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::ENABLED), "ENABLED"); in PropertyInit() 1084 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::DISABLED), "DISABLED"); in PropertyInit() 1085 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STOPPED), "STOPPED"); in PropertyInit() 1095 DECLARE_NAPI_PROPERTY("AdvertisingState", advertisingStateObj), in PropertyInit()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_utils.h | 203 enum class AdvertisingState { class in OHOS::Bluetooth::ScanDuty::PhyType
|
Completed in 5 milliseconds