Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java1534 ArrayList<ResourceOveruseListenerInfo> listenerInfos = mOveruseListenerInfosByUid.get(uid); in notifyResourceOveruseStatsLocked() local
1535 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() local
1655 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 …]
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java913 List<ResourceOveruseListenerInfo> listenerInfos; in onResourceOveruse() local
916 listenerInfos = mResourceOveruseListenerForSystemInfos; in onResourceOveruse()
918 listenerInfos = mResourceOveruseListenerInfos; in onResourceOveruse()
921 if (listenerInfos.isEmpty()) { in onResourceOveruse()
926 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in onResourceOveruse()