Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java346 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in onSyncStateUpdated() local
348 syncPref.setActive(activelySyncing && (syncState >= 0) && in onSyncStateUpdated()
350 syncPref.setPending(authorityIsPending && (syncState >= 0) && in onSyncStateUpdated()
391 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, authority, in updateAccountSwitches() local
394 Log.v(TAG, " found authority " + authority + " " + syncState); in updateAccountSwitches()
396 if (syncState > 0) { in updateAccountSwitches()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java477 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in setFeedsState() local
479 syncPref.setActive(activelySyncing && (syncState >= 0) && in setFeedsState()
481 syncPref.setPending(authorityIsPending && (syncState >= 0) && in setFeedsState()
554 int syncState = ContentResolver.getIsSyncableAsUser(mAccount, syncAdapter.authority, in updateAccountSwitches() local
557 Log.d(TAG, " found authority " + syncAdapter.authority + " " + syncState); in updateAccountSwitches()
559 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/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java3163 Long syncState = receiveState.getBisSyncState().get(i); in isAnyReceiverReceivingBroadcast() local
3165 if (syncState != BassConstants.BIS_SYNC_NOT_SYNC_TO_BIS in isAnyReceiverReceivingBroadcast()
3166 && syncState != BassConstants.BIS_SYNC_FAILED_SYNC_TO_BIG) { in isAnyReceiverReceivingBroadcast()
3183 Long syncState = receiveState.getBisSyncState().get(i); in areReceiversReceivingOnlyExternalBroadcast() local
3185 if (syncState != BassConstants.BIS_SYNC_NOT_SYNC_TO_BIS in areReceiversReceivingOnlyExternalBroadcast()
3186 && syncState != BassConstants.BIS_SYNC_FAILED_SYNC_TO_BIG) { in areReceiversReceivingOnlyExternalBroadcast()
3212 syncState -> in getActiveBroadcastSinks()
3213 syncState in getActiveBroadcastSinks()
3216 && syncState in getActiveBroadcastSinks()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java210 mToggle.syncState(); in update()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1109 mToggle.syncState(); in onPostCreate()