HomeSort by relevance Sort by last modified time
    Searched full:syncadapter (Results 1 - 25 of 32) sorted by null

1 2

  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncService.java 17 package com.example.android.samplesync.syncadapter;
25 * ACTION_AUTHENTICATOR_INTENT. It instantiates the syncadapter and returns its
30 private static SyncAdapter sSyncAdapter = null;
39 sSyncAdapter = new SyncAdapter(getApplicationContext(), true);
SyncAdapter.java 17 package com.example.android.samplesync.syncadapter;
45 * SyncAdapter implementation for syncing sample SyncAdapter contacts to the
48 public class SyncAdapter extends AbstractThreadedSyncAdapter {
49 private static final String TAG = "SyncAdapter";
56 public SyncAdapter(Context context, boolean autoInitialize) {
  /frameworks/base/core/java/android/content/
ISyncAdapter.aidl 24 * Interface used to control the sync activity on a SyncAdapter
29 * Initiate a sync for this account. SyncAdapter-specific parameters may
36 * @param extras SyncAdapter-specific parameters
49 * Initialize the SyncAdapter for this account and authority.
ISyncContext.aidl 22 * Interface used by the SyncAdapter to indicate its progress.
27 * Call to indicate that the SyncAdapter is making progress. E.g., if this SyncAdapter
SyncStats.java 30 * The SyncAdapter was unable to authenticate the {@link android.accounts.Account}
37 * The SyncAdapter had a problem, most likely with the network connectivity or a timeout
44 * The SyncAdapter had a problem with the data it received from the server or the storage
47 * from the user). If the SyncAdapter cleans up the data itself then it typically won't
49 * perform some cleanup. E.g., if the SyncAdapter received a bad entry from the server
51 * progress and still increment this value just so the SyncAdapter can record that an
57 * The SyncAdapter detected that there was an unrecoverable version conflict when it
67 * by the SyncAdapter.
73 * by the SyncAdapter.
79 * by the SyncAdapter
    [all...]
SyncAdaptersCache.java 37 private static final String SERVICE_INTERFACE = "android.content.SyncAdapter";
38 private static final String SERVICE_META_DATA = "android.content.SyncAdapter";
49 com.android.internal.R.styleable.SyncAdapter);
SyncContext.java 50 * Call to indicate that the SyncAdapter is making progress. E.g., if this SyncAdapter
SyncResult.java 30 * Used to indicate that the SyncAdapter is already performing a sync operation, though
37 * Used to indicate that the SyncAdapter determined that it would need to issue
39 * (as defined by the SyncAdapter). The SyncManager will record
46 * It is then up to the SyncAdapter to decide how to honor that request.
51 * Used to indicate that the SyncAdapter experienced a hard error due to trying the same
52 * operation too many times (as defined by the SyncAdapter). The SyncManager will record
58 * Used to indicate that the SyncAdapter experienced a hard error due to an error it
94 * This instance of a SyncResult is returned by the SyncAdapter in response to a
107 * can be set by the SyncAdapter in order to give the SyncManager more information as to
AbstractThreadedSyncAdapter.java 28 * An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation.
190 * @return a reference to the IBinder of the SyncAdapter service.
197 * Perform a sync for this account. SyncAdapter-specific parameters may
202 * @param extras SyncAdapter-specific parameters
206 * @param syncResult SyncAdapter-specific parameters
  /development/apps/Development/src/com/android/development/
SyncAdapterDriver.java 131 ISyncAdapter syncAdapter = null;
133 syncAdapter = mActiveServiceConnection.mBoundSyncAdapter;
136 if (syncAdapter != null) {
161 ISyncAdapter syncAdapter = null;
163 syncAdapter = mActiveServiceConnection.mBoundSyncAdapter;
166 if (syncAdapter != null) {
172 syncAdapter.startSync(mActiveServiceConnection,
186 ISyncAdapter syncAdapter = null;
188 syncAdapter = mActiveServiceConnection.mBoundSyncAdapter;
191 if (syncAdapter != null)
    [all...]
  /development/samples/SampleSyncAdapter/res/values/
strings.xml 27 name="permlab_samplesyncadapterAuthPassword">access to passwords for Sample SyncAdapter accounts</string>
31 Sample SyncAdapter account(s) you have configured.</string>
39 the Sample SyncAdapter account(s) you have configured.</string>
41 name="notification_login_error">Touch to sign into your Sample SyncAdapter account.</string>
64 name="login_activity_loginfail_text_both">The username or password isn\'t valid. A Sample SyncAdapter account is
78 name="login_activity_newaccount_text">Sign in to your Sample SyncAdapter account. </string>
  /development/samples/SampleSyncAdapter/
AndroidManifest.xml 65 android:name=".syncadapter.SyncService"
69 android:name="android.content.SyncAdapter" />
72 android:name="android.content.SyncAdapter"
73 android:resource="@xml/syncadapter" />
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 108 // Look up the user's sample SyncAdapter data row
144 * @param user the sample SyncAdapter User object
164 * @param user the sample SyncAdapter contact object.
255 * Returns the RawContact id for a sample SyncAdapter contact, or 0 if the
256 * sample SyncAdapter user isn't found.
259 * @param userId the sample SyncAdapter user ID to lookup
281 * Returns the Data id for a sample SyncAdapter contact's profile row, or 0
282 * if the sample SyncAdapter user isn't found.
285 * @param userId the sample SyncAdapter user ID to lookup
307 * Constants for a query to find a contact given a sample SyncAdapter use
    [all...]
ContactOperations.java 54 * @param userId the userId of the sample SyncAdapter user object
167 * @param userId the userId of the sample SyncAdapter user object
187 * @param email email id of the sample SyncAdapter user
248 * @param userId sample SyncAdapter user id
  /cts/tests/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /development/samples/SampleSyncAdapter/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /packages/apps/Email/res/xml/
syncadapter_calendar.xml 21 <!-- for the SyncAdapter. -->
syncadapter_contacts.xml 21 <!-- for the SyncAdapter. -->
  /packages/apps/Gallery3D/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /packages/providers/CalendarProvider/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /packages/apps/Contacts/src/com/android/contacts/model/
ExternalSource.java 75 private static final String ACTION_SYNC_ADAPTER = "android.content.SyncAdapter";
97 final Intent syncAdapter = new Intent(ACTION_SYNC_ADAPTER);
98 final List<ResolveInfo> matches = pm.queryIntentServices(syncAdapter,
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java     [all...]
  /packages/apps/Gallery3D/
AndroidManifest.xml 142 <action android:name="android.content.SyncAdapter" />
144 <meta-data android:name="android.content.SyncAdapter" android:resource="@xml/syncadapter" />
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
User.java 24 * Represents a sample SyncAdapter user
  /packages/apps/Email/
AndroidManifest.xml 261 <action android:name="android.content.SyncAdapter" />
263 <meta-data android:name="android.content.SyncAdapter"
272 <action android:name="android.content.SyncAdapter" />
274 <meta-data android:name="android.content.SyncAdapter"

Completed in 674 milliseconds

1 2