Home | History | Annotate | Download | only in content

Lines Matching refs:syncable

179         int syncable;
190 syncable = -1; // default to "unknown"
222 // Primary list of all syncable authorities. Also our global lock.
440 return authority.syncable;
448 return authority.syncable;
455 public void setIsSyncable(Account account, String providerName, int syncable) {
456 if (syncable > 1) {
457 syncable = 1;
458 } else if (syncable < -1) {
459 syncable = -1;
461 Log.d(TAG, "setIsSyncable: " + account + ", provider " + providerName + " -> " + syncable);
464 if (authority.syncable == syncable) {
465 Log.d(TAG, "setIsSyncable: already set to " + syncable + ", doing nothing");
468 authority.syncable = syncable;
472 if (syncable > 0) {
1524 String syncable = parser.getAttributeValue(null, "syncable");
1529 syncable = "unknown";
1535 + " syncable=" + syncable);
1551 if ("unknown".equals(syncable)) {
1552 authority.syncable = -1;
1554 authority.syncable =
1555 (syncable == null || Boolean.parseBoolean(syncable)) ? 1 : 0;
1561 + " syncable=" + syncable);
1647 if (authority.syncable < 0) {
1648 out.attribute(null, "syncable", "unknown");
1650 out.attribute(null, "syncable", Boolean.toString(authority.syncable != 0));
1823 authority.syncable = 1;