Home
last modified time | relevance | path

Searched refs:getSyncAutomatically (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DInvalidSyncAuthoritiesDeviceTest.java71 assertTrue(ContentResolver.getSyncAutomatically(mValidAccount, VALID_TEST_AUTHORITY)); in populateAndTestSyncAutomaticallyBeforeReboot()
72 assertTrue(ContentResolver.getSyncAutomatically(mValidAccount, INVALID_TEST_AUTHORITY)); in populateAndTestSyncAutomaticallyBeforeReboot()
79 assertTrue(ContentResolver.getSyncAutomatically(mValidAccount, VALID_TEST_AUTHORITY)); in testSyncAutomaticallyAfterReboot()
80 assertFalse(ContentResolver.getSyncAutomatically(mValidAccount, INVALID_TEST_AUTHORITY)); in testSyncAutomaticallyAfterReboot()
81 assertFalse(ContentResolver.getSyncAutomatically(mInvalidAccount, VALID_TEST_AUTHORITY)); in testSyncAutomaticallyAfterReboot()
82 assertFalse(ContentResolver.getSyncAutomatically(mInvalidAccount, INVALID_TEST_AUTHORITY)); in testSyncAutomaticallyAfterReboot()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DSyncAdapterEnumerationTests.java212 assertThat(getSyncAutomatically(QUERIES_NOTHING, TARGET_SYNCADAPTER), is(false)); in queriesNothing_getSyncAutomatically_cannotSeeSyncAdapterTarget()
218 assertThat(getSyncAutomatically(QUERIES_PACKAGE, TARGET_SYNCADAPTER), is(true)); in queriesPackage_getSyncAutomatically_canSeeSyncAdapterTarget()
301 private boolean getSyncAutomatically(String sourcePackageName, String targetPackageName) in getSyncAutomatically() method in SyncAdapterEnumerationTests
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java266 assertEquals(false, ContentResolver.getSyncAutomatically(ACCOUNT, AUTHORITY)); in testGetAndSetSyncAutomatically()
269 assertEquals(true, ContentResolver.getSyncAutomatically(ACCOUNT, AUTHORITY)); in testGetAndSetSyncAutomatically()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java217 assertEquals(syncAutomatically, ContentResolver.getSyncAutomatically(mAccount, in assertSettings()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java313 getSyncAutomatically(remoteCallback, authority); in handleIntent()
908 private void getSyncAutomatically(RemoteCallback remoteCallback, String authority) { in getSyncAutomatically() method in TestActivity
909 final boolean ret = ContentResolver.getSyncAutomatically(null /* account */, authority); in getSyncAutomatically()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10376 method public static boolean getSyncAutomatically(android.accounts.Account, String);