Searched refs:listenerInfos (Results 1 – 2 of 2) sorted by relevance
1534 ArrayList<ResourceOveruseListenerInfo> listenerInfos = mOveruseListenerInfosByUid.get(uid); in notifyResourceOveruseStatsLocked() local1535 if (listenerInfos != null) { in notifyResourceOveruseStatsLocked()1536 for (int i = 0; i < listenerInfos.size(); ++i) { in notifyResourceOveruseStatsLocked()1537 listenerInfos.get(i).notifyListener( in notifyResourceOveruseStatsLocked()1654 ArrayList<ResourceOveruseListenerInfo> listenerInfos = listenerInfosByUid.get(callingUid); in addResourceOveruseListenerLocked() local1655 if (listenerInfos == null) { in addResourceOveruseListenerLocked()1656 listenerInfos = new ArrayList<>(); in addResourceOveruseListenerLocked()1657 listenerInfosByUid.put(callingUid, listenerInfos); in addResourceOveruseListenerLocked()1659 for (int i = 0; i < listenerInfos.size(); ++i) { in addResourceOveruseListenerLocked()1660 if (listenerInfos.get(i).listener.asBinder() == binder) { in addResourceOveruseListenerLocked()[all …]
913 List<ResourceOveruseListenerInfo> listenerInfos; in onResourceOveruse() local916 listenerInfos = mResourceOveruseListenerForSystemInfos; in onResourceOveruse()918 listenerInfos = mResourceOveruseListenerInfos; in onResourceOveruse()921 if (listenerInfos.isEmpty()) { in onResourceOveruse()926 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in onResourceOveruse()