Searched refs:mAppStateTracker (Results 1 – 6 of 6) sorted by relevance
57 private final AppStateTracker mAppStateTracker; field in BackgroundJobsController62 mAppStateTracker = Preconditions.checkNotNull( in BackgroundJobsController()64 mAppStateTracker.addListener(mForceAppStandbyListener); in BackgroundJobsController()80 mAppStateTracker.dump(pw); in dumpControllerStateLocked()90 pw.print(mAppStateTracker.isUidActive(uid) ? " active" : " idle"); in dumpControllerStateLocked()91 if (mAppStateTracker.isUidPowerSaveWhitelisted(uid) || in dumpControllerStateLocked()92 mAppStateTracker.isUidTempPowerSaveWhitelisted(uid)) { in dumpControllerStateLocked()99 pw.print(mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(uid, sourcePkg) in dumpControllerStateLocked()117 mAppStateTracker.dumpProto(proto, in dumpControllerStateLocked()132 mAppStateTracker.isUidActive(sourceUid)); in dumpControllerStateLocked()[all …]
287 private AppStateTracker mAppStateTracker; field in AlarmManagerService1600 mAppStateTracker = LocalServices.getService(AppStateTracker.class); in onBootPhase()1601 mAppStateTracker.addListener(mForceAppStandbyListener); in onBootPhase()2105 || ((mAppStateTracker != null)2106 && mAppStateTracker.isUidPowerSaveUserWhitelisted(callingUid)))) {2199 if (mAppStateTracker != null) { in dumpImpl()2200 mAppStateTracker.dump(pw, " "); in dumpImpl()2603 if (mAppStateTracker != null) { in dumpProto()2604 mAppStateTracker.dumpProto(proto, in dumpProto()3435 return (mAppStateTracker != null) && in isBackgroundRestricted()[all …]
290 private final AppStateTracker mAppStateTracker; field in DeviceIdleController1964 mAppStateTracker = mInjector.getAppStateTracker(context, FgThread.get().getLooper()); in DeviceIdleController()1965 LocalServices.addService(AppStateTracker.class, mAppStateTracker); in DeviceIdleController()2096 mAppStateTracker.onSystemServicesReady(); in onBootPhase()3705 mAppStateTracker.setPowerSaveWhitelistAppIds( in passWhiteListsToForceAppStandbyTrackerLocked()
121 private AppStateTracker mAppStateTracker; field in AlarmManagerServiceTest255 doReturn(mAppStateTracker).when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()779 verify(mAppStateTracker).addListener(listenerArgumentCaptor.capture()); in testAlarmRestrictedInBatterSaver()782 when(mAppStateTracker.areAlarmsRestricted(TEST_CALLING_UID, TEST_CALLING_PACKAGE, in testAlarmRestrictedInBatterSaver()
113 private AppStateTrackerForTest mAppStateTracker; field in DeviceIdleControllerTest163 return mAppStateTracker; in getAppStateTracker()310 mAppStateTracker = new AppStateTrackerForTest(getContext(), Looper.getMainLooper()); in setUp()
211 AppStateTracker mAppStateTracker; field in JobSchedulerService990 return mAppStateTracker.isUidActiveSynced(uid); in isUidActive()1406 mAppStateTracker = Preconditions.checkNotNull( in onBootPhase()