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.java654 private Bundle eventMapToBundle(ArrayMap<String, Integer> eventMap) { in eventMapToBundle() argument
656 final int size = eventMap.size(); in eventMapToBundle()
658 bundle.putInt(eventMap.keyAt(i), eventMap.valueAt(i)); in eventMapToBundle()
712 private void readBundleToEventMap(Bundle bundle, ArrayMap<String, Integer> eventMap) {
716 eventMap.put(className, event);
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java674 final SparseIntArray eventMap = in rolloverStats() local
676 final int size = eventMap.size(); in rolloverStats()
679 eventMap.valueAt(j), eventMap.keyAt(j)); in rolloverStats()
683 final ArrayMap<String, Integer> eventMap = in rolloverStats() local
685 final int size = eventMap.size(); in rolloverStats()
687 stat.update(pkgName, eventMap.keyAt(j), beginTime, in rolloverStats()
688 eventMap.valueAt(j), 0); in rolloverStats()