Searched refs:setMasterSyncAutomaticallyAsUser (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsPreferenceControllerTest.java | 225 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()
|
D | AccountAutoSyncPreferenceControllerTest.java | 99 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()
|
D | AccountSyncPreferenceControllerTest.java | 146 ContentResolver.setMasterSyncAutomaticallyAsUser(true, mUserId); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() 165 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in refreshUi_masterAutomaticSyncUsed_shouldCount()
|
D | AccountSyncDetailsFragmentTest.java | 131 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ true, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters() 153 ContentResolver.setMasterSyncAutomaticallyAsUser(/* sync= */ false, USER_ID); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountAutoSyncPreferenceController.java | 54 ContentResolver.setMasterSyncAutomaticallyAsUser(enabling, userHandle.getIdentifier());
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AutoSyncDataPreferenceController.java | 156 ContentResolver.setMasterSyncAutomaticallyAsUser(mEnabling, in onClick()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowContentResolver.java | 105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() method in ShadowContentResolver
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | AutoSyncDataPreferenceController.java | 156 ContentResolver.setMasterSyncAutomaticallyAsUser(mEnabling, in onClick()
|