Lines Matching defs:period
91 /** Percentage of period that is flex by default, if no flex is set. */
935 public void updateOrAddPeriodicSync(EndPoint info, long period, long flextime, Bundle extras) {
938 + " -> period " + period + ", flex " + flextime + ", extras "
942 if (period <= 0) {
943 Log.e(TAG, "period < 0, should never happen in updateOrAddPeriodicSync");
954 period,
968 if (period == syncInfo.period &&
2112 String periodValue = parser.getAttributeValue(null, "period");
2114 final long period;
2117 period = Long.parseLong(periodValue);
2119 Log.e(TAG, "error parsing the period of a periodic sync", e);
2122 Log.e(TAG, "the period of a periodic sync is null", e);
2128 flextime = calculateDefaultFlexTime(period);
2133 flextime = calculateDefaultFlexTime(period);
2134 Log.d(TAG, "No flex time specified for this sync, using a default. period: "
2135 + period + " flex: " + flextime);
2143 period, flextime);
2232 out.attribute(null, "period", Long.toString(periodicSync.period));