Searched refs:getSyncAutomatically (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
D | InvalidSyncAuthoritiesDeviceTest.java | 71 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/ |
D | SyncAdapterEnumerationTests.java | 212 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/ |
D | ContentResolverSyncTestCase.java | 266 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/ |
D | SyncAdapterSettingsTest.java | 217 assertEquals(syncAutomatically, ContentResolver.getSyncAutomatically(mAccount, in assertSettings()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 313 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/ |
D | current.txt | 10376 method public static boolean getSyncAutomatically(android.accounts.Account, String);
|