Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java344 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in onSyncStateUpdated() local
346 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()
348 syncPref.setPending(authorityIsPending && (syncState >= 0) && in onSyncStateUpdated()
389 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, authority, in updateAccountSwitches() local
392 Log.v(TAG, " found authority " + authority + " " + syncState); in updateAccountSwitches()
394 if (syncState > 0) { in updateAccountSwitches()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java463 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in setFeedsState() local
465 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
467 syncPref.setPending(authorityIsPending && (syncState >= 0) && in setFeedsState()
540 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches() local
543 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches()
545 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/
DAccountSyncPreferenceController.java109 int syncState = in getSummary() local
111 if (syncState > 0) { in getSummary()
DAccountDetailsWithSyncStatusPreferenceController.java107 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in isSyncFailing() local
111 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
DAccountSyncDetailsPreferenceController.java355 AccountSyncHelper.SyncState syncState = AccountSyncHelper.getSyncState(status, in getSyncPreferences() local
357 pref.setSyncState(syncState); in getSyncPreferences()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java210 mToggle.syncState(); in update()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1101 mToggle.syncState(); in onPostCreate()