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.java266 if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ false)) { in onRunAnyAppOpsChanged()
268 } else if (!sender.areAlarmsRestricted(uid, packageName, /*allowWhileIdle=*/ true)){ in onRunAnyAppOpsChanged()
1073 public boolean areAlarmsRestricted(int uid, @NonNull String packageName, in areAlarmsRestricted() method in AppStateTracker
DAlarmManagerService.java3460 mAppStateTracker.areAlarmsRestricted(sourceUid, sourcePackage, in isBackgroundRestricted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java771 when(mAppStateTracker.areAlarmsRestricted(TEST_CALLING_UID, TEST_CALLING_PACKAGE, in testAlarmRestrictedInBatterSaver()
DAppStateTrackerTest.java313 instance.areAlarmsRestricted(uid, packageName, exemptFromBatterySaver)); in areRestricted()
/frameworks/base/services/
Dart-profile1346 HPLcom/android/server/AppStateTracker;->areAlarmsRestricted(ILjava/lang/String;Z)Z