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

  /packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
UIProviderTest.java 23 packAndUnpackLastSyncResult(UIProvider.SyncStatus.NO_SYNC,
25 packAndUnpackLastSyncResult(UIProvider.SyncStatus.NO_SYNC,
27 packAndUnpackLastSyncResult(UIProvider.SyncStatus.USER_REFRESH,
29 packAndUnpackLastSyncResult(UIProvider.SyncStatus.USER_REFRESH,
31 packAndUnpackLastSyncResult(UIProvider.SyncStatus.BACKGROUND_SYNC,
33 packAndUnpackLastSyncResult(UIProvider.SyncStatus.BACKGROUND_SYNC,
37 private void packAndUnpackLastSyncResult(int syncStatus, int lastSyncResult) {
38 final int value = UIProvider.createSyncValue(syncStatus, lastSyncResult);
40 assertEquals(syncStatus, UIProvider.getStatusFromLastSyncResult(value));
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
EmailServiceStatus.java 109 private static void syncStatus(final ContentResolver cr, final Bundle syncExtras,
144 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
  /packages/apps/Email/provider_src/com/android/email/service/
PopImapSyncAdapterService.java 125 final int syncStatus = uiRefresh ? EmailContent.SYNC_STATUS_USER :
127 values.put(Mailbox.UI_SYNC_STATUS, syncStatus);
136 lastSyncResult = UIProvider.createSyncValue(syncStatus,
156 lastSyncResult = UIProvider.createSyncValue(syncStatus,
163 lastSyncResult = UIProvider.createSyncValue(syncStatus,
170 lastSyncResult = UIProvider.createSyncValue(syncStatus,
177 lastSyncResult = UIProvider.createSyncValue(syncStatus,
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 32 import com.android.mail.providers.UIProvider.SyncStatus;
164 public final int syncStatus;
284 json.put(AccountColumns.SYNC_STATUS, syncStatus);
412 syncStatus = json.optInt(AccountColumns.SYNC_STATUS);
487 syncStatus = cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.SYNC_STATUS));
573 return (syncStatus & SyncStatus.INITIAL_SYNC_NEEDED) == SyncStatus.INITIAL_SYNC_NEEDED;
577 return (syncStatus & SyncStatus.ACCOUNT_INITIALIZATION_REQUIRED) =
    [all...]
Folder.java 141 public int syncStatus;
147 * requestCode is a value from: {@link UIProvider.SyncStatus},
290 public Builder setSyncStatus(final int syncStatus) {
291 mSyncStatus = syncStatus;
342 int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus,
359 this.syncStatus = syncStatus;
398 syncStatus = cursor.getInt(UIProvider.FOLDER_SYNC_STATUS_COLUMN);
456 syncStatus = in.readInt();
492 dest.writeInt(syncStatus);
    [all...]
UIProvider.java 46 public static final class SyncStatus {
83 public static boolean isSyncInProgress(int syncStatus) {
84 return 0 != (syncStatus & (BACKGROUND_SYNC |
127 * @param syncStatus {@link SyncStatus} value describing the reason for 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}
145 * @param lastSyncValue value containing the {@link SyncStatus} and {@link LastSyncResult}
146 * @return the {@link SyncStatus} within the <code>lastSyncValue</code
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
WaitFragment.java 34 import com.android.mail.providers.UIProvider.SyncStatus;
87 && (mAccount.syncStatus & SyncStatus.MANUAL_SYNC_REQUIRED)
88 == SyncStatus.MANUAL_SYNC_REQUIRED) {
AbstractActivityController.java     [all...]

Completed in 978 milliseconds