Lines Matching refs:batch
397 // narrows the batch if necessary; presumes that canHold(alarm) is true
453 // commit the new batch bounds
492 // commit the new batch bounds
528 // commit the new batch bounds
559 // commit the new batch bounds
722 // returns true if the batch was added at the head
732 // Return the index of the matching batch, or -1 if none found.
758 Batch batch = oldSet.get(batchNum);
759 final int N = batch.size();
761 reAddAlarmLocked(batch.get(i), nowElapsed, doValidate);
1161 Batch batch = new Batch(a);
1162 addBatchLocked(mAlarmBatches, batch);
1164 Batch batch = mAlarmBatches.get(whichBatch);
1165 if (batch.add(a)) {
1166 // The start time of this batch advanced, so batch ordering may
1169 addBatchLocked(mAlarmBatches, batch);
1838 // Schedule the next upcoming wakeup alarm. If there is a deliverable batch
2099 // start of the list until we either empty it or hit a batch
2102 Batch batch = mAlarmBatches.get(0);
2103 if (batch.start > nowELAPSED) {
2109 // with delivery of this current batch
2112 final int N = batch.size();
2114 Alarm alarm = batch.get(i);