Lines Matching refs:lastSyncTime
332 private long lastSyncTime = 0;
540 * read from the file, lastSyncTime will be updated. If prefsCache was
543 * empty, modifiable Map, and lastSyncTime remain zero.
552 // assert lastSyncTime == 0;
559 * succeeds, lastSyncTime will be updated (the new value will typically
563 * lastSyncTime are unaffected by the call.
594 lastSyncTime = newLastSyncTime;
605 * succeeds, lastSyncTime will be updated (the new value will correspond
609 * and lastSyncTime will be unaffected by this call. This call will
787 if (lastModifiedTime != lastSyncTime) {
792 lastSyncTime = lastModifiedTime;
794 } else if (lastSyncTime != 0 && !dir.exists()) {
805 * be a disaster, as lastSyncTime is allowed to lag.
808 /* If lastSyncTime did not change, or went back
810 * lastSyncTime always monotonically encreases in the
813 if (lastSyncTime <= lastModifiedTime) {
814 lastSyncTime = lastModifiedTime + 1000;
815 prefsFile.setLastModified(lastSyncTime);