/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/ |
H A D | app_trace_context.cpp | 218 bool StartTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument 221 if (preState->GetState() == TRACE_STATE_STOP_APP_TRACE) { in Accept() 282 bool DumpTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument 285 if (preState->GetState() == TRACE_STATE_START_APP_TRACE) { in Accept() 286 if (preState->appCallerEvent_->pid_ != appCallerEvent_->pid_) { in Accept() 345 bool StopTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument 348 if (preState->GetState() == TRACE_STATE_START_APP_TRACE) { in Accept() 353 if (preState->GetState() == TRACE_STATE_DUMP_APP_TRACE) { in Accept()
|
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_scheduler.cpp | 138 auto preState = task->state.PreState(); variable 141 decreCount(preState); 144 … EXPECT_EQ(expectCount[static_cast<size_t>(preState)], TaskManager::Instance().GetCount(preState));
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/include/ |
H A D | app_trace_context.h | 57 virtual bool Accept(std::shared_ptr<AppTraceState> preState) = 0; 76 bool Accept(std::shared_ptr<AppTraceState> preState) override; 95 bool Accept(std::shared_ptr<AppTraceState> preState) override;
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/standby_state/src/ |
H A D | state_manager_adapter.cpp | 309 uint32_t preState = preStatePtr_->GetCurState(); in OnScreenOffHalfHourInner() local 311 STATE_NAME_LIST[curState].c_str(), STATE_NAME_LIST[preState].c_str()); in OnScreenOffHalfHourInner() 312 … if (scrOffHalfHourCtrl && !(curState == StandbyState::SLEEP || (preState == StandbyState::SLEEP && in OnScreenOffHalfHourInner() 327 void StateManagerAdapter::SendNotification(uint32_t preState, bool needDispatchEvent) in SendNotification() argument 331 STATE_NAME_LIST[preState].c_str(), STATE_NAME_LIST[curState].c_str()); in SendNotification() 335 message.want_->SetParam(PREVIOUS_STATE, static_cast<int32_t>(preState)); in SendNotification()
|
/ohos5.0/base/telephony/cellular_call/services/control/src/ |
H A D | control_base.cpp | 100 bool ControlBase::IsConnectedOut(TelCallState preState, TelCallState curState) in IsConnectedOut() argument 102 …if ((preState == TelCallState::CALL_STATUS_DIALING || preState == TelCallState::CALL_STATUS_ALERTI… in IsConnectedOut()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/ |
H A D | task_state.h | 70 return preState; in PreState() 130 State preState = PENDING; variable
|
H A D | task_state.cpp | 39 task->state.preState = task->state.curState; in OnTransition()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_storage_engine.cpp | 459 EngineState preState = GetEngineState(); in ExecuteMigrate() local 461 if (preState == EngineState::MIGRATING || preState == EngineState::INVALID || in ExecuteMigrate() 464 …"[SqlSingleVerEngine] Being single ver migrating or never create db! engine state [%u]", preState); in ExecuteMigrate() 479 errCode = InitExecuteMigrate(handle, preState); in ExecuteMigrate() 486 static_cast<unsigned>(preState), static_cast<unsigned>(executorState_)); in ExecuteMigrate() 503 errCode = FinishMigrateData(handle, preState); in ExecuteMigrate() 511 EndMigrate(handle, preState, errCode, isNeedTriggerSync); in ExecuteMigrate()
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/strategy/src/ |
H A D | base_network_strategy.cpp | 344 uint32_t preState = static_cast<uint32_t>(message.want_->GetIntParam(PREVIOUS_STATE, 0)); in DisableNetworkFirewall() local 346 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in DisableNetworkFirewall() 351 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in DisableNetworkFirewall() 356 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in DisableNetworkFirewall()
|
H A D | running_lock_strategy.cpp | 372 uint32_t preState = static_cast<uint32_t>(message.want_->GetIntParam(PREVIOUS_STATE, 0)); in StopProxy() local 374 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in StopProxy() 378 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in StopProxy() 382 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in StopProxy()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/ |
H A D | continuation_manager.cpp | 442 void ContinuationManager::RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState) in RestoreStateWhenTimeout() argument 446 auto timeoutTask = [continuationManager = shared_from_this(), preState]() { in RestoreStateWhenTimeout() 449 preState, in RestoreStateWhenTimeout() 451 if (preState == continuationManager->GetProcessState()) { in RestoreStateWhenTimeout()
|
H A D | continuation_manager_stage.cpp | 457 … ContinuationManagerStage::RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState) in RestoreStateWhenTimeout() argument 462 auto timeoutTask = [continuationManager = shared_from_this(), preState]() { in RestoreStateWhenTimeout() 464 …"preState = %{public}d, currentState = %{public}d", preState, continuationManager->GetProcessState… in RestoreStateWhenTimeout() 465 if (preState == continuationManager->GetProcessState()) { in RestoreStateWhenTimeout()
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/standby_state/include/ |
H A D | state_manager_adapter.h | 45 void SendNotification(uint32_t preState, bool needDispatchEvent);
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/distributed/ |
H A D | continuation_manager.h | 95 void RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState);
|
H A D | continuation_manager_stage.h | 189 void RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState);
|
/ohos5.0/base/telephony/cellular_call/services/control/include/ |
H A D | control_base.h | 195 bool IsConnectedOut(TelCallState preState, TelCallState curState);
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_v2.c | 2097 int32_t preState = impl->curState; in SessionSwitchState() local 2111 … LOGI("[Event]: %d, [CurState]: %d, [nextState]: %d", event->type, preState, impl->curState); in SessionSwitchState()
|