HomeSort by relevance Sort by last modified time
    Searched refs:lastSyncResult (Results 1 - 6 of 6) sorted by null

  /packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
UIProviderTest.java 24 UIProvider.LastSyncResult.STORAGE_ERROR);
26 UIProvider.LastSyncResult.SECURITY_ERROR);
28 UIProvider.LastSyncResult.SUCCESS);
30 UIProvider.LastSyncResult.AUTH_ERROR);
32 UIProvider.LastSyncResult.SUCCESS);
34 UIProvider.LastSyncResult.CONNECTION_ERROR);
37 private void packAndUnpackLastSyncResult(int syncStatus, int lastSyncResult) {
38 final int value = UIProvider.createSyncValue(syncStatus, lastSyncResult);
41 assertEquals(lastSyncResult, UIProvider.getResultFromLastSyncResult(value));
  /packages/apps/Email/provider_src/com/android/email/service/
PopImapSyncAdapterService.java 130 int lastSyncResult;
136 lastSyncResult = UIProvider.createSyncValue(syncStatus,
139 EmailServiceStatus.IN_PROGRESS, 0, lastSyncResult);
149 lastSyncResult);
156 lastSyncResult = UIProvider.createSyncValue(syncStatus,
159 EmailServiceStatus.FAILURE, 0, lastSyncResult);
163 lastSyncResult = UIProvider.createSyncValue(syncStatus,
166 EmailServiceStatus.FAILURE, 0, lastSyncResult);
170 lastSyncResult = UIProvider.createSyncValue(syncStatus,
173 EmailServiceStatus.FAILURE, 0, lastSyncResult);
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasFullSyncOperation.java 256 final int lastSyncResult = UIProvider.createSyncValue(syncStatus,
257 UIProvider.LastSyncResult.SUCCESS);
259 mailbox.mId, EmailServiceStatus.IN_PROGRESS, 0, lastSyncResult);
268 final int lastSyncResult = UIProvider.createSyncValue(syncStatus, uiSyncResult);
270 mailbox.mId, EmailServiceStatus.SUCCESS, 0, lastSyncResult);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Folder.java 146 * syncResult is a value from {@link UIProvider.LastSyncResult}
149 public int lastSyncResult;
294 public Builder setLastSyncResult(final int lastSyncResult) {
295 mLastSyncResult = lastSyncResult;
343 int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor,
360 this.lastSyncResult = lastSyncResult;
399 lastSyncResult = cursor.getInt(UIProvider.FOLDER_LAST_SYNC_RESULT_COLUMN);
457 lastSyncResult = in.readInt();
493 dest.writeInt(lastSyncResult);
    [all...]
UIProvider.java 93 public static final class LastSyncResult {
118 default: throw new IllegalArgumentException("Invalid LastSyncResult: " + result);
128 * @param lastSyncResult {@link LastSyncResult} value describing the result of the sync
132 public static int createSyncValue(int syncStatus, int lastSyncResult) {
133 return lastSyncResult | (syncStatus << 4);
137 * @param lastSyncValue value containing the {@link SyncStatus} and {@link LastSyncResult}
138 * @return the {@link LastSyncResult} within the <code>lastSyncValue</code>
145 * @param lastSyncValue value containing the {@link SyncStatus} and {@link LastSyncResult}
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractActivityController.java     [all...]

Completed in 669 milliseconds