Home
last modified time | relevance | path

Searched refs:mAuthority (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/
DSyncRequest.java34 private final String mAuthority; field in SyncRequest
92 return mAuthority; in getProvider()
146 parcel.writeString(mAuthority); in writeToParcel()
158 mAuthority = in.readString(); in SyncRequest()
166 mAuthority = b.mAuthority; in SyncRequest()
248 private String mAuthority; field in SyncRequest.Builder
361 mAuthority = authority; in setSyncAdapter()
DAbstractThreadedSyncAdapter.java240 private final String mAuthority; field in AbstractThreadedSyncAdapter.SyncThread
249 mAuthority = authority; in SyncThread()
262 Trace.traceBegin(Trace.TRACE_TAG_SYNC_MANAGER, mAuthority); in run()
270 provider = mContext.getContentResolver().acquireContentProviderClient(mAuthority); in run()
273 mAuthority, provider, syncResult); in run()
279 mAuthority, syncResult); in run()
DSyncActivityTooManyDeletes.java43 private String mAuthority; field in SyncActivityTooManyDeletes
58 mAuthority = extras.getString("authority"); in onCreate()
122 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncReallyDelete()
131 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncUndoDeletes()
DSearchRecentSuggestionsProvider.java78 private String mAuthority; field in SearchRecentSuggestionsProvider
182 mAuthority = new String(authority); in setupSuggestions()
186 mSuggestionsUri = Uri.parse("content://" + mAuthority + "/suggestions"); in setupSuggestions()
188 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST); in setupSuggestions()
304 if (mAuthority == null || mMode == 0) { in onCreate()
DContentProvider.java110 private String mAuthority; field in ContentProvider
735 mAuthority = authorities; in setAuthorities()
738 mAuthority = null; in setAuthorities()
746 if (mAuthority != null) { in matchesOurAuthorities()
747 return mAuthority.equals(authority); in matchesOurAuthorities()
1854 if (mAuthority != null) { in validateIncomingUri()
1855 message += mAuthority; in validateIncomingUri()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java139 private String mAuthority; field in DocumentsProvider
148 mAuthority = info.authority; in attachInfo()
151 mMatcher.addURI(mAuthority, "root", MATCH_ROOTS); in attachInfo()
152 mMatcher.addURI(mAuthority, "root/*", MATCH_ROOT); in attachInfo()
153 mMatcher.addURI(mAuthority, "root/*/recent", MATCH_RECENT); in attachInfo()
154 mMatcher.addURI(mAuthority, "root/*/search", MATCH_SEARCH); in attachInfo()
155 mMatcher.addURI(mAuthority, "document/*", MATCH_DOCUMENT); in attachInfo()
156 mMatcher.addURI(mAuthority, "document/*/children", MATCH_CHILDREN); in attachInfo()
157 mMatcher.addURI(mAuthority, "tree/*/document/*", MATCH_DOCUMENT_TREE); in attachInfo()
158 mMatcher.addURI(mAuthority, "tree/*/document/*/children", MATCH_CHILDREN_TREE); in attachInfo()
[all …]
DSearchIndexablesProvider.java69 private String mAuthority; field in SearchIndexablesProvider
81 mAuthority = info.authority; in attachInfo()
84 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_XML_RES_PATH, in attachInfo()
86 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_RAW_PATH, in attachInfo()
88 mMatcher.addURI(mAuthority, SearchIndexablesContract.NON_INDEXABLES_KEYS_PATH, in attachInfo()
DSearchRecentSuggestions.java111 private final String mAuthority; field in SearchRecentSuggestions
141 mAuthority = new String(authority); in SearchRecentSuggestions()
144 mSuggestionsUri = Uri.parse("content://" + mAuthority + "/suggestions"); in SearchRecentSuggestions()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java27 private final String mAuthority; field in RootCursorWrapper
42 mAuthority = authority; in RootCursorWrapper()
120 return mAuthority; in getString()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java35 private String mAuthority = null; field in RequestSync
74 System.out.printf(" Authority: %s\n", mAuthority != null ? mAuthority : "All"); in run()
83 ContentResolver.requestSync(account, mAuthority, mExtras); in run()
98 mAuthority = nextArgRequired(); in parseArgs()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java72 private String mAuthority; field in StubProvider
79 mAuthority = info.authority; in attachInfo()
181 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
199 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in deleteDocument()
213 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
317 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in startWrite()
356 DocumentsContract.buildChildDocumentsUri(mAuthority, parentId), null, false); in notifyParentChanged()
358 getContext().getContentResolver().notifyChange(DocumentsContract.buildRootsUri(mAuthority), in notifyParentChanged()
401 DocumentsContract.buildRootsUri(mAuthority), in setSize()
436 return DocumentsContract.buildDocumentUri(mAuthority, document.documentId); in createFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java45 String mAuthority; field in SyncOperationTest
51 mAuthority = "authority1"; in setUp()
169 mAuthority, withExpedited, fiveSecondsFromNow, twoSecondsFlex, in testCopyConstructor()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java631 private final String mAuthority; field in FileProvider.SimplePathStrategy
635 mAuthority = authority; in SimplePathStrategy()
693 .authority(mAuthority).encodedPath(path).build(); in getUriForFile()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java103 private String mAuthority; field in TestDocumentsProvider
107 mAuthority = info.authority; in attachInfo()
125 final Uri uri = DocumentsContract.buildRootsUri(mAuthority); in queryRoots()