Searched refs:requestSyncIfAllowed (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/ |
D | AccountDetailsWithSyncStatusPreferenceControllerTest.java | 165 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/ |
D | AccountDetailsWithSyncStatusPreferenceController.java | 161 AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId); in requestSync()
|
D | AccountSyncHelper.java | 95 static boolean requestSyncIfAllowed(Account account, String authority, int userId) { in requestSyncIfAllowed() method in AccountSyncHelper
|
D | AccountSyncDetailsPreferenceController.java | 216 AccountSyncHelper.requestSyncIfAllowed(mAccount, authority, mUserHandle.getIdentifier()); in requestSync()
|