Home
last modified time | relevance | path

Searched refs:setSyncAutomaticallyAsUser (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncPreferenceControllerTest.java96 ContentResolver.setSyncAutomaticallyAsUser(mAccount, in refreshUi_notSameAccountType_shouldNotCount()
116 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", in refreshUi_adapterInvisible_shouldNotCount()
155 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
194 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", in refreshUi_automaticSyncEnabled_shouldCount()
227 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority1", in refreshUi_someEnabled_shouldSetSummary()
231 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority2", in refreshUi_someEnabled_shouldSetSummary()
235 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority3", in refreshUi_someEnabled_shouldSetSummary()
238 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority4", in refreshUi_someEnabled_shouldSetSummary()
DAccountSyncDetailsPreferenceControllerTest.java226 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ false, in refreshUi_masterSyncOff_syncDisabled_shouldNotBeChecked()
241 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ false, in refreshUi_masterSyncOn_syncDisabled_shouldBeChecked()
256 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in refreshUi_masterSyncOff_syncEnabled_shouldBeChecked()
270 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ false, in refreshUi_syncDisabled_summaryShouldBeSet()
284 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet()
304 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in refreshUi_syncEnabled_syncHasHappened_summaryShouldBeSet()
369 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in refreshUi_syncFailed_shouldHaveProblemSyncIcon()
433 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in onSyncPreferenceClicked_preferenceUnchecked_shouldSetSyncAutomaticallyOff()
451 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in onSyncPreferenceClicked_preferenceUnchecked_shouldCancelSync()
468 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ false, in onSyncPreferenceClicked_preferenceChecked_shouldSetSyncAutomaticallyOn()
[all …]
DAccountDetailsWithSyncStatusPreferenceControllerTest.java101 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in refreshUi_syncIsFailing_summaryShouldBeSet()
125 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY, /* sync= */ true, in onSyncStatusChanged_summaryShouldUpdated()
DAccountSyncDetailsFragmentTest.java136 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY_2, /* sync= */ false, in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
157 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY_2, /* sync= */ false, in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java70 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java99 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceController.java207 ContentResolver.setSyncAutomaticallyAsUser(mAccount, authority, syncOn, userId); in onSyncPreferenceClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java182 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java283 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java296 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()