Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/base/hiviewdfx/hiview/plugins/eventlogger/config/
Devent_logger_config2 event id="" name="UI_BLOCK_6S" action="s,tr,k:SysRqFile,cmd:c,cmd:m,t" interval="10"
3 event id="" name="UI_BLOCK_3S" action="s,pb:1:r,t" interval="10"
4 event id="" name="THREAD_BLOCK_6S" action="tr,k:SysRqFile,cmd:c,cmd:m,t" interval="10"
5 event id="" name="THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
6 event id="" name="LIFECYCLE_TIMEOUT" action="tr,k:SysRqFile,cmd:c,cmd:m,t" interval="10"
7 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="pb:1:r,t" interval="10"
8 event id="" name="APP_INPUT_BLOCK" action="tr,k:SysRqFile,cmd:c,cmd:m,t" interval="10"
9 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p,cmd:d,cmd:w,T,e" interval="10"
10 event id="" name="NO_FOCUS_WINDOW" action="cmd:w,cmd:a" interval="10"
11 event id="" name="SERVICE_BLOCK" action="S,tr,pb:1:a,k:SysRqFile,cmd:c,cmd:m" interval="0"
[all …]
/base/hiviewdfx/hiview/test/resource/base/
Devent_logger_config2 event id="" name="UI_BLOCK_3S" action="s,b,pb:1" interval="20"
3 event id="" name="UI_BLOCK_6S" action="s,B,pb:0" interval="10"
4 event id="" name="FWK_BLOCK" action="b,s=1,n=2,pb:0" interval="30"
5 event id="" name="XCOLLIE" action="b,s" interval="0"
6 event id="" name="RESUME" action="s" interval="0"
7 event id="" name="RESUME01" action="b,s=123,n=cb2,pb:0" interval="40"
8 event id="" name="RESUME02 " action="b,s=1456,n=pdc,pb:0" interval="30"
9 event id="" name="RESUME03" action="b,s=332,m=sd:2.2.10;tr56,pb:0" interval="87"
10 event id="" name="RESUME04" action="b,s=42,n=a,pb:0" interval="a16"
11 event id="0x123" name="RESUME05" action="b,s=1456,n=pdc,pb:0"interval="31" qwead
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/security_guard_report/src/
Dcm_security_guard_info.c82 static void ConstructInfoAndReport(const struct CmBlob *input, const char *action, struct CmReportS… in ConstructInfoAndReport() argument
84 if (strcpy_s(info->action, sizeof(info->action), action) != EOK) { in ConstructInfoAndReport()
107 …char *action = (store == CM_SYSTEM_TRUSTED_STORE) ? "CmSetSystemCertStatus" : "CmSetUserCertStatus… in CmReportSGSetCertStatus() local
108 ConstructInfoAndReport(certUri, action, &info); in CmReportSGSetCertStatus()
128 char *action = "CmInstallUserCert"; in CmReportSGInstallUserCert() local
129 ConstructInfoAndReport(certAlias, action, &info); in CmReportSGInstallUserCert()
148 if (strcpy_s(info.action, sizeof(info.action), "CmUninstallAllUserCert") != EOK) { in CmReportSGUninstallUserCert()
155 char *action = "CmUninstallUserCert"; in CmReportSGUninstallUserCert() local
156 ConstructInfoAndReport(certUri, action, &info); in CmReportSGUninstallUserCert()
175 char *action = (store == CM_CREDENTIAL_STORE) ? "CmInstallAppCert" : "CmInstallPriAppCert"; in CmReportSGInstallAppCert() local
[all …]
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_authenticator_session_module_test.cpp79 AuthenticatorAction action = VERIFY_CREDENTIAL; in SetUp() local
81 …appAccountAuthenticatorSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, requ… in SetUp()
140 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable
145 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request);
177 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable
182 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request);
206 AuthenticatorAction action = ADD_ACCOUNT_IMPLICITLY; variable
208 …AccountAuthenticatorSessionPtr = std::make_shared<AppAccountAuthenticatorSession>(action, request);
226 action = AUTHENTICATE;
229 …appAccountAuthenticatorSessionPtr = std::make_shared<AppAccountAuthenticatorSession>(action, reque…
[all …]
/base/customization/enterprise_device_management/interfaces/inner_api/device_settings/src/
Dpower_policy.cpp32 uint32_t action = parcel.ReadUint32(); in Unmarshalling() local
34 if (!powerPolicy.SetPowerPolicyAction(action)) { in Unmarshalling()
46 bool PowerPolicy::SetPowerPolicyAction(uint32_t action) in SetPowerPolicyAction() argument
48 if (action >= static_cast<uint32_t>(PowerPolicyAction::NONE) && in SetPowerPolicyAction()
49 action <= static_cast<uint32_t>(PowerPolicyAction::SHUTDOWN)) { in SetPowerPolicyAction()
50 powerPolicyAction_ = PowerPolicyAction(action); in SetPowerPolicyAction()
/base/powermgr/thermal_manager/services/
DBUILD.gn27 "native/include/thermal_action/action",
28 "native/include/thermal_action/action/action_soc",
38 "native/src/thermal_action/action/action_application_process.cpp",
39 "native/src/thermal_action/action/action_charger.cpp",
40 "native/src/thermal_action/action/action_display.cpp",
41 "native/src/thermal_action/action/action_node.cpp",
42 "native/src/thermal_action/action/action_popup.cpp",
43 "native/src/thermal_action/action/action_shutdown.cpp",
44 "native/src/thermal_action/action/action_soc/action_cpu_big.cpp",
45 "native/src/thermal_action/action/action_soc/action_cpu_boost.cpp",
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_event_manager.cpp118 std::string action = want.GetAction(); in OnReceiveEvent() local
119 ANSR_LOGI("Recieved common event:%{public}s", action.c_str()); in OnReceiveEvent()
120 if (action == ReminderRequest::REMINDER_EVENT_ALARM_ALERT) { in OnReceiveEvent()
124 if (action == ReminderRequest::REMINDER_EVENT_ALERT_TIMEOUT) { in OnReceiveEvent()
128 if (action == ReminderRequest::REMINDER_EVENT_CLOSE_ALERT) { in OnReceiveEvent()
132 if (action == ReminderRequest::REMINDER_EVENT_SNOOZE_ALERT) { in OnReceiveEvent()
136 if (action == ReminderRequest::REMINDER_EVENT_CUSTOM_ALERT) { in OnReceiveEvent()
140 if (action == ReminderRequest::REMINDER_EVENT_REMOVE_NOTIFICATION) { in OnReceiveEvent()
149 std::string action = want.GetAction(); in OnReceiveEvent() local
150 ANSR_LOGD("Recieved common event:%{public}s", action.c_str()); in OnReceiveEvent()
[all …]
Dsystem_event_observer.cpp72 std::string action = want.GetAction(); in OnReceiveEvent() local
73 ANS_LOGD("OnReceiveEvent action is %{public}s.", action.c_str()); in OnReceiveEvent()
74 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent()
82 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
86 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
91 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
93 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
102 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED) { in OnReceiveEvent()
126 std::string action = data.GetWant().GetAction(); in OnReceiveEventInner() local
127 auto itFunc = memberFuncMap_.find(action); in OnReceiveEventInner()
[all …]
/base/theme/wallpaper_mgr/utils/include/
Dconcurrent_map.h136 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() argument
138 if (action == nullptr) { in EraseIf()
144 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
148 if (action((*it).first, (*it).second)) { in EraseIf()
165 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument
167 if (action == nullptr) { in ForEach()
172 if (action(key, value)) { in ForEach()
178 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument
180 if (action == nullptr) { in ForEachCopies()
185 if (action(key, value)) { in ForEachCopies()
[all …]
/base/inputmethod/imf/frameworks/common/
Dconcurrent_map.h161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() argument
163 if (action == nullptr) { in EraseIf()
169 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
173 if (action((*it).first, (*it).second)) { in EraseIf()
190 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument
192 if (action == nullptr) { in ForEach()
197 if (action(key, value)) { in ForEach()
203 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument
205 if (action == nullptr) { in ForEachCopies()
210 if (action(key, value)) { in ForEachCopies()
[all …]
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h73 …line void HiTracePointerOutPutEventId(const std::shared_ptr<HiTraceId> &spanId, const char *action, in HiTracePointerOutPutEventId() argument
76 if (spanId == nullptr || action == nullptr) { in HiTracePointerOutPutEventId()
80 …HiTraceChain::Tracepoint(type, *spanId, "%s event, event id: %u", action, std::get<uint32_t>(inner… in HiTracePointerOutPutEventId()
83 … type, *spanId, "%s event, event id: %s", action, std::get<std::string>(innerEventId).c_str()); in HiTracePointerOutPutEventId()
88 const InnerEvent::Pointer& event, const char* action, HiTraceTracepointType type) in HiTracePointerOutPut() argument
92 HiTracePointerOutPutEventId(spanId, action, type, eventId); in HiTracePointerOutPut()
94 …HiTraceChain::Tracepoint(type, *spanId, "%s task with name, name: %s", action, event->GetTaskName(… in HiTracePointerOutPut()
96 HiTraceChain::Tracepoint(type, *spanId, "%s UnNamed Task", action); in HiTracePointerOutPut()
/base/startup/init/ueventd/
Dueventd.c72 const char *ActionString(ACTION action) in ActionString() argument
74 return actions[action]; in ActionString()
77 static ACTION GetUeventAction(const char *action) in GetUeventAction() argument
79 if (action == NULL || *action == '\0') { in GetUeventAction()
83 if (STRINGEQUAL(action, "add")) { in GetUeventAction()
85 } else if (STRINGEQUAL(action, "remove")) { in GetUeventAction()
87 } else if (STRINGEQUAL(action, "change")) { in GetUeventAction()
89 } else if (STRINGEQUAL(action, "move")) { in GetUeventAction()
91 } else if (STRINGEQUAL(action, "online")) { in GetUeventAction()
93 } else if (STRINGEQUAL(action, "offline")) { in GetUeventAction()
[all …]
/base/telephony/sms_mms/test/gtest/
Dsms_broadcast_subscriber_gtest.cpp32 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() local
33 if (action == CommonEventSupport::COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED || in OnReceiveEvent()
34 action == CommonEventSupport::COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED) { in OnReceiveEvent()
42 } else if (action == CommonEventSupport::COMMON_EVENT_SMS_RECEIVE_COMPLETED) { in OnReceiveEvent()
50 } else if (action == CommonEventSupport::COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED) { in OnReceiveEvent()
/base/telephony/core_service/services/sim/test/
Dcommon_event_test.h67 std::string action = want.GetAction(); in OnReceiveEvent() local
68 switch (GetCommentEventTestIntValue(action)) { in OnReceiveEvent()
70 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
80 … std::cout << "receive a CommonEvent action = " << action << ", code = " << data.GetCode() in OnReceiveEvent()
85 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
89 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
94 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
99 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
105 std::cout << "receive a CommonEvent action = " << action << std::endl; in OnReceiveEvent()
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
Drule_utils.cpp22 std::string RuleUtils::EnumToString(Action action) in EnumToString() argument
24 switch (action) { in EnumToString()
35 Action RuleUtils::StringToAction(std::string action) in StringToAction() argument
37 if (action == ACCEPT_TARGET) { in StringToAction()
39 } else if (action == DROP_TARGET) { in StringToAction()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_common_event_subscriber.cpp28 std::string action = want.GetAction(); in OnReceiveEvent() local
29 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED) { in OnReceiveEvent()
31 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED) { in OnReceiveEvent()
33 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
35 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_common_event_observer.cpp81 std::string action = want.GetAction(); in OnReceiveEvent() local
82 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED || in OnReceiveEvent()
83 action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in OnReceiveEvent()
84 DealWithRemoveEvent(want, action); in OnReceiveEvent()
87 …if ((action == CommonEventSupport::COMMON_EVENT_USER_REMOVED) && (callback_.OnUserRemoved != nullp… in OnReceiveEvent()
92 …pAccountCommonEventObserver::DealWithRemoveEvent(const AAFwk::Want &want, const std::string action) in DealWithRemoveEvent() argument
101 if (action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in DealWithRemoveEvent()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_signal_local_handler.c141 struct sigaction action; in DFX_InstallLocalSignalHandler() local
142 (void)memset_s(&action, sizeof(action), 0, sizeof(action)); in DFX_InstallLocalSignalHandler()
143 sigfillset(&action.sa_mask); in DFX_InstallLocalSignalHandler()
144 action.sa_sigaction = DFX_SignalLocalHandler; in DFX_InstallLocalSignalHandler()
145 action.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in DFX_InstallLocalSignalHandler()
152 if (sigaction(sig, &action, NULL) != 0) { in DFX_InstallLocalSignalHandler()
/base/request/request/test/unittest/js_test/requestTest/
DRequestTask.test.js120 action: agent.Action.UPLOAD, property
163 action: 'UPLOAD', property
181 action: 2, property
200 action: agent.Action.UPLOAD, property
225 action: agent.Action.DOWNLOAD, property
254 action: agent.Action.DOWNLOAD, property
271 action: agent.Action.DOWNLOAD, property
289 action: agent.Action.DOWNLOAD, property
308 action: agent.Action.UPLOAD, property
398 action: agent.Action.UPLOAD, property
[all …]
/base/security/device_auth/services/frameworks/src/account_subscriber/
Daccount_subscriber.cpp32 std::string action = want.GetAction(); in OnReceiveEvent() local
34 LOGI("[AccountSubscriber]: OnReceiveEvent action: %s, userId: %d.", action.c_str(), userId); in OnReceiveEvent()
36 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_UNLOCKED) { in OnReceiveEvent()
38 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_callback_service.cpp31 CallbackManager::CallbackAction action = [impl]() { in UserAuthCallbackService() local
38 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService()
45 CallbackManager::CallbackAction action = [impl]() { in UserAuthCallbackService() local
52 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in UserAuthCallbackService()
90 CallbackManager::CallbackAction action = [impl]() { in GetExecutorPropertyCallbackService() local
97 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in GetExecutorPropertyCallbackService()
118 CallbackManager::CallbackAction action = [impl]() { in SetExecutorPropertyCallbackService() local
125 CallbackManager::GetInstance().AddCallback(reinterpret_cast<uintptr_t>(this), action); in SetExecutorPropertyCallbackService()
/base/update/updater/utils/include/
Dscope_guard.h28 ScopeGuard(ExitAction &&action) : action_(action), enable_(true) {} in ScopeGuard() argument
48 static inline ScopeGuard<ExitAction> operator + (ScopeExitGuardHelper, ExitAction &&action)
50 return ScopeGuard<ExitAction>(std::forward<ExitAction>(action));
/base/useriam/face_auth/test/unittest/
Dstate_machine_test.cpp281 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
282 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(3));
288 [&action](FiniteStateMachine &machine, [[maybe_unused]] uint32_t event) { in __anon5e84d7ab0b02()
289 action.Call(machine, STATE_INIT); in __anon5e84d7ab0b02()
304 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
305 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(5));
310 [&action](FiniteStateMachine &machine, [[maybe_unused]] uint32_t event) { in __anon5e84d7ab0c02()
312 action.Call(machine, STATE_INIT); in __anon5e84d7ab0c02()
333 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
334 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(0));
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dstate_machine_test.cpp272 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
273 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(3));
279 [&action](FiniteStateMachine &machine, [[maybe_unused]] uint32_t event) { in __anon88e51f320b02()
280 action.Call(machine, STATE_INIT); in __anon88e51f320b02()
295 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
296 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(5));
301 [&action](FiniteStateMachine &machine, [[maybe_unused]] uint32_t event) { in __anon88e51f320c02()
303 action.Call(machine, STATE_INIT); in __anon88e51f320c02()
324 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable
325 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(0));
[all …]
/base/useriam/user_auth_framework/services/base/src/
Dfinite_state_machine_builder.cpp41 uint32_t nextState, const FiniteStateMachine::Action &action) in MakeTransition() argument
43 …itionMap_.try_emplace(FiniteStateMachineImpl::GetTransitionIndex(state, event), nextState, action); in MakeTransition()
59 const FiniteStateMachine::Action &action) in MakeOnStateEnter() argument
61 auto ret = enterMap_.try_emplace(state, action); in MakeOnStateEnter()
70 const FiniteStateMachine::Action &action) in MakeOnStateLeave() argument
72 auto ret = leaveMap_.try_emplace(state, action); in MakeOnStateLeave()

12345678910>>...16