public String[] getMobileIfaces() {
return mStats.getMobileIfaces().clone();
}
+
+ @Override
+ public void noteJobsDeferred(int uid, int numDeferred, long sinceLast) {
+ if (DBG) Slog.d(TAG, "Jobs deferred " + uid + ": " + numDeferred + " " + sinceLast);
+ BatteryStatsService.this.noteJobsDeferred(uid, numDeferred, sinceLast);
+ }
}
private static void awaitUninterruptibly(Future<?> future) {
}
}
+ void noteJobsDeferred(int uid, int numDeferred, long sinceLast) {
+ // No need to enforce calling permission, as it is called from an internal interface
+ synchronized (mStats) {
+ mStats.noteJobsDeferredLocked(uid, numDeferred, sinceLast);
+ }
+ }
+
public void noteWakupAlarm(String name, int uid, WorkSource workSource, String tag) {
enforceCallingPermission();
synchronized (mStats) {