OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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/provider/
RefreshStatusMonitor.java
114
mMailboxId, UIProvider.
LastSyncResult
.STORAGE_ERROR);
121
mMailboxId, UIProvider.
LastSyncResult
.CONNECTION_ERROR);
148
mMailboxId, UIProvider.
LastSyncResult
.SUCCESS);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
EmailContent.java
102
public static final int LAST_SYNC_RESULT_SUCCESS = UIProvider.
LastSyncResult
.SUCCESS;
103
public static final int LAST_SYNC_RESULT_AUTH_ERROR = UIProvider.
LastSyncResult
.AUTH_ERROR;
104
public static final int LAST_SYNC_RESULT_SERVER_ERROR = UIProvider.
LastSyncResult
.SERVER_ERROR;
106
UIProvider.
LastSyncResult
.SECURITY_ERROR;
108
UIProvider.
LastSyncResult
.CONNECTION_ERROR;
110
UIProvider.
LastSyncResult
.INTERNAL_ERROR;
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractActivityController.java
[
all
...]
/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
...]
Completed in 514 milliseconds