Home
last modified time | relevance | path

Searched refs:actionEvent (Results 1 - 5 of 5) sorted by relevance

/foundation/window/window_manager/utils/src/
H A Dpip_report.cpp116 void PiPReporter::ReportPiPActionEvent(int32_t templateType, const std::string& actionEvent) in ReportPiPActionEvent() argument
120 if (CONTROL_ACTION_MAP.find(actionEvent) == CONTROL_ACTION_MAP.end()) { in ReportPiPActionEvent()
121 TLOGE(WmsLogTag::WMS_PIP, "actionEvent %{public}s not found", actionEvent.c_str()); in ReportPiPActionEvent()
124 int32_t currentAction = CONTROL_ACTION_MAP[actionEvent]; in ReportPiPActionEvent()
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_window_listener.cpp102 void JsPiPWindowListener::OnActionEvent(const std::string& actionEvent, int32_t statusCode) in OnActionEvent() argument
104 TLOGI(WmsLogTag::WMS_PIP, "called, actionEvent: %{public}s", actionEvent.c_str()); in OnActionEvent()
105 auto napiTask = [jsCallback = jsCallBack_, actionEvent, statusCode, env = env_]() { in OnActionEvent()
106 napi_value argv[] = {CreateJsValue(env, actionEvent), CreateJsValue(env, statusCode)}; in OnActionEvent()
H A Djs_pip_window_listener.h39 void OnActionEvent(const std::string& actionEvent, int32_t statusCode) override;
/foundation/window/window_manager/utils/include/
H A Dpip_report.h32 void ReportPiPActionEvent(int32_t templateType, const std::string& actionEvent);
/foundation/window/window_manager/wm/test/unittest/
H A Dpicture_in_picture_manager_test.cpp94 std::string actionEvent = ""; in HWTEST_F() local
95 SingletonContainer::Get<PiPReporter>().ReportPiPActionEvent(1, actionEvent); in HWTEST_F()
96 actionEvent = "nextVideo"; in HWTEST_F()
97 SingletonContainer::Get<PiPReporter>().ReportPiPActionEvent(1, actionEvent); in HWTEST_F()

Completed in 2 milliseconds