Searched refs:syncPref (Results 1 – 2 of 2) sorted by relevance
166 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local167 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()168 Account account = syncPref.getAccount(); in onPreferenceTreeClick()171 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()177 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()234 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local235 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()238 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()309 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local311 String authority = syncPref.getAuthority(); in onSyncStateUpdated()[all …]
263 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local264 if (getRequestCodeByUid(syncPref.getUid()) == requestCode) { in onActivityResult()265 onPreferenceTreeClick(syncPref); in onActivityResult()279 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local280 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()284 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()286 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()290 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()299 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()381 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local[all …]