Searched refs:syncPref (Results 1 – 2 of 2) sorted by relevance
262 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local263 if (syncPref.getUid() == uid) { in onActivityResult()264 onPreferenceTreeClick(syncPref); in onActivityResult()278 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local279 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()280 Account account = syncPref.getAccount(); in onPreferenceTreeClick()282 String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()286 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()295 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()375 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local[all …]
147 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local148 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()149 Account account = syncPref.getAccount(); in onPreferenceTreeClick()151 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()154 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()207 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local208 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()211 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()284 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local286 String authority = syncPref.getAuthority(); in onSyncStateUpdated()[all …]