Lines Matching refs:Batch
363 final class Batch {
370 Batch() {
376 Batch(Alarm seed) {
592 b.append("Batch{"); b.append(Integer.toHexString(this.hashCode()));
605 static class BatchTimeOrder implements Comparator<Batch> {
606 public int compare(Batch b1, Batch b2) {
685 final ArrayList<Batch> mAlarmBatches = new ArrayList<>();
723 static boolean addBatchLocked(ArrayList<Batch> list, Batch newBatch) {
736 Batch b = mAlarmBatches.get(i);
752 ArrayList<Batch> oldSet = (ArrayList<Batch>) mAlarmBatches.clone();
758 Batch batch = oldSet.get(batchNum);
1161 Batch batch = new Batch(a);
1164 Batch batch = mAlarmBatches.get(whichBatch);
1437 for (Batch b : mAlarmBatches) {
1656 Batch bz = mAlarmBatches.get(iz);
1657 pw.append("Batch "); pw.print(iz); pw.append(": "); pw.println(bz);
1670 Batch b = mAlarmBatches.get(i);
1675 Slog.e(TAG, "CONSISTENCY FAILURE: Batch " + i + " is out of order");
1685 private Batch findFirstWakeupBatchLocked() {
1688 Batch b = mAlarmBatches.get(i);
1847 final Batch firstWakeup = findFirstWakeupBatchLocked();
1848 final Batch firstBatch = mAlarmBatches.get(0);
1872 Batch b = mAlarmBatches.get(i);
1908 Batch b = mAlarmBatches.get(i);
1935 Batch b = mAlarmBatches.get(i);
1966 Batch b = mAlarmBatches.get(i);
2023 Batch b = mAlarmBatches.get(i);
2107 Batch batch = mAlarmBatches.get(0);
2348 void recordWakeupAlarms(ArrayList<Batch> batches, long nowELAPSED, long nowRTC) {
2351 Batch b = batches.get(nextBatch);