Searched refs:authority (Results 51 - 75 of 88) sorted by relevance

1234

/frameworks/base/media/java/android/media/
H A DRingtone.java213 String authority = uri.getAuthority();
215 if (Settings.AUTHORITY.equals(authority)) {
228 if (MediaStore.AUTHORITY.equals(authority)) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
H A DJob.java141 ContentProviderClient client = mClients.get(doc.authority);
146 doc.authority);
148 mClients.put(doc.authority, client);
/frameworks/base/core/java/android/provider/
H A DSearchIndexablesProvider.java81 mAuthority = info.authority;
H A DDocumentsProvider.java153 mAuthority = info.authority;
727 final String authority = documentUri.getAuthority();
730 if (!mAuthority.equals(authority)) {
732 "Requested authority " + authority + " doesn't match provider " + mAuthority);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLauncherActivity.java127 .authority(LAUNCH_CONTROL_AUTHORITY)
H A DLocalPreferences.java72 return ROOT_VIEW_MODE_PREFIX + root.authority + root.rootId;
H A DFilesActivity.java96 // -- a fake Uri from notifications. These URIs have no authority (TODO: details).
117 // authority. That way a misbehaving provider won't result in an ANR.
185 if (mRoots.getRootBlocking(root.authority, root.rootId) == null) {
305 // based on authority, so we don't grant.
476 final String authority = uri.getAuthority();
479 rootsCache.getRootsForAuthorityBlocking(authority);
H A DBaseActivity.java433 authorities.add(provider.authority);
596 if (cwd != null && cwd.authority != null) {
597 return ProviderExecutor.forAuthority(cwd.authority);
719 root.authority, root.documentId);
H A DCreateDirectoryFragment.java113 ProviderExecutor.forAuthority(cwd.authority));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java84 builder.append(root.authority).append('#');
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
H A DAuthenticatorHelper.java263 Log.v(TAG, "Added authority " + sa.authority + " to accountType "
266 authorities.add(sa.authority);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java127 * the backoff on the authority. Then we reschedule all syncs associated with that authority to
525 type.authority, null, 0 /* no delay */, 0 /* no delay */,
732 * @param requestedAuthority the authority to sync, may be null to indicate all authorities
794 // For each authority sync each account that matches a sync adapter.
798 syncableAuthorities.add(syncAdapter.type.authority);
802 // with just this authority or clear it if this authority isn't
810 for (String authority : syncableAuthorities) {
812 authority);
959 scheduleLocalSync(Account account, int userId, int reason, String authority) argument
980 getSyncAdapterPackagesForAuthorityAsUser(String authority, int userId) argument
3022 installHandleTooManyDeletesNotification(Account account, String authority, long numDeletes, int userId) argument
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java63 public DocumentsProviderHelper(String authority, ContentProviderClient client) { argument
64 checkArgument(!TextUtils.isEmpty(authority));
65 mAuthority = authority;
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java90 final String authority = "testprovider";
100 authority,
148 + "<authority id=\"0\" user=\"0\" account=\"account1\" type=\"type1\" authority=\"auth1\" />\n"
149 + "<authority id=\"1\" user=\"1\" account=\"account1\" type=\"type1\" authority=\"auth1\" />\n"
186 + "<authority id=\"0\" account=\"acc1\" type=\"type1\" authority=\"contacts\" />\n"
187 + "<authority id=\"1\" account=\"acc1\" type=\"type1\" authority
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java67 * a {@link ContentResolver} the system inspects the authority of the given URI and passes the
68 * request to the content provider registered with the authority. The content provider can interpret
109 // Since most Providers have only one authority, we keep both a String and a String[] to improve
748 protected final boolean matchesOurAuthorities(String authority) { argument
750 return mAuthority.equals(authority);
755 if (mAuthorities[i].equals(authority)) return true;
1749 setAuthorities(info.authority);
1855 String message = "The authority of the uri " + uri + " does not match the one of the "
1897 * Removes userId part from authority string. Expects format:
1898 * userId@some.authority
[all...]
H A DIntent.java4272 * authority, and all path segments defined by the prefix are an exact
5175 String authority = null;
5184 // Found a authority, remember it.
5185 authority = data.substring(end+1, newEnd);
5199 } else if (authority == null) {
5202 data = scheme + "://" + authority + data.substring(end);
8474 String authority = mData.getEncodedAuthority();
8475 if (authority != null) {
8477 uri.append(authority);
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DModelTest.java151 String authority =
155 switch (authority) {
163 fail("Unrecognized authority string");
/frameworks/base/core/java/android/service/notification/
H A DCondition.java217 .authority(context.getPackageName());
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DFileOperationServiceTest.java172 .authority("com.android.documentsui.testing")
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java266 .authority(host + (port != -1 ? ":" + port : ""))
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DStressProvider.java89 mAuthority = info.authority;
/frameworks/base/services/core/java/com/android/server/am/
H A DContentProviderRecord.java163 pw.print(prefix); pw.print("authority="); pw.println(info.authority);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryFragment.java1391 return mIconHelper.getDocumentIcon(mContext, doc.authority, doc.documentId,
1762 builder.append(root != null ? root.authority : "null").append(';');
1789 mRoot.authority, mRoot.rootId, mQuery)
1791 mDocument.authority, mDocument.documentId);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java107 mAuthority = info.authority;
/frameworks/base/services/core/java/com/android/server/pm/
H A DDefaultPermissionGrantPolicy.java771 String authority, int userId) {
772 ProviderInfo provider = mService.resolveContentProvider(authority, DEFAULT_FLAGS, userId);
770 getDefaultProviderAuthorityPackageLPr( String authority, int userId) argument

Completed in 831 milliseconds

1234