Home
last modified time | relevance | path

Searched refs:syncState (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java328 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in onSyncStateUpdated() local
330 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()
332 syncPref.setPending(authorityIsPending && (syncState >= 0) && in onSyncStateUpdated()
373 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, authority, in updateAccountSwitches() local
376 Log.v(TAG, " found authority " + authority + " " + syncState); in updateAccountSwitches()
378 if (syncState > 0) { in updateAccountSwitches()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java447 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in setFeedsState() local
449 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
451 syncPref.setPending(authorityIsPending && (syncState >= 0) && in setFeedsState()
524 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches() local
527 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches()
529 if (syncState > 0) { in updateAccountSwitches()
DAccountSyncPreferenceController.java117 final int syncState = in updateSummary() local
119 if (syncState > 0) { in updateSummary()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java447 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in setFeedsState() local
449 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
451 syncPref.setPending(authorityIsPending && (syncState >= 0) && in setFeedsState()
524 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches() local
527 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches()
529 if (syncState > 0) { in updateAccountSwitches()
DAccountSyncPreferenceController.java117 final int syncState = in updateSummary() local
119 if (syncState > 0) { in updateSummary()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceController.java109 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in isSyncFailing() local
113 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
DAccountSyncPreferenceController.java109 int syncState = in getSummary() local
111 if (syncState > 0) { in getSummary()
DAccountSyncDetailsPreferenceController.java358 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in getSyncPreferences() local
360 pref.setSyncState(syncState); in getSyncPreferences()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java186 mToggle.syncState(); in update()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1101 mToggle.syncState(); in onPostCreate()