OSDN Git Service

SyncManager: detect suspicious periodic sync removal.
[android-x86/frameworks-base.git] / services / core / java / com / android / server / job / JobSchedulerInternal.java
index bc6bd50..d52b3b7 100644 (file)
@@ -37,4 +37,9 @@ public interface JobSchedulerInternal {
     void addBackingUpUid(int uid);
     void removeBackingUpUid(int uid);
     void clearAllBackingUpUids();
+
+    /**
+     * @return the total number of jobs across all UIDs.
+     */
+    int countJobs();
 }