Searched refs:oneTimeSyncMode (Results 1 – 12 of 12) sorted by relevance
107 public void setOneTimeSyncMode(boolean oneTimeSyncMode) { in setOneTimeSyncMode() argument108 mOneTimeSyncMode = oneTimeSyncMode; in setOneTimeSyncMode()
308 boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in getSyncPreferences()351 boolean checked = oneTimeSyncMode || syncEnabled; in getSyncPreferences()361 pref.setOneTimeSyncMode(oneTimeSyncMode); in getSyncPreferences()
120 boolean oneTimeSyncMode = in getSummary()122 if (oneTimeSyncMode || syncEnabled) { in getSummary()
146 boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser(userId); in syncIsAllowed()149 return oneTimeSyncMode || syncEnabled; in syncIsAllowed()
120 public void setOneTimeSyncMode(boolean oneTimeSyncMode) { in setOneTimeSyncMode() argument121 mOneTimeSyncMode = oneTimeSyncMode; in setOneTimeSyncMode()
336 final boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser( in onSyncStateUpdated()338 syncPref.setOneTimeSyncMode(oneTimeSyncMode); in onSyncStateUpdated()339 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in onSyncStateUpdated()
133 public void setOneTimeSyncMode(boolean oneTimeSyncMode) { in setOneTimeSyncMode() argument134 mOneTimeSyncMode = oneTimeSyncMode; in setOneTimeSyncMode()
123 final boolean oneTimeSyncMode = in updateSummary()125 if (oneTimeSyncMode || syncEnabled) { in updateSummary()
455 final boolean oneTimeSyncMode = !ContentResolver.getMasterSyncAutomaticallyAsUser( in setFeedsState()457 syncPref.setOneTimeSyncMode(oneTimeSyncMode); in setFeedsState()458 syncPref.setChecked(oneTimeSyncMode || syncEnabled); in setFeedsState()