Home
last modified time | relevance | path

Searched refs:totalEvents (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseAppStateTimeSlotEventsTracker.java87 int totalEvents; in handleNewEvent() local
95 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() local
122 if (totalEvents >= threshold) { in onNumOfEventsThresholdChanged()
123 mTmpPkgs.put(pkg, totalEvents); in onNumOfEventsThresholdChanged()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DFileObserverTest.java39 public int totalEvents = 0; field in FileObserverTest.Observer
47 totalEvents++; in onEvent()
94 assertTrue(mObserver.totalEvents > 3); in testRun()