Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 23 of 23) sorted by relevance

/base/time/time_service/services/dfx/include/
Dtime_cmd_parse.h25 using Action = std::function<void(int fd, const std::vector<std::string> &input)>;
26 …arse(const std::vector<std::string> &argsFormat, const std::string &strHelp, const Action &action);
35 Action action;
/base/useriam/user_auth_framework/services/base/inc/
Dfinite_state_machine.h32 using Action = std::function<void(FiniteStateMachine &, uint32_t)>;
47 const FiniteStateMachine::Action &action) = 0;
51 …shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action) = 0;
53 …shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action) = 0;
/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/
Dcommand.h24 using Action = std::function<bool(const std::vector<std::string> &input, std::string &output)>;
25 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
34 Action action_;
Dcommand.cpp18 …const std::vector<std::string> &argsFormat, const std::string &help, const Command::Action &action) in Command()
/base/theme/screenlock_mgr/services/include/
Dcommand.h26 using Action = std::function<bool(const std::vector<std::string> &input, std::string &output)>;
28 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
39 Action action;
/base/useriam/user_auth_framework/services/base/src/
Dfinite_state_machine_builder.h37 const FiniteStateMachine::Action &action) override;
40 …std::shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action…
41 …std::shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action…
Dfinite_state_machine_builder.cpp41 uint32_t nextState, const FiniteStateMachine::Action &action) in MakeTransition()
59 const FiniteStateMachine::Action &action) in MakeOnStateEnter()
70 const FiniteStateMachine::Action &action) in MakeOnStateLeave()
Dfinite_state_machine_impl.h40 …sing TransitionMap = std::unordered_map<uint64_t, std::pair<uint32_t, FiniteStateMachine::Action>>;
41 using EnterMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
42 using LeaveMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
/base/update/updater/utils/json/
Djson_visitor.h26 enum Action { SETVAL, PRINTVAL }; enum
38 template<Action action>
44 template<Action action>
125 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, boo…
134 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, boo…
/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_client_test.cpp101 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener);
103 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCKSCREEN, listener);
114 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener);
116 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCKSCREEN, listener);
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_pool_test.cpp126 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
128 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
130 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
134 …[&callback1](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon81956fe40102()
140 …[&callback2](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon81956fe40202()
146 …[&callback3](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon81956fe40302()
178 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
182 …[&callback](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &reso… in __anon81956fe40402()
Dcontext_pool_test.cpp154 …MockFunction<void(MockContextPoolListener::Action action, const std::shared_ptr<Context> &context)…
155 …MockFunction<void(MockContextPoolListener::Action action, const std::shared_ptr<Context> &context)…
156 …MockFunction<void(MockContextPoolListener::Action action, const std::shared_ptr<Context> &context)…
159 … [&callback1](MockContextPoolListener::Action action, const std::shared_ptr<Context> &context) { in __anon14ca41bc0102()
165 … [&callback2](MockContextPoolListener::Action action, const std::shared_ptr<Context> &context) { in __anon14ca41bc0202()
171 … [&callback3](MockContextPoolListener::Action action, const std::shared_ptr<Context> &context) { in __anon14ca41bc0302()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_context_pool_listener.h31 enum Action { enum
36 using Callback = std::function<void(Action action, const std::shared_ptr<Context> &context)>;
Dmock_resource_node_pool_listener.h32 enum Action { enum
38 …using Callback = std::function<void(Action action, const std::shared_ptr<ResourceNode> &resource)>;
/base/theme/screenlock_mgr/interfaces/kits/napi/include/
Devent_listener.h33 Action action;
/base/theme/screenlock_mgr/interfaces/kits/napi/src/
Dnapi_screenlock_ability.cpp207 if (eventListener->action == Action::LOCK) { in AsyncCallFunc()
209 …} else if (eventListener->action == Action::UNLOCK || eventListener->action == Action::UNLOCKSCREE… in AsyncCallFunc()
250 .action = Action::LOCK }; in NAPI_Lock()
264 .action = Action::LOCK }; in NAPI_Lock()
298 …ener{ .env = env, .thisVar = thisVar, .callbackRef = callbackRef, .action = Action::UNLOCKSCREEN }; in NAPI_UnlockScreen()
309 …EventListener{ .env = env, .thisVar = thisVar, .deferred = deferred, .action = Action::UNLOCKSCREE… in NAPI_UnlockScreen()
346 .action = Action::UNLOCK }; in NAPI_Unlock()
360 .action = Action::UNLOCK }; in NAPI_Unlock()
/base/theme/screenlock_mgr/frameworks/kitsimpl/src/
Dscreenlock_manager.cpp83 int32_t ScreenLockManager::Unlock(Action action, const sptr<ScreenLockSystemAbilityInterface> &list… in Unlock()
95 if (action == Action::UNLOCKSCREEN) { in Unlock()
/base/time/time_service/services/dfx/src/
Dtime_cmd_parse.cpp19 …d::vector<std::string> &argsFormat, const std::string &strHelp, const TimeCmdParse::Action &action) in TimeCmdParse()
/base/theme/screenlock_mgr/services/src/
Dcommand.cpp20 …const std::vector<std::string> &argsFormat, const std::string &help, const Command::Action &action) in Command()
/base/theme/screenlock_mgr/frameworks/kitsimpl/include/
Dscreenlock_manager.h45 int32_t Unlock(Action action, const sptr<ScreenLockSystemAbilityInterface> &listener);
/base/theme/screenlock_mgr/test/fuzztest/screenlockmanager_fuzzer/
Dscreenlockmanager_fuzzer.cpp59 int32_t ret = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener_); in FuzzScreenlockManager()
/base/theme/screenlock_mgr/utils/include/
Dscreenlock_common.h92 enum class Action : uint8_t { enum
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz