Home
last modified time | relevance | path

Searched refs:callbackIndex (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp422 …const std::shared_ptr<BluetoothCallbackInfo> &info, int32_t callbackIndex, const std::string &type) in RegisterSysBLEObserver() argument
424 if (callbackIndex >= static_cast<int32_t>(ARGS_SIZE_THREE)) { in RegisterSysBLEObserver()
428 HILOGI("type: %{public}s, index: %{public}d", type.c_str(), callbackIndex); in RegisterSysBLEObserver()
429 g_sysBLEObserver[type][callbackIndex] = info; in RegisterSysBLEObserver()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp78 void RegisterBLEObserver(napi_env env, napi_value val, int32_t callbackIndex, const std::string &ty… in RegisterBLEObserver() argument
83 RegisterSysBLEObserver(pCallbackInfo, callbackIndex, type); in RegisterBLEObserver()