Searched refs:notifyUri (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 168 final Uri notifyUri = mNotifyUris.get(i); in requery() local 169 mContentResolver.registerContentObserver(notifyUri, true, mSelfObserver); in requery() 404 final Uri notifyUri = mNotifyUris.get(i); in onChange() local 405 mContentResolver.notifyChange(notifyUri, mSelfObserver); in onChange() 419 public void setNotificationUri(ContentResolver cr, Uri notifyUri) { in setNotificationUri() argument 420 setNotificationUris(cr, Arrays.asList(notifyUri)); in setNotificationUri() 452 final Uri notifyUri = mNotifyUris.get(i); in setNotificationUris() local 454 notifyUri, true, mSelfObserver, userHandle); in setNotificationUris()
|
D | Cursor.java | 484 final Uri notifyUri = getNotificationUri(); in getNotificationUris() local 485 return notifyUri == null ? null : Arrays.asList(notifyUri); in getNotificationUris()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AbstractCrossUserContentResolverTest.java | 152 final Uri notifyUri = LocalProvider.TABLE_DATA_URI; in testNotifyChange() local 154 notifyUri, UserHandle.myUserId()); in testNotifyChange() 155 mContext.getContentResolver().registerContentObserver(notifyUri, true, observer); in testNotifyChange() 156 mServiceConnection.getService().notifyForUriAsUser(notifyUri, UserHandle.myUserId()); in testNotifyChange()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 175 public CloudTask(ContentResolver resolver, Uri notifyUri) { in CloudTask() argument 177 mNotifyUri = notifyUri; in CloudTask() 233 final Uri notifyUri = DocumentsContract.buildDocumentUri( in queryChildDocuments() local 237 result.setNotificationUri(resolver, notifyUri); in queryChildDocuments() 257 task = new CloudTask(resolver, notifyUri); in queryChildDocuments()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 691 private void startObserving(File file, Uri notifyUri, DirectoryCursor cursor) { in startObserving() argument 696 new DirectoryObserver(file, getContext().getContentResolver(), notifyUri); in startObserving() 730 DirectoryObserver(File file, ContentResolver resolver, Uri notifyUri) { in DirectoryObserver() argument 734 mNotifyUri = notifyUri; in DirectoryObserver() 762 final Uri notifyUri = buildNotificationUri(docId); in DirectoryCursor() local 764 setNotificationUris(getContext().getContentResolver(), Arrays.asList(notifyUri), in DirectoryCursor() 768 startObserving(mFile, notifyUri, this); in DirectoryCursor()
|