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