Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java49 getMockSyncAdapter(); in setUp()
55 getMockSyncAdapter().clearData(); in tearDown()
66 public static synchronized MockSyncAdapter getMockSyncAdapter() { in getMockSyncAdapter() method in ContentResolverSyncTestCase
67 return MockSyncAdapter.getMockSyncAdapter(); in getMockSyncAdapter()
93 getMockSyncAdapter().clearData(); in setNewLatch()
94 getMockSyncAdapter().setLatch(latch); in setNewLatch()
114 assertFalse(getMockSyncAdapter().isStartSync()); in addAccountAndVerifyInitSync()
115 assertFalse(getMockSyncAdapter().isCancelSync()); in addAccountAndVerifyInitSync()
116 assertTrue(getMockSyncAdapter().isInitialized()); in addAccountAndVerifyInitSync()
117 assertEquals(account, getMockSyncAdapter().getAccounts().get(accountIndex)); in addAccountAndVerifyInitSync()
[all …]
DMockSyncAdapterService.java26 return MockSyncAdapter.getMockSyncAdapter(); in onBind()
DMockSyncAdapter.java130 public static MockSyncAdapter getMockSyncAdapter() { in getMockSyncAdapter() method in MockSyncAdapter