Searched refs:SYNCABLE (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 53 private static final int SYNCABLE = 1; field in AccountSyncPreferenceControllerTest 93 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_notSameAccountType_shouldNotCount() 111 ContentResolver.setIsSyncable(mAccount, "authority", SYNCABLE); in refreshUi_adapterInvisible_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()
|
D | AccountSyncDetailsPreferenceControllerTest.java | 69 private static final int SYNCABLE = 1; field in AccountSyncDetailsPreferenceControllerTest 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()
|
D | AccountDetailsWithSyncStatusPreferenceControllerTest.java | 56 private static final int SYNCABLE = 1; field in AccountDetailsWithSyncStatusPreferenceControllerTest 151 ShadowContentResolver.setIsSyncable(mAccount, authority, /* syncable= */ SYNCABLE); in setUpVisibleSyncAdapters()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowContentResolver.java | 46 private static final int SYNCABLE = 1; field in ShadowContentResolver 64 return sSyncable.getOrDefault(authority, SYNCABLE); in getIsSyncableAsUser()
|