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.java94 ContentResolver.setSyncAutomaticallyAsUser(mAccount, in refreshUi_notSameAccountType_shouldNotCount()
112 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", /* sync= */ in refreshUi_adapterInvisible_shouldNotCount()
147 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", /* sync= */ in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
182 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority", /* sync= */ in refreshUi_automaticSyncEnabled_shouldCount()
207 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority1", /* sync= */ in refreshUi_someEnabled_shouldSetSummary()
211 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority2", /* sync= */ in refreshUi_someEnabled_shouldSetSummary()
215 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority3", /* sync= */ in refreshUi_someEnabled_shouldSetSummary()
218 ContentResolver.setSyncAutomaticallyAsUser(mAccount, "authority4", /* sync= */ 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.java130 ContentResolver.setSyncAutomaticallyAsUser(mAccount, AUTHORITY_2, /* sync= */ false, in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
151 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.java166 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java282 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java282 ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId); in onPreferenceTreeClick()