Home
last modified time | relevance | path

Searched refs:mAuthority (Results 1 – 17 of 17) 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
375 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.java111 private String mAuthority; field in ContentProvider
738 mAuthority = authorities; in setAuthorities()
741 mAuthority = null; in setAuthorities()
749 if (mAuthority != null) { in matchesOurAuthorities()
750 return mAuthority.equals(authority); in matchesOurAuthorities()
1857 if (mAuthority != null) { in validateIncomingUri()
1858 message += mAuthority; in validateIncomingUri()
/frameworks/base/core/java/android/provider/
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()
DDocumentsProvider.java144 private String mAuthority; field in DocumentsProvider
153 mAuthority = info.authority; in attachInfo()
156 mMatcher.addURI(mAuthority, "root", MATCH_ROOTS); in attachInfo()
157 mMatcher.addURI(mAuthority, "root/*", MATCH_ROOT); in attachInfo()
158 mMatcher.addURI(mAuthority, "root/*/recent", MATCH_RECENT); in attachInfo()
159 mMatcher.addURI(mAuthority, "root/*/search", MATCH_SEARCH); in attachInfo()
160 mMatcher.addURI(mAuthority, "document/*", MATCH_DOCUMENT); in attachInfo()
161 mMatcher.addURI(mAuthority, "document/*/children", MATCH_CHILDREN); in attachInfo()
162 mMatcher.addURI(mAuthority, "tree/*/document/*", MATCH_DOCUMENT_TREE); in attachInfo()
163 mMatcher.addURI(mAuthority, "tree/*/document/*/children", MATCH_CHILDREN_TREE); in attachInfo()
[all …]
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/tests/src/com/android/documentsui/
DDocumentsProviderHelper.java60 private final String mAuthority; field in DocumentsProviderHelper
65 mAuthority = authority; in DocumentsProviderHelper()
70 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot()
76 return RootInfo.fromRootsCursor(mAuthority, cursor); in getRoot()
101 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument()
129 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder()
179 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile()
198 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory()
216 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertDoesNotExist()
261 Uri uri = buildChildDocumentsUri(mAuthority, documentId); in listChildren()
[all …]
DStubProvider.java91 private String mAuthority = DEFAULT_AUTHORITY; field in StubProvider
97 mAuthority = info.authority; in attachInfo()
195 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
215 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in deleteDocument()
235 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
302 DocumentsContract.buildDocumentUri(mAuthority, oldDoc.documentId), null, false); in renameDocument()
307 DocumentsContract.buildDocumentUri(mAuthority, newDoc.documentId), null, false); in renameDocument()
452 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in startWrite()
528 Uri uri = DocumentsContract.buildDocumentUri(mAuthority, documentId); in dispatchCreateDocumentWithFlags()
548 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DTestModel.java38 private final String mAuthority; field in TestModel
42 mAuthority = authority; in TestModel()
51 row.add(RootCursorWrapper.COLUMN_AUTHORITY, mAuthority); in update()
/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/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java46 String mAuthority; field in SyncOperationTest
52 mAuthority = "authority1"; in setUp()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java632 private final String mAuthority; field in FileProvider.SimplePathStrategy
636 mAuthority = authority; in SimplePathStrategy()
694 .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()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java79 private String mAuthority = DEFAULT_AUTHORITY; field in StressProvider
89 mAuthority = info.authority; in attachInfo()