Home
last modified time | relevance | path

Searched refs:mAuthority (Results 1 – 20 of 20) 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()
86 Log.d(TAG, "attachInfo() mAuthority = " + mAuthority); in attachInfo()
102 if (mAuthority == null) { in onAccountChanged()
106 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
108 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
[all …]
DBluetoothMapEmailProvider.java57 private String mAuthority; field in BluetoothMapEmailProvider
88 mAuthority = info.authority; in attachInfo()
91 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
92 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_FOLDER, MATCH_FOLDER); in attachInfo()
93 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
243 if (mAuthority == null) { in onAccountChanged()
247 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
249 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
268 if (mAuthority == null) { in onMessageChanged()
273 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java64 private final String mAuthority; field in DocumentsProviderHelper
69 mAuthority = authority; in DocumentsProviderHelper()
74 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot()
80 return RootInfo.fromRootsCursor(mAuthority, cursor); in getRoot()
105 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument()
133 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder()
197 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile()
216 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory()
234 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertDoesNotExist()
288 Uri uri = buildChildDocumentsUri(mAuthority, documentId); in listChildren()
[all …]
DStubProvider.java92 private String mAuthority = DEFAULT_AUTHORITY; field in StubProvider
100 mAuthority = info.authority; in attachInfo()
200 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
220 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in deleteDocument()
234 final Uri notifyUri = DocumentsContract.buildDocumentUri(mAuthority, parentDocumentId); in queryChildDocuments()
255 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
323 DocumentsContract.buildDocumentUri(mAuthority, oldDoc.documentId), null, false); in renameDocument()
328 DocumentsContract.buildDocumentUri(mAuthority, newDoc.documentId), null, false); in renameDocument()
480 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in startWrite()
561 Uri uri = DocumentsContract.buildDocumentUri(mAuthority, documentId); in dispatchCreateDocumentWithFlags()
[all …]
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java40 private String mAuthority; field in SyncStateSwitchPreference
53 mAuthority = null; in SyncStateSwitchPreference()
66 mAuthority = authority; in setup()
69 setVisible(!TextUtils.isEmpty(mAuthority)); in setup()
163 return mAuthority; in getAuthority()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DSyncStateSwitchPreference.java40 private String mAuthority; field in SyncStateSwitchPreference
53 mAuthority = null; in SyncStateSwitchPreference()
66 mAuthority = authority; in setup()
69 setVisible(!TextUtils.isEmpty(mAuthority)); in setup()
163 return mAuthority; in getAuthority()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DEjectRootTask.java38 private final String mAuthority; field in EjectRootTask
51 mAuthority = authority; in EjectRootTask()
58 Uri rootUri = DocumentsContract.buildRootUri(mAuthority, mRootId); in doInBackground()
62 mResolver, mAuthority); in doInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java39 private String mAuthority; field in SyncStateSwitchPreference
50 mAuthority = null; in SyncStateSwitchPreference()
56 mAuthority = authority; in SyncStateSwitchPreference()
150 return mAuthority; in getAuthority()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DDefaultLayoutProviderTest.java55 private String mAuthority; field in DefaultLayoutProviderTest
67 mAuthority = pi.authority; in setUp()
120 mDevice.executeShellCommand("settings put secure launcher3.layout.provider " + mAuthority); in writeLayout()
122 Uri.parse("content://" + mAuthority + "/launcher_layout"), "w"); in writeLayout()
/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()
105 doc.authority = mAuthority; in createDocument()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java91 authority = builder.mAuthority; in IndexData()
160 private String mAuthority; field in IndexData.Builder
220 mAuthority = authority; in setAuthority()
/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.java122 private String mAuthority; field in BluetoothMapObexServer
141 mAuthority = account.getProviderAuthority(); in BluetoothMapObexServer()
152 BluetoothMapContract.buildFolderUri(mAuthority, Long.toString(mAccountId)); in BluetoothMapObexServer()
173 mResolver.acquireUnstableContentProviderClient(mAuthority); in acquireUnstableContentProviderOrThrow()
175 throw new RemoteException("Failed to acquire provider for " + mAuthority); in acquireUnstableContentProviderOrThrow()
DBluetoothMapContentObserver.java132 private String mAuthority = null; field in BluetoothMapContentObserver
259 mAuthority = Uri.parse(account.mBase_uri).getAuthority(); in BluetoothMapContentObserver()
266 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in BluetoothMapContentObserver()
268 throw new RemoteException("Failed to acquire provider for " + mAuthority); in BluetoothMapContentObserver()
987 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in registerObserver()
989 throw new RemoteException("Failed to acquire provider for " + mAuthority); in registerObserver()
1903 if (uri.getAuthority().equals(mAuthority)) { in handleMsgListChanges()
1925 if (uri.getAuthority().equals(mAuthority)) { in handleContactListChanges()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java6241 ContentResolver.requestSync(account, request.mAuthority, extras); in getDelayedSyncHandler()
6254 private final String mAuthority; field in EmailProvider.SyncRequestMessage
6260 mAuthority = authority; in SyncRequestMessage()
6278 && mAuthority.equals(that.mAuthority); in equals()
6283 int result = mAuthority.hashCode(); in hashCode()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2858 private String mAuthority; field in CalendarProvider2Test.MockProvider
2863 mAuthority = authority; in MockProvider()
2885 return Uri.parse("content://" + mAuthority + "/" + mNumItems); in insert()