/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batteryevent_fuzzer/ |
D | batteryevent_fuzzer.cpp | 33 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/ |
D | receiveevent_fuzzer.cpp | 34 BatteryEventCallback eventCallback = callback; in DoSomethingInterestingWithMyAPI() local 35 NWebBatteryEventSubscriber batter(subscribe, eventCallback); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/call_manager/frameworks/js/napi/include/ |
D | napi_call_ability_callback.h | 36 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/ |
D | battery_mgr_adapter_test.cpp | 75 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/ |
D | mmi_adapter_impl.cpp | 80 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/ |
D | battery_mgr_client_adapter_impl.cpp | 70 void BatteryMgrClientAdapterImpl::RegBatteryEvent(const BatteryEventCallback&& eventCallback) in RegBatteryEvent() argument 73 cb = std::move(eventCallback); in RegBatteryEvent()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | battery_mgr_client_adapter.h | 43 virtual void RegBatteryEvent(const BatteryEventCallback&& eventCallback) = 0;
|
D | mmi_adapter.h | 49 virtual int32_t RegisterMMIInputListener(const InputEventCallback&& eventCallback) = 0;
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_ability_callback.cpp | 74 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/ |
D | mmi_adapter_impl_test.cpp | 154 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/ |
D | battery_mgr_client_adapter_impl.h | 63 void RegBatteryEvent(const BatteryEventCallback&& eventCallback) override;
|
/base/useriam/user_auth_framework/common/executors/src/ |
D | driver_manager.cpp | 160 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/ |
D | mmi_adapter_impl.h | 63 int32_t RegisterMMIInputListener(const InputEventCallback&& eventCallback) override;
|
/base/location/services/location_locator/locator/source/ |
D | country_code_manager.cpp | 301 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()
|