OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:syncStatus
(Results
1 - 11
of
11
) 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/Exchange/src/com/android/exchange/eas/
EasFullSyncOperation.java
248
final int
syncStatus
= isUserSync ?
250
updateMailbox(mailbox, cv,
syncStatus
);
256
final int lastSyncResult = UIProvider.createSyncValue(
syncStatus
,
268
final int lastSyncResult = UIProvider.createSyncValue(
syncStatus
, uiSyncResult);
343
* @param
syncStatus
The status for the current sync.
346
final int
syncStatus
) {
347
cv.put(Mailbox.UI_SYNC_STATUS,
syncStatus
);
348
if (
syncStatus
== EmailContent.SYNC_STATUS_NONE) {
EasSyncCalendar.java
[
all
...]
/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
...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
FolderSyncParser.java
357
int
syncStatus
= c.getInt(MAILBOX_STATE_SYNC_STATUS);
361
if (
syncStatus
!= UIProvider.
SyncStatus
.INITIAL_SYNC_NEEDED) {
362
syncStatus
= UIProvider.
SyncStatus
.NO_SYNC;
367
syncStatus
));
434
cv.put(MailboxColumns.UI_SYNC_STATUS, UIProvider.
SyncStatus
.INITIAL_SYNC_NEEDED);
436
cv.put(MailboxColumns.UI_SYNC_STATUS, UIProvider.
SyncStatus
.NO_SYNC);
[
all
...]
Completed in 868 milliseconds