Searched refs:syncPref (Results 1 – 2 of 2) sorted by relevance
249 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local250 if (getRequestCodeByUid(syncPref.getUid()) == requestCode) { in onActivityResult()251 onPreferenceTreeClick(syncPref); in onActivityResult()265 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local266 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()270 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()272 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()276 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()285 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()367 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local[all …]
162 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local163 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()164 Account account = syncPref.getAccount(); in onPreferenceTreeClick()167 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()173 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()230 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local231 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()234 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()307 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local309 String authority = syncPref.getAuthority(); in onSyncStateUpdated()[all …]