Searched refs:DmNapiDiscoveryCallback (Results 1 - 4 of 4) sorted by relevance
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/ |
H A D | native_devicemanager_js.h | 136 class DmNapiDiscoveryCallback : public OHOS::DistributedHardware::DiscoveryCallback { class 138 explicit DmNapiDiscoveryCallback(napi_env env, std::string &bundleName) in DmNapiDiscoveryCallback() function in DmNapiDiscoveryCallback 142 ~DmNapiDiscoveryCallback() override {};
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/ |
H A D | native_devicemanager_js.cpp | 64 std::map<std::string, std::shared_ptr<DmNapiDiscoveryCallback>> g_DiscoveryCallbackMap; 328 void DmNapiDiscoveryCallback::OnDeviceFound(uint16_t subscribeId, in OnDeviceFound() 339 LOGE("DmNapiDiscoveryCallback: OnDeviceFound, No memory"); in OnDeviceFound() 370 void DmNapiDiscoveryCallback::OnDiscoveryFailed(uint16_t subscribeId, int32_t failedReason) in OnDiscoveryFailed() 381 LOGE("DmNapiDiscoveryCallback: OnDiscoveryFailed, No memory"); in OnDiscoveryFailed() 415 void DmNapiDiscoveryCallback::OnDiscoverySuccess(uint16_t subscribeId) in OnDiscoverySuccess() 425 void DmNapiDiscoveryCallback::IncreaseRefCount() in IncreaseRefCount() 430 void DmNapiDiscoveryCallback::DecreaseRefCount() in DecreaseRefCount() 435 int32_t DmNapiDiscoveryCallback::GetRefCount() in GetRefCount() 683 auto callback = std::make_shared<DmNapiDiscoveryCallback>(en in CreateDmCallback() [all...] |
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/ |
H A D | native_devicemanager_js.h | 192 class DmNapiDiscoveryCallback : public OHOS::DistributedHardware::DiscoveryCallback {
class 194 explicit DmNapiDiscoveryCallback(napi_env env, std::string &bundleName)
in DmNapiDiscoveryCallback() function in DmNapiDiscoveryCallback 198 ~DmNapiDiscoveryCallback() override {};
|
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/ |
H A D | native_devicemanager_js.cpp | 71 std::map<std::string, std::shared_ptr<DmNapiDiscoveryCallback>> g_DiscoveryCallbackMap;
478 void DmNapiDiscoveryCallback::OnDeviceFound(uint16_t subscribeId, const DmDeviceInfo &deviceInfo)
in OnDeviceFound() 489 LOGE("DmNapiDiscoveryCallback: OnDeviceFound, No memory");
in OnDeviceFound() 520 void DmNapiDiscoveryCallback::OnDiscoveryFailed(uint16_t subscribeId, int32_t failedReason)
in OnDiscoveryFailed() 531 LOGE("DmNapiDiscoveryCallback: OnDiscoveryFailed, No memory");
in OnDiscoveryFailed() 565 void DmNapiDiscoveryCallback::OnDiscoverySuccess(uint16_t subscribeId)
in OnDiscoverySuccess() 575 void DmNapiDiscoveryCallback::IncreaseRefCount()
in IncreaseRefCount() 580 void DmNapiDiscoveryCallback::DecreaseRefCount()
in DecreaseRefCount() 585 int32_t DmNapiDiscoveryCallback::GetRefCount()
in GetRefCount() 1346 auto callback = std::make_shared<DmNapiDiscoveryCallback>(en in CreateDmCallback() [all...] |
Completed in 8 milliseconds