OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SyncAdapter
(Results
1 - 9
of
9
) sorted by null
/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) {
/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
...]
SyncAdapter.java
53
* <p>This class is instantiated in {@link SyncService}, which also binds
SyncAdapter
to the system.
54
*
SyncAdapter
should only be initialized in SyncService, never anywhere else.
59
class
SyncAdapter
extends AbstractThreadedSyncAdapter {
60
public static final String TAG = "
SyncAdapter
";
105
public
SyncAdapter
(Context context, boolean autoInitialize) {
114
public
SyncAdapter
(Context context, boolean autoInitialize, boolean allowParallelSyncs) {
122
* done here. Extending AbstractThreadedSyncAdapter ensures that all methods within
SyncAdapter
/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
...]
SyncAdapter.java
53
* <p>This class is instantiated in {@link SyncService}, which also binds
SyncAdapter
to the system.
54
*
SyncAdapter
should only be initialized in SyncService, never anywhere else.
59
class
SyncAdapter
extends AbstractThreadedSyncAdapter {
60
public static final String TAG = "
SyncAdapter
";
105
public
SyncAdapter
(Context context, boolean autoInitialize) {
114
public
SyncAdapter
(Context context, boolean autoInitialize, boolean allowParallelSyncs) {
122
* done here. Extending AbstractThreadedSyncAdapter ensures that all methods within
SyncAdapter
/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
...]
SyncAdapter.java
53
* <p>This class is instantiated in {@link SyncService}, which also binds
SyncAdapter
to the system.
54
*
SyncAdapter
should only be initialized in SyncService, never anywhere else.
59
class
SyncAdapter
extends AbstractThreadedSyncAdapter {
60
public static final String TAG = "
SyncAdapter
";
105
public
SyncAdapter
(Context context, boolean autoInitialize) {
114
public
SyncAdapter
(Context context, boolean autoInitialize, boolean allowParallelSyncs) {
122
* done here. Extending AbstractThreadedSyncAdapter ensures that all methods within
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
...]
Completed in 235 milliseconds