Searched refs:notifyUri (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 164 final Uri notifyUri = mNotifyUris.get(i); in requery() local 165 mContentResolver.registerContentObserver(notifyUri, true, mSelfObserver); in requery() 398 final Uri notifyUri = mNotifyUris.get(i); in onChange() local 399 mContentResolver.notifyChange(notifyUri, mSelfObserver); in onChange() 413 public void setNotificationUri(ContentResolver cr, Uri notifyUri) { in setNotificationUri() argument 414 setNotificationUris(cr, Arrays.asList(notifyUri)); in setNotificationUri() 446 final Uri notifyUri = mNotifyUris.get(i); in setNotificationUris() local 448 notifyUri, true, mSelfObserver, userHandle); in setNotificationUris()
|
D | Cursor.java | 478 final Uri notifyUri = getNotificationUri(); in getNotificationUris() local 479 return notifyUri == null ? null : Arrays.asList(notifyUri); in getNotificationUris()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AbstractCrossUserContentResolverTest.java | 151 final Uri notifyUri = LocalProvider.TABLE_DATA_URI; in testNotifyChange() local 153 notifyUri, UserHandle.myUserId()); in testNotifyChange() 154 mContext.getContentResolver().registerContentObserver(notifyUri, true, observer); in testNotifyChange() 155 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 | 608 private void startObserving(File file, Uri notifyUri, DirectoryCursor cursor) { in startObserving() argument 613 new DirectoryObserver(file, getContext().getContentResolver(), notifyUri); in startObserving() 647 DirectoryObserver(File file, ContentResolver resolver, Uri notifyUri) { in DirectoryObserver() argument 651 mNotifyUri = notifyUri; in DirectoryObserver() 679 final Uri notifyUri = buildNotificationUri(docId); in DirectoryCursor() local 681 setNotificationUris(getContext().getContentResolver(), Arrays.asList(notifyUri), in DirectoryCursor() 685 startObserving(mFile, notifyUri, this); in DirectoryCursor()
|