Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DUsageStats.java630 private Bundle eventMapToBundle(ArrayMap<String, Integer> eventMap) { in eventMapToBundle() argument
632 final int size = eventMap.size(); in eventMapToBundle()
634 bundle.putInt(eventMap.keyAt(i), eventMap.valueAt(i)); in eventMapToBundle()
688 private void readBundleToEventMap(Bundle bundle, ArrayMap<String, Integer> eventMap) {
692 eventMap.put(className, event);
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java526 final SparseIntArray eventMap = in rolloverStats() local
528 final int size = eventMap.size(); in rolloverStats()
531 eventMap.valueAt(j), eventMap.keyAt(j)); in rolloverStats()
535 final ArrayMap<String, Integer> eventMap = in rolloverStats() local
537 final int size = eventMap.size(); in rolloverStats()
539 stat.update(pkgName, eventMap.keyAt(j), beginTime, in rolloverStats()
540 eventMap.valueAt(j), 0); in rolloverStats()