Home
last modified time | relevance | path

Searched refs:setMasterSyncAutomaticallyAsUser (Results 1 – 7 of 7) 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java69 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java53 ContentResolver.setMasterSyncAutomaticallyAsUser(enabling, userHandle.getIdentifier());
/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.java152 ContentResolver.setMasterSyncAutomaticallyAsUser(enabling, in onClick()