Searched refs:mUsageEventListener (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/ |
D | AppHibernationServiceTest.java | 90 private UsageEventListener mUsageEventListener; field in AppHibernationServiceTest 126 mUsageEventListener = mUsageEventListenerCaptor.getValue(); in setUp() 383 mUsageEventListener.onUsageEvent(USER_ID_1, event); in generateUsageEvent()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationService.java | 162 mInjector.getUsageStatsManagerInternal().registerListener(mUsageEventListener); in AppHibernationService() 825 private final UsageEventListener mUsageEventListener = (userId, event) -> { field in AppHibernationService
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 136 private UsageStatsManagerInternal.UsageEventListener mUsageEventListener; field in QuotaControllerTest 248 mUsageEventListener = ueListenerCaptor.getValue(); in setUp() 5672 mUsageEventListener.onUsageEvent(SOURCE_USER_ID + 10, event); in testEJDebitTallying() 5678 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying() 5689 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying() 5704 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying() 5756 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying_RewardExceedDebits_NoActiveSession() 5770 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying_RewardExceedDebits_NoActiveSession() 5818 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying_RewardExceedDebits_ActiveSession() 5833 mUsageEventListener.onUsageEvent(SOURCE_USER_ID, event); in testEJDebitTallying_RewardExceedDebits_ActiveSession() [all …]
|