Home
last modified time | relevance | path

Searched refs:onSyncRequested (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragmentTest.java118 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
140 verify(mMockSyncListener, times(1)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
162 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
DAccountSyncDetailsPreferenceControllerTest.java495 verify(mMockSyncListener).onSyncRequested(eq(mAccount), eq(AUTHORITY), eq(USER_ID), in onSyncPreferenceClicked_preferenceChecked_masterSyncOff_shouldRequestSync()
510 verify(mMockSyncListener).onSyncRequested(eq(mAccount), eq(AUTHORITY), eq(USER_ID), in onSyncPreferenceClicked_oneTimeSyncOn_shouldRequestSync()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java128 sSyncListener.onSyncRequested(account, authority, userId, extras); in requestSyncAsUser()
171 void onSyncRequested(Account account, String authority, @UserIdInt int userId, in onSyncRequested() method