/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | PingParser.java | 30 * If there are folders with changes, add the serverId of those folders to the syncList array. 56 String serverId = getValue(); 57 syncList.add(serverId); 58 mService.userLog("Changes found in: ", serverId);
|
H A D | FolderSyncParser.java | 214 private Cursor getServerIdCursor(String serverId) { argument 215 mBindArguments[0] = serverId; 225 String serverId = getValue(); 226 // Find the mailbox in this account with the given serverId 227 Cursor c = getServerIdCursor(serverId); 230 userLog("Deleting ", serverId); 307 for (String serverId: mSyncOptionsMap.keySet()) { 308 SyncOptions options = mSyncOptionsMap.get(serverId); 311 mBindArguments[0] = serverId; 323 String serverId [all...] |
H A D | CalendarSyncAdapter.java | 417 public void addEvent(CalendarOperations ops, String serverId, boolean update) argument 421 cv.put(Events._SYNC_ID, serverId); 448 Cursor c = getServerIdCursor(serverId); 472 userLog("Changing (delete/add) event ", serverId); 473 deleteOffset = ops.newDelete(id, serverId); 859 // This column is the key that links the exception to the serverId 1119 String serverId = null; 1123 serverId = getValue(); 1126 addEvent(ops, serverId, false); 1134 private Cursor getServerIdCursor(String serverId) { argument 1373 newDelete(long id, String serverId) argument [all...] |
H A D | EmailSyncAdapter.java | 195 final String serverId; field in class:EmailSyncAdapter.FetchRequest 199 serverId = _serverId; 921 private Cursor getServerIdCursor(String serverId, String[] projection) { argument 922 mBindArguments[0] = serverId; 928 userLog("Multiple messages with the same serverId/mailbox: " + serverId); 938 String serverId = getValue(); 939 // Find the message in this mailbox with the given serverId 940 Cursor c = getServerIdCursor(serverId, MESSAGE_ID_SUBJECT_PROJECTION); 945 userLog("Deleting ", serverId [all...] |
H A D | ContactsSyncAdapter.java | 428 public void addData(String serverId, ContactOperations ops, Entity entity) argument 453 ops.newContact(serverId); 749 String serverId = null; 753 serverId = getValue(); 756 addData(serverId, ops, null); 764 private Cursor getServerIdCursor(String serverId) { argument 765 mBindArgument[0] = serverId; 780 String serverId = getValue(); 781 // Find the message in this mailbox with the given serverId 782 Cursor c = getServerIdCursor(serverId); 1033 newContact(String serverId) argument [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
H A D | MailboxUtilities.java | 64 // An example of a mailbox with a null serverId would be an Outbox that we create locally 87 Log.w(Logging.LOG_TAG, "Mailbox with null serverId: " + 101 * @param serverId the server id of an individual mailbox 104 String serverId) { 107 new String[] {serverId}, null); 103 setFlagsAndChildrensParentKey(Context context, String accountSelector, String serverId) argument
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EasAccountService.java | 803 // syncList has the serverId's of the mailboxes... 806 for (String serverId: mPingChangeList) { 807 mBindArguments[1] = serverId; 835 errorMap.remove(serverId); 840 Integer failures = errorMap.get(serverId); 843 errorMap.put(serverId, 1); 850 errorMap.put(serverId, failures + 1);
|
H A D | ExchangeService.java | 1672 String serverId = m.mServerId; 1673 if (m.mAccountKey == accountId && serverId != null &&
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
H A D | FolderSyncParserTests.java | 117 private Mailbox setupBoxSync(int interval, int lookback, String serverId) { argument 123 if (serverId != null) { 124 box.mServerId = serverId; 126 box.mServerId = "serverId-" + mCreationTime + '-' + mServerIdCount++;
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | FolderSyncParserTests.java | 117 private Mailbox setupBoxSync(int interval, int lookback, String serverId) { argument 123 if (serverId != null) { 124 box.mServerId = serverId; 126 box.mServerId = "serverId-" + mCreationTime + '-' + mServerIdCount++;
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
H A D | MailboxTests.java | 500 private Mailbox buildTestMailbox(String serverId) { argument 501 return buildTestMailbox(serverId, null); 504 private Mailbox buildTestMailbox(String serverId, String name) { argument 508 testMailbox.mServerId = serverId; 565 Mailbox original = buildTestMailbox("serverId", "display name for mailbox");
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
H A D | MailboxUtilitiesTests.java | 120 String serverId = mailbox.mServerId; 122 serverId); 540 // Initial configuration for this test: box1 has no serverId, box2 is a child of box1 557 // has no serverId (presumably, this case can't happen, because a child stores the parent's 558 // serverId, but it's nice to know it's handled properly). Box 1 should have no parent. 630 * accounts that happen to have the same serverId 655 // Note that the three serverId's are identical to those in acct1; we want to make sure 705 // The specific test: Change box1 to have a different serverId
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MailboxUtilitiesTests.java | 120 String serverId = mailbox.mServerId; 122 serverId); 540 // Initial configuration for this test: box1 has no serverId, box2 is a child of box1 557 // has no serverId (presumably, this case can't happen, because a child stores the parent's 558 // serverId, but it's nice to know it's handled properly). Box 1 should have no parent. 630 * accounts that happen to have the same serverId 655 // Note that the three serverId's are identical to those in acct1; we want to make sure 705 // The specific test: Change box1 to have a different serverId
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
H A D | ImapStoreUnitTests.java | 2305 private ImapFolder createFolder(long id, String displayName, String serverId, char delimiter) { argument 2306 ImapFolder folder = new ImapFolder(null, serverId); 2310 mailbox.mServerId = serverId;
|