Home | History | Annotate | Download | only in adapter

Lines Matching defs:syncKey

263      * We get our SyncKey from CalendarProvider.  If there's not one, we set it to "0" (the reset
277 // Initialize the SyncKey
281 String syncKey = new String(data);
282 userLog("SyncKey retrieved as ", syncKey, " from CalendarProvider");
283 return syncKey;
286 throw new IOException("Can't get SyncKey from CalendarProvider");
292 * We only need to set this when we're forced to make the SyncKey "0" (a reset). In all other
293 * cases, the SyncKey is set within Calendar
296 public void setSyncKey(String syncKey, boolean inCommands) throws IOException {
298 if ("0".equals(syncKey) || !inCommands) {
306 syncKey.getBytes());
307 userLog("SyncKey set to ", syncKey, " in CalendarProvider");
309 throw new IOException("Can't set SyncKey in CalendarProvider");
312 mMailbox.mSyncKey = syncKey;
1210 userLog("Calendar SyncKey saved as: ", mMailbox.mSyncKey);
1211 // Save the syncKey here, using the Helper provider by Calendar provider