Home
last modified time | relevance | path

Searched refs:setIsSyncable (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncPreferenceControllerTest.java93 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_notSameAccountType_shouldNotCount()
111 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_adapterInvisible_shouldNotCount()
129 ContentResolver.setIsSyncable(mAccount, "authority", NOT_SYNCABLE); in refreshUi_notSyncable_shouldNotCount()
145 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
164 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_masterAutomaticSyncUsed_shouldCount()
181 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_automaticSyncEnabled_shouldCount()
206 ContentResolver.setIsSyncable(mAccount, "authority1", SYNCABLE); in refreshUi_someEnabled_shouldSetSummary()
210 ContentResolver.setIsSyncable(mAccount, "authority2", SYNCABLE); in refreshUi_someEnabled_shouldSetSummary()
214 ContentResolver.setIsSyncable(mAccount, "authority3", SYNCABLE); in refreshUi_someEnabled_shouldSetSummary()
DAccountSyncDetailsPreferenceControllerTest.java145 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ NOT_SYNCABLE); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown()
160 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ SYNCABLE); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown()
177 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ SYNCABLE); in refreshUi_providerInfoDoesNotHaveLabel_shouldNotBeShown()
202 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ SYNCABLE); in refreshUi_providerLabelShouldBeSet()
524 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ SYNCABLE); in setUpVisibleSyncAdapters()
DAccountDetailsWithSyncStatusPreferenceControllerTest.java151 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ SYNCABLE); in setUpVisibleSyncAdapters()
DAccountSyncDetailsFragmentTest.java210 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ 1); in setUpSyncAdapters()
/packages/apps/Email/provider_src/com/android/email/service/
DAuthenticatorService.java78 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 1); in addAccount()
86 ContentResolver.setIsSyncable(account, CalendarContract.AUTHORITY, 1); in addAccount()
98 ContentResolver.setIsSyncable(account, EmailContent.AUTHORITY, 1); in addAccount()
/packages/apps/Email/provider_src/com/android/email/provider/
DAccountReconciler.java264 ContentResolver.setIsSyncable(accountManagerAccount, in reconcileAccountsInternal()
268 ContentResolver.setIsSyncable(accountManagerAccount, in reconcileAccountsInternal()
DDBHelper.java1578 ContentResolver.setIsSyncable(amAccount, EmailContent.AUTHORITY, 1); in createAccountManagerAccount()
1580 ContentResolver.setIsSyncable(amAccount, ContactsContract.AUTHORITY, 0); in createAccountManagerAccount()
1581 ContentResolver.setIsSyncable(amAccount, CalendarContract.AUTHORITY, 0); in createAccountManagerAccount()
1647 ContentResolver.setIsSyncable(amAccount, EmailContent.AUTHORITY, 1); in migrateLegacyAccounts()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java94 public static void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable() method in ShadowContentResolver