Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java53 private String mAuthority; field in BluetoothMapIMProvider
66 mAuthority = info.authority; in attachInfo()
69 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
70 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
71 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_CONVERSATION, in attachInfo()
73 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_CONVOCONTACT, in attachInfo()
85 if(D) Log.d(TAG,"attachInfo() mAuthority = " + mAuthority); in attachInfo()
100 if(mAuthority == null){ in onAccountChanged()
104 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
106 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
[all …]
DBluetoothMapEmailProvider.java57 private String mAuthority; field in BluetoothMapEmailProvider
89 mAuthority = info.authority; in attachInfo()
92 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
93 mMatcher.addURI(mAuthority, "#/"+BluetoothMapContract.TABLE_FOLDER, MATCH_FOLDER); in attachInfo()
94 mMatcher.addURI(mAuthority, "#/"+BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
238 if(mAuthority == null){ in onAccountChanged()
242 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
244 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
261 if(mAuthority == null){ in onMessageChanged()
266 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java61 private final String mAuthority; field in DocumentsProviderHelper
66 mAuthority = authority; in DocumentsProviderHelper()
71 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot()
77 return RootInfo.fromRootsCursor(mAuthority, cursor); in getRoot()
102 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument()
130 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder()
185 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile()
204 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory()
222 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertDoesNotExist()
267 Uri uri = buildChildDocumentsUri(mAuthority, documentId); in listChildren()
[all …]
DStubProvider.java90 private String mAuthority = DEFAULT_AUTHORITY; field in StubProvider
97 mAuthority = info.authority; in attachInfo()
197 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
217 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in deleteDocument()
231 final Uri notifyUri = DocumentsContract.buildDocumentUri(mAuthority, parentDocumentId); in queryChildDocuments()
252 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
320 DocumentsContract.buildDocumentUri(mAuthority, oldDoc.documentId), null, false); in renameDocument()
325 DocumentsContract.buildDocumentUri(mAuthority, newDoc.documentId), null, false); in renameDocument()
468 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in startWrite()
549 Uri uri = DocumentsContract.buildDocumentUri(mAuthority, documentId); in dispatchCreateDocumentWithFlags()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DEjectRootTask.java35 private final String mAuthority; field in EjectRootTask
48 mAuthority = authority; in EjectRootTask()
55 Uri rootUri = DocumentsContract.buildRootUri(mAuthority, mRootId); in doInBackground()
59 mResolver, mAuthority); in doInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java38 private String mAuthority; field in SyncStateSwitchPreference
49 mAuthority = null; in SyncStateSwitchPreference()
55 mAuthority = authority; in SyncStateSwitchPreference()
149 return mAuthority; in getAuthority()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java38 private String mAuthority; field in SyncStateSwitchPreference
51 mAuthority = null; in SyncStateSwitchPreference()
64 mAuthority = authority; in setup()
160 return mAuthority; in getAuthority()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DTypedUriMatcherImpl.java27 private final String mAuthority; field in TypedUriMatcherImpl
33 mAuthority = authority; in TypedUriMatcherImpl()
49 mUriMatcher.addURI(mAuthority, path, value.ordinal()); in addUriType()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java30 private final String mAuthority; field in RootCursorWrapper
46 mAuthority = authority; in RootCursorWrapper()
131 return mAuthority; in getString()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DContentProviderTask.java45 private String mAuthority; field in ContentProviderTask
86 result = Result.newSuccess(mResolver.applyBatch(mAuthority, mOps)); in doInBackground()
97 mAuthority = authority; in run()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestModel.java45 private final String mAuthority; field in TestModel
52 mAuthority = authority; in TestModel()
104 doc.authority = mAuthority; in createDocument()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java64 private String mAuthority; field in ContactDirectoryManagerTest.MockContactDirectoryProvider
70 mAuthority = info.authority; in attachInfoForTesting()
87 if (uri.toString().equals("content://" + mAuthority + "/directories")) { in query()
91 } else if (uri.toString().startsWith("content://" + mAuthority + "/contacts")) { in query()
105 "content://" + mAuthority + "/aggregation_exceptions")) { in query()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java79 private String mAuthority = DEFAULT_AUTHORITY; field in StressProvider
89 mAuthority = info.authority; in attachInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java112 private String mAuthority; field in BluetoothMapObexServer
134 mAuthority = account.getProviderAuthority(); in BluetoothMapObexServer()
140 mEmailFolderUri = BluetoothMapContract.buildFolderUri(mAuthority, in BluetoothMapObexServer()
160 mResolver.acquireUnstableContentProviderClient(mAuthority); in acquireUnstableContentProviderOrThrow()
162 throw new RemoteException("Failed to acquire provider for " + mAuthority); in acquireUnstableContentProviderOrThrow()
DBluetoothMapContentObserver.java131 private String mAuthority = null; field in BluetoothMapContentObserver
286 mAuthority = Uri.parse(account.mBase_uri).getAuthority(); in BluetoothMapContentObserver()
293 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in BluetoothMapContentObserver()
295 throw new RemoteException("Failed to acquire provider for " + mAuthority); in BluetoothMapContentObserver()
979 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in registerObserver()
981 throw new RemoteException("Failed to acquire provider for " + mAuthority); in registerObserver()
1817 if(uri.getAuthority().equals(mAuthority)) { in handleMsgListChanges()
1837 if (uri.getAuthority().equals(mAuthority)) { in handleContactListChanges()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2754 private String mAuthority; field in CalendarProvider2Test.MockProvider
2759 mAuthority = authority; in MockProvider()
2781 return Uri.parse("content://" + mAuthority + "/" + mNumItems); in insert()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java6237 ContentResolver.requestSync(account, request.mAuthority, extras); in getDelayedSyncHandler()
6250 private final String mAuthority; field in EmailProvider.SyncRequestMessage
6256 mAuthority = authority; in SyncRequestMessage()
6274 && mAuthority.equals(that.mAuthority); in equals()
6279 int result = mAuthority.hashCode(); in hashCode()