Lines Matching full:windowlength
522 maxElapsed = (a.windowLength > 0)
523 ? (whenElapsed + a.windowLength)
526 setImplLocked(a.type, a.when, whenElapsed, a.windowLength, maxElapsed,
689 void setImpl(int type, long triggerAtTime, long windowLength, long interval,
699 if (windowLength > AlarmManager.INTERVAL_HALF_DAY) {
700 Slog.w(TAG, "Window length " + windowLength
702 windowLength = AlarmManager.INTERVAL_HOUR;
733 if (windowLength == AlarmManager.WINDOW_EXACT) {
735 } else if (windowLength < 0) {
738 maxElapsed = triggerElapsed + windowLength;
746 + " triggerAtTime=" + triggerAtTime + " win=" + windowLength
750 setImplLocked(type, triggerAtTime, triggerElapsed, windowLength, maxElapsed,
755 private void setImplLocked(int type, long when, long whenElapsed, long windowLength,
759 Alarm a = new Alarm(type, when, whenElapsed, windowLength, maxWhen, interval,
799 public void set(int type, long triggerAtTime, long windowLength, long interval,
808 setImpl(type, triggerAtTime, windowLength, interval, operation,
809 windowLength == AlarmManager.WINDOW_EXACT, workSource, alarmClock);
1446 setImplLocked(alarm.type, alarm.when + delta, nextElapsed, alarm.windowLength,
1503 public long windowLength;
1519 windowLength = _windowLength;
1562 pw.print(prefix); pw.print("window="); pw.print(windowLength);