Home
last modified time | relevance | path

Searched refs:areAlarmsRestricted (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java265 if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ false)) { in onRunAnyAppOpsChanged()
267 } else if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ true)){ in onRunAnyAppOpsChanged()
1069 public boolean areAlarmsRestricted(int uid, @NonNull String packageName, in areAlarmsRestricted() method in AppStateTracker
DAlarmManagerService.java3436 mAppStateTracker.areAlarmsRestricted(sourceUid, sourcePackage, in isBackgroundRestricted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java782 when(mAppStateTracker.areAlarmsRestricted(TEST_CALLING_UID, TEST_CALLING_PACKAGE, in testAlarmRestrictedInBatterSaver()
DAppStateTrackerTest.java313 instance.areAlarmsRestricted(uid, packageName, exemptFromBatterySaver)); in areRestricted()
/frameworks/base/services/
Dart-profile549 HSPLcom/android/server/AppStateTracker;->areAlarmsRestricted(ILjava/lang/String;Z)Z