Home
last modified time | relevance | path

Searched refs:getMasterSyncAutomaticallyAsUser (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DContentResolverCompat.java55 public static boolean getMasterSyncAutomaticallyAsUser(@UserIdInt int userId) { in getMasterSyncAutomaticallyAsUser() method in ContentResolverCompat
56 return ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in getMasterSyncAutomaticallyAsUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DAutoSyncDataPreferenceControllerTest.java140 assertThat(ContentResolver.getMasterSyncAutomaticallyAsUser(0)).isFalse(); in confirmDialog_uncheckThenOk_shouldUncheck()
152 assertThat(ContentResolver.getMasterSyncAutomaticallyAsUser(0)).isTrue(); in confirmDialog_uncheckThenCancel_shouldNotUncheck()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java64 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java70 preference.setChecked(ContentResolver.getMasterSyncAutomaticallyAsUser( in updateState()
DAccountSyncPreferenceController.java121 !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in getSummary()
DAccountSyncHelper.java152 boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in syncIsAllowed()
DAccountSyncDetailsPreferenceController.java305 boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in getSyncPreferences()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncPreferenceController.java124 !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in updateSummary()
DAccountSyncSettings.java314 if (!ContentResolver.getMasterSyncAutomaticallyAsUser(userId) || !syncOn) { in onPreferenceTreeClick()
485 final boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser( in setFeedsState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java189 if (!ContentResolver.getMasterSyncAutomaticallyAsUser(userId) || !syncOn) { in onPreferenceTreeClick()
354 final boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser( in onSyncStateUpdated()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java74 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() method in ShadowContentResolver
/packages/apps/Settings/src/com/android/settings/users/
DAutoSyncDataPreferenceController.java63 switchPreference.setChecked(ContentResolver.getMasterSyncAutomaticallyAsUser( in updateState()