HomeSort by relevance Sort by last modified time
    Searched refs:syncResult (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
ChromiumSyncAdapter.java 12 import android.content.SyncResult;
58 ContentProviderClient provider, SyncResult syncResult) {
68 getStartupCallback(mApplication, account, extras, syncResult, semaphore);
69 startBrowserProcess(callback, syncResult, semaphore);
77 syncResult.stats.numIoExceptions++;
83 final SyncResult syncResult, Semaphore semaphore) {
106 syncResult.stats.numIoExceptions++;
129 final SyncResult syncResult, final Semaphore semaphore)
    [all...]
  /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++;
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
ChromiumSyncAdapterTest.java 10 import android.content.SyncResult;
77 SyncResult syncResult = new SyncResult();
79 SyncStatusHelper.get(getActivity()).getContractAuthority(), null, syncResult);
86 SyncResult syncResult = new SyncResult();
95 SyncStatusHelper.get(getActivity()).getContractAuthority(), null, syncResult);
125 SyncResult syncResult = new SyncResult()
    [all...]
  /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/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 44 import android.content.SyncResult;
    [all...]
  /frameworks/base/core/java/android/view/
ThreadedRenderer.java 340 int syncResult = nSyncAndDrawFrame(mNativeProxy, frameTimeNanos,
342 if ((syncResult & SYNC_LOST_SURFACE_REWARD_IF_FOUND) != 0) {
349 if ((syncResult & SYNC_INVALIDATE_REQUIRED) != 0) {

Completed in 613 milliseconds