Home
last modified time | relevance | path

Searched refs:activelySyncing (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceController.java344 boolean activelySyncing = AccountSyncHelper.isSyncing(mAccount, currentSyncs, in getSyncPreferences()
351 String summary = getSummary(status, syncEnabled, activelySyncing); in getSyncPreferences()
356 syncEnabled, activelySyncing); in getSyncPreferences()
364 private String getSummary(SyncStatusInfo status, boolean syncEnabled, boolean activelySyncing) { in getSummary() argument
369 } else if (activelySyncing) { in getSummary()
DAccountDetailsWithSyncStatusPreferenceController.java104 boolean activelySyncing = AccountSyncHelper.isSyncing(getAccount(), currentSyncs, in isSyncFailing()
108 syncEnabled, activelySyncing); in isSyncFailing()
111 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
DAccountSyncHelper.java134 boolean activelySyncing) { in getSyncState() argument
140 if (activelySyncing && !initialSync) { in getSyncState()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java437 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in setFeedsState()
443 if (lastSyncFailed && !activelySyncing && !authorityIsPending) { in setFeedsState()
448 " active = " + activelySyncing + " pend =" + authorityIsPending); in setFeedsState()
454 } else if (activelySyncing) { in setFeedsState()
465 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java318 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in onSyncStateUpdated()
329 " active = " + activelySyncing + " pend =" + authorityIsPending); in onSyncStateUpdated()
335 } else if (activelySyncing) { in onSyncStateUpdated()
346 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()