Home
last modified time | relevance | path

Searched refs:requestSyncIfAllowed (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceControllerTest.java165 when(AccountSyncHelper.requestSyncIfAllowed(any(), anyString(), in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
181 when(AccountSyncHelper.requestSyncIfAllowed(any(), anyString(), in onButtonClicked_doesNotHaveActiveSyncs_syncNotAllowed_shouldNotSyncAdapter()
241 if (AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId)) { in requestSync()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceController.java161 AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId); in requestSync()
DAccountSyncHelper.java95 static boolean requestSyncIfAllowed(Account account, String authority, int userId) { in requestSyncIfAllowed() method in AccountSyncHelper
DAccountSyncDetailsPreferenceController.java216 AccountSyncHelper.requestSyncIfAllowed(mAccount, authority, mUserHandle.getIdentifier()); in requestSync()