Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/service/src/com/android/car/watchdog/
H A DWatchdogPerfHandler.java1236 if (listenerInfos != null) { in notifyResourceOveruseStatsLocked()
1238 listenerInfos.get(i).notifyListener( in notifyResourceOveruseStatsLocked()
1358 if (listenerInfos == null) { in addResourceOveruseListenerLocked()
1359 listenerInfos = new ArrayList<>(); in addResourceOveruseListenerLocked()
1377 listenerInfos.add(listenerInfo); in addResourceOveruseListenerLocked()
1391 if (listenerInfos == null) { in removeResourceOveruseListenerLocked()
1408 listenerInfos.remove(cachedListenerInfo); in removeResourceOveruseListenerLocked()
1409 if (listenerInfos.isEmpty()) { in removeResourceOveruseListenerLocked()
2611 if (listenerInfos == null) { in binderDied()
2614 listenerInfos.remove(this); in binderDied()
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/watchdog/
H A DCarWatchdogManager.java892 List<ResourceOveruseListenerInfo> listenerInfos; in onResourceOveruse() local
895 listenerInfos = mResourceOveruseListenerForSystemInfos; in onResourceOveruse()
897 listenerInfos = mResourceOveruseListenerInfos; in onResourceOveruse()
900 if (listenerInfos.isEmpty()) { in onResourceOveruse()
905 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in onResourceOveruse()