/base/useriam/user_auth_framework/common/utils/ |
H A D | iam_scope_guard.h | 32 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 D | scope_guard.h | 28 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 D | suspend_sources.h | 45 action_ = action; in SuspendSource() 55 return action_; in GetAction() 64 uint32_t action_; member in OHOS::PowerMgr::SuspendAction::SuspendSource
|
H A D | suspend_controller.h | 145 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 D | wakeup_action_sources.h | 42 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 D | command.cpp | 19 : format_(argsFormat), help_(help), action_(action) in Command() 30 return action_(input, output); in DoAction()
|
H A D | command.h | 34 Action action_; member in OHOS::MiscServices::Command
|
/base/powermgr/display_manager/state_manager/service/native/src/ |
H A D | screen_controller.cpp | 43 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 D | reminder_timer_info.h | 36 action_ = action; in SetAction() 80 std::string action_; member in OHOS::Notification::ReminderTimerInfo
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_authenticator_session.cpp | 74 : 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 D | rule_cluster.h | 31 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 D | rule_cluster.cpp | 331 return action_; in GetAction() 336 action_ = action; in SetAction()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_mgr_notify_test.cpp | 58 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 D | script_expression.cpp | 134 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 D | script_expression.h | 157 : 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 D | text_listener.cpp | 35 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 D | text_listener.h | 77 static int32_t action_; member in OHOS::MiscServices::TextListener
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_authenticator_session.h | 86 AuthenticatorAction action_; member in OHOS::AccountSA::AppAccountAuthenticatorSession
|
/base/powermgr/display_manager/state_manager/service/native/include/ |
H A D | screen_controller.h | 99 std::shared_ptr<ScreenAction> action_ {nullptr};
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | text_listener_inner_api_test.cpp | 515 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 D | input_method_panel_test.cpp | 164 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 D | running_lock_mgr.h | 106 std::shared_ptr<IRunningLockAction> action_; member in OHOS::PowerMgr::RunningLockMgr::LockCounter
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_state_machine.h | 254 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 D | reminder_data_manager_test.cpp | 582 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 D | power_state_machine.cpp | 2048 TransitResult ret = action_(reason); in WakeupDeviceInner()
|