Home
last modified time | relevance | path

Searched refs:AppStateTracker (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DAppStateTracker.java24 public interface AppStateTracker { interface
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DOWNERS2 per-file *AppStateTracker* = file:/apex/jobscheduler/OWNERS
DDeviceIdleControllerTest.java398 LocalServices.removeServiceForTest(AppStateTracker.class); in cleanupDeviceIdleController()
/frameworks/base/core/proto/android/server/
Dappstatetracker.proto26 // Dump from com.android.server.AppStateTracker.
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBackgroundJobsController.java41 import com.android.server.AppStateTracker;
128 LocalServices.getService(AppStateTracker.class)); in BackgroundJobsController()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DBackgroundJobsControllerTest.java56 import com.android.server.AppStateTracker;
120 .when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java170 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);
DActiveServices.java238 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()
DProcessList.java140 import com.android.server.AppStateTracker;
2519 AppStateTracker ast = mService.mServices.mAppStateTracker;
/frameworks/base/core/proto/android/server/alarm/
Dalarmmanagerservice.proto41 // Dump from AppStateTracker.
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java149 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()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java79 public class AppStateTrackerImpl implements AppStateTracker {
DDeviceIdleController.java2595 LocalServices.addService(AppStateTracker.class, mAppStateTracker); in DeviceIdleController()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java83 import com.android.server.AppStateTracker;
167 .when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java173 import com.android.server.AppStateTracker;
452 doReturn(mAppStateTracker).when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java156 import com.android.server.AppStateTracker;
1994 (AppStateTrackerImpl) LocalServices.getService(AppStateTracker.class); in onBootPhase()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java113 import com.android.server.AppStateTracker;
2778 LocalServices.getService(AppStateTracker.class));
/frameworks/base/services/
Dart-profile534 …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/…
Dart-wear-profile1788 …-><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;