Searched refs:syncEnabled (Results 1 – 5 of 5) sorted by relevance
296 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in onSyncStateUpdated()306 if (!syncEnabled) lastSyncFailed = false; in onSyncStateUpdated()316 if (!syncEnabled) { in onSyncStateUpdated()338 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in onSyncStateUpdated()
441 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in setFeedsState()451 if (!syncEnabled) lastSyncFailed = false; in setFeedsState()461 if (!syncEnabled) { in setFeedsState()483 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in setFeedsState()
291 boolean syncEnabled = isSyncEnabled(userId, account, authority); in showSyncState()295 && syncEnabled in showSyncState()307 syncCount += syncEnabled && userFacing.contains(authority) ? 1 : 0; in showSyncState()
55 public static void onSyncPreferenceChanged(@Nullable String account, boolean syncEnabled) { in onSyncPreferenceChanged() argument
240 final boolean syncEnabled = prefs.getBoolean(PREF_ENABLE_CLOUD_SYNC, false); in onSharedPreferenceChanged()247 syncEnabled); in onSharedPreferenceChanged() local