Searched refs:totalEvents (Results 1 – 2 of 2) sorted by relevance
87 int totalEvents; in handleNewEvent() local95 totalEvents = pkgEvents.getTotalEvents(now, SimpleAppStateTimeslotEvents.DEFAULT_INDEX); in handleNewEvent()96 notify = totalEvents >= mInjector.getPolicy().getNumOfEventsThreshold(); in handleNewEvent()100 packageName, uid, totalEvents, now); in handleNewEvent()120 int totalEvents = pkg.getTotalEvents(now, in onNumOfEventsThresholdChanged() local122 if (totalEvents >= threshold) { in onNumOfEventsThresholdChanged()123 mTmpPkgs.put(pkg, totalEvents); in onNumOfEventsThresholdChanged()
39 public int totalEvents = 0; field in FileObserverTest.Observer47 totalEvents++; in onEvent()94 assertTrue(mObserver.totalEvents > 3); in testRun()