/base/hiviewdfx/hiview/plugins/eventlogger/config/ |
D | event_logger_config | 2 event id="" name="UI_BLOCK_6S" action="s,cmd:c,cmd:m" interval="10" 3 event id="" name="UI_BLOCK_3S" action="s,pb:0" interval="10" 4 event id="" name="THREAD_BLOCK_6S" action="s,cmd:c,cmd:m" interval="10" 5 event id="" name="THREAD_BLOCK_3S" action="s,pb:0" interval="10" 6 event id="" name="LIFECYCLE_TIMEOUT" action="s,pb:0,cmd:c,cmd:m" interval="10" 7 event id="" name="APP_LIFECYCLE_TIMEOUT" action="s,pb:0,cmd:c,cmd:m" interval="10" 8 event id="" name="APPLICATION_BLOCK_INPUT" action="s,pb:0,cmd:c,cmd:m" interval="10" 9 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p" interval="10" 10 event id="" name="NO_FOCUS_WINDOW" action="cmd:w,cmd:a" interval="10" 11 event id="" name="SERVICE_BLOCK" action="s,pb:0,cmd:c,cmd:m" interval="0" [all …]
|
/base/hiviewdfx/hiview/test/resource/base/ |
D | event_logger_config | 2 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/notification/distributed_notification_service/services/ans/src/ |
D | reminder_event_manager.cpp | 103 std::string action = want.GetAction(); in OnReceiveEvent() local 104 ANSR_LOGI("Recieved common event:%{public}s", action.c_str()); in OnReceiveEvent() 105 if (action == ReminderRequest::REMINDER_EVENT_ALARM_ALERT) { in OnReceiveEvent() 109 if (action == ReminderRequest::REMINDER_EVENT_ALERT_TIMEOUT) { in OnReceiveEvent() 113 if (action == ReminderRequest::REMINDER_EVENT_CLOSE_ALERT) { in OnReceiveEvent() 117 if (action == ReminderRequest::REMINDER_EVENT_SNOOZE_ALERT) { in OnReceiveEvent() 121 if (action == ReminderRequest::REMINDER_EVENT_REMOVE_NOTIFICATION) { in OnReceiveEvent() 130 std::string action = want.GetAction(); in OnReceiveEvent() local 131 ANSR_LOGI("Recieved common event:%{public}s", action.c_str()); in OnReceiveEvent() 132 if (action == CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED) { in OnReceiveEvent() [all …]
|
D | system_event_observer.cpp | 66 std::string action = want.GetAction(); in OnReceiveEvent() local 67 ANS_LOGD("OnReceiveEvent action is %{public}s.", action.c_str()); in OnReceiveEvent() 68 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent() 76 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent() 80 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent() 85 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent() 87 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent() 96 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED) { in OnReceiveEvent()
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_authenticator_session_module_test.cpp | 72 AuthenticatorAction action = VERIFY_CREDENTIAL; in SetUp() local 74 …appAccountAuthenticatorSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, requ… in SetUp() 137 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable 142 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request); 174 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable 179 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request); 203 AuthenticatorAction action = ADD_ACCOUNT_IMPLICITLY; variable 205 …AccountAuthenticatorSessionPtr = std::make_shared<AppAccountAuthenticatorSession>(action, request); 223 action = AUTHENTICATE; 226 …appAccountAuthenticatorSessionPtr = std::make_shared<AppAccountAuthenticatorSession>(action, reque… [all …]
|
/base/theme/wallpaper_mgr/utils/include/ |
D | concurrent_map.h | 136 …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/telephony/core_service/services/sim/test/ |
D | common_event_test.h | 67 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/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
D | dfx_signal_local_handler.c | 127 struct sigaction action; in DFX_InstallLocalSignalHandler() local 128 memset_s(&action, sizeof(action), 0, sizeof(action)); in DFX_InstallLocalSignalHandler() 129 sigfillset(&action.sa_mask); in DFX_InstallLocalSignalHandler() 130 action.sa_sigaction = DFX_SignalHandler; in DFX_InstallLocalSignalHandler() 131 action.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in DFX_InstallLocalSignalHandler() 136 if (sigaction(sig, &action, NULL) != 0) { in DFX_InstallLocalSignalHandler()
|
/base/startup/init/ueventd/ |
D | ueventd.c | 72 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/powermgr/thermal_manager/services/ |
D | BUILD.gn | 31 "native/include/thermal_action/action", 32 "native/include/thermal_action/action/action_soc", 39 "native/src/thermal_action/action/action_application_process.cpp", 40 "native/src/thermal_action/action/action_charger.cpp", 41 "native/src/thermal_action/action/action_display.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_lit.cpp", 46 "native/src/thermal_action/action/action_soc/action_cpu_med.cpp", [all …]
|
/base/update/updater/utils/include/ |
D | scope_guard.h | 28 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/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_common_event_observer.cpp | 94 std::string action = want.GetAction(); in OnReceiveEvent() local 95 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED || in OnReceiveEvent() 96 action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in OnReceiveEvent() 97 DealWithRemoveEvent(want, action); in OnReceiveEvent() 100 …if ((action == CommonEventSupport::COMMON_EVENT_USER_REMOVED) && (callback_.OnUserRemoved != nullp… in OnReceiveEvent() 105 …pAccountCommonEventObserver::DealWithRemoveEvent(const AAFwk::Want &want, const std::string action) in DealWithRemoveEvent() argument 114 if (action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in DealWithRemoveEvent()
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_policy.cpp | 134 for (auto action = vAction.begin(); action != vAction.end(); action++) { in ActionDecision() local 135 THERMAL_HILOGD(COMP_SVC, "actionName: %{public}s", action->actionName.c_str()); in ActionDecision() 137 auto actionIter = actionMap.find(action->actionName); in ActionDecision() 144 if (action->isProp) { in ActionDecision() 146 if (StateMachineDecision(action->mActionProp)) { in ActionDecision() 147 actionIter->second->AddActionValue(action->actionValue); in ActionDecision() 148 … actionIter->second->SetXmlScene(action->mActionProp.begin()->second, action->actionValue); in ActionDecision() 154 actionIter->second->AddActionValue(action->actionValue); in ActionDecision() 297 for (auto action : policyConfig.vPolicyAction) { in DumpConfigInfo() local 299 action.actionName.c_str(), action.actionValue.c_str(), action.isProp); in DumpConfigInfo() [all …]
|
/base/time/time_service/services/dfx/src/ |
D | time_cmd_parse.cpp | 19 …d::vector<std::string> &argsFormat, const std::string &strHelp, const TimeCmdParse::Action &action) in TimeCmdParse() argument 20 : format(argsFormat), help(strHelp), action(action) in TimeCmdParse() 30 action(fd, input); in DoAction()
|
/base/useriam/user_auth_framework/services/base/src/ |
D | finite_state_machine_builder.cpp | 41 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()
|
/base/theme/screenlock_mgr/services/src/ |
D | command.cpp | 20 …const std::vector<std::string> &argsFormat, const std::string &help, const Command::Action &action) in Command() argument 21 : format(argsFormat), help(help), action(action) in Command() 36 return action(input, output); in DoAction()
|
/base/powermgr/thermal_manager/application/protector/ |
D | BUILD.gn | 20 "include/action", 26 "src/action/cpu_action.cpp", 27 "src/action/current_action.cpp", 28 "src/action/device_control_factory.cpp", 29 "src/action/thermal_device_control.cpp", 30 "src/action/voltage_action.cpp",
|
/base/location/services/location_locator/locator/source/ |
D | locator_event_subscriber.cpp | 34 std::string action = event.GetWant().GetAction(); in OnReceiveEvent() local 35 LBSLOGI(LOCATOR_EVENT, "received action = %{public}s", action.c_str()); in OnReceiveEvent() 36 if (MODE_CHANGED_EVENT.compare(action) == 0) { in OnReceiveEvent()
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | state_machine_test.cpp | 272 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 __anon8fce03b30b02() 280 action.Call(machine, STATE_INIT); in __anon8fce03b30b02() 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 __anon8fce03b30c02() 303 action.Call(machine, STATE_INIT); in __anon8fce03b30c02() 324 MockFunction<void(FiniteStateMachine & machine, uint32_t event)> action; variable 325 EXPECT_CALL(action, Call(_, STATE_INIT)).Times(Exactly(0)); [all …]
|
/base/startup/init/ueventd/lite/ |
D | ueventd_parameter.c | 19 int SetUeventDeviceParameter(const char *devNode, int action) in SetUeventDeviceParameter() argument 22 (void)(action); in SetUeventDeviceParameter()
|
/base/security/huks/frameworks/crypto_lite/cipher/include/ |
D | cipher.h | 46 int32_t action; member 71 char *action; member 76 int32_t InitAesCryptData(const char *action, const char *text, const char *key,
|
/base/time/time_service/services/time/src/ |
D | power_subscriber.cpp | 35 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() local 36 TIME_HILOGD(TIME_MODULE_SERVICE, "receive one broadcast:%{public}s", action.c_str()); in OnReceiveEvent() 37 if (action == CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
|
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
D | cipher_aes.c | 185 static int32_t InitAesCryptDataText(const char *action, const char *key, const char *text, CryptDat… in InitAesCryptDataText() argument 187 if (!strcmp(action, "encrypt")) { in InitAesCryptDataText() 188 data->action = MBEDTLS_AES_ENCRYPT; in InitAesCryptDataText() 208 } else if (!strcmp(action, "decrypt")) { in InitAesCryptDataText() 209 data->action = MBEDTLS_AES_DECRYPT; in InitAesCryptDataText() 223 static int32_t InitAesData(const char *action, const char *key, const char *text, CryptData *data) in InitAesData() argument 225 if (action == NULL || text == 0 || data == NULL || key == NULL) { in InitAesData() 228 int32_t ret = InitAesCryptDataText(action, key, text, data); in InitAesData() 280 if (ctx->data.action == MBEDTLS_AES_ENCRYPT) { in DoAesCbcEncrypt() 290 ret = mbedtls_aes_crypt_cbc(aesCtx, ctx->data.action, ctx->data.textLen, in DoAesCbcEncrypt() [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/config/test/unittest/common/ |
D | event_logger_config_test.cpp | 55 EXPECT_EQ(configOut.action == "b,s=1,n=2,pb:0", true); 60 EXPECT_EQ(configOut.action == "b,s=332,m=sd:2.2.10;tr56,pb:0", true); 70 EXPECT_EQ(configOut.action == "b,s=1456,n=pdc,pb:0", true);
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_subscriber.cpp | 36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() local 42 if (action == OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_SHUTDOWN) { in OnReceiveEvent() 45 } else if (action == OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED) { in OnReceiveEvent()
|