Searched refs:setIsSyncable (Results 1 – 8 of 8) sorted by relevance
93 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()
145 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()
151 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ SYNCABLE); in setUpVisibleSyncAdapters()
210 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ 1); in setUpSyncAdapters()
78 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()
264 ContentResolver.setIsSyncable(accountManagerAccount, in reconcileAccountsInternal()268 ContentResolver.setIsSyncable(accountManagerAccount, in reconcileAccountsInternal()
1578 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()
94 public static void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable() method in ShadowContentResolver