Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java154 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local
155 String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
156 Account account = syncPref.getAccount(); in onPreferenceTreeClick()
158 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()
161 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()
214 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local
215 if (!syncPref.isChecked()) { in requestOrCancelSyncForEnabledProviders()
218 requestOrCancelSync(syncPref.getAccount(), syncPref.getAuthority(), startSync); in requestOrCancelSyncForEnabledProviders()
291 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in onSyncStateUpdated() local
293 String authority = syncPref.getAuthority(); in onSyncStateUpdated()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java235 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local
236 if (syncPref.getUid() == uid) { in onActivityResult()
237 onPreferenceTreeClick(syncPref); in onActivityResult()
251 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local
252 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
256 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()
258 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()
262 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()
271 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()
351 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local
[all …]
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java235 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onActivityResult() local
236 if (syncPref.getUid() == uid) { in onActivityResult()
237 onPreferenceTreeClick(syncPref); in onActivityResult()
251 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) preference; in onPreferenceTreeClick() local
252 final String authority = syncPref.getAuthority(); in onPreferenceTreeClick()
256 final Account account = syncPref.getAccount(); in onPreferenceTreeClick()
258 final String packageName = syncPref.getPackageName(); in onPreferenceTreeClick()
262 if (syncPref.isOneTimeSyncMode()) { in onPreferenceTreeClick()
271 boolean syncOn = syncPref.isChecked(); in onPreferenceTreeClick()
351 SyncStateSwitchPreference syncPref = (SyncStateSwitchPreference) pref; in requestOrCancelSyncForEnabledProviders() local
[all …]