Searched refs:RunningLockState (Results 1 – 10 of 10) sorted by relevance
27 enum class RunningLockState : uint32_t { enum81 void SetState(RunningLockState state) in SetState()85 RunningLockState GetState() const in GetState()91 return state_ == RunningLockState::RUNNINGLOCK_STATE_PROXIED || in IsProxied()92 state_ == RunningLockState::RUNNINGLOCK_STATE_UNPROXIED_RESTORE; in IsProxied()106 RunningLockState state_ = RunningLockState::RUNNINGLOCK_STATE_DISABLE;
460 if (lockInner->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE) { in Lock()479 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_ENABLE); in Lock()498 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_DISABLE); in UnLock()522 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_DISABLE); in UnLock()667 RunningLockState lastState = lockInner->GetState(); in LockInnerByProxy()668 if (lastState == RunningLockState::RUNNINGLOCK_STATE_PROXIED) { in LockInnerByProxy()669 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_DISABLE); in LockInnerByProxy()677 RunningLockState lastState = lockInner->GetState(); in UnlockInnerByProxy()678 if (lastState == RunningLockState::RUNNINGLOCK_STATE_DISABLE) { in UnlockInnerByProxy()682 if (lastState == RunningLockState::RUNNINGLOCK_STATE_PROXIED) { in UnlockInnerByProxy()[all …]
644 EXPECT_TRUE(audioLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);645 EXPECT_TRUE(sportLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);656 EXPECT_TRUE(audioLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);657 EXPECT_TRUE(sportLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);704 EXPECT_TRUE(naviLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);709 EXPECT_TRUE(naviLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_PROXIED);714 EXPECT_TRUE(naviLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);759 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);764 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_PROXIED);769 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_ENABLE);[all …]
45 …NotifyHiView(info, ChangedType::NOTIFY_RUNNINGLOCK_ADD, RunningLockState::RUNNINGLOCK_STATE_ENABLE… in Increase()61 …NotifyHiView(info, ChangedType::NOTIFY_RUNNINGLOCK_REMOVE, RunningLockState::RUNNINGLOCK_STATE_DIS… in Decrease()70 …kCounter::NotifyHiView(const RunningLockInfo &info, ChangedType changeType, RunningLockState state) in NotifyHiView()
51 enum class RunningLockState : uint32_t { enum55 void NotifyHiView(const RunningLockInfo &info, ChangedType changeType, RunningLockState state);
190 RunningLockState lockState = RunningLockState(root.at("STATE").get<std::int32_t>()); in ProcessRunningLockEvent()193 case RunningLockState::RUNNINGLOCK_STATE_DISABLE: { in ProcessRunningLockEvent()198 case RunningLockState::RUNNINGLOCK_STATE_ENABLE: { in ProcessRunningLockEvent()203 case RunningLockState::RUNNINGLOCK_STATE_PROXIED: in ProcessRunningLockEvent()204 case RunningLockState::RUNNINGLOCK_STATE_UNPROXIED_RESTORE: { in ProcessRunningLockEvent()
400 RunningLockState lockState = RunningLockState(root["STATE"].asInt()); in ProcessWakelockEvent()403 case RunningLockState::RUNNINGLOCK_STATE_DISABLE: { in ProcessWakelockEvent()408 case RunningLockState::RUNNINGLOCK_STATE_ENABLE: { in ProcessWakelockEvent()413 case RunningLockState::RUNNINGLOCK_STATE_PROXIED: in ProcessWakelockEvent()414 case RunningLockState::RUNNINGLOCK_STATE_UNPROXIED_RESTORE: { in ProcessWakelockEvent()
37 enum class RunningLockState : int32_t { enum
65 enum class RunningLockState : int32_t { enum
194 sysEvent["STATE"] = RunningLockState::RUNNINGLOCK_STATE_DISABLE;199 sysEvent["STATE"] = RunningLockState::RUNNINGLOCK_STATE_ENABLE;204 sysEvent["STATE"] = RunningLockState::RUNNINGLOCK_STATE_PROXIED;