Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java72 private String mAuthority; field in SearchIndexablesProvider
87 mAuthority = info.authority; in attachInfo()
90 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_XML_RES_PATH, in attachInfo()
92 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_RAW_PATH, in attachInfo()
94 mMatcher.addURI(mAuthority, SearchIndexablesContract.NON_INDEXABLES_KEYS_PATH, in attachInfo()
96 mMatcher.addURI(mAuthority, SearchIndexablesContract.SITE_MAP_PAIRS_PATH, in attachInfo()
98 mMatcher.addURI(mAuthority, SearchIndexablesContract.SLICE_URI_PAIRS_PATH, in attachInfo()
100 mMatcher.addURI(mAuthority, SearchIndexablesContract.DYNAMIC_INDEXABLES_RAW_PATH, in attachInfo()
DDocumentsProvider.java157 private String mAuthority; field in DocumentsProvider
192 mAuthority = authority; in registerAuthority()
195 mMatcher.addURI(mAuthority, "root", MATCH_ROOTS); in registerAuthority()
196 mMatcher.addURI(mAuthority, "root/*", MATCH_ROOT); in registerAuthority()
197 mMatcher.addURI(mAuthority, "root/*/recent", MATCH_RECENT); in registerAuthority()
198 mMatcher.addURI(mAuthority, "root/*/search", MATCH_SEARCH); in registerAuthority()
199 mMatcher.addURI(mAuthority, "document/*", MATCH_DOCUMENT); in registerAuthority()
200 mMatcher.addURI(mAuthority, "document/*/children", MATCH_CHILDREN); in registerAuthority()
201 mMatcher.addURI(mAuthority, "tree/*/document/*", MATCH_DOCUMENT_TREE); in registerAuthority()
202 mMatcher.addURI(mAuthority, "tree/*/document/*/children", MATCH_CHILDREN_TREE); in registerAuthority()
[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/SettingsLib/Tile/src/com/android/settingslib/drawer/
DProviderTile.java42 private String mAuthority; field in ProviderTile
48 mAuthority = info.authority; in ProviderTile()
54 mAuthority = ((ProviderInfo) mComponentInfo).authority; in ProviderTile()
60 return Objects.hash(mAuthority, mKey); in getId()
65 return mAuthority + "/" + mKey; in getDescription()
DSwitchesProvider.java56 private String mAuthority; field in SwitchesProvider
67 mAuthority = info.authority; in attachInfo()
68 Log.i(TAG, mAuthority); in attachInfo()
89 controller.setAuthority(mAuthority); in onCreate()
DSwitchController.java50 private String mAuthority; field in SwitchController
105 mAuthority = authority; in setAuthority()
117 .authority(mAuthority) in getBundle()
135 final Uri uri = TileUtils.buildUri(mAuthority, method, getSwitchKey()); in notifyChanged()
/frameworks/base/core/java/android/content/
DSyncRequest.java38 private final String mAuthority; field in SyncRequest
99 return mAuthority; in getProvider()
153 parcel.writeString(mAuthority); in writeToParcel()
165 mAuthority = in.readString(); in SyncRequest()
173 mAuthority = b.mAuthority; in SyncRequest()
255 private String mAuthority; field in SyncRequest.Builder
382 mAuthority = authority; in setSyncAdapter()
DAbstractThreadedSyncAdapter.java259 Log.d(TAG, "cancelSync() " + info.mAuthority + " " + info.mAccount); in cancelSync()
291 private final String mAuthority; field in AbstractThreadedSyncAdapter.SyncThread
300 mAuthority = authority; in SyncThread()
317 Trace.traceBegin(Trace.TRACE_TAG_SYNC_MANAGER, mAuthority); in run()
332 provider = mContext.getContentResolver().acquireContentProviderClient(mAuthority); in run()
335 mAuthority, provider, syncResult); in run()
349 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.java79 private String mAuthority; field in SearchRecentSuggestionsProvider
184 mAuthority = new String(authority); in setupSuggestions()
188 mSuggestionsUri = Uri.parse("content://" + mAuthority + "/suggestions"); in setupSuggestions()
190 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST); in setupSuggestions()
306 if (mAuthority == null || mMode == 0) { in onCreate()
DContentProviderClient.java84 private final String mAuthority; field in ContentProviderClient
109 mAuthority = authority; in ContentProviderClient()
564 return applyBatch(mAuthority, operations); in applyBatch()
591 return call(mAuthority, method, arg, extras); in call()
DContentProvider.java131 private String mAuthority; field in ContentProvider
1072 mAuthority = authorities; in setAuthorities()
1075 mAuthority = null; in setAuthorities()
1083 if (mAuthority != null) { in matchesOurAuthorities()
1084 return mAuthority.equals(authority); in matchesOurAuthorities()
2500 if (mAuthority != null) { in validateIncomingAuthority()
2501 message += mAuthority; in validateIncomingAuthority()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceProviderPermissions.java90 out.attribute(NAMESPACE, ATTR_AUTHORITY, mAuths.valueAt(i).mAuthority); in writeTo()
135 private final String mAuthority; field in SliceProviderPermissions.SliceAuthority
140 mAuthority = authority; in SliceAuthority()
145 return mAuthority; in getAuthority()
195 return Objects.equals(mAuthority, other.mAuthority) in equals()
201 return String.format("(%s: %s)", mAuthority, mPkgs.toString()); in toString()
DSliceClientPermissions.java147 out.attribute(NAMESPACE, ATTR_AUTHORITY, mAuths.valueAt(i).mAuthority); in writeTo()
207 private final String mAuthority; field in SliceClientPermissions.SliceAuthority
213 mAuthority = authority; in SliceAuthority()
219 return mAuthority; in getAuthority()
349 return Objects.equals(mAuthority, other.mAuthority) in equals()
355 return String.format("(%s, %s: %s)", mAuthority, mPkg.toString(), pathToString(mPaths)); in toString()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java50 .setSyncAdapter(caller.mAccount, caller.mAuthority) in invoke()
60 ContentResolver.addPeriodicSync(caller.mAccount, caller.mAuthority, caller.mExtras, in invoke()
68 caller.mAccount, caller.mAuthority, caller.mExtras); in invoke()
80 private String mAuthority; field in RequestSync
123 System.out.printf(" Authority: %s\n", mAuthority != null ? mAuthority : "All"); in run()
164 mAuthority = nextArgRequired(); in parseArgs()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java44 private String mAuthority; field in MbmsTempFileProvider
85 final File file = getFileForUri(mContext, mAuthority, uri); in openFile()
102 mAuthority = info.authority; in attachInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java40 String mAuthority; field in SyncOperationTest
46 mAuthority = "authority1"; in setUp()
/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()