OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SyncAdapter
(Results
1 - 18
of
18
) sorted by null
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessSameCertTests/src/com/android/cts/content/
SyncService.java
24
private
SyncAdapter
mInstance;
29
mInstance = new
SyncAdapter
(this, false);
SyncAdapter.java
26
public class
SyncAdapter
extends AbstractThreadedSyncAdapter {
42
public
SyncAdapter
(Context context, boolean autoInitialize) {
CtsSyncAccountAccessSameCertTestCases.java
94
SyncAdapter
.setOnPerformSyncDelegate((Account account, Bundle extras,
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
SyncService.java
17
package com.example.android.sampletvinput.
syncadapter
;
25
* Service which provides the
SyncAdapter
implementation to the framework on request.
29
private static
SyncAdapter
sSyncAdapter = null;
36
sSyncAdapter = new
SyncAdapter
(getApplicationContext(), true);
SyncUtils.java
17
package com.example.android.sampletvinput.
syncadapter
;
28
* Static helper methods for working with the
SyncAdapter
framework.
45
bundle.putString(
SyncAdapter
.BUNDLE_KEY_INPUT_ID, inputId);
47
SyncAdapter
.SYNC_FREQUENCY_SEC);
54
bundle.putString(
SyncAdapter
.BUNDLE_KEY_INPUT_ID, inputId);
SyncAdapter.java
17
package com.example.android.sampletvinput.
syncadapter
;
45
* A
SyncAdapter
implementation which updates program info periodically.
47
class
SyncAdapter
extends AbstractThreadedSyncAdapter {
48
public static final String TAG = "
SyncAdapter
";
57
public
SyncAdapter
(Context context, boolean autoInitialize) {
62
public
SyncAdapter
(Context context, boolean autoInitialize, boolean allowParallelSyncs) {
74
String inputId = extras.getString(
SyncAdapter
.BUNDLE_KEY_INPUT_ID);
88
* Inserts programs from now to {@link
SyncAdapter
#SYNC_WINDOW_SEC}.
/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
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessOtherCertTests/
Android.mk
31
../CtsSyncAccountAccessSameCertTests/src/com/android/cts/content/
SyncAdapter
.java \
/frameworks/base/core/java/android/content/
SyncAdaptersCache.java
44
private static final String SERVICE_INTERFACE = "android.content.
SyncAdapter
";
45
private static final String SERVICE_META_DATA = "android.content.
SyncAdapter
";
60
com.android.internal.R.styleable.
SyncAdapter
);
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
CtsSyncAccountAccessOtherCertTestCases.java
101
SyncAdapter
.setOnPerformSyncDelegate((Account account, Bundle extras,
/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 1049 milliseconds