Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 8 of 8) sorted by relevance

/base/msdp/device_status/libs/src/algorithm/
Dalgo_absolute_still.cpp60 counter_--; in ExecuteOperation()
61 if (counter_ == 0) { in ExecuteOperation()
62 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
66 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
Dalgo_horizontal.cpp61 counter_--; in ExecuteOperation()
62 if (counter_ == 0) { in ExecuteOperation()
63 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
67 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
Dalgo_vertical.cpp63 counter_--; in ExecuteOperation()
64 if (counter_ == 0) { in ExecuteOperation()
65 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
69 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_common_event_observer.cpp43 counter_ = 0; in AppAccountCommonEventObserver()
66 while (counter_ != MAX_TRY_TIMES) { in SubscribeCommonEvent()
68 counter_ = 0; in SubscribeCommonEvent()
71 if (++counter_ == MAX_TRY_TIMES) { in SubscribeCommonEvent()
72 ACCOUNT_LOGE("failed to subscribe common event and tried %{public}d times", counter_); in SubscribeCommonEvent()
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_common_event_observer.h43 std::int32_t counter_; variable
/base/powermgr/power_manager/services/native/include/
Drunning_lock_mgr.h100 : type_(type), activate_(activate), counter_(0) {} in LockCounter()
109 return counter_; in GetCount()
119 uint32_t counter_; variable
/base/msdp/device_status/libs/include/algorithm/
Dalgo_base.h60 int32_t counter_ { COUNTER_THRESHOLD };
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp708 ++counter_; in Increase()
709 if (counter_ == 1) { in Increase()
715 return counter_; in Increase()
718 return counter_; in Increase()
724 --counter_; in Decrease()
725 if (counter_ == 0) { in Decrease()
731 return counter_; in Decrease()
734 return counter_; in Decrease()
739 counter_ = 0; in Clear()