/base/request/request/services/src/manage/scheduler/ |
H A D | sql.rs | 15 use crate::info::State; 21 State::Waiting.repr, 24 State::Initialized.repr, 25 State::Paused.repr, 27 State::Failed.repr, 28 State::Stopped.repr, 35 State::Paused.repr, 38 State::Running.repr, 39 State::Retrying.repr, 40 State [all...] |
H A D | mod.rs | 39 use crate::task::info::State; 133 if (is_resume && info.progress.common_data.state != State::Paused.repr) in start_inner() 134 || (!is_resume && info.progress.common_data.state == State::Paused.repr) in start_inner() 138 database.change_status(task_id, State::Waiting)?; in start_inner() 148 database.update_task_state(task_id, State::Completed, Reason::Default); in start_inner() 167 database.change_status(task_id, State::Paused)?; 181 database.change_status(task_id, State::Removed)?; 196 database.change_status(task_id, State::Stopped)?; 214 if info.state != State::Running.repr && info.state != State [all...] |
/base/request/request/services/src/task/ |
H A D | info.rs | 16 pub use ffi::State; 91 pub enum State { enum 125 impl From<u8> for State { 128 0 => State::Initialized, in from() 129 16 => State::Waiting, in from() 130 32 => State::Running, in from() 131 33 => State::Retrying, in from() 132 48 => State::Paused, in from() 133 49 => State::Stopped, in from() 134 64 => State in from() [all...] |
/base/powermgr/battery_manager/test/benchmarktest/ |
H A D | battery_benchmark_test.cpp | 30 void SetUp(const ::benchmark::State& state) {} in SetUp() 31 void TearDown(const ::benchmark::State& state) {} in TearDown() 44 BENCHMARK_F(BatteryBenchmarkTest, GetCapacity)(benchmark::State& st) in BENCHMARK_F() 62 BENCHMARK_F(BatteryBenchmarkTest, GetChargingStatus)(benchmark::State& st) in BENCHMARK_F() 80 BENCHMARK_F(BatteryBenchmarkTest, GetHealthStatus)(benchmark::State& st) in BENCHMARK_F() 98 BENCHMARK_F(BatteryBenchmarkTest, GetPluggedType)(benchmark::State& st) in BENCHMARK_F() 116 BENCHMARK_F(BatteryBenchmarkTest, GetVoltage)(benchmark::State& st) in BENCHMARK_F() 133 BENCHMARK_F(BatteryBenchmarkTest, GetPresent)(benchmark::State& st) in BENCHMARK_F() 150 BENCHMARK_F(BatteryBenchmarkTest, GetTechnology)(benchmark::State& st) in BENCHMARK_F() 167 BENCHMARK_F(BatteryBenchmarkTest, GetBatteryTemperature)(benchmark::State [all...] |
/base/telephony/cellular_data/services/include/state_machine/ |
H A D | incall_data_state_machine.h | 39 sptr<State> GetCurrentState() const; 47 sptr<State> idleState_; 48 sptr<State> secondaryActiveState_; 49 sptr<State> activatingSecondaryState_; 50 sptr<State> activatedSecondaryState_; 51 sptr<State> deactivatingSecondaryState_; 52 sptr<State> currentState_; 57 void SetCurrentState(const sptr<State> &&state); 72 class IdleState : public State { 75 : State(st in IdleState() [all...] |
H A D | state_machine.h | 31 class State : public RefBase { class 35 explicit State(std::string &&name) : name_(std::move(name)) {} in State() function in OHOS::Telephony::State 36 virtual ~State() = default; 41 void SetParentState(sptr<State> &parent) in SetParentState() 54 sptr<State> parent_; 63 virtual void SetOriginalState(sptr<State> &originalState) in SetOriginalState() 68 virtual void TransitionTo(sptr<State> &destState) in TransitionTo() 70 TELEPHONY_LOGI("State machine transition to %{public}s", destState->name_.c_str()); in TransitionTo() 76 sptr<State> tmpState = curState_; in Quit() 90 sptr<State> tmpStat in ProcessTransitions() [all...] |
H A D | cellular_data_state_machine.h | 56 sptr<State> GetCurrentState() const; 73 sptr<State> activeState_; 74 sptr<State> inActiveState_; 75 sptr<State> activatingState_; 76 sptr<State> disconnectingState_; 77 sptr<State> defaultState_; 78 sptr<State> currentState_; 85 void SetCurrentState(const sptr<State> &&state);
|
H A D | disconnecting.h | 27 class Disconnecting : public State { 30 : State(std::move(name)), stateMachine_(std::move(cellularService)) in Disconnecting()
|
H A D | activating.h | 27 class Activating : public State { 30 : State(std::move(name)), stateMachine_(std::move(cellularService)) in Activating()
|
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/ |
H A D | os_account_manager_benchmark_test.cpp | 46 void SetUp(const ::benchmark::State &state) in SetUp() 48 void TearDown(const ::benchmark::State &state) in TearDown() 60 benchmark::State &st) in BENCHMARK_F() 83 benchmark::State &st) in BENCHMARK_F() 103 benchmark::State &st) in BENCHMARK_F() 124 benchmark::State &st) in BENCHMARK_F() 146 benchmark::State &st) in BENCHMARK_F() 166 benchmark::State &st) in BENCHMARK_F() 186 benchmark::State &st) in BENCHMARK_F() 205 benchmark::State in BENCHMARK_F() [all...] |
/base/request/request/services/tests/ |
H A D | search.rs | 17 use download_server::info::State; 37 let v = agent.search(current, current - 3000, State::Any, Action::Any, Mode::Any); in sdv_search_user() 39 let v = agent.search(current + 3000, current, State::Any, Action::Any, Mode::Any); in sdv_search_user() 44 State::Initialized, in sdv_search_user() 52 State::Running, in sdv_search_user() 60 State::Initialized, in sdv_search_user() 69 State::Initialized, in sdv_search_user()
|
/base/request/request/services/src/manage/events/ |
H A D | stop.rs | 15 use crate::info::State; 24 if info.state == State::Running.repr 25 || info.state == State::Retrying.repr 26 || info.state == State::Waiting.repr
|
H A D | remove.rs | 15 use crate::info::State; 24 if info.state != State::Failed.repr 25 && info.state != State::Completed.repr 26 && info.state != State::Removed.repr
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
H A D | notification_service_test.cpp | 105 void SetUp(const ::benchmark::State &state) override
112 void TearDown(const ::benchmark::State &state) override
131 BENCHMARK_F(BenchmarkNotificationService, AddSlotTestCase)(benchmark::State &state)
in BENCHMARK_F() 150 BENCHMARK_F(BenchmarkNotificationService, RemoveSlotByTypeTestCase)(benchmark::State &state)
in BENCHMARK_F() 174 BENCHMARK_F(BenchmarkNotificationService, SubscribeTestCase)(benchmark::State &state)
in BENCHMARK_F() 193 BENCHMARK_F(BenchmarkNotificationService, PublishNotificationTestCase001)(benchmark::State &state)
in BENCHMARK_F() 224 BENCHMARK_F(BenchmarkNotificationService, CancelNotificationTestCase001)(benchmark::State &state)
in BENCHMARK_F() 258 BENCHMARK_F(BenchmarkNotificationService, SetNotificationBadgeNumTestCase)(benchmark::State &state)
in BENCHMARK_F() 274 BENCHMARK_F(BenchmarkNotificationService, GetBundleImportanceTestCase)(benchmark::State &state)
in BENCHMARK_F() 291 BENCHMARK_F(BenchmarkNotificationService, SetShowBadgeEnabledForBundleTestCase)(benchmark::State [all...] |
/base/notification/common_event_service/test/benchmarktest/common_event_publish_test/ |
H A D | common_event_publish_test.cpp | 39 void SetUp(const ::benchmark::State &state) override
42 void TearDown(const ::benchmark::State &state) override
64 BENCHMARK_F(BenchmarkCommonEventPublish, SubscribeCommonEventTestCase)(benchmark::State &state)
in BENCHMARK_F() 82 BENCHMARK_F(BenchmarkCommonEventPublish, UnsubscribeCommonEventTestCase)(benchmark::State &state)
in BENCHMARK_F() 104 BENCHMARK_F(BenchmarkCommonEventPublish, PublishCommonEventTestCase)(benchmark::State &state)
in BENCHMARK_F()
|
/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 44 void SetUp(const ::benchmark::State &state) override
46 void TearDown(const ::benchmark::State &state) override
68 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase001)(benchmark::State &state)
in BENCHMARK_F() 92 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase002)(benchmark::State &state)
in BENCHMARK_F() 116 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventSubscribeTestCase003)(benchmark::State &state)
in BENCHMARK_F() 140 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventUnsubscribeTestCase)(benchmark::State &state)
in BENCHMARK_F() 164 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventPublishTestCase)(benchmark::State &state)
in BENCHMARK_F() 195 BENCHMARK_F(BenchmarkCommonEventManagerService, CommonEventDumpStateTestCase)(benchmark::State &state)
in BENCHMARK_F()
|
/base/accesscontrol/sandbox_manager/services/common/database/src/ |
H A D | statement.cpp | 95 Statement::State Statement::Step() in Step() 100 return Statement::State::ROW; in Step() 102 return Statement::State::DONE; in Step() 104 return Statement::State::BUSY; in Step() 106 return Statement::State::MISUSE; in Step() 108 return Statement::State::UNKNOWN; in Step()
|
/base/security/access_token/services/common/database/src/ |
H A D | statement.cpp | 81 Statement::State Statement::Step() in Step() 86 return Statement::State::ROW; in Step() 88 return Statement::State::DONE; in Step() 90 return Statement::State::BUSY; in Step() 92 return Statement::State::MISUSE; in Step() 94 return Statement::State::UNKNOWN; in Step()
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | maps_benchmark.cpp | 36 static void BenchmarkMapsCreateAll(benchmark::State& state)
in BenchmarkMapsCreateAll() 50 static void BenchmarkMapsCreateOnlyExec(benchmark::State& state)
in BenchmarkMapsCreateOnlyExec() 64 static void BenchmarkMapsCreateMapIndex(benchmark::State& state)
in BenchmarkMapsCreateMapIndex()
|
H A D | unwind_remote_benchmark.cpp | 121 static void Run(benchmark::State& state, void* data)
in Run() 166 static void BenchmarkUnwinderRemoteFull(benchmark::State& state)
in BenchmarkUnwinderRemoteFull() 185 static void BenchmarkUnwinderRemoteQut(benchmark::State& state)
in BenchmarkUnwinderRemoteQut() 200 static void BenchmarkUnwinderRemoteQutCache(benchmark::State& state)
in BenchmarkUnwinderRemoteQutCache() 215 static void BenchmarkUnwinderRemoteQutFrames(benchmark::State& state)
in BenchmarkUnwinderRemoteQutFrames() 230 static void BenchmarkUnwinderRemoteQutFramesCache(benchmark::State& state)
in BenchmarkUnwinderRemoteQutFramesCache() 245 static void BenchmarkUnwinderRemoteQutMiniDebugInfos(benchmark::State& state)
in BenchmarkUnwinderRemoteQutMiniDebugInfos() 262 static void BenchmarkUnwinderRemoteQutMiniDebugInfosLazily(benchmark::State& state)
in BenchmarkUnwinderRemoteQutMiniDebugInfosLazily() 282 static void BenchmarkUnwinderRemoteFp(benchmark::State& state)
in BenchmarkUnwinderRemoteFp()
|
H A D | unwind_local_benchmark.cpp | 191 static void Run(benchmark::State& state, size_t (*func)(void*), void* data)
in Run() 207 static void BenchmarkUnwinderLocalFull(benchmark::State& state)
in BenchmarkUnwinderLocalFull() 227 static void BenchmarkUnwinderLocalQut(benchmark::State& state)
in BenchmarkUnwinderLocalQut() 243 static void BenchmarkUnwinderLocalQutCache(benchmark::State& state)
in BenchmarkUnwinderLocalQutCache() 259 static void BenchmarkUnwinderLocalQutFrames(benchmark::State& state)
in BenchmarkUnwinderLocalQutFrames() 275 static void BenchmarkUnwinderLocalQutFramesCache(benchmark::State& state)
in BenchmarkUnwinderLocalQutFramesCache() 291 static void BenchmarkUnwinderLocalQutMiniDebugInfos(benchmark::State& state)
in BenchmarkUnwinderLocalQutMiniDebugInfos() 309 static void BenchmarkUnwinderLocalQutMiniDebugInfosLazily(benchmark::State& state)
in BenchmarkUnwinderLocalQutMiniDebugInfosLazily() 330 static void BenchmarkUnwinderLocalByFp(benchmark::State& state)
in BenchmarkUnwinderLocalByFp() 347 static void BenchmarkUnwinderLocalFp(benchmark::State [all...] |
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/ |
H A D | notification_publish_test.cpp | 47 void SetUp(const ::benchmark::State &state) override
50 void TearDown(const ::benchmark::State &state) override
122 BENCHMARK_F(BenchmarkNotificationPublish, PublishNotificationTestCase001)(benchmark::State &state)
in BENCHMARK_F() 137 BENCHMARK_F(BenchmarkNotificationPublish, CancelNotificationTestCase)(benchmark::State &state)
in BENCHMARK_F() 152 BENCHMARK_F(BenchmarkNotificationPublish, PublishNotificationTestCase002)(benchmark::State &state)
in BENCHMARK_F() 170 BENCHMARK_F(BenchmarkNotificationPublish, PublishNotificationTestCase003)(benchmark::State &state)
in BENCHMARK_F() 188 BENCHMARK_F(BenchmarkNotificationPublish, RemoveNotificationTestCase)(benchmark::State &state)
in BENCHMARK_F()
|
/base/request/request/services/src/manage/ |
H A D | mod.rs | 44 use crate::info::{State, TaskInfo}; 100 State::Initialized.repr in ut_manager_task_state_and_reason() 108 State::Waiting.repr in ut_manager_task_state_and_reason() 118 State::Paused.repr in ut_manager_task_state_and_reason() 128 State::Waiting.repr in ut_manager_task_state_and_reason() 138 State::Paused.repr in ut_manager_task_state_and_reason() 148 State::Waiting.repr in ut_manager_task_state_and_reason() 158 State::Stopped.repr in ut_manager_task_state_and_reason() 168 State::Waiting.repr in ut_manager_task_state_and_reason() 181 State in ut_manager_task_state_and_reason() [all...] |
/base/update/updater/test/benchmarktest/ |
H A D | updater_benchmark_test.cpp | 33 void SetUp(const ::benchmark::State &state) override 35 void TearDown(const ::benchmark::State &state) override 69 BENCHMARK_F(UpdaterBenchmarkTest, TestRingBuffer)(benchmark::State &state) in BENCHMARK_F()
|
/base/startup/init/test/benchmark/ |
H A D | parameter_benchmark.cpp | 129 static void BMCachedParameterGet(benchmark::State &state) in BMCachedParameterGet() 148 static void BMCachedParameterGetChangedStatic(benchmark::State &state) in BMCachedParameterGetChangedStatic() 169 static void BMCachedParameterGetChangedGlobal(benchmark::State &state) in BMCachedParameterGetChangedGlobal() 189 static void BMCachedParameterGetChangedGlobal2(benchmark::State &state) in BMCachedParameterGetChangedGlobal2() 213 static void BMSystemReadParam(benchmark::State &state) in BMSystemReadParam() 238 static void BMSystemReadParam_none(benchmark::State &state) in BMSystemReadParam_none() 262 static void BMSystemFindParameter(benchmark::State &state) in BMSystemFindParameter() 281 static void BMSystemGetParameterValue(benchmark::State &state) in BMSystemGetParameterValue() 309 static void BMSystemGetParameterCommitId(benchmark::State &state) in BMSystemGetParameterCommitId() 331 static void BMTestRandom(benchmark::State [all...] |