Searched refs:syncEnabled (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsPreferenceController.java | 342 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(mAccount, authority, in getSyncPreferences() 348 boolean checked = oneTimeSyncMode || syncEnabled; in getSyncPreferences() 351 String summary = getSummary(status, syncEnabled, activelySyncing); in getSyncPreferences() 356 syncEnabled, activelySyncing); in getSyncPreferences() 364 private String getSummary(SyncStatusInfo status, boolean syncEnabled, boolean activelySyncing) { in getSummary() argument 367 if (!syncEnabled) { in getSummary()
|
D | AccountSyncHelper.java | 133 static SyncState getSyncState(SyncStatusInfo status, boolean syncEnabled, in getSyncState() argument 137 boolean lastSyncFailed = syncEnabled && status != null && status.lastFailureTime != 0 in getSyncState() 153 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in syncIsAllowed() 155 return oneTimeSyncMode || syncEnabled; in syncIsAllowed()
|
D | AccountSyncPreferenceController.java | 118 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser( in getSummary() 122 if (oneTimeSyncMode || syncEnabled) { in getSummary()
|
D | AccountDetailsWithSyncStatusPreferenceController.java | 102 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(getAccount(), in isSyncFailing() 108 syncEnabled, activelySyncing); in isSyncFailing()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 313 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in onSyncStateUpdated() 323 if (!syncEnabled) lastSyncFailed = false; in onSyncStateUpdated() 333 if (!syncEnabled) { in onSyncStateUpdated() 355 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in onSyncStateUpdated()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncPreferenceController.java | 121 final boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser( in updateSummary() 125 if (oneTimeSyncMode || syncEnabled) { in updateSummary()
|
D | AccountSyncSettings.java | 432 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in setFeedsState() 442 if (!syncEnabled) lastSyncFailed = false; in setFeedsState() 452 if (!syncEnabled) { in setFeedsState() 474 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in setFeedsState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
D | AccountStateChangedListener.java | 55 public static void onSyncPreferenceChanged(@Nullable String account, boolean syncEnabled) { in onSyncPreferenceChanged() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 240 final boolean syncEnabled = prefs.getBoolean(PREF_ENABLE_CLOUD_SYNC, false); in onSharedPreferenceChanged() 247 syncEnabled); in onSharedPreferenceChanged() local
|