/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncSettings.java | 208 private void addSyncStateCheckBox(Account account, String authority) { in addSyncStateCheckBox() argument 210 new SyncStateCheckBoxPreference(getActivity(), account, authority); in addSyncStateCheckBox() 212 final ProviderInfo providerInfo = getPackageManager().resolveContentProvider(authority, 0); in addSyncStateCheckBox() 218 Log.e(TAG, "Provider needs a label for authority '" + authority + "'"); in addSyncStateCheckBox() 223 item.setKey(authority); in addSyncStateCheckBox() 278 String authority = syncPref.getAuthority(); in onPreferenceTreeClick() local 280 boolean syncAutomatically = ContentResolver.getSyncAutomatically(account, authority); in onPreferenceTreeClick() 282 requestOrCancelSync(account, authority, true); in onPreferenceTreeClick() 288 ContentResolver.setSyncAutomatically(account, authority, syncOn); in onPreferenceTreeClick() 293 requestOrCancelSync(account, authority, syncOn); in onPreferenceTreeClick() [all …]
|
D | ManageAccountsSettings.java | 204 && ContentResolver.getSyncAutomatically(account, sa.authority)) { in requestOrCancelSyncForAccounts() 206 ContentResolver.requestSync(account, sa.authority, extras); in requestOrCancelSyncForAccounts() 208 ContentResolver.cancelSync(account, sa.authority); in requestOrCancelSyncForAccounts() 233 userFacing.add(sa.authority); in onSyncStateUpdated() 250 for (String authority : authorities) { in onSyncStateUpdated() 251 SyncStatusInfo status = ContentResolver.getSyncStatus(account, authority); in onSyncStateUpdated() 252 boolean syncEnabled = ContentResolver.getSyncAutomatically(account, authority) in onSyncStateUpdated() 254 && (ContentResolver.getIsSyncable(account, authority) > 0); in onSyncStateUpdated() 255 boolean authorityIsPending = ContentResolver.isSyncPending(account, authority); in onSyncStateUpdated() 257 && currentSync.authority.equals(authority) in onSyncStateUpdated() [all …]
|
D | SyncStateCheckBoxPreference.java | 52 public SyncStateCheckBoxPreference(Context context, Account account, String authority) { in SyncStateCheckBoxPreference() argument 55 mAuthority = authority; in SyncStateCheckBoxPreference()
|
D | AccountPreferenceBase.java | 129 Log.d(TAG, "added authority " + sa.authority + " to accountType " in getAuthoritiesForAccountType() 132 authorities.add(sa.authority); in getAuthoritiesForAccountType()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | AbstractSyncAdapter.java | 216 private ContentProviderResult[] execute(String authority, in execute() argument 222 ContentProviderResult[] result = mContentResolver.applyBatch(authority, ops); in execute() 252 private ContentProviderResult[] applyBatch(String authority, ArrayList<Operation> ops, in applyBatch() argument 262 return execute(authority, cpos); in applyBatch() 268 private void applyAndCopyResults(String authority, ArrayList<Operation> mini, in applyAndCopyResults() argument 273 ContentProviderResult[] miniResult = applyBatch(authority, mini, offset); in applyAndCopyResults() 293 protected ContentProviderResult[] safeExecute(String authority, ArrayList<Operation> ops) in safeExecute() argument 295 mService.userLog("Try to execute ", ops.size(), " CPO's for " + authority); in safeExecute() 299 return applyBatch(authority, ops, 0); in safeExecute() 312 applyAndCopyResults(authority, mini, result, offset); in safeExecute() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchableSource.java | 94 String authority = mSearchable.getSuggestAuthority(); in canRead() local 95 if (authority == null) { in canRead() 103 .authority(authority); in canRead() 354 String authority = searchable.getSuggestAuthority(); in getSuggestUriBase() local 355 if (authority == null) { in getSuggestUriBase() 361 .authority(authority); in getSuggestUriBase() 412 String authority = searchable.getSuggestAuthority(); in getValidationCursor() local 413 if (authority == null) { in getValidationCursor() 419 .authority(authority); in getValidationCursor()
|
D | PackageIconLoader.java | 187 String authority = uri.getAuthority(); in getResourceId() local 189 if (TextUtils.isEmpty(authority)) { in getResourceId() 193 r = mPackageContext.getPackageManager().getResourcesForApplication(authority); in getResourceId() 211 id = r.getIdentifier(path.get(1), path.get(0), authority); in getResourceId()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSuggestionProvider.java | 119 String authority = getAuthority(context); in buildUriMatcher() local 121 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY, in buildUriMatcher() 123 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", in buildUriMatcher() 125 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT, in buildUriMatcher() 127 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", in buildUriMatcher()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactLoaderUtils.java | 46 final String authority = uri.getAuthority(); in ensureIsContactUri() local 49 if (ContactsContract.AUTHORITY.equals(authority)) { in ensureIsContactUri() 69 if (OBSOLETE_AUTHORITY.equals(authority)) { in ensureIsContactUri()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 289 String authority = android.provider.Contacts.AUTHORITY; 290 matcher.addURI(authority, "extensions", EXTENSIONS); in matcher.addURI() argument 291 matcher.addURI(authority, "extensions/#", EXTENSIONS_ID); in matcher.addURI() argument 292 matcher.addURI(authority, "groups", GROUPS); in matcher.addURI() argument 293 matcher.addURI(authority, "groups/#", GROUPS_ID); in matcher.addURI() argument 294 matcher.addURI(authority, "groups/name/*/members", GROUP_NAME_MEMBERS); in matcher.addURI() argument 297 matcher.addURI(authority, "groups/system_id/*/members", GROUP_SYSTEM_ID_MEMBERS); in matcher.addURI() argument 300 matcher.addURI(authority, "groupmembership", GROUPMEMBERSHIP); in matcher.addURI() argument 301 matcher.addURI(authority, "groupmembership/#", GROUPMEMBERSHIP_ID); in matcher.addURI() argument 303 matcher.addURI(authority, "people", PEOPLE); in matcher.addURI() argument [all …]
|
D | ContactDirectoryManager.java | 61 String authority; field in ContactDirectoryManager.DirectoryInfo 74 + " authority=" + authority in toString() 285 deleteWhereArgs.add(info.authority); in scanAllPackages() 415 .authority(provider.authority).appendPath("directories").build(); in queryDirectoriesForAuthority() 426 info.authority = provider.authority; in queryDirectoriesForAuthority() 495 values.put(Directory.DIRECTORY_AUTHORITY, info.authority); in updateDirectories() 513 info.packageName, info.authority, info.accountName, info.accountType }, in updateDirectories() 532 return "Directory provider " + provider.packageName + "(" + provider.authority + ")"; in providerDescription()
|
D | ProfileAwareUriMatcher.java | 65 public void addURI(String authority, String path, int code) { in addURI() argument 66 super.addURI(authority, path, code); in addURI()
|
/packages/apps/Email/src/com/android/email/service/ |
D | PopImapSyncAdapterService.java | 57 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument 60 authority, provider, syncResult); in onPerformSync() 85 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EmailSyncAdapterService.java | 61 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument 64 authority, provider, syncResult); in onPerformSync() 90 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
|
D | CalendarSyncAdapterService.java | 67 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument 70 authority, provider, syncResult); in onPerformSync() 98 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
|
D | ContactsSyncAdapterService.java | 63 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument 66 authority, provider, syncResult); in onPerformSync() 103 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | TypedUriMatcherImpl.java | 32 public TypedUriMatcherImpl(String authority, T[] values) { in TypedUriMatcherImpl() argument 33 mAuthority = authority; in TypedUriMatcherImpl()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 147 Class<? extends ContentProvider> providerClass, String authority) throws Exception { in ContactsActor() argument 190 provider = addProvider(providerClass, authority); in ContactsActor() 193 public void addAuthority(String authority) { in addAuthority() argument 194 resolver.addProvider(authority, provider); in addAuthority() 198 String authority) throws Exception { in addProvider() argument 201 info.authority = authority; in addProvider() 203 resolver.addProvider(authority, provider); in addProvider()
|
D | ContactDirectoryManagerTest.java | 67 mAuthority = info.authority; in attachInfo() 581 protected PackageInfo createProviderPackage(String packageName, String authority) { in createProviderPackage() argument 582 return createPackage(packageName, authority, true); in createProviderPackage() 585 protected PackageInfo createPackage(String packageName, String authority, in createPackage() argument 591 providerInfo.authority = authority; in createPackage() 614 protected void assertDirectoryRow(Cursor cursor, String packageName, String authority, in assertDirectoryRow() argument 619 values.put(Directory.DIRECTORY_AUTHORITY, authority); in assertDirectoryRow()
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 169 String authority = searchable.getSuggestAuthority(); in getSuggestions() local 170 if (authority == null) { in getSuggestions() 176 .authority(authority) in getSuggestions()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 101 final String authority = PartnerBookmarksContract.AUTHORITY; 102 matcher.addURI(authority, "bookmarks", URI_MATCH_BOOKMARKS); in matcher.addURI() argument 103 matcher.addURI(authority, "bookmarks/#", URI_MATCH_BOOKMARKS_ID); in matcher.addURI() argument 104 matcher.addURI(authority, "bookmarks/folder", URI_MATCH_BOOKMARKS_FOLDER); in matcher.addURI() argument 105 matcher.addURI(authority, "bookmarks/folder/#", URI_MATCH_BOOKMARKS_FOLDER_ID); in matcher.addURI() argument 106 matcher.addURI(authority, "bookmarks/folder/id", in matcher.addURI() argument
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 160 .authority(PICASA_AUTHORITY) in findImages() 216 .authority(PICASA_AUTHORITY) in resolveAccount() 250 .authority(PICASA_AUTHORITY) in resolveAlbumIds() 293 .authority(PICASA_AUTHORITY) in findAlbums() 390 .authority(PICASA_AUTHORITY) in getStream()
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider2.java | 76 .authority(LEGACY_AUTHORITY).scheme("content").build(); 203 final String authority = BrowserContract.AUTHORITY; 204 matcher.addURI(authority, "accounts", ACCOUNTS); in matcher.addURI() argument 205 matcher.addURI(authority, "bookmarks", BOOKMARKS); in matcher.addURI() argument 206 matcher.addURI(authority, "bookmarks/#", BOOKMARKS_ID); in matcher.addURI() argument 207 matcher.addURI(authority, "bookmarks/folder", BOOKMARKS_FOLDER); in matcher.addURI() argument 208 matcher.addURI(authority, "bookmarks/folder/#", BOOKMARKS_FOLDER_ID); in matcher.addURI() argument 209 matcher.addURI(authority, "bookmarks/folder/id", BOOKMARKS_DEFAULT_FOLDER_ID); in matcher.addURI() argument 210 matcher.addURI(authority, in matcher.addURI() argument 213 matcher.addURI(authority, in matcher.addURI() argument [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryService.java | 305 public void startBatch(int token, Object cookie, String authority, in startBatch() argument 314 info.authority = authority; in startBatch()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 184 final String authority = host.toLowerCase(); in DataAction() local 185 final Uri imUri = new Uri.Builder().scheme(Constants.SCHEME_IMTO).authority( in DataAction() 186 authority).appendPath(data).build(); in DataAction()
|