Home
last modified time | relevance | path

Searched refs:UsageEventListener (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/android/app/usage/
DUsageStatsManagerInternal.java364 public interface UsageEventListener { interface in UsageStatsManagerInternal
370 public abstract void registerListener(@NonNull UsageEventListener listener); in registerListener()
373 public abstract void unregisterListener(@NonNull UsageEventListener listener); in unregisterListener()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/
DUsageStatsServiceTest.java113 UsageStatsManagerInternal.UsageEventListener {
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DAppHibernationServiceTest.java47 import android.app.usage.UsageStatsManagerInternal.UsageEventListener;
101 private UsageEventListener mUsageEventListener;
124 private ArgumentCaptor<UsageEventListener> mUsageEventListenerCaptor;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBackgroundInstallControlServiceTest.java41 import android.app.usage.UsageStatsManagerInternal.UsageEventListener;
101 private UsageEventListener mUsageEventListener;
120 private ArgumentCaptor<UsageEventListener> mUsageEventListenerCaptor;
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java42 import android.app.usage.UsageStatsManagerInternal.UsageEventListener;
954 private final UsageEventListener mUsageEventListener = (userId, event) -> {
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java259 private final ArraySet<UsageStatsManagerInternal.UsageEventListener> mUsageEventListeners =
1804 private void registerListener(@NonNull UsageStatsManagerInternal.UsageEventListener listener) { in registerListener()
1814 @NonNull UsageStatsManagerInternal.UsageEventListener listener) { in unregisterListener()
3448 public void registerListener(@NonNull UsageEventListener listener) { in registerListener()
3456 public void unregisterListener(@NonNull UsageEventListener listener) { in unregisterListener()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java42 import android.app.usage.UsageStatsManagerInternal.UsageEventListener;
2589 final class UsageEventTracker implements UsageEventListener {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java141 private UsageStatsManagerInternal.UsageEventListener mUsageEventListener;
247 ArgumentCaptor<UsageStatsManagerInternal.UsageEventListener> ueListenerCaptor = in setUp()
248 ArgumentCaptor.forClass(UsageStatsManagerInternal.UsageEventListener.class); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java155 implements AppStandbyInternal, UsageStatsManagerInternal.UsageEventListener {
/frameworks/base/services/
Dart-wear-profile24068 …$LocalService;->registerListener(Landroid/app/usage/UsageStatsManagerInternal$UsageEventListener;)V
24095 …d/server/usage/UsageStatsService;Landroid/app/usage/UsageStatsManagerInternal$UsageEventListener;)V
24138 …eStatsService;->registerListener(Landroid/app/usage/UsageStatsManagerInternal$UsageEventListener;)V
Dart-profile3297 …ndroid/os/Message;)Z+]Landroid/app/usage/UsageStatsManagerInternal$UsageEventListener;Lcom/android…