Home
last modified time | relevance | path

Searched refs:syncAdapter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java383 for (SyncAdapterType syncAdapter : mInvisibleAdapters) { in requestOrCancelSyncForEnabledProviders()
384 requestOrCancelSync(mAccount, syncAdapter.authority, startSync); in requestOrCancelSyncForEnabledProviders()
541 final SyncAdapterType syncAdapter = authorities.get(j); in updateAccountSwitches() local
543 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches()
546 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches()
552 syncAdapter.getPackageName(), mUserHandle.getIdentifier()); in updateAccountSwitches()
553 addSyncStateSwitch(mAccount, syncAdapter.authority, in updateAccountSwitches()
554 syncAdapter.getPackageName(), uid); in updateAccountSwitches()
556 Log.e(TAG, "No uid for package" + syncAdapter.getPackageName(), e); in updateAccountSwitches()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2254 private Uri updatedUri(Uri uri, boolean syncAdapter, String account, String accountType) { in updatedUri() argument
2255 if (syncAdapter) { in updatedUri()
2266 private void internalTestDirty(boolean syncAdapter) throws Exception { in internalTestDirty() argument
2294 updatedUri(CalendarContract.Attendees.CONTENT_URI, syncAdapter, DEFAULT_ACCOUNT, in internalTestDirty()
2297 testAndClearDirty(eventId, syncAdapter ? 0 : 1); in internalTestDirty()
2306 updatedUri(CalendarContract.Reminders.CONTENT_URI, syncAdapter, DEFAULT_ACCOUNT, in internalTestDirty()
2308 testAndClearDirty(eventId, syncAdapter ? 0 : 1); in internalTestDirty()
2326 updatedUri(CalendarContract.CalendarAlerts.CONTENT_URI, syncAdapter, in internalTestDirty()
2338 if (syncAdapter) { in internalTestDirty()
2341 updatedUri(CalendarContract.ExtendedProperties.CONTENT_URI, syncAdapter, in internalTestDirty()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExternalSource.java97 final Intent syncAdapter = new Intent(ACTION_SYNC_ADAPTER); in inflate() local
98 final List<ResolveInfo> matches = pm.queryIntentServices(syncAdapter, in inflate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java215 for (SyncAdapterType syncAdapter : mInvisibleAdapters) { in requestOrCancelSyncForEnabledProviders()
216 requestOrCancelSync(mAccount, syncAdapter.authority, startSync); in requestOrCancelSyncForEnabledProviders()