Searched refs:onSyncRequested (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsFragmentTest.java | 122 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters() 143 verify(mMockSyncListener, times(1)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters() 164 verify(mMockSyncListener, times(2)).onSyncRequested(eq(mAccount), argument.capture(), in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
|
D | AccountSyncDetailsPreferenceControllerTest.java | 495 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/ |
D | ShadowContentResolver.java | 128 sSyncListener.onSyncRequested(account, authority, userId, extras); in requestSyncAsUser() 171 void onSyncRequested(Account account, String authority, @UserIdInt int userId, in onSyncRequested() method
|