Searched refs:AppStateTracker (Results 1 – 19 of 19) sorted by relevance
24 public interface AppStateTracker { interface
2 per-file *AppStateTracker* = file:/apex/jobscheduler/OWNERS
398 LocalServices.removeServiceForTest(AppStateTracker.class); in cleanupDeviceIdleController()
26 // Dump from com.android.server.AppStateTracker.
41 import com.android.server.AppStateTracker;128 LocalServices.getService(AppStateTracker.class)); in BackgroundJobsController()
56 import com.android.server.AppStateTracker;120 .when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
170 import com.android.server.AppStateTracker;1430 private final AppStateTracker.BackgroundRestrictedAppListener mBackgroundRestrictionListener =1431 new AppStateTracker.BackgroundRestrictedAppListener() {3232 private AppStateTracker mAppStateTracker;3303 AppStateTracker getAppStateTracker() {3305 mAppStateTracker = LocalServices.getService(AppStateTracker.class);
238 import com.android.server.AppStateTracker;567 AppStateTracker mAppStateTracker;573 class BackgroundRestrictedListener implements AppStateTracker.BackgroundRestrictedAppListener {796 private AppStateTracker getAppStateTracker() { in getAppStateTracker()798 mAppStateTracker = LocalServices.getService(AppStateTracker.class); in getAppStateTracker()863 final AppStateTracker appStateTracker = getAppStateTracker(); in appRestrictedAnyInBackground()
140 import com.android.server.AppStateTracker;2519 AppStateTracker ast = mService.mServices.mAppStateTracker;
41 // Dump from AppStateTracker.
149 import com.android.server.AppStateTracker;285 @Mock private AppStateTracker mAppStateTracker;306 @Captor private ArgumentCaptor<AppStateTracker.BackgroundRestrictedAppListener> mFasListenerCap;307 private AppStateTracker.BackgroundRestrictedAppListener mFasListener;3277 AppStateTracker getAppStateTracker() { in getAppStateTracker()
79 public class AppStateTrackerImpl implements AppStateTracker {
2595 LocalServices.addService(AppStateTracker.class, mAppStateTracker); in DeviceIdleController()
83 import com.android.server.AppStateTracker;167 .when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
173 import com.android.server.AppStateTracker;452 doReturn(mAppStateTracker).when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
156 import com.android.server.AppStateTracker;1994 (AppStateTrackerImpl) LocalServices.getService(AppStateTracker.class); in onBootPhase()
113 import com.android.server.AppStateTracker;2778 LocalServices.getService(AppStateTracker.class));
534 …vel(IILjava/lang/String;IZZ)Landroid/util/Pair;+]Lcom/android/server/AppStateTracker;Lcom/android/…952 …ildZygoteProcess;Landroid/os/ChildZygoteProcess;]Lcom/android/server/AppStateTracker;Lcom/android/…
1788 …-><init>(Lcom/android/server/AppStateTrackerImpl;Lcom/android/server/AppStateTracker$BackgroundRes…1842 …TrackerImpl;->addBackgroundRestrictedAppListener(Lcom/android/server/AppStateTracker$BackgroundRes…4229 HPLcom/android/server/am/ActiveServices;->getAppStateTracker()Lcom/android/server/AppStateTracker;5210 …ver/am/AppRestrictionController$Injector;->getAppStateTracker()Lcom/android/server/AppStateTracker;