Home
last modified time | relevance | path

Searched refs:listenerInfo (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java490 ResourceOveruseListenerInfo listenerInfo = in addResourceOveruseListener() local
492 if (mResourceOveruseListenerInfos.contains(listenerInfo)) { in addResourceOveruseListener()
498 mResourceOveruseListenerInfos.add(listenerInfo); in addResourceOveruseListener()
521 ResourceOveruseListenerInfo listenerInfo = mResourceOveruseListenerInfos.get(index); in removeResourceOveruseListener() local
522 if (listenerInfo.listener == listener) { in removeResourceOveruseListener()
523 resourceOveruseFlag = listenerInfo.resourceOveruseFlag; in removeResourceOveruseListener()
570 ResourceOveruseListenerInfo listenerInfo = in addResourceOveruseListenerForSystem() local
572 if (mResourceOveruseListenerForSystemInfos.contains(listenerInfo)) { in addResourceOveruseListenerForSystem()
579 mResourceOveruseListenerForSystemInfos.add(listenerInfo); in addResourceOveruseListenerForSystem()
607 ResourceOveruseListenerInfo listenerInfo = in removeResourceOveruseListenerForSystem() local
[all …]
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java646 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in notifyResourceOveruseStatsLocked()
647 listenerInfo.notifyListener(FLAG_RESOURCE_OVERUSE_IO, uid, packageName, in notifyResourceOveruseStatsLocked()
654 for (ResourceOveruseListenerInfo listenerInfo : systemListenerInfos) { in notifyResourceOveruseStatsLocked()
655 listenerInfo.notifyListener(FLAG_RESOURCE_OVERUSE_IO, uid, packageName, in notifyResourceOveruseStatsLocked()
753 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in addResourceOveruseListenerLocked()
754 if (listenerInfo.listener.asBinder() == binder) { in addResourceOveruseListenerLocked()
760 ResourceOveruseListenerInfo listenerInfo = new ResourceOveruseListenerInfo(listener, in addResourceOveruseListenerLocked() local
763 listenerInfo.linkToDeath(); in addResourceOveruseListenerLocked()
768 listenerInfos.add(listenerInfo); in addResourceOveruseListenerLocked()
787 for (ResourceOveruseListenerInfo listenerInfo : listenerInfos) { in removeResourceOveruseListenerLocked()
[all …]
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java161 for (ListenerInfo listenerInfo : listeners) { in sendEvent()
165 listenerInfo.mListener.onEvent(events); in sendEvent()