Home
last modified time | relevance | path

Searched refs:isRunAnyInBackgroundAppOpsAllowed (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java397 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_1, PACKAGE_1)); in testAll()
398 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_1, PACKAGE_1)); in testAll()
399 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_2, PACKAGE_2)); in testAll()
400 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_2, PACKAGE_2)); in testAll()
410 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_1, PACKAGE_1)); in testAll()
411 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_1, PACKAGE_1)); in testAll()
412 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_2, PACKAGE_2)); in testAll()
413 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_2, PACKAGE_2)); in testAll()
731 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_1, PACKAGE_1)); in loadPersistedAppOps()
732 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_2, PACKAGE_2)); in loadPersistedAppOps()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java99 pw.print(mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(uid, sourcePkg) in dumpControllerStateLocked()
139 mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed( in dumpControllerStateLocked()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java272 if (!sender.isRunAnyInBackgroundAppOpsAllowed(uid, packageName)) { in onRunAnyAppOpsChanged()
1190 public boolean isRunAnyInBackgroundAppOpsAllowed(int uid, @NonNull String packageName) { in isRunAnyInBackgroundAppOpsAllowed() method in AppStateTracker
/frameworks/base/services/
Dart-profile567 PLcom/android/server/AppStateTracker;->isRunAnyInBackgroundAppOpsAllowed(ILjava/lang/String;)Z