Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java225 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in refreshUi_masterSyncOff_syncDisabled_shouldNotBeChecked()
240 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in refreshUi_masterSyncOn_syncDisabled_shouldBeChecked()
255 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in refreshUi_masterSyncOff_syncEnabled_shouldBeChecked()
432 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onSyncPreferenceClicked_preferenceUnchecked_shouldSetSyncAutomaticallyOff()
450 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onSyncPreferenceClicked_preferenceUnchecked_shouldCancelSync()
467 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onSyncPreferenceClicked_preferenceChecked_shouldSetSyncAutomaticallyOn()
484 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onSyncPreferenceClicked_preferenceChecked_masterSyncOff_shouldRequestSync()
492 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onSyncPreferenceClicked_preferenceChecked_masterSyncOff_shouldRequestSync()
504 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onSyncPreferenceClicked_oneTimeSyncOn_shouldRequestSync()
DAccountAutoSyncPreferenceControllerTest.java99 ContentResolver.setMasterSyncAutomaticallyAsUser(true, USER_ID); in refreshUi_masterSyncOn_preferenceShouldBeChecked()
108 ContentResolver.setMasterSyncAutomaticallyAsUser(false, USER_ID); in refreshUi_masterSyncOff_preferenceShouldNotBeChecked()
128 ContentResolver.setMasterSyncAutomaticallyAsUser(false, USER_ID); in onConfirm_shouldTogglePreference()
DAccountSyncPreferenceControllerTest.java146 ContentResolver.setMasterSyncAutomaticallyAsUser(true, mUserId); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
165 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in refreshUi_masterAutomaticSyncUsed_shouldCount()
DAccountSyncDetailsFragmentTest.java129 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
150 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java54 ContentResolver.setMasterSyncAutomaticallyAsUser(enabling, userHandle.getIdentifier());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAutoSyncDataPreferenceController.java156 ContentResolver.setMasterSyncAutomaticallyAsUser(mEnabling, in onClick()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Settings/src/com/android/settings/users/
DAutoSyncDataPreferenceController.java156 ContentResolver.setMasterSyncAutomaticallyAsUser(mEnabling, in onClick()