Home
last modified time | relevance | path

Searched refs:eventCallback (Results 1 – 14 of 14) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batteryevent_fuzzer/
Dbatteryevent_fuzzer.cpp33 BatteryEventCallback eventCallback = callback; in DoSomethingInterestingWithMyAPI() local
34 battery.RegBatteryEvent(std::move(eventCallback)); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/receiveevent_fuzzer/
Dreceiveevent_fuzzer.cpp34 BatteryEventCallback eventCallback = callback; in DoSomethingInterestingWithMyAPI() local
35 NWebBatteryEventSubscriber batter(subscribe, eventCallback); in DoSomethingInterestingWithMyAPI()
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_ability_callback.h36 void RegisterCallEventCallback(EventCallback eventCallback);
38 void RegisterDisconnectedCauseCallback(EventCallback eventCallback);
58 void RegisterMmiCodeCallback(EventCallback eventCallback);
75 …c int32_t ReportDisconnectedCause(const DisconnectedDetails &details, EventCallback eventCallback);
101 static int32_t ReportMmiCode(MmiCodeInfo &info, EventCallback eventCallback);
/base/web/webview/test/unittest/battery_mgr_adapter_impl/
Dbattery_mgr_adapter_test.cpp75 BatteryEventCallback eventCallback = callback; in SetUpTestCase() local
76 g_batter = std::make_shared<NWebBatteryEventSubscriber>(subscribe, eventCallback); in SetUpTestCase()
126 BatteryEventCallback eventCallback = cb; variable
127 g_batterImpl->RegBatteryEvent(std::move(eventCallback));
/base/web/webview/ohos_adapter/multimodalinput_adapter/src/
Dmmi_adapter_impl.cpp80 int32_t MMIAdapterImpl::RegisterMMIInputListener(const InputEventCallback&& eventCallback) in RegisterMMIInputListener() argument
82 if (!eventCallback) { in RegisterMMIInputListener()
86 inputListener_ = std::make_shared<MMIInputListenerAdapterImpl>(eventCallback); in RegisterMMIInputListener()
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
Dbattery_mgr_client_adapter_impl.cpp70 void BatteryMgrClientAdapterImpl::RegBatteryEvent(const BatteryEventCallback&& eventCallback) in RegBatteryEvent() argument
73 cb = std::move(eventCallback); in RegBatteryEvent()
/base/web/webview/ohos_adapter/interfaces/
Dbattery_mgr_client_adapter.h43 virtual void RegBatteryEvent(const BatteryEventCallback&& eventCallback) = 0;
Dmmi_adapter.h49 virtual int32_t RegisterMMIInputListener(const InputEventCallback&& eventCallback) = 0;
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp74 void NapiCallAbilityCallback::RegisterMmiCodeCallback(EventCallback eventCallback) in RegisterMmiCodeCallback() argument
76 mmiCodeCallback_ = eventCallback; in RegisterMmiCodeCallback()
86 void NapiCallAbilityCallback::RegisterCallEventCallback(EventCallback eventCallback) in RegisterCallEventCallback() argument
88 eventCallback_ = eventCallback; in RegisterCallEventCallback()
98 void NapiCallAbilityCallback::RegisterDisconnectedCauseCallback(EventCallback eventCallback) in RegisterDisconnectedCauseCallback() argument
100 callDisconnectCauseCallback_ = eventCallback; in RegisterDisconnectedCauseCallback()
472 int32_t NapiCallAbilityCallback::ReportCallEvent(CallEventInfo &info, EventCallback eventCallback) in ReportCallEvent() argument
475 napi_env env = eventCallback.env; in ReportCallEvent()
482 napi_get_reference_value(env, eventCallback.callbackRef, &callbackFunc); in ReportCallEvent()
488 napi_get_reference_value(env, eventCallback.thisVar, &thisVar); in ReportCallEvent()
[all …]
/base/web/webview/test/unittest/mmi_adapter/
Dmmi_adapter_impl_test.cpp154 InputEventCallback eventCallback = [](int32_t, int32_t) {}; in __anonbd483abe0402() variable
155 result = g_mmi->RegisterMMIInputListener(std::move(eventCallback));
/base/web/webview/ohos_adapter/battery_mgr_adapter/include/
Dbattery_mgr_client_adapter_impl.h63 void RegBatteryEvent(const BatteryEventCallback&& eventCallback) override;
/base/useriam/user_auth_framework/common/executors/src/
Ddriver_manager.cpp160 auto eventCallback = [](const char *key, const char *value, void *context) { in SubscribeFrameworkReadyEvent() local
174 int32_t ret = WatchParameter(IAM_EVENT_KEY, eventCallback, nullptr); in SubscribeFrameworkReadyEvent()
/base/web/webview/ohos_adapter/multimodalinput_adapter/include/
Dmmi_adapter_impl.h63 int32_t RegisterMMIInputListener(const InputEventCallback&& eventCallback) override;
/base/location/services/location_locator/locator/source/
Dcountry_code_manager.cpp301 auto eventCallback = [](const char *key, const char *value, void *context) { in SubscribeLocaleConfigEvent() local
311 int ret = WatchParameter(LOCALE_KEY.c_str(), eventCallback, nullptr); in SubscribeLocaleConfigEvent()