Home
last modified time | relevance | path

Searched refs:mAuthority (Results 1 – 19 of 19) 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.java67 private final String mAuthority; field in DocumentsProviderHelper
72 mAuthority = authority; in DocumentsProviderHelper()
77 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot()
83 return RootInfo.fromRootsCursor(mAuthority, cursor); in getRoot()
108 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument()
136 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder()
200 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile()
219 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory()
237 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertDoesNotExist()
291 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()
117 mDevice.executeShellCommand("settings put secure launcher3.layout.provider " + mAuthority); in writeLayout()
119 Uri.parse("content://" + mAuthority + "/launcher_layout"), "w"); in writeLayout()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DLocalSearchProviderTest.java121 private final String mAuthority = "com.android.tv.search"; field in LocalSearchProviderTest
126 + mAuthority
133 Uri.parse("content://" + mAuthority + "/wrong_path/" + mKeyword);
144 mProvider = ContentProviders.register(LocalSearchProvider.class, mAuthority); in setup()
225 + mAuthority in query_program1()
/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/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.java134 private String mAuthority = null; field in BluetoothMapContentObserver
261 mAuthority = Uri.parse(account.mBase_uri).getAuthority(); in BluetoothMapContentObserver()
268 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in BluetoothMapContentObserver()
270 throw new RemoteException("Failed to acquire provider for " + mAuthority); in BluetoothMapContentObserver()
989 mProviderClient = mResolver.acquireUnstableContentProviderClient(mAuthority); in registerObserver()
991 throw new RemoteException("Failed to acquire provider for " + mAuthority); in registerObserver()
1914 if (uri.getAuthority().equals(mAuthority)) { in handleMsgListChanges()
1936 if (uri.getAuthority().equals(mAuthority)) { in handleContactListChanges()
/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()