Home
last modified time | relevance | path

Searched refs:setIsSyncable (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java174 private void setIsSyncable(Account account, String authority, boolean b) { in setIsSyncable() method in ContentResolverSyncTestCase
175 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0); in setIsSyncable()
195 setIsSyncable(ACCOUNT, AUTHORITY, true); in testRequestSync()
226 setIsSyncable(ACCOUNT, AUTHORITY, true); in testCancelSync()
282 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 2); in testGetAndSetIsSyncable()
285 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 1); in testGetAndSetIsSyncable()
288 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 0); in testGetAndSetIsSyncable()
291 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, -1); in testGetAndSetIsSyncable()
294 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, -2); in testGetAndSetIsSyncable()
369 setIsSyncable(ACCOUNT, AUTHORITY, true);
DDeferSyncTest.java119 ContentResolver.setIsSyncable(account.account, NOT_ALWAYS_SYNCABLE_AUTHORITY, 1); in deferSyncAndMakeSyncable()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncTest.java60 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1); in testRunSyncs()
DBatteryStatsBgVsFgActions.java316 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1); in doSync()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java81 getContext().getContentResolver().setIsSyncable(account, authority, 1); in onPerformSync()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java213 ContentResolver.setIsSyncable(mAccount, SyncAdapterSettingsProvider.AUTHORITY, isSyncable); in setSyncAutomaticallyAndIsSyncable()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java307 ContentResolver.setIsSyncable(account, StatsdProvider.AUTHORITY, 1); in testSyncState()