Home
last modified time | relevance | path

Searched refs:syncPref (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java262 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local
263 if (syncPref.getUid() == uid) { in onActivityResult()
264 onPreferenceTreeClick(syncPref); in onActivityResult()
278 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local
279 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 …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java147 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local
148 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() local
208 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()
211 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
284 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local
286 String authority = syncPref.getAuthority(); in onSyncStateUpdated()
[all …]