Home
last modified time | relevance | path

Searched refs:getIsSyncable (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java339 …engine.setIsSyncable(account, userId, authority, engine.getIsSyncable(account, userId, authority)); in removePeriodicSyncs()
428 assertEquals(1, engine.getIsSyncable(account1, 0, authority1)); in testAuthorityPersistence()
429 assertEquals(1, engine.getIsSyncable(account2, 0, authority1)); in testAuthorityPersistence()
430 assertEquals(1, engine.getIsSyncable(account1, 0, authority2)); in testAuthorityPersistence()
431 assertEquals(0, engine.getIsSyncable(account2, 0, authority2)); in testAuthorityPersistence()
823 assertEquals(-1, engine.getIsSyncable(account, 0, "other1")); in testSyncableMigration()
824 assertEquals(1, engine.getIsSyncable(account, 0, "other2")); in testSyncableMigration()
825 assertEquals(0, engine.getIsSyncable(account, 0, "other3")); in testSyncableMigration()
826 assertEquals(1, engine.getIsSyncable(account, 0, "other4")); in testSyncableMigration()
/frameworks/base/core/java/android/content/
DIContentService.aidl121 int getIsSyncable(in Account account, String providerName); in getIsSyncable() method
DAbstractThreadedSyncAdapter.java178 if (ContentResolver.getIsSyncable(account, authority) < 0) { in startSync()
DContentResolver.java2156 public static int getIsSyncable(Account account, String authority) { in getIsSyncable() method in ContentResolver
2158 return getContentService().getIsSyncable(account, authority); in getIsSyncable()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java163 int syncState = ContentResolver.getIsSyncable(account, authority); in serializeAccountSyncSettingsToJSON()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java688 public int getIsSyncable(Account account, String providerName) { in getIsSyncable() method in ContentService
706 return syncManager.getIsSyncable( in getIsSyncableAsUser()
DSyncManager.java596 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() method in SyncManager
597 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
816 int isSyncable = getIsSyncable(account.account, account.userId, in scheduleSync()
2373 if (getIsSyncable(target.account, target.userId, target.provider) in isDispatchable()
2811 state = getIsSyncable(target.account, target.userId, target.provider);
DSyncStorageEngine.java707 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() method in SyncStorageEngine
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-sync-adapter.jd572 permission in order to call {@link android.content.ContentResolver#getIsSyncable
573 getIsSyncable()}.
/frameworks/base/api/
Dcurrent.txt7504 method public static int getIsSyncable(android.accounts.Account, java.lang.String);
Dsystem-current.txt7744 method public static int getIsSyncable(android.accounts.Account, java.lang.String);