Searched refs:syncStatus (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Email/provider_src/com/android/email/service/ |
D | PopImapSyncAdapterService.java | 125 final int syncStatus = uiRefresh ? EmailContent.SYNC_STATUS_USER : in sync() local 127 values.put(Mailbox.UI_SYNC_STATUS, syncStatus); in sync() 136 lastSyncResult = UIProvider.createSyncValue(syncStatus, in sync() 156 lastSyncResult = UIProvider.createSyncValue(syncStatus, in sync() 163 lastSyncResult = UIProvider.createSyncValue(syncStatus, in sync() 170 lastSyncResult = UIProvider.createSyncValue(syncStatus, in sync() 177 lastSyncResult = UIProvider.createSyncValue(syncStatus, in sync()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
D | UIProviderTest.java | 37 private void packAndUnpackLastSyncResult(int syncStatus, int lastSyncResult) { in packAndUnpackLastSyncResult() argument 38 final int value = UIProvider.createSyncValue(syncStatus, lastSyncResult); in packAndUnpackLastSyncResult() 40 assertEquals(syncStatus, UIProvider.getStatusFromLastSyncResult(value)); in packAndUnpackLastSyncResult()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 141 public int syncStatus; field in Folder 290 public Builder setSyncStatus(final int syncStatus) { in setSyncStatus() argument 291 mSyncStatus = syncStatus; in setSyncStatus() 342 int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, in Folder() argument 359 this.syncStatus = syncStatus; in Folder() 398 syncStatus = cursor.getInt(UIProvider.FOLDER_SYNC_STATUS_COLUMN); in Folder() 456 syncStatus = in.readInt(); in Folder() 492 dest.writeInt(syncStatus); in writeToParcel() 612 return UIProvider.SyncStatus.isSyncInProgress(syncStatus); in isSyncInProgress() 910 f.syncStatus = Integer.parseInt(split[index++]); in fromString()
|
D | Account.java | 164 public final int syncStatus; field in Account 284 json.put(AccountColumns.SYNC_STATUS, syncStatus); in serialize() 412 syncStatus = json.optInt(AccountColumns.SYNC_STATUS); in Account() 487 syncStatus = cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.SYNC_STATUS)); in Account() 573 return (syncStatus & SyncStatus.INITIAL_SYNC_NEEDED) == SyncStatus.INITIAL_SYNC_NEEDED; in isAccountSyncRequired() 577 return (syncStatus & SyncStatus.ACCOUNT_INITIALIZATION_REQUIRED) == in isAccountInitializationRequired() 615 syncStatus = in.readInt(); in Account() 664 dest.writeInt(syncStatus); in writeToParcel() 731 (syncStatus == other.syncStatus) && in equals() 761 return ((this.syncStatus != other.syncStatus) in settingsDiffer() [all …]
|
D | UIProvider.java | 83 public static boolean isSyncInProgress(int syncStatus) { in isSyncInProgress() argument 84 return 0 != (syncStatus & (BACKGROUND_SYNC | in isSyncInProgress() 132 public static int createSyncValue(int syncStatus, int lastSyncResult) { in createSyncValue() argument 133 return lastSyncResult | (syncStatus << 4); in createSyncValue()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceStatus.java | 109 private static void syncStatus(final ContentResolver cr, final Bundle syncExtras, in syncStatus() method in EmailServiceStatus 144 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress, in syncMailboxStatus()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | WaitFragment.java | 87 && (mAccount.syncStatus & SyncStatus.MANUAL_SYNC_REQUIRED) in getContent()
|
D | AbstractActivityController.java | 3986 final int syncStatus = UIProvider.getStatusFromLastSyncResult(lastSyncResult); 3991 final boolean showToast = (syncStatus & UIProvider.SyncStatus.USER_REFRESH) != 0; 3995 || (syncStatus & UIProvider.SyncStatus.BACKGROUND_SYNC) != 0);
|