Lines Matching defs:authority
135 * the backoff on the authority. Then we reschedule all syncs associated with that authority to
604 type.authority, null, AuthorityInfo.UNDEFINED);
869 * @param requestedAuthority the authority to sync, may be null to indicate all authorities
949 // For each authority sync each account that matches a sync adapter.
953 syncableAuthorities.add(syncAdapter.type.authority);
957 // with just this authority or clear it if this authority isn't
965 for (String authority : syncableAuthorities) {
966 int isSyncable = computeSyncable(account.account, account.userId, authority);
973 mSyncAdapters.getServiceInfo(SyncAdapterType.newKey(authority,
1002 scheduleSync(account.account, userId, reason, authority,
1014 account.account, account.userId, authority, AuthorityInfo.SYNCABLE);
1031 account.userId, authority));
1034 Log.d(TAG, "scheduleSync: sync of " + account + ", " + authority
1041 account.account, authority, account.userId);
1058 + ", authority " + authority
1064 authority, newExtras, allowParallelSyncs),
1074 + ", authority " + authority
1080 authority, extras, allowParallelSyncs),
1088 private int computeSyncable(Account account, int userId, String authority) {
1089 return computeSyncable(account, userId, authority, true);
1092 public int computeSyncable(Account account, int userId, String authority,
1094 final int status = getIsSyncable(account, userId, authority);
1098 final SyncAdapterType type = SyncAdapterType.newKey(authority, account.type);
1197 public void scheduleLocalSync(Account account, int userId, int reason, String authority) {
1200 scheduleSync(account, userId, reason, authority, extras,
1216 public String[] getSyncAdapterPackagesForAuthorityAsUser(String authority, int userId) {
1217 return mSyncAdapters.getSyncAdapterPackagesForAuthority(authority, userId);
1579 * @param info Authority for which the sync is to be removed.
1687 null /* any authority */,
2071 "Authority", // 0
2094 return lhs.type.authority.compareTo(rhs.type.authority);
2106 syncAdapterType.type.authority,
2111 String authority = settings.target.provider;
2112 if (authority.length() > 50) {
2113 authority = authority.substring(authority.length() - 50);
2115 table.set(row, 0, authority, settings.syncable, settings.enabled);
3292 " authority=", syncOperation.target.provider,
3525 private void installHandleTooManyDeletesNotification(Account account, String authority,
3530 authority, 0 /* flags */);
3538 clickIntent.putExtra("authority", authority);
3571 Integer.toString(account.hashCode() ^ authority.hashCode()),