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.java421 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in setFeedsState()
427 if (lastSyncFailed && !activelySyncing && !authorityIsPending) { in setFeedsState()
432 " active = " + activelySyncing + " pend =" + authorityIsPending); in setFeedsState()
438 } else if (activelySyncing) { in setFeedsState()
449 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java421 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in setFeedsState()
427 if (lastSyncFailed && !activelySyncing && !authorityIsPending) { in setFeedsState()
432 " active = " + activelySyncing + " pend =" + authorityIsPending); in setFeedsState()
438 } else if (activelySyncing) { in setFeedsState()
449 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java302 boolean activelySyncing = isSyncing(currentSyncs, account, authority); in onSyncStateUpdated()
313 " active = " + activelySyncing + " pend =" + authorityIsPending); in onSyncStateUpdated()
319 } else if (activelySyncing) { in onSyncStateUpdated()
330 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()