Searched refs:syncPref (Results 1 – 3 of 3) 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 …]
236 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local237 if (syncPref.getUid() == uid) { in onActivityResult()238 onPreferenceTreeClick(syncPref); in onActivityResult()252 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local253 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()257 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()259 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()263 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()272 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()352 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local[all …]
163 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local164 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()165 Account account = syncPref.getAccount(); in onPreferenceTreeClick()168 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()174 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()231 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local232 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()235 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()308 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local310 String authority = syncPref.getAuthority(); in onSyncStateUpdated()[all …]