Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 25 of 96) sorted by relevance

1234

/base/telephony/core_service/services/sim/src/
Dicc_operator_privilege_controller.cpp175 …simStateManager_(simStateManager), state_(new IccOperatorPrivilegeController::LogicalStateMachine(… in IccOperatorPrivilegeController()
180 delete state_; in ~IccOperatorPrivilegeController()
224 const bool isLoaded = state_->SuccessLoaded(); in HasOperatorPrivileges()
228 if (state_->IsTimeOut()) { in HasOperatorPrivileges()
233 if (!state_->IsSimAvailable()) { in HasOperatorPrivileges()
292 state_->SetSimAvailable(false); in ProcessSimStateChanged()
298 state_->SetSimAvailable(true); in ProcessSimStateChanged()
310 if (!state_->IsAppropriateToOpenChannel()) { in OpenChannel()
316 state_->SetForOpenChannel(); in OpenChannel()
324 const bool timeout = state_->IsTimeOut(); in ProcessOpenLogicalChannelDone()
[all …]
/base/telephony/call_manager/services/call/src/
Dims_conference.cpp43 if (state_ != CONFERENCE_STATE_CREATING && state_ != CONFERENCE_STATE_ACTIVE && in JoinToConference()
44 state_ != CONFERENCE_STATE_LEAVING) { in JoinToConference()
54 state_ = CONFERENCE_STATE_ACTIVE; in JoinToConference()
71 state_ = CONFERENCE_STATE_IDLE; in LeaveFromConference()
80 if (state_ == CONFERENCE_STATE_HOLDING) { in HoldConference()
92 state_ = CONFERENCE_STATE_IDLE; in HoldConference()
111 if (subCallIdSet_.empty() || state_ != CONFERENCE_STATE_ACTIVE) { in CanSeparateConference()
Dcs_conference.cpp45 if (state_ != CONFERENCE_STATE_CREATING && state_ != CONFERENCE_STATE_ACTIVE && in JoinToConference()
46 state_ != CONFERENCE_STATE_LEAVING) { in JoinToConference()
55 state_ = CONFERENCE_STATE_ACTIVE; in JoinToConference()
71 state_ = CONFERENCE_STATE_IDLE; in LeaveFromConference()
80 if (state_ == CONFERENCE_STATE_HOLDING) { in HoldConference()
92 state_ = CONFERENCE_STATE_IDLE; in HoldConference()
111 if (subCallIdSet_.empty() || state_ != CONFERENCE_STATE_ACTIVE) { in CanSeparateConference()
Dott_conference.cpp43 if (state_ != CONFERENCE_STATE_CREATING && state_ != CONFERENCE_STATE_ACTIVE && in JoinToConference()
44 state_ != CONFERENCE_STATE_LEAVING) { in JoinToConference()
54 state_ = CONFERENCE_STATE_ACTIVE; in JoinToConference()
71 state_ = CONFERENCE_STATE_IDLE; in LeaveFromConference()
80 if (state_ == CONFERENCE_STATE_HOLDING) { in HoldConference()
92 state_ = CONFERENCE_STATE_IDLE; in HoldConference()
111 if (subCallIdSet_.empty() || state_ != CONFERENCE_STATE_ACTIVE) { in CanSeparateConference()
Dconference_base.cpp27 …: mainCallId_(ERR_ID), state_(CONFERENCE_STATE_IDLE), beginTime_(0), conferenceType_(CallType::TYP… in ConferenceBase()
57 state_ = CONFERENCE_STATE_CREATING; in SetMainCall()
64 return state_; in GetConferenceState()
70 state_ = state; in SetConferenceState()
/base/telephony/cellular_call/vendor/ims/services/ims_core_service/src/
Dims_core_service.cpp25 …: SystemAbility(TELEPHONY_IMS_SYS_ABILITY_ID, true), state_(ServiceRunningState::STATE_STOPPED), i… in ImsCoreService()
39 state_ = ServiceRunningState::STATE_STOPPED; in ~ImsCoreService()
45 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
59 state_ = ServiceRunningState::STATE_RUNNING; in OnStart()
65 state_ = ServiceRunningState::STATE_STOPPED; in OnStop()
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Ddevice_account_info.h94 DeviceAccountState state_; variable
125 state_ = DeviceAccountState::DEVICE_ACCOUNT_STATE_INVALID; in DeviceAccountInfo()
139 state_ = DeviceAccountState::DEVICE_ACCOUNT_STATE_INVALID; in DeviceAccountInfo()
153 state_ = DeviceAccountState::DEVICE_ACCOUNT_STATE_INVALID; in DeviceAccountInfo()
194 if (!data.WriteInt32(static_cast<std::int32_t>(state_))) { in WriteDataToParcel()
210 state_ = static_cast<DeviceAccountState>(data.ReadInt32()); in ReadDataFromParcel()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dcharger_state_collection.cpp64 return state_; in GetState()
107 state_ = ToString(DISABLE); in HandleChangerStatusCompleted()
111 state_ = ToString(ENABLE); in HandleChangerStatusCompleted()
115 state_ = ToString(FULL); in HandleChangerStatusCompleted()
119 state_ = ToString(NONE); in HandleChangerStatusCompleted()
123 state_ = ToString(BUTT); in HandleChangerStatusCompleted()
Dscreen_state_collection.cpp55 return state_; in GetState()
85 state_ = ToString(SCREEN_ON); in HandleScreenOnCompleted()
91 state_ = ToString(SCREEN_OFF); in HandleScreenOffCompleted()
/base/account/os_account/services/accountmgr/src/
Daccount_mgr_service.cpp166 return (state_ == STATE_RUNNING); in IsServiceStarted()
171 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
187 state_ = ServiceRunningState::STATE_RUNNING; in OnStart()
205 if (state_ == ServiceRunningState::STATE_RUNNING) { in Init()
311 state_ = ServiceRunningState::STATE_NOT_START; in SelfClean()
318 if (state_ == ServiceRunningState::STATE_NOT_START) { in HandleNotificationEvents()
/base/request/request/download/services/src/
Ddownload_service_ability.cpp58 : SystemAbility(systemAbilityId, runOnCreate), state_(ServiceRunningState::STATE_NOT_START) in DownloadServiceAbility()
64 DOWNLOAD_HILOGE("~DownloadServiceAbility state_ is %{public}d.", static_cast<int>(state_)); in ~DownloadServiceAbility()
90 state_ = ServiceRunningState::STATE_RUNNING; in Init()
94 DOWNLOAD_HILOGE("state_ is %{public}d.", static_cast<int>(state_)); in Init()
105 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
120 state_ = ServiceRunningState::STATE_RUNNING; in OnStart()
138 if (state_ != ServiceRunningState::STATE_RUNNING) { in ManualStart()
147 if (state_ != ServiceRunningState::STATE_RUNNING) { in OnStop()
158 state_ = ServiceRunningState::STATE_NOT_START; in OnStop()
/base/msdp/device_status/libs/src/algorithm/
Dalgo_absolute_still.cpp50 if (state_ == STILL) { in ExecuteOperation()
60 if (state_ == NON_STILL) { in ExecuteOperation()
Dalgo_relative_still.cpp50 if (state_ == RELATIVE_STILL) { in ExecuteOperation()
61 if (state_ == NON_RELATIVE_STILL) { in ExecuteOperation()
Dalgo_base.cpp60 state_ = UNKNOWN; in RegisterCallback()
78 state_ = state; in UpdateStateAndReport()
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp38 …: SystemAbility(SA_ID_TOKENSYNC_MANAGER_SERVICE, false), state_(ServiceRunningState::STATE_NOT_STA… in TokenSyncManagerService()
50 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
59 state_ = ServiceRunningState::STATE_RUNNING; in OnStart()
71 state_ = ServiceRunningState::STATE_NOT_START; in OnStop()
/base/location/services/location_geocode/geocode/include/
Dgeo_convert_service.h48 return state_; in QueryServiceState()
65 ServiceRunningState state_ = ServiceRunningState::STATE_NOT_START; variable
/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp41 state_ = action_->GetDisplayState(); in ScreenController()
90 return state_; in GetState()
96 static_cast<uint32_t>(state), static_cast<uint32_t>(state_)); in UpdateState()
97 RETURN_IF_WITH_RET(state == state_, true); in UpdateState()
124 state_ = state; in UpdateState()
134 return (state_ == DisplayState::DISPLAY_ON || state_ == DisplayState::DISPLAY_DIM); in IsScreenOn()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp106 this->state_ = other.state_; in ReminderRequest()
135 …if ((state_ & (REMINDER_STATUS_SHOWING | REMINDER_STATUS_ALERTING | REMINDER_STATUS_ACTIVE)) == 0)… in CanRemove()
163 ", state=" + GetState(state_) + in Dump()
227 if ((state_ & REMINDER_STATUS_SHOWING) != 0) { in IsShowing()
235 if ((state_ & REMINDER_STATUS_SHOWING) == 0) { in OnClose()
236 …ANSR_LOGE("onClose, the state of reminder is incorrect, state:%{public}s", GetState(state_).c_str(… in OnClose()
240 if ((state_ & REMINDER_STATUS_ALERTING) != 0) { in OnClose()
331 if ((state_ & (REMINDER_STATUS_ACTIVE | REMINDER_STATUS_SNOOZE)) != 0) { in OnShow()
360 if ((state_ & REMINDER_STATUS_SNOOZE) != 0) { in OnSnooze()
361 …OGW("onSnooze, the state of reminder is incorrect, state: %{public}s", (GetState(state_)).c_str()); in OnSnooze()
[all …]
/base/update/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp72 PKG_LOGE("error state curr %d ", state_); in ExtractFile()
86 PKG_LOGE("error state curr %d ", state_); in FindPkgEntry()
100 if (state_ == s) { in CheckState()
101 state_ = state; in CheckState()
/base/location/services/location_passive/passive/include/
Dpassive_ability.h53 return state_; in QueryServiceState()
71 ServiceRunningState state_ = ServiceRunningState::STATE_NOT_START; variable
/base/request/request/upload/frameworks/libs/src/
Dupload_task.cpp31 state_ = STATE_INIT; in UploadTask()
118 if (failCallback_ && state_ == STATE_FAILURE) { in SetCallback()
123 if (completeCallback_ && state_ == STATE_SUCCESS) { in SetCallback()
247 state_ = STATE_RUNNING; in OnRun()
293 state_ = STATE_SUCCESS; in OnProgress()
339 state_ = STATE_FAILURE; in OnFail()
358 state_ = STATE_SUCCESS; in OnComplete()
/base/inputmethod/imf/unitest/src/
Dinput_method_private_member_test.cpp71 service->state_ = ServiceRunningState::STATE_RUNNING;
80 EXPECT_EQ(service->state_, ServiceRunningState::STATE_NOT_START);
/base/theme/screenlock_mgr/services/src/
Dscreenlock_system_ability.cpp68 : SystemAbility(systemAbilityId, runOnCreate), state_(ServiceRunningState::STATE_NOT_START) in ScreenLockSystemAbility()
74 SCLOCK_HILOGI("~ScreenLockSystemAbility state_ is %{public}d.", static_cast<int>(state_)); in ~ScreenLockSystemAbility()
96 SCLOCK_HILOGD("state_ is %{public}d.", static_cast<int>(state_)); in Init()
108 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
134 state_ = ServiceRunningState::STATE_RUNNING; in OnAddSystemAbility()
169 if (state_ != ServiceRunningState::STATE_RUNNING) { in OnStop()
174 state_ = ServiceRunningState::STATE_NOT_START; in OnStop()
341 if (state_ != ServiceRunningState::STATE_RUNNING) { in UnlockInner()
396 if (state_ != ServiceRunningState::STATE_RUNNING) { in IsScreenLocked()
409 if (state_ != ServiceRunningState::STATE_RUNNING) { in GetSecure()
/base/update/updater/services/include/script/
Dscript_instruction.h42 return state_; in GetState()
51 int32_t state_ = 0; variable
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_service.cpp40 … : SystemAbility(SA_ID_PRIVACY_MANAGER_SERVICE, true), state_(ServiceRunningState::STATE_NOT_START) in PrivacyManagerService()
52 if (state_ == ServiceRunningState::STATE_RUNNING) { in OnStart()
60 state_ = ServiceRunningState::STATE_RUNNING; in OnStart()
72 state_ = ServiceRunningState::STATE_NOT_START; in OnStop()

1234