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.java83 ContentResolver.setMasterSyncAutomaticallyAsUser(true, mUserId); in refreshUi_masterSyncOn_preferenceShouldBeChecked()
92 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in refreshUi_masterSyncOff_preferenceShouldNotBeChecked()
112 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in onConfirm_shouldTogglePreference()
DAccountSyncPreferenceControllerTest.java154 ContentResolver.setMasterSyncAutomaticallyAsUser(true, mUserId); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
175 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in refreshUi_masterAutomaticSyncUsed_shouldCount()
DAccountSyncDetailsFragmentTest.java135 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
156 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java53 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/Settings/src/com/android/settings/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