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 | 83 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()
|
D | AccountSyncPreferenceControllerTest.java | 154 ContentResolver.setMasterSyncAutomaticallyAsUser(true, mUserId); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() 175 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in refreshUi_masterAutomaticSyncUsed_shouldCount()
|
D | AccountSyncDetailsFragmentTest.java | 135 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/ |
D | AccountAutoSyncPreferenceController.java | 53 ContentResolver.setMasterSyncAutomaticallyAsUser(enabling, userHandle.getIdentifier());
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | AutoSyncDataPreferenceController.java | 156 ContentResolver.setMasterSyncAutomaticallyAsUser(mEnabling, in onClick()
|
/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
|