Searched refs:setIsSyncable (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 172 private void setIsSyncable(Account account, String authority, boolean b) { in setIsSyncable() method in ContentResolverSyncTestCase 173 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0); in setIsSyncable() 193 setIsSyncable(ACCOUNT, AUTHORITY, true); in testRequestSync() 224 setIsSyncable(ACCOUNT, AUTHORITY, true); in testCancelSync() 280 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 2); in testGetAndSetIsSyncable() 283 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 1); in testGetAndSetIsSyncable() 286 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, 0); in testGetAndSetIsSyncable() 289 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, -1); in testGetAndSetIsSyncable() 292 ContentResolver.setIsSyncable(ACCOUNT, AUTHORITY, -2); in testGetAndSetIsSyncable() 367 setIsSyncable(ACCOUNT, AUTHORITY, true);
|
D | DeferSyncTest.java | 116 ContentResolver.setIsSyncable(account.account, NOT_ALWAYS_SYNCABLE_AUTHORITY, 1); in deferSyncAndMakeSyncable()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsSyncTest.java | 59 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1); in testRunSyncs()
|
D | BatteryStatsBgVsFgActions.java | 302 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1); in doSync()
|
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsSyncAdapter.java | 81 getContext().getContentResolver().setIsSyncable(account, authority, 1); in onPerformSync()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 305 ContentResolver.setIsSyncable(account, StatsdProvider.AUTHORITY, 1); in testSyncState()
|