HomeSort by relevance Sort by last modified time
    Searched refs:SyncResult (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/base/core/java/android/content/
SyncResult.aidl 19 parcelable SyncResult;
ISyncContext.aidl 19 import android.content.SyncResult;
37 void onFinished(in SyncResult result);
SyncResult.java 28 public final class SyncResult implements Parcelable {
94 * This instance of a SyncResult is returned by the SyncAdapter in response to a
98 public static final SyncResult ALREADY_IN_PROGRESS;
101 ALREADY_IN_PROGRESS = new SyncResult(true);
105 * Create a "clean" SyncResult. If this is returned without any changes then the
115 * {@link SyncResult#hasHardError()} and {@link SyncResult#hasSoftError()}. If both are
118 public SyncResult() {
123 * Internal helper for creating a clean SyncResult or one that indicated that
127 private SyncResult(boolean syncAlreadyInProgress)
    [all...]
AbstractThreadedSyncAdapter.java 92 syncContextClient.onFinished(new SyncResult());
108 syncContextClient.onFinished(SyncResult.ALREADY_IN_PROGRESS);
159 SyncResult syncResult = new SyncResult();
165 mAuthority, provider, syncResult);
167 syncResult.databaseError = true;
174 mSyncContext.onFinished(syncResult);
206 * @param syncResult SyncAdapter-specific parameters
209 String authority, ContentProviderClient provider, SyncResult syncResult)
    [all...]
SyncContext.java 67 public void onFinished(SyncResult result) {
SyncManager.java 659 SyncResult syncResult) {
663 msg.obj = new SyncHandlerMessagePayload(syncContext, syncResult);
669 public final SyncResult syncResult;
671 SyncHandlerMessagePayload(ActiveSyncContext syncContext, SyncResult syncResult) {
673 this.syncResult = syncResult;
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
SyncService.java 119 public static class SyncResult {
122 SyncResult(int code, String message) {
127 SyncResult(int code, Exception e) {
131 SyncResult(int code) {
338 * @return a {@link SyncResult} object with a code and an optional message.
343 public SyncResult pull(FileEntry[] entries, String localPath, ISyncProgressMonitor monitor) {
348 return new SyncResult(RESULT_NO_DIR_TARGET);
351 return new SyncResult(RESULT_TARGET_IS_FILE);
363 SyncResult result = doPull(entries, localPath, fls, monitor);
375 * @return a {@link SyncResult} object with a code and an optional message
    [all...]
Device.java 19 import com.android.ddmlib.SyncService.SyncResult;
433 SyncResult result = sync.pushFile(localFilePath, remoteFilePath,
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
PicasaSyncAdapter.java 31 import android.content.SyncResult;
45 SyncResult syncResult) {
74 PicasaService.performSync(mContext, account, extras, syncResult);
77 ++syncResult.stats.numIoExceptions;
PicasaService.java 31 import android.content.SyncResult;
89 performSync(PicasaService.this, null, intent.getExtras(), new SyncResult());
106 public static boolean performSync(Context context, Account account, Bundle extras, SyncResult syncResult) {
113 performSyncImpl(context, account, extras, syncResult);
137 private static void performSyncImpl(Context context, Account account, Bundle extras, SyncResult syncResult) {
154 ++syncResult.stats.numSkippedEntries;
174 provider.syncUsers(syncResult);
177 provider.syncUsersAndAlbums(true, syncResult);
    [all...]
PicasaContentProvider.java 27 import android.content.SyncResult;
153 public void syncUsers(SyncResult syncResult) {
154 syncUsers(mSyncContext, syncResult);
157 public void syncUsersAndAlbums(final boolean syncAlbumPhotos, SyncResult syncResult) {
161 UserEntry[] users = syncUsers(context, syncResult);
176 syncUserAlbums(context, users[i], syncResult);
178 syncUserPhotos(context, users[i].account, syncResult);
187 ++syncResult.stats.numAuthExceptions
    [all...]
PicasaApi.java 32 import android.content.SyncResult;
165 public int getAlbums(AccountManager accountManager, SyncResult syncResult, UserEntry user, GDataParser.EntryHandler handler) {
196 ++syncResult.stats.numAuthExceptions;
202 ++syncResult.stats.numIoExceptions;
220 ++syncResult.stats.numIoExceptions;
229 ++syncResult.stats.numIoExceptions;
232 ++syncResult.stats.numParseExceptions;
237 public int getAlbumPhotos(AccountManager accountManager, SyncResult syncResult, AlbumEntry album
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
BaseFileHandler.java 22 import com.android.ddmlib.SyncService.SyncResult;
62 * @return The result of the pull as a {@link SyncResult} object, or null if the sync
67 protected SyncResult promptAndPull(SyncService sync,
120 * @return the result of the sync as an instance of {@link SyncResult}
124 protected SyncResult pull(final SyncService sync, final String localFilePath,
127 final SyncResult[] res = new SyncResult[1];
MethodProfilingHandler.java 24 import com.android.ddmlib.SyncService.SyncResult;
119 SyncResult result = pull(sync, tempPath, remoteFilePath);
  /packages/apps/Email/src/com/android/exchange/
CalendarSyncAdapterService.java 32 import android.content.SyncResult;
67 String authority, ContentProviderClient provider, SyncResult syncResult) {
70 authority, provider, syncResult);
98 String authority, ContentProviderClient provider, SyncResult syncResult)
ContactsSyncAdapterService.java 33 import android.content.SyncResult;
64 String authority, ContentProviderClient provider, SyncResult syncResult) {
67 authority, provider, syncResult);
95 String authority, ContentProviderClient provider, SyncResult syncResult)
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java 26 import android.content.SyncResult;
64 ContentProviderClient provider, SyncResult syncResult) {
86 syncResult.stats.numParseExceptions++;
92 syncResult.stats.numIoExceptions++;
96 syncResult.stats.numAuthExceptions++;
99 syncResult.stats.numParseExceptions++;
102 syncResult.stats.numParseExceptions++;
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/explorer/
DeviceExplorer.java 25 import com.android.ddmlib.SyncService.SyncResult;
410 SyncResult result = sync.pullFile(keyEntry, keyFile.getAbsolutePath(), monitor);
682 SyncResult result = sync.pull(entryArray, localDirectory,
714 SyncResult result = sync.pullFile(remote, local, new SyncProgressMonitor(
746 SyncResult result = sync.push(localFiles, remoteDirectory,
784 SyncResult result = sync.pushFile(local, remoteFile,
  /development/apps/Development/src/com/android/development/
SyncAdapterDriver.java 32 import android.content.SyncResult;
262 public void uiThreadOnFinished(SyncResult result) {
272 public void onFinished(final SyncResult result) throws RemoteException {
  /frameworks/base/core/tests/hosttests/src/android/net/
DownloadManagerHostTests.java 28 import com.android.ddmlib.SyncService.SyncResult;
  /frameworks/base/core/tests/hosttests/src/android/content/pm/
PackageManagerHostTestUtils.java 26 import com.android.ddmlib.SyncService.SyncResult;
190 SyncResult result = mDevice.getSyncService().pushFile(
PackageManagerHostTests.java 25 import com.android.ddmlib.SyncService.SyncResult;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DeviceView.java 28 import com.android.ddmlib.SyncService.SyncResult;
135 SyncResult result = null;
  /sdk/ddms/app/src/com/android/ddms/
UIThread.java 30 import com.android.ddmlib.SyncService.SyncResult;
331 SyncResult result = promptAndPull(sync,
    [all...]
  /prebuilt/sdk/6/
android.jar 

Completed in 343 milliseconds

1 2