Searched refs:syncAdapter (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncHelper.java | 53 (SyncAdapterType syncAdapter) -> !isVisible(context, syncAdapter, userHandle)); in getVisibleSyncAdaptersForAccount() 66 SyncAdapterType syncAdapter = syncAdapters[i]; in getSyncableSyncAdaptersForAccount() local 67 String authority = syncAdapter.authority; in getSyncableSyncAdaptersForAccount() 70 if (!syncAdapter.accountType.equals(account.type)) { in getSyncableSyncAdaptersForAccount() 81 adapters.add(syncAdapter); in getSyncableSyncAdaptersForAccount() 158 private static boolean isVisible(Context context, SyncAdapterType syncAdapter, in isVisible() argument 160 String authority = syncAdapter.authority; in isVisible() 162 if (!syncAdapter.isUserVisible()) { in isVisible() 168 context.getPackageManager().getPackageUidAsUser(syncAdapter.getPackageName(), in isVisible() 171 LOG.e("No uid for package" + syncAdapter.getPackageName(), e); in isVisible()
|
D | AccountSyncDetailsPreferenceController.java | 311 for (SyncAdapterType syncAdapter : syncAdapters) { in getSyncPreferences() 312 String authority = syncAdapter.authority; in getSyncPreferences() 316 uid = packageManager.getPackageUidAsUser(syncAdapter.getPackageName(), userId); in getSyncPreferences() 318 LOG.e("No uid for package" + syncAdapter.getPackageName(), e); in getSyncPreferences() 329 pref.setPackageName(syncAdapter.getPackageName()); in getSyncPreferences()
|
D | AccountDetailsWithSyncStatusPreferenceController.java | 97 for (SyncAdapterType syncAdapter : syncAdapters) { in isSyncFailing() 98 String authority = syncAdapter.authority; in isSyncFailing()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncSettings.java | 375 for (SyncAdapterType syncAdapter : mInvisibleAdapters) { in requestOrCancelSyncForEnabledProviders() 376 requestOrCancelSync(mAccount, syncAdapter.authority, startSync); in requestOrCancelSyncForEnabledProviders() 538 final SyncAdapterType syncAdapter = authorities.get(j); in updateAccountSwitches() local 540 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches() 543 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches() 549 syncAdapter.getPackageName(), mUserHandle.getIdentifier()); in updateAccountSwitches() 550 addSyncStateSwitch(mAccount, syncAdapter.authority, in updateAccountSwitches() 551 syncAdapter.getPackageName(), uid); in updateAccountSwitches() 553 Log.e(TAG, "No uid for package" + syncAdapter.getPackageName(), e); in updateAccountSwitches()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 2377 private Uri updatedUri(Uri uri, boolean syncAdapter, String account, String accountType) { in updatedUri() argument 2378 if (syncAdapter) { in updatedUri() 2389 private void internalTestDirty(boolean syncAdapter) throws Exception { in internalTestDirty() argument 2417 updatedUri(CalendarContract.Attendees.CONTENT_URI, syncAdapter, DEFAULT_ACCOUNT, in internalTestDirty() 2420 testAndClearDirty(eventId, syncAdapter ? 0 : 1); in internalTestDirty() 2429 updatedUri(CalendarContract.Reminders.CONTENT_URI, syncAdapter, DEFAULT_ACCOUNT, in internalTestDirty() 2431 testAndClearDirty(eventId, syncAdapter ? 0 : 1); in internalTestDirty() 2449 updatedUri(CalendarContract.CalendarAlerts.CONTENT_URI, syncAdapter, in internalTestDirty() 2461 if (syncAdapter) { in internalTestDirty() 2464 updatedUri(CalendarContract.ExtendedProperties.CONTENT_URI, syncAdapter, in internalTestDirty() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 238 for (SyncAdapterType syncAdapter : mInvisibleAdapters) { in requestOrCancelSyncForEnabledProviders() 239 requestOrCancelSync(mAccount, syncAdapter.authority, startSync); in requestOrCancelSyncForEnabledProviders()
|