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

1 2

  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncService.java 16 package com.example.android.samplesync.syncadapter;
24 * ACTION_AUTHENTICATOR_INTENT. It instantiates the syncadapter and returns its
31 private static SyncAdapter sSyncAdapter = null;
37 sSyncAdapter = new SyncAdapter(getApplicationContext(), true);
SyncAdapter.java 16 package com.example.android.samplesync.syncadapter;
43 * SyncAdapter implementation for syncing sample SyncAdapter contacts to the
49 public class SyncAdapter extends AbstractThreadedSyncAdapter {
51 private static final String TAG = "SyncAdapter";
59 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...]
AbstractThreadedSyncAdapter.java 29 * An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation.
41 * with an intent with action <code>android.content.SyncAdapter</code>. This service
45 * &lt;action android:name="android.content.SyncAdapter" /&gt;
47 * &lt;meta-data android:name="android.content.SyncAdapter"
48 * android:resource="@xml/syncadapter" /&gt;
125 * in the SyncAdapter's configuration file.
273 * @return a reference to the IBinder of the SyncAdapter service.
280 * Perform a sync for this account. SyncAdapter-specific parameters may
285 * @param extras SyncAdapter-specific parameters
289 * @param syncResult SyncAdapter-specific parameter
    [all...]
SyncContext.java 50 * Call to indicate that the SyncAdapter is making progress. E.g., if this SyncAdapter
SyncAdapterType.java 111 * @return True if this SyncAdapter supports syncing multiple accounts simultaneously.
113 * using this SyncAdapter.
124 * If true then the SyncManager will never issue an initialization sync to the SyncAdapter
128 * @return true if the SyncAdapter does not require initialization and if it is ok for the
129 * SyncAdapter to treat it as syncable automatically.
140 * @return The activity to use to invoke this SyncAdapter's settings activity.
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
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);
  /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 23 name="label">Sample SyncAdapter</string>
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>
114 to the amazing Sample SyncAdapter social network. If this was a real app, it should now
  /development/samples/SampleSyncAdapter/res/xml/
syncadapter.xml 26 the syncadapter does not support uploading (and thus the contacts
27 associated with this syncadapter are not editable). The SDK 11
  /packages/apps/Exchange/
AndroidManifest.xml 103 android:name="android.content.SyncAdapter" />
105 <meta-data android:name="android.content.SyncAdapter"
115 android:name="android.content.SyncAdapter" />
117 <meta-data android:name="android.content.SyncAdapter"
127 android:name="android.content.SyncAdapter" />
129 <meta-data android:name="android.content.SyncAdapter"
  /cts/tests/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /development/samples/SampleSyncAdapter/
AndroidManifest.xml 67 android:name=".syncadapter.SyncService"
71 android:name="android.content.SyncAdapter" />
74 android:name="android.content.SyncAdapter"
75 android:resource="@xml/syncadapter" />
  /development/samples/SampleSyncAdapter/res/xml-v11/
syncadapter.xml 24 See xml/syncadapter.xml for greater details, but this version of
  /packages/apps/Email/res/xml/
syncadapter_pop_imap.xml 21 <!-- for the SyncAdapter. -->
  /packages/apps/Exchange/res/xml/
syncadapter_calendar.xml 21 <!-- for the SyncAdapter. -->
syncadapter_contacts.xml 21 <!-- for the SyncAdapter. -->
syncadapter_email.xml 21 <!-- for the SyncAdapter. -->
  /packages/providers/CalendarProvider/res/xml/
syncadapter.xml 21 <!-- for the SyncAdapter. -->
  /packages/experimental/LoaderApp/src/com/android/loaderapp/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,
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 273 * @param rawContact the sample SyncAdapter User object
318 * @param rawContact the sample SyncAdapter contact object
533 // Look up the user's sample SyncAdapter data row
588 * Returns the RawContact id for a sample SyncAdapter contact, or 0 if the
589 * sample SyncAdapter user isn't found.
592 * @param serverContactId the sample SyncAdapter user ID to lookup
617 * Returns the Data id for a sample SyncAdapter contact's profile row, or 0
618 * if the sample SyncAdapter user isn't found.
621 * @param userId the sample SyncAdapter user ID to lookup
683 * Constants for a query to find a contact given a sample SyncAdapter use
    [all...]
ContactOperations.java 67 * @param userId the userId of the sample SyncAdapter user object
68 * @param accountName the username for the SyncAdapter account
219 * @param userId the userId of the sample SyncAdapter user object
253 * @param email email id of the sample SyncAdapter user
347 * @param userId sample SyncAdapter user id

Completed in 548 milliseconds

1 2