OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:syncadapter
(Results
1 - 25
of
81
) sorted by null
1
2
3
4
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncService.java
26
* <p>This service is invoked in response to Intents with action android.content.
SyncAdapter
, and
27
* returns a Binder connection to
SyncAdapter
.
32
* manage the lifecycle of our {@link
SyncAdapter
} and provide a handle to said
SyncAdapter
to the
39
private static
SyncAdapter
sSyncAdapter = null;
42
* Thread-safe constructor, creates static {@link
SyncAdapter
} instance.
50
sSyncAdapter = new
SyncAdapter
(getApplicationContext(), true);
65
* Return Binder handle for IPC communication with {@link
SyncAdapter
}.
67
* <p>New sync requests will be sent directly to the
SyncAdapter
using this channel.
70
* @return Binder handle for {@link
SyncAdapter
}
[
all
...]
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncService.java
26
* <p>This service is invoked in response to Intents with action android.content.
SyncAdapter
, and
27
* returns a Binder connection to
SyncAdapter
.
32
* manage the lifecycle of our {@link
SyncAdapter
} and provide a handle to said
SyncAdapter
to the
39
private static
SyncAdapter
sSyncAdapter = null;
42
* Thread-safe constructor, creates static {@link
SyncAdapter
} instance.
50
sSyncAdapter = new
SyncAdapter
(getApplicationContext(), true);
65
* Return Binder handle for IPC communication with {@link
SyncAdapter
}.
67
* <p>New sync requests will be sent directly to the
SyncAdapter
using this channel.
70
* @return Binder handle for {@link
SyncAdapter
}
[
all
...]
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncService.java
26
* <p>This service is invoked in response to Intents with action android.content.
SyncAdapter
, and
27
* returns a Binder connection to
SyncAdapter
.
32
* manage the lifecycle of our {@link
SyncAdapter
} and provide a handle to said
SyncAdapter
to the
39
private static
SyncAdapter
sSyncAdapter = null;
42
* Thread-safe constructor, creates static {@link
SyncAdapter
} instance.
50
sSyncAdapter = new
SyncAdapter
(getApplicationContext(), true);
65
* Return Binder handle for IPC communication with {@link
SyncAdapter
}.
67
* <p>New sync requests will be sent directly to the
SyncAdapter
using this channel.
70
* @return Binder handle for {@link
SyncAdapter
}
[
all
...]
/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
;
44
*
SyncAdapter
implementation for syncing sample
SyncAdapter
contacts to the
50
public class
SyncAdapter
extends AbstractThreadedSyncAdapter {
52
private static final String TAG = "
SyncAdapter
";
60
public
SyncAdapter
(Context context, boolean autoInitialize) {
/development/samples/browseable/BasicSyncAdapter/
_index.jd
7
This sample demonstrates using
SyncAdapter
to fetch background data for an app that
AndroidManifest.xml
32
<!-- Required to enable our
SyncAdapter
after it's created. -->
58
as an attachment point for the
SyncAdapter
. See res/xml/
syncadapter
.xml and
68
<!-- This service implements our
SyncAdapter
. It needs to be exported, so that the system
75
<action android:name="android.content.
SyncAdapter
" />
77
<!-- This points to a required XML file which describes our
SyncAdapter
. -->
78
<meta-data android:name="android.content.
SyncAdapter
"
79
android:resource="@xml/
syncadapter
" />
82
<!-- This implements the account we'll use as an attachment point for our
SyncAdapter
. Since
83
our
SyncAdapter
doesn't need to authenticate the current user (it just fetches a public RS
[
all
...]
/external/chromium_org/chrome/android/shell/res/xml/
syncadapter.xml
3
<!-- for the
SyncAdapter
. -->
/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
...]
ISyncServiceAdapter.aidl
30
* Initiate a sync.
SyncAdapter
-specific parameters may be specified in
35
* @param extras
SyncAdapter
-specific parameters.
AbstractThreadedSyncAdapter.java
30
* An abstract implementation of a
SyncAdapter
that spawns a thread to invoke a sync operation.
42
* with an intent with action <code>android.content.
SyncAdapter
</code>. This service
46
* <action android:name="android.content.
SyncAdapter
" />
48
* <meta-data android:name="android.content.
SyncAdapter
"
49
* android:resource="@xml/
syncadapter
" />
126
* in the
SyncAdapter
's configuration file.
287
* @return a reference to the IBinder of the
SyncAdapter
service.
294
* Perform a sync for this account.
SyncAdapter
-specific parameters may
299
* @param extras
SyncAdapter
-specific parameters
303
* @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
127
ISyncAdapter
syncAdapter
= null;
129
syncAdapter
= mActiveServiceConnection.mBoundSyncAdapter;
132
if (
syncAdapter
!= null) {
157
ISyncAdapter
syncAdapter
= null;
159
syncAdapter
= mActiveServiceConnection.mBoundSyncAdapter;
162
if (
syncAdapter
!= null) {
168
syncAdapter
.startSync(mActiveServiceConnection,
182
ISyncAdapter
syncAdapter
= null;
184
syncAdapter
= mActiveServiceConnection.mBoundSyncAdapter;
187
if (
syncAdapter
!= null)
[
all
...]
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/
AndroidManifest.xml
32
<!-- Required to enable our
SyncAdapter
after it's created. -->
58
as an attachment point for the
SyncAdapter
. See res/xml/
syncadapter
.xml and
68
<!-- This service implements our
SyncAdapter
. It needs to be exported, so that the system
75
<action android:name="android.content.
SyncAdapter
" />
77
<!-- This points to a required XML file which describes our
SyncAdapter
. -->
78
<meta-data android:name="android.content.
SyncAdapter
"
79
android:resource="@xml/
syncadapter
" />
82
<!-- This implements the account we'll use as an attachment point for our
SyncAdapter
. Since
83
our
SyncAdapter
doesn't need to authenticate the current user (it just fetches a public RS
[
all
...]
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/
AndroidManifest.xml
32
<!-- Required to enable our
SyncAdapter
after it's created. -->
58
as an attachment point for the
SyncAdapter
. See res/xml/
syncadapter
.xml and
68
<!-- This service implements our
SyncAdapter
. It needs to be exported, so that the system
75
<action android:name="android.content.
SyncAdapter
" />
77
<!-- This points to a required XML file which describes our
SyncAdapter
. -->
78
<meta-data android:name="android.content.
SyncAdapter
"
79
android:resource="@xml/
syncadapter
" />
82
<!-- This implements the account we'll use as an attachment point for our
SyncAdapter
. Since
83
our
SyncAdapter
doesn't need to authenticate the current user (it just fetches a public RS
[
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/ContactsCommon/tests/
AndroidManifest.xml
29
<action android:name="android.content.
SyncAdapter
"/>
32
android:name="android.content.
SyncAdapter
"
/packages/apps/Exchange/
AndroidManifest.xml
93
android:name="android.content.
SyncAdapter
" />
95
<meta-data android:name="android.content.
SyncAdapter
"
105
android:name="android.content.
SyncAdapter
" />
107
<meta-data android:name="android.content.
SyncAdapter
"
117
android:name="android.content.
SyncAdapter
" />
119
<meta-data android:name="android.content.
SyncAdapter
"
/developers/samples/android/connectivity/sync/BasicSyncAdapter/
template-params.xml
29
This sample demonstrates using
SyncAdapter
to fetch background data for an app that
59
This sample demonstrates using
SyncAdapter
to fetch background
67
This sample demonstrates using
SyncAdapter
to fetch background data
Completed in 2035 milliseconds
1
2
3
4