/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSettings.java | 19 import android.content.SyncResult; 52 public boolean sendDeviceInformation(final SyncResult syncResult) { 53 return performOperation(syncResult) == RESULT_OK; 71 protected int handleResponse(final EasResponse response, final SyncResult syncResult)
|
EasOperation.java | 23 import android.content.SyncResult; 56 * a request, handling common errors, and setting fields on the {@link SyncResult} if there is one. 66 * whether it needs a {@link SyncResult} parameter, and what the proper name for the "doWork" 168 * @param syncResult If this operation is a sync, the {@link SyncResult} object that should 172 protected final int performOperation(final SyncResult syncResult) { 197 if (syncResult != null) { 198 ++syncResult.stats.numIoExceptions; 204 if (syncResult != null) [all...] |
EasProvision.java | 20 import android.content.SyncResult; 112 private int performInitialRequest(final SyncResult syncResult) { 114 return performOperation(syncResult); 117 private void performAckRequestForWipe(final SyncResult syncResult) { 119 performOperation(syncResult); 122 private int performAckRequest(final SyncResult syncResult, final boolean isPartial) { 125 return performOperation(syncResult); [all...] |
EasOptions.java | 19 import android.content.SyncResult; 56 * @param syncResult The {@link SyncResult} to use for this operation. 59 public int getProtocolVersionFromServer(final SyncResult syncResult) { 60 return performOperation(syncResult); 85 protected int handleResponse(final EasResponse response, final SyncResult syncResult) {
|
EasFolderSync.java | 20 import android.content.SyncResult; 97 * @param syncResult The {@link SyncResult} object for this sync operation. 100 public int doFolderSync(final SyncResult syncResult) { 105 return performOperation(syncResult); 157 protected int handleResponse(final EasResponse response, final SyncResult syncResult) 172 protected boolean handleProvisionError(final SyncResult syncResult, final long accountId) [all...] |
EasMoveItems.java | 7 import android.content.SyncResult; 55 public int upsyncMovedMessages(final SyncResult syncResult) { 66 final int result = performOperation(syncResult); 116 protected int handleResponse(final EasResponse response, final SyncResult syncResult)
|
EasSync.java | 22 import android.content.SyncResult; 106 public final int upsync(final SyncResult syncResult) { 144 result = performOperation(syncResult); 185 protected int handleResponse(final EasResponse response, final SyncResult syncResult)
|
EasPing.java | 22 import android.content.SyncResult; 189 protected int handleResponse(final EasResponse response, final SyncResult syncResult)
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceStatus.java | 92 int syncResult, 103 statusExtras.putInt(SYNC_RESULT, syncResult); 124 final long mailboxId, final int statusCode, final int progress, int syncResult) { 126 syncResult, null);
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasSyncHandler.java | 21 import android.content.SyncResult; 97 protected final SyncResult mSyncResult; 101 final SyncResult syncResult) { 106 mSyncResult = syncResult; 117 * @param syncResult The output results for this sync, which may be written to by 126 final Bundle syncExtras, final SyncResult syncResult) { 135 syncExtras, syncResult); 138 accountManagerAccount, account, mailbox, syncExtras, syncResult); [all...] |
EasMailboxSyncHandler.java | 5 import android.content.SyncResult; 45 final SyncResult syncResult) { 46 super(context, contentResolver, account, mailbox, syncExtras, syncResult); 190 protected void cleanup(final int syncResult) { 191 if (syncResult == SYNC_RESULT_MORE_AVAILABLE) {
|
EmailSyncAdapterService.java | 30 import android.content.SyncResult; 645 final SyncResult syncResult) { 718 folderSync.doFolderSync(syncResult); 727 move.upsyncMovedMessages(syncResult) [all...] |
CalendarSyncAdapterService.java | 24 import android.content.SyncResult; 67 String authority, ContentProviderClient provider, SyncResult syncResult) {
|
ContactsSyncAdapterService.java | 24 import android.content.SyncResult; 67 String authority, ContentProviderClient provider, SyncResult syncResult) {
|
EasCalendarSyncHandler.java | 9 import android.content.SyncResult; 128 final Mailbox mailbox, final Bundle syncExtras, final SyncResult syncResult) { 129 super(context, contentResolver, account, mailbox, syncExtras, syncResult); [all...] |
EasContactsSyncHandler.java | 10 import android.content.SyncResult; 157 final Mailbox mailbox, final Bundle syncExtras, final SyncResult syncResult) { 158 super(context, contentResolver, account, mailbox, syncExtras, syncResult); [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/ |
SyncAdapter.java | 27 import android.content.SyncResult; 131 * <p>The syncResult argument allows you to pass information back to the method that triggered 136 ContentProviderClient provider, SyncResult syncResult) { 145 updateLocalFeedData(stream, syncResult); 155 syncResult.stats.numParseExceptions++; 159 syncResult.stats.numIoExceptions++; 163 syncResult.stats.numParseExceptions++; 167 syncResult.stats.numParseExceptions++; 171 syncResult.databaseError = true [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncAdapter.java | 27 import android.content.SyncResult; 131 * <p>The syncResult argument allows you to pass information back to the method that triggered 136 ContentProviderClient provider, SyncResult syncResult) { 145 updateLocalFeedData(stream, syncResult); 155 syncResult.stats.numParseExceptions++; 159 syncResult.stats.numIoExceptions++; 163 syncResult.stats.numParseExceptions++; 167 syncResult.stats.numParseExceptions++; 171 syncResult.databaseError = true [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 34 import android.content.SyncResult; 68 ContentProviderClient provider, SyncResult syncResult) { 144 syncResult.stats.numParseExceptions++; 149 syncResult.stats.numIoExceptions++; 152 syncResult.stats.numAuthExceptions++; 155 syncResult.stats.numParseExceptions++; 158 syncResult.stats.numParseExceptions++;
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 169 syncContextClient.onFinished(new SyncResult()); 187 syncContextClient.onFinished(SyncResult.ALREADY_IN_PROGRESS); 251 SyncResult syncResult = new SyncResult(); 260 mAuthority, provider, syncResult); 262 syncResult.databaseError = true; 271 mSyncContext.onFinished(syncResult); 303 * @param syncResult SyncAdapter-specific parameters 306 String authority, ContentProviderClient provider, SyncResult syncResult) [all...] |
/packages/apps/Email/src/com/android/email/service/ |
PopImapSyncAdapterService.java | 27 import android.content.SyncResult; 63 String authority, ContentProviderClient provider, SyncResult syncResult) { 65 syncResult); 102 final Bundle extras, final SyncResult syncResult, final boolean uiRefresh, 154 syncResult.stats.numIoExceptions++; 159 syncResult.stats.numAuthExceptions++; 179 Bundle extras, ContentProviderClient provider, SyncResult syncResult) { [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestSyncAdapter.java | 25 import android.content.SyncResult; 50 ContentProviderClient provider, SyncResult syncResult) {
|
/frameworks/base/services/java/com/android/server/content/ |
SyncManager.java | 43 import android.content.SyncResult; [all...] |