Searched refs:AppStateTracker (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 22 import com.android.server.AppStateTracker; 60 final AppStateTracker ast = in isAppActive() 61 LocalServices.getService(AppStateTracker.class); in isAppActive()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 27 import com.android.server.AppStateTracker; 28 import com.android.server.AppStateTracker.Listener; 57 private final AppStateTracker mAppStateTracker; 63 LocalServices.getService(AppStateTracker.class)); in BackgroundJobsController()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 77 public class AppStateTracker { class 261 private void onRunAnyAppOpsChanged(AppStateTracker sender, in onRunAnyAppOpsChanged() 282 private void onUidForegroundStateChanged(AppStateTracker sender, int uid) { in onUidForegroundStateChanged() 289 private void onUidActiveStateChanged(AppStateTracker sender, int uid) { in onUidActiveStateChanged() 302 private void onPowerSaveUnwhitelisted(AppStateTracker sender) { in onPowerSaveUnwhitelisted() 311 private void onPowerSaveWhitelistedChanged(AppStateTracker sender) { in onPowerSaveWhitelistedChanged() 318 private void onTempPowerSaveWhitelistChanged(AppStateTracker sender) { in onTempPowerSaveWhitelistChanged() 331 private void onExemptChanged(AppStateTracker sender) { in onExemptChanged() 340 private void onForceAllAppsStandbyChanged(AppStateTracker sender) { in onForceAllAppsStandbyChanged() 404 public AppStateTracker(Context context, Looper looper) { in AppStateTracker() method in AppStateTracker [all …]
|
D | DeviceIdleController.java | 290 private final AppStateTracker mAppStateTracker; 1717 AppStateTracker getAppStateTracker(Context ctx, Looper looper) { in getAppStateTracker() 1718 return new AppStateTracker(ctx, looper); in getAppStateTracker() 1791 LocalServices.addService(AppStateTracker.class, mAppStateTracker); in DeviceIdleController()
|
D | AlarmManagerService.java | 100 import com.android.server.AppStateTracker.Listener; 288 private AppStateTracker mAppStateTracker; 1602 mAppStateTracker = LocalServices.getService(AppStateTracker.class); in onBootPhase()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 21 import static com.android.server.AppStateTracker.TARGET_OP; 69 import com.android.server.AppStateTracker.Listener; 101 private class AppStateTrackerTestable extends AppStateTracker { 690 AppStateTracker.TARGET_OP, in loadPersistedAppOps() 698 AppStateTracker.TARGET_OP, in loadPersistedAppOps() 706 AppStateTracker.TARGET_OP, in loadPersistedAppOps() 714 AppStateTracker.TARGET_OP, in loadPersistedAppOps() 1220 expected, AppStateTracker.isAnyAppIdUnwhitelisted(prevArray, newArray)); in checkAnyAppIdUnwhitelisted() 1252 final boolean actual = AppStateTracker.isAnyAppIdUnwhitelisted(array1, array2); in isAnyAppIdUnwhitelisted()
|
D | AlarmManagerServiceTest.java | 119 private AppStateTracker mAppStateTracker; 254 doReturn(mAppStateTracker).when(() -> LocalServices.getService(AppStateTracker.class)); in setUp() 775 final ArgumentCaptor<AppStateTracker.Listener> listenerArgumentCaptor = in testAlarmRestrictedInBatterSaver() 776 ArgumentCaptor.forClass(AppStateTracker.Listener.class); in testAlarmRestrictedInBatterSaver()
|
D | DeviceIdleControllerTest.java | 148 AppStateTracker getAppStateTracker(Context ctx, Looper loop) { in getAppStateTracker() 213 private class AppStateTrackerForTest extends AppStateTracker { 283 LocalServices.removeServiceForTest(AppStateTracker.class); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 53 import com.android.server.AppStateTracker; 104 doReturn(mock(AppStateTracker.class)) in setUp() 105 .when(() -> LocalServices.getService(AppStateTracker.class)); in setUp()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 92 import com.android.server.AppStateTracker; 211 AppStateTracker mAppStateTracker; 1407 LocalServices.getService(AppStateTracker.class)); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 93 import com.android.server.AppStateTracker; 191 class ForcedStandbyListener extends AppStateTracker.Listener { 366 AppStateTracker ast = LocalServices.getService(AppStateTracker.class); in systemServicesReady()
|
/frameworks/base/services/ |
D | art-profile | 257 HSPLcom/android/server/-$$Lambda$AppStateTracker$zzioY8jvEm-1GnJ13CUiQGauPEE;->accept(Ljava/lang/Ob… 444 …Service;->access$1200(Lcom/android/server/AlarmManagerService;)Lcom/android/server/AppStateTracker; 517 HSPLcom/android/server/AppStateTracker$FeatureFlagsObserver;->isForcedAppStandbyEnabled()Z 518 HSPLcom/android/server/AppStateTracker$FeatureFlagsObserver;->isForcedAppStandbyForSmallBatteryEnab… 519 HSPLcom/android/server/AppStateTracker$FeatureFlagsObserver;->register()V 520 HSPLcom/android/server/AppStateTracker$Listener;->onUidForeground(IZ)V 521 HSPLcom/android/server/AppStateTracker$Listener;->unblockAlarmsForUid(I)V 522 HSPLcom/android/server/AppStateTracker$Listener;->unblockAllUnrestrictedAlarms()V 523 HSPLcom/android/server/AppStateTracker$Listener;->updateAllJobs()V 524 HSPLcom/android/server/AppStateTracker$Listener;->updateJobsForUid(IZ)V [all …]
|