/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceStatus.java | 111 int syncResult, 122 statusExtras.putInt(SYNC_RESULT, syncResult); 143 final long mailboxId, final int statusCode, final int progress, int syncResult) { 145 syncResult, null);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/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...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/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) { 132 syncResult.stats.numParseExceptions++; 137 syncResult.stats.numIoExceptions++; 140 syncResult.stats.numAuthExceptions++; 143 syncResult.stats.numParseExceptions++; 146 syncResult.stats.numParseExceptions++;
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 45 * your code in {@link #onPerformSync(Account, Bundle, String, ContentProviderClient, SyncResult)} 182 syncContextClient.onFinished(new SyncResult()); 200 syncContextClient.onFinished(SyncResult.ALREADY_IN_PROGRESS); 264 SyncResult syncResult = new SyncResult(); 273 mAuthority, provider, syncResult); 275 syncResult.databaseError = true; 279 mAuthority, syncResult); 280 syncResult.databaseError = true [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
AbstractSyncAdapterService.java | 28 import android.content.SyncResult; 141 * it to the appropriate field in {@link android.content.SyncResult}. 143 * @param syncResult 144 * @return Whether an error code was written to syncResult. 146 public static boolean writeResultToSyncResult(final int result, final SyncResult syncResult) { 156 syncResult.stats.numAuthExceptions = 1; 161 syncResult.databaseError = true; 166 syncResult.stats.numIoExceptions = 1; 170 syncResult.tooManyRetries = true [all...] |
EmailSyncAdapterService.java | 23 import android.content.SyncResult; 85 final SyncResult syncResult) { 128 writeResultToSyncResult(result, syncResult); 129 if (syncResult.stats.numAuthExceptions > 0 &&
|
CalendarSyncAdapterService.java | 24 import android.content.SyncResult; 69 String authority, ContentProviderClient provider, SyncResult syncResult) { 132 writeResultToSyncResult(result, syncResult); 133 if (syncResult.stats.numAuthExceptions > 0 &&
|
ContactsSyncAdapterService.java | 23 import android.content.SyncResult; 69 String authority, ContentProviderClient provider, SyncResult syncResult) { 135 writeResultToSyncResult(result, syncResult); 136 if (syncResult.stats.numAuthExceptions > 0 &&
|
/packages/apps/Email/provider_src/com/android/email/service/ |
PopImapSyncAdapterService.java | 27 import android.content.SyncResult; 64 String authority, ContentProviderClient provider, SyncResult syncResult) { 66 syncResult); 103 final Bundle extras, final SyncResult syncResult, final boolean uiRefresh, 160 syncResult.stats.numIoExceptions++; 167 syncResult.stats.numAuthExceptions++; 195 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) {
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasFullSyncOperation.java | 243 int syncResult = 0; 263 syncResult = operation.performOperation(); 267 final int uiSyncResult = translateSyncResultToUiResult(syncResult); 278 return syncResult;
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 45 import android.content.SyncResult; [all...] |
/frameworks/base/core/java/android/view/ |
ThreadedRenderer.java | 341 int syncResult = nSyncAndDrawFrame(mNativeProxy, frameInfo, frameInfo.length); 342 if ((syncResult & SYNC_LOST_SURFACE_REWARD_IF_FOUND) != 0) { 349 if ((syncResult & SYNC_INVALIDATE_REQUIRED) != 0) {
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncAdapter.java | 27 import android.content.SyncResult; 72 ContentProviderClient provider, SyncResult syncResult) {
|