Home | History | Annotate | Download | only in adapter

Lines Matching refs:syncKey

220      * We get our SyncKey from CalendarProvider.  If there's not one, we set it to "0" (the reset
232 // Initialize the SyncKey
236 String syncKey = new String(data);
237 userLog("SyncKey retrieved as ", syncKey, " from CalendarProvider");
238 return syncKey;
241 throw new IOException("Can't get SyncKey from CalendarProvider");
247 * We only need to set this when we're forced to make the SyncKey "0" (a reset). In all other
248 * cases, the SyncKey is set within Calendar
251 public void setSyncKey(String syncKey, boolean inCommands) throws IOException {
253 if ("0".equals(syncKey) || !inCommands) {
259 syncKey.getBytes());
260 userLog("SyncKey set to ", syncKey, " in CalendarProvider");
262 throw new IOException("Can't set SyncKey in CalendarProvider");
265 mMailbox.mSyncKey = syncKey;
1135 userLog("Calendar SyncKey saved as: ", mMailbox.mSyncKey);
1136 // Save the syncKey here, using the Helper provider by Calendar provider