Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceController.java347 boolean activelySyncing = AccountSyncHelper.isSyncing(mAccount, currentSyncs, in getSyncPreferences()
354 String summary = getSummary(status, syncEnabled, activelySyncing); in getSyncPreferences()
359 syncEnabled, activelySyncing); in getSyncPreferences()
367 private String getSummary(SyncStatusInfo status, boolean syncEnabled, boolean activelySyncing) { in getSummary() argument
372 } else if (activelySyncing) { in getSummary()
DAccountDetailsWithSyncStatusPreferenceController.java106 boolean activelySyncing = AccountSyncHelper.isSyncing(getAccount(), currentSyncs, in isSyncFailing()
110 syncEnabled, activelySyncing); in isSyncFailing()
113 if (syncState == AccountSyncHelper.SyncState.FAILED && !activelySyncing in isSyncFailing()
DAccountSyncHelper.java129 boolean activelySyncing) { in getSyncState() argument
135 if (activelySyncing && !initialSync) { in getSyncState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountSyncSettings.java422 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in setFeedsState()
428 if (lastSyncFailed && !activelySyncing && !authorityIsPending) { in setFeedsState()
433 " active = " + activelySyncing + " pend =" + authorityIsPending); in setFeedsState()
439 } else if (activelySyncing) { in setFeedsState()
450 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
/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.java319 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in onSyncStateUpdated()
330 " active = " + activelySyncing + " pend =" + authorityIsPending); in onSyncStateUpdated()
336 } else if (activelySyncing) { in onSyncStateUpdated()
347 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()