Home
last modified time | relevance | path

Searched refs:action_ (Results 1 - 25 of 25) sorted by relevance

/base/useriam/user_auth_framework/common/utils/
H A Diam_scope_guard.h32 explicit IamScopeGuard(ExitAction &&action) : action_(std::forward<ExitAction>(action)) in IamScopeGuard()
37 if (action_ != nullptr) {
39 action_();
47 ExitAction action_; member in OHOS::UserIam::Common::IamScopeGuard
/base/update/updater/utils/include/
H A Dscope_guard.h28 ScopeGuard(ExitAction &&action) : action_(action), enable_(true) {} in ScopeGuard()
32 action_(); in ~ScopeGuard()
42 ExitAction action_; member in Updater::Detail::ScopeGuard
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_sources.h45 action_ = action; in SuspendSource()
55 return action_; in GetAction()
64 uint32_t action_; member in OHOS::PowerMgr::SuspendAction::SuspendSource
H A Dsuspend_controller.h145 return action_; in GetAction()
161 listener_(reason_, action_, delayMs_); in Notify()
167 action_ = source.GetAction(); in SuspendMonitor()
172 uint32_t action_; member in OHOS::PowerMgr::SuspendMonitor
/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_sources.h42 action_ = action; in WakeupActionSource()
51 return action_; in GetAction()
56 uint32_t action_; member in OHOS::PowerMgr::WakeupActionSource
/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/
H A Dcommand.cpp19 : format_(argsFormat), help_(help), action_(action) in Command()
30 return action_(input, output); in DoAction()
H A Dcommand.h34 Action action_; member in OHOS::MiscServices::Command
/base/powermgr/display_manager/state_manager/service/native/src/
H A Dscreen_controller.cpp43 action_ = make_shared<ScreenAction>(displayId); in ScreenController()
44 state_ = action_->GetDisplayState(); in ScreenController()
117 if (action_->EnableSkipSetDisplayState(reason)) { in UpdateState()
122 bool ret = action_->SetDisplayState(state, callback); in UpdateState()
174 return action_->GetBrightness(); in GetDeviceBrightness()
284 bool ret = action_->SetDisplayPower(state, reason); in OnStateChanged()
299 pms->NotifyStateChangeCallback(action_->GetDisplayId(), state, reason); in OnStateChanged()
341 bool isSucc = action_->SetBrightness(brightness); in UpdateBrightness()
422 action_->SetCoordinated(coordinated); in SetCoordinated()
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_timer_info.h36 action_ = action; in SetAction()
80 std::string action_; member in OHOS::Notification::ReminderTimerInfo
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_authenticator_session.cpp74 : action_(action), request_(request) in AppAccountAuthenticatorSession()
186 switch (action_) { in OnAbilityConnectDone()
218 ACCOUNT_LOGE("unsupported action: %{public}d", action_); in OnAbilityConnectDone()
241 switch (action_) { in OnResult()
279 newRequest.SetParam(Constants::KEY_ACTION, action_); in OnRequestRedirected()
285 if (action_ == AUTHENTICATE || action_ == ADD_ACCOUNT_IMPLICITLY) { in OnRequestRedirected()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Drule_cluster.h31 FreezeResult() : window_(0), code_(0), scope_(""), samePackage_(""), domain_(""), stringId_(""), action_("and") {}; in FreezeResult()
34 action_("and") {}; in FreezeResult()
36 : window_(0), code_(code), scope_(scope), samePackage_(""), domain_(""), stringId_(""), action_("and") {}; in FreezeResult()
57 std::string action_; member in OHOS::HiviewDFX::FreezeResult
H A Drule_cluster.cpp331 return action_; in GetAction()
336 action_ = action; in SetAction()
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mgr_notify_test.cpp58 std::string action_; member in __anon1543::TestCommonEventSubscriber
74 action_ = event->GetIntent()->GetAction();
75 if (action_ == CommonEventSupport::COMMON_EVENT_SCREEN_OFF) {
78 if (action_ == CommonEventSupport::COMMON_EVENT_SCREEN_ON) {
/base/update/updater/services/script/script_interpreter/
H A Dscript_expression.cpp134 if (action_ == OR_OPERATOR && left != nullptr && left->IsTrue()) { in Execute()
136 UScriptValue::ScriptToString(left).c_str(), opStr[action_].c_str()); in Execute()
143 UScriptValuePtr value = left->Computer(action_, right); in Execute()
145 UScriptValue::ScriptToString(left).c_str(), opStr[action_].c_str(), in Execute()
H A Dscript_expression.h157 : UScriptExpression(UScriptExpression::EXPRESSION_TYPE_BINARY), action_(action), left_(left), right_(right) {} in BinaryExpression()
166 UScriptExpression::ExpressionAction action_; member in Uscript::BinaryExpression
/base/inputmethod/imf/test/common/src/
H A Dtext_listener.cpp35 int32_t TextListener::action_ = -1; member in OHOS::MiscServices::TextListener
124 action_ = action; in HandleExtendAction()
126 IMSA_HILOGI("HandleExtendAction, action_: %{public}d", action_); in HandleExtendAction()
206 action_ = -1; in ResetParam()
277 textListenerCv_.wait_for(lock, std::chrono::seconds(1), [action]() { return action_ == action; }); in WaitHandleExtendAction()
278 return action_ == action; in WaitHandleExtendAction()
/base/inputmethod/imf/test/common/include/
H A Dtext_listener.h77 static int32_t action_; member in OHOS::MiscServices::TextListener
/base/account/os_account/services/accountmgr/include/appaccount/
H A Dapp_account_authenticator_session.h86 AuthenticatorAction action_; member in OHOS::AccountSA::AppAccountAuthenticatorSession
/base/powermgr/display_manager/state_manager/service/native/include/
H A Dscreen_controller.h99 std::shared_ptr<ScreenAction> action_ {nullptr};
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dtext_listener_inner_api_test.cpp515 EXPECT_EQ(TextListener::action_, action); in HWTEST_F()
534 EXPECT_NE(TextListener::action_, action); in HWTEST_F()
540 EXPECT_NE(TextListener::action_, action); in HWTEST_F()
H A Dinput_method_panel_test.cpp164 action_ = want.GetAction(); in OnReceiveEvent()
171 action_ = ""; in ResetParam()
174 std::string action_; member in OHOS::MiscServices::TestEventSubscriber
1059 return subscriber->action_ == COMMON_EVENT_INPUT_PANEL_STATUS_CHANGED in HWTEST_F()
1072 return subscriber->action_ == COMMON_EVENT_INPUT_PANEL_STATUS_CHANGED in HWTEST_F()
/base/powermgr/power_manager/services/native/src/runninglock/
H A Drunning_lock_mgr.h106 std::shared_ptr<IRunningLockAction> action_; member in OHOS::PowerMgr::RunningLockMgr::LockCounter
/base/powermgr/power_manager/services/native/include/
H A Dpower_state_machine.h254 owner_(owner), action_(action) in StateController()
279 std::function<TransitResult(StateChangeReason)> action_; member in OHOS::PowerMgr::TransitResult::PowerStateMachine::SettingStateFlag::StateController
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dreminder_data_manager_test.cpp582 timeInfo->action_ = ReminderRequest::REMINDER_EVENT_ALARM_ALERT; in HWTEST_F()
584 timeInfo->action_ = ReminderRequest::REMINDER_EVENT_ALERT_TIMEOUT; in HWTEST_F()
/base/powermgr/power_manager/services/native/src/
H A Dpower_state_machine.cpp2048 TransitResult ret = action_(reason); in WakeupDeviceInner()

Completed in 21 milliseconds