Lines Matching refs:Batch
22 Batch::Batch() in Batch() function in OHOS::MiscServices::Batch
29 Batch::Batch(const TimerInfo &seed) in Batch() function in OHOS::MiscServices::Batch
37 size_t Batch::Size() const in Size()
42 std::shared_ptr<TimerInfo> Batch::Get(size_t index) const in Get()
47 bool Batch::CanHold(std::chrono::steady_clock::time_point whenElapsed, in CanHold()
53 bool Batch::Add(const std::shared_ptr<TimerInfo> &alarm) in Add()
77 bool Batch::Remove(const TimerInfo &alarm) in Remove()
82 bool Batch::Remove(std::function<bool (const TimerInfo &)> predicate) in Remove()
112 bool Batch::HasPackage(const std::string &package_name) in HasPackage()
121 bool Batch::HasWakeups() const in HasWakeups()
129 std::chrono::steady_clock::time_point Batch::GetStart() const in GetStart()
134 std::chrono::steady_clock::time_point Batch::GetEnd() const in GetEnd()
139 uint32_t Batch::GetFlags() const in GetFlags()