Searched refs:syncPref (Results 1 – 3 of 3) sorted by relevance
154 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local155 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()156 Account account = syncPref.getAccount(); in onPreferenceTreeClick()158 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()161 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()214 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local215 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()218 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()291 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local293 String authority = syncPref.getAuthority(); in onSyncStateUpdated()[all …]
235 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local236 if (syncPref.getUid() == uid) { in onActivityResult()237 onPreferenceTreeClick(syncPref); in onActivityResult()251 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local252 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()256 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()258 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()262 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()271 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()351 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local[all …]