Searched refs:Throttler (Results 1 – 6 of 6) sorted by relevance
28 Throttler::Throttler(size_t limit, int64_t refractoryPeriodMs) in Throttler() function in android::os::incidentd::Throttler34 Throttler::~Throttler() {} in ~Throttler()36 sp<ReportBatch> Throttler::filterBatch(const sp<ReportBatch>& queued) { in filterBatch()51 bool Throttler::shouldThrottle() { in shouldThrottle()60 void Throttler::addReportSize(size_t reportByteSize) { in addReportSize()65 void Throttler::dump(FILE* out) { in dump()
33 class Throttler : public virtual android::RefBase {35 Throttler(size_t limit, int64_t refractoryPeriodMs);36 ~Throttler();
51 const sp<Throttler>& throttler,84 sp<Throttler> mThrottler;162 sp<Throttler> mThrottler;
128 const sp<Throttler>& throttler, in ReportHandler()241 mThrottler = new Throttler(DEFAULT_BYTES_SIZE_LIMIT, DEFAULT_REFACTORY_PERIOD_MS); in IncidentService()
25 Throttler t(100, 100000); in TEST()32 Throttler t(100, 500); in TEST()
111 "src/Throttler.cpp",