Home
last modified time | relevance | path

Searched refs:intent (Results 1 - 17 of 17) sorted by relevance

/foundation/multimedia/media_foundation/engine/scene/recorder/internal/
H A Dstate_machine.cpp64 ErrorCode StateMachine::SendEvent(Intent intent, const Plugin::Any& param) const in SendEvent() argument
66 return const_cast<StateMachine*>(this)->SendEvent(intent, param); in SendEvent()
69 ErrorCode StateMachine::SendEvent(Intent intent, const Plugin::Any& param) in SendEvent() argument
73 if (!intentSync_.WaitFor(intent, in SendEvent()
74 [this, intent, param] { return SendEventAsync(intent, param) == ErrorCode::SUCCESS; }, in SendEvent()
77 MEDIA_LOG_E("SendEvent timeout, intent: " PUBLIC_LOG_D32, static_cast<int>(intent)); in SendEvent()
82 ErrorCode StateMachine::SendEventAsync(Intent intent, const Plugin::Any& param) const in SendEventAsync() argument
84 return const_cast<StateMachine*>(this)->SendEventAsync(intent, para in SendEventAsync()
87 SendEventAsync(Intent intent, const Plugin::Any& param) SendEventAsync() argument
96 ProcessIntent(Intent intent, const Plugin::Any& param) ProcessIntent() argument
217 OnIntentExecuted(Intent intent, Action action, ErrorCode result) OnIntentExecuted() argument
[all...]
H A Dstate_machine.h61 ErrorCode SendEvent(Intent intent, const Plugin::Any& param = {});
63 ErrorCode SendEvent(Intent intent, const Plugin::Any& param = {}) const;
65 ErrorCode SendEventAsync(Intent intent, const Plugin::Any& param = {});
67 ErrorCode SendEventAsync(Intent intent, const Plugin::Any& param = {}) const;
72 Action ProcessIntent(Intent intent, const Plugin::Any& param);
82 void OnIntentExecuted(Intent intent, Action action, ErrorCode result);
H A Dstate.cpp28 std::tuple<ErrorCode, Action> State::Enter(Intent intent) in Enter() argument
30 (void)intent; in Enter()
40 std::tuple<ErrorCode, Action> State::Execute(Intent intent, const Plugin::Any& param) in Execute() argument
42 return DispatchIntent(intent, param); in Execute()
136 std::tuple<ErrorCode, Action> State::DispatchIntent(Intent intent, const Plugin::Any& param) in DispatchIntent() argument
141 auto iter = intentDispatchersMap_.find(intent); in DispatchIntent()
148 intentDesc_.at(intent).c_str(), name_.c_str(), actionDesc_.at(nextAction).c_str()); in DispatchIntent()
H A Drecording_state.h35 std::tuple<ErrorCode, Action> Enter(Intent intent) override
39 if (intent == Intent::RESUME) {
H A Dstate.h76 virtual std::tuple<ErrorCode, Action> Enter(Intent intent);
78 std::tuple<ErrorCode, Action> Execute(Intent intent, const Plugin::Any& param);
99 std::tuple<ErrorCode, Action> DispatchIntent(Intent intent, const Plugin::Any& param);
/foundation/multimedia/media_foundation/engine/scene/player/internal/
H A Dstate_machine.cpp73 ErrorCode StateMachine::SendEvent(Intent intent, const Plugin::Any& param) const in SendEvent() argument
75 return const_cast<StateMachine*>(this)->SendEvent(intent, param); in SendEvent()
78 ErrorCode StateMachine::SendEvent(Intent intent, const Plugin::Any& param) in SendEvent() argument
83 intent, [this, intent, param] { return SendEventAsync(intent, param) == ErrorCode::SUCCESS; }, in SendEvent()
85 MEDIA_LOG_E("SendEvent timeout, intent: " PUBLIC_LOG_S " - " PUBLIC_LOG_D32, in SendEvent()
86 State::GetIntentName(intent), static_cast<int>(intent)); in SendEvent()
91 ErrorCode StateMachine::SendEventAsync(Intent intent, cons argument
96 SendEventAsync(Intent intent, const Plugin::Any& param) SendEventAsync() argument
106 ProcessIntent(Intent intent, const Plugin::Any& param) ProcessIntent() argument
236 OnIntentExecuted(Intent intent, Action action, ErrorCode result) OnIntentExecuted() argument
254 Notify(Intent intent, ErrorCode code) Notify() argument
[all...]
H A Dstate_machine.h55 ErrorCode SendEvent(Intent intent, const Plugin::Any& param = {});
57 ErrorCode SendEvent(Intent intent, const Plugin::Any& param = {}) const;
59 ErrorCode SendEventAsync(Intent intent, const Plugin::Any& param = {});
61 ErrorCode SendEventAsync(Intent intent, const Plugin::Any& param = {}) const;
63 void Notify(Intent intent, ErrorCode code);
68 Action ProcessIntent(Intent intent, const Plugin::Any& param);
78 void OnIntentExecuted(Intent intent, Action action, ErrorCode result);
H A Dstate.cpp39 const char* State::GetIntentName(Intent intent) in GetIntentName() argument
56 return intentDesc.at(intent); in GetIntentName()
79 std::tuple<ErrorCode, Action> State::Enter(Intent intent) in Enter() argument
81 (void)intent; in Enter()
89 std::tuple<ErrorCode, Action> State::Execute(Intent intent, const Plugin::Any& param) in Execute() argument
91 return DispatchIntent(intent, param); in Execute()
158 std::tuple<ErrorCode, Action> State::DispatchIntent(Intent intent, const Plugin::Any& param) in DispatchIntent() argument
162 switch (intent) { in DispatchIntent()
203 GetIntentName(intent), name_.c_str(), GetActionName(nextAction)); in DispatchIntent()
H A Dstate.h75 virtual std::tuple<ErrorCode, Action> Enter(Intent intent);
77 std::tuple<ErrorCode, Action> Execute(Intent intent, const Plugin::Any& param);
94 static const char* GetIntentName(Intent intent);
98 std::tuple<ErrorCode, Action> DispatchIntent(Intent intent, const Plugin::Any& param);
H A Dready_state.h35 std::tuple<ErrorCode, Action> Enter(Intent intent) override
37 (void)intent; variable
H A Dplaying_state.h35 std::tuple<ErrorCode, Action> Enter(Intent intent) override
39 if (intent == Intent::RESUME) {
H A Deos_state.h47 std::tuple<ErrorCode, Action> Enter(Intent intent) override
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/
H A Djs_launcher.cpp436 napi_value intent; in ConvertShortcutInfo() local
437 NAPI_CALL_RETURN_VOID(env, napi_create_object(env, &intent)); in ConvertShortcutInfo()
438 ConvertShortcutIntent(env, intent, shortcutInfo.intents[index]); in ConvertShortcutInfo()
439 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, intents, index, intent)); in ConvertShortcutInfo()
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_msg.cpp619 void WifiP2pConfig::SetGroupOwnerIntent(int intent) in SetGroupOwnerIntent() argument
621 groupOwnerIntent = intent; in SetGroupOwnerIntent()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp2317 for (const auto &intent : info.intents) { in ToInnerBundleInfo()
2319 shortcutIntent.targetBundle = intent.targetBundle; in ToInnerBundleInfo()
2321 shortcutIntent.targetClass = intent.targetClass; in ToInnerBundleInfo()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.cpp2126 napi_value intent; in ConvertShortCutInfo() local
2127 NAPI_CALL_RETURN_VOID(env, napi_create_object(env, &intent)); in ConvertShortCutInfo()
2128 ConvertShortcutIntent(env, shortcutInfo.intents[index], intent); in ConvertShortCutInfo()
2129 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, intents, index, intent)); in ConvertShortCutInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp1521 "flag.home.intent.from.system"

Completed in 22 milliseconds