Home
last modified time | relevance | path

Searched refs:preState (Results 1 - 18 of 18) sorted by relevance

/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp216 bool StartTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument
219 if (preState->GetState() == TRACE_STATE_STOP_APP_TRACE) { in Accept()
280 bool DumpTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument
283 if (preState->GetState() == TRACE_STATE_START_APP_TRACE) { in Accept()
284 if (preState->appCallerEvent_->pid_ != appCallerEvent_->pid_) { in Accept()
343 bool StopTraceState::Accept(std::shared_ptr<AppTraceState> preState) in Accept() argument
346 if (preState->GetState() == TRACE_STATE_START_APP_TRACE) { in Accept()
351 if (preState->GetState() == TRACE_STATE_DUMP_APP_TRACE) { in Accept()
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/include/
H A Dapp_trace_context.h57 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;
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_scheduler.cpp139 auto preState = task->state.PreState(); in HWTEST_F() local
142 decreCount(preState); in HWTEST_F()
145 EXPECT_EQ(expectCount[static_cast<size_t>(preState)], TaskManager::Instance().GetCount(preState)); in HWTEST_F()
/base/telephony/cellular_call/services/control/src/
H A Dcontrol_base.cpp100 bool ControlBase::IsConnectedOut(TelCallState preState, TelCallState curState) in IsConnectedOut() argument
102 if ((preState == TelCallState::CALL_STATUS_DIALING || preState == TelCallState::CALL_STATUS_ALERTING) && in IsConnectedOut()
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Dstate_manager_adapter.cpp309 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()
/foundation/resourceschedule/ffrt/src/sched/
H A Dtask_state.h70 return preState; in PreState()
130 State preState = PENDING; member in ffrt::TaskState
H A Dtask_state.cpp40 task->state.preState = task->state.curState; in OnTransition()
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dbase_network_strategy.cpp349 uint32_t preState = static_cast<uint32_t>(message.want_->GetIntParam(PREVIOUS_STATE, 0)); in DisableNetworkFirewall() local
351 if ((curState == StandbyState::MAINTENANCE) && (preState == StandbyState::SLEEP)) { in DisableNetworkFirewall()
356 } else if ((curState == StandbyState::SLEEP) && (preState == StandbyState::MAINTENANCE)) { in DisableNetworkFirewall()
361 } else if (preState == StandbyState::SLEEP || preState == StandbyState::MAINTENANCE) { in DisableNetworkFirewall()
H A Drunning_lock_strategy.cpp372 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()
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/
H A Dcontinuation_manager_stage.cpp465 void ContinuationManagerStage::RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState) in RestoreStateWhenTimeout() argument
470 auto timeoutTask = [continuationManager = shared_from_this(), preState]() { in RestoreStateWhenTimeout()
472 "preState = %{public}d, currentState = %{public}d", preState, continuationManager->GetProcessState()); in RestoreStateWhenTimeout()
473 if (preState == continuationManager->GetProcessState()) { in RestoreStateWhenTimeout()
H A Dcontinuation_manager.cpp449 void ContinuationManager::RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState) in RestoreStateWhenTimeout() argument
453 auto timeoutTask = [continuationManager = shared_from_this(), preState]() { in RestoreStateWhenTimeout()
455 "preState = %{public}d, currentState = %{public}d", in RestoreStateWhenTimeout()
456 preState, in RestoreStateWhenTimeout()
458 if (preState == continuationManager->GetProcessState()) { in RestoreStateWhenTimeout()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_engine.cpp459 EngineState preState = GetEngineState(); in ExecuteMigrate() local
461 if (preState == EngineState::MIGRATING || preState == EngineState::INVALID || in ExecuteMigrate()
464 LOGD("[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()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/distributed/
H A Dcontinuation_manager_stage.h191 void RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState);
H A Dcontinuation_manager.h96 void RestoreStateWhenTimeout(long timeoutInMs, const ProgressState &preState);
/foundation/resourceschedule/device_standby/plugins/standby_state/include/
H A Dstate_manager_adapter.h45 void SendNotification(uint32_t preState, bool needDispatchEvent);
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawBuffersIndexedTests.cpp1522 const BlendState preState = BlendState((commonState.enableBlend ? commonState.enableBlend : just(true)), in createDiffTest() local
1531 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name); in createDiffTest()
1535 const BlendState preState = BlendState(just(true), in createDiffTest() local
1544 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name); in createDiffTest()
1559 const BlendState preState = BlendState((commonState.enableBlend ? commonState.enableBlend : just(true)), in createAdvancedEqDiffTest() local
1567 return new DrawBuffersIndexedTest(context, preState, emptyState, drawBuffers, name, name); in createAdvancedEqDiffTest()
1571 const BlendState preState = BlendState(just(true), in createAdvancedEqDiffTest() local
1579 return new DrawBuffersIndexedTest(context, preState, commonState, drawBuffers, name, name); in createAdvancedEqDiffTest()
/base/telephony/cellular_call/services/control/include/
H A Dcontrol_base.h195 bool IsConnectedOut(TelCallState preState, TelCallState curState);
/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c2097 int32_t preState = impl->curState; in SessionSwitchState() local
2111 LOGI("[Event]: %d, [CurState]: %d, [nextState]: %d", event->type, preState, impl->curState); in SessionSwitchState()

Completed in 17 milliseconds