Home
last modified time | relevance | path

Searched refs:notifyChange (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java141 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer) { in notifyChange() method in MockContentResolver
156 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer, in notifyChange() method in MockContentResolver
166 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer, in notifyChange() method in MockContentResolver
176 public void notifyChange(@NonNull Collection<Uri> uris, @Nullable ContentObserver observer, in notifyChange() method in MockContentResolver
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java166 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatesClock()
187 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatingNextAlarmInvalidatesSlice()
193 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onZenChanged_updatesSlice()
215 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
220 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
231 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onDozingChanged_updatesSliceIfMedia()
236 verify(mContentResolver, never()).notifyChange(eq(mProvider.getUri()), eq(null)); in onDozingChanged_updatesSliceIfMedia()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java270 private Country detectCountry(boolean notifyChange, boolean startLocationBasedDetection) { in detectCountry() argument
273 notifyChange, startLocationBasedDetection); in detectCountry()
282 final boolean notifyChange, final boolean startLocationBasedDetection) { in runAfterDetectionAsync() argument
287 country, detectedCountry, notifyChange, startLocationBasedDetection); in runAfterDetectionAsync()
313 final boolean notifyChange, final boolean startLocationBasedDetection) { in runAfterDetection() argument
314 if (notifyChange) { in runAfterDetection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java345 notifyChange(); in onZenChanged()
350 notifyChange(); in onConfigChanged()
364 notifyChange(); in updateNextAlarm()
408 notifyChange(); in updateClockLocked()
495 notifyChange(); in updateMediaStateLocked()
498 protected void notifyChange() { in notifyChange() method in KeyguardSliceProvider
499 mContentResolver.notifyChange(mSliceUri, null /* observer */); in notifyChange()
511 notifyChange(); in onDozingChanged()
524 notifyChange(); in onStateChanged()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java89 getContext().getContentResolver().notifyChange(uri, null); in delete()
104 getContext().getContentResolver().notifyChange(addedUri, null); in insert()
117 getContext().getContentResolver().notifyChange(uri, null); in query()
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsConfigImplBase.java380 protected synchronized void updateCachedValue(int item, int value, boolean notifyChange) { in updateCachedValue() argument
382 if (notifyChange) { in updateCachedValue()
388 int item, String value, boolean notifyChange) { in updateCachedValue() argument
390 if (notifyChange) { in updateCachedValue()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierActionAgentTest.java58 public void notifyChange(Uri uri, ContentObserver observer) { in notifyChange() method in CarrierActionAgentTest.FakeContentResolver
59 super.notifyChange(uri, observer); in notifyChange()
114 mFakeContentResolver.notifyChange( in testCarrierActionResetOnAPM()
157 mFakeContentResolver.notifyChange(Telephony.Carriers.CONTENT_URI, null); in testCarrierActionResetOnAPNChange()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsConfigImplBase.java226 protected synchronized void updateCachedValue(int item, int value, boolean notifyChange) in updateCachedValue() argument
229 if (notifyChange) { in updateCachedValue()
235 boolean notifyChange) throws RemoteException { in updateCachedValue() argument
237 if (notifyChange) { in updateCachedValue()
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java150 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange() method in TestableContentResolver
154 super.notifyChange(uri, observer, syncToNetwork); in notifyChange()
/frameworks/base/core/java/android/database/
DContentObservable.java84 public void notifyChange(boolean selfChange) { in notifyChange() method in ContentObservable
DAbstractCursor.java405 mContentResolver.notifyChange(notifyUri, mSelfObserver); in onChange()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabProvider.java568 getContext().getContentResolver().notifyChange(uri, null, NOTIFY_INSERT); in insert()
618 getContext().getContentResolver().notifyChange(uri, null, NOTIFY_INSERT); in bulkInsert()
647 getContext().getContentResolver().notifyChange(uri, null, NOTIFY_DELETE); in delete()
681 getContext().getContentResolver().notifyChange(uri, null, NOTIFY_UPDATE); in update()
/frameworks/base/core/tests/coretests/src/android/content/
DCrossUserContentService.java42 getContentResolver().notifyChange(uri, null, false, userId);
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java84 protected abstract void notifyChange(); in notifyChange() method in SQLiteContentProvider
266 notifyChange(); in onEndTransaction()
/frameworks/base/core/java/android/content/
DContentResolver.java2716 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer) {
2717 notifyChange(uri, observer, true /* sync to network */);
2749 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer,
2751 notifyChange(uri, observer, syncToNetwork ? NOTIFY_SYNC_TO_NETWORK : 0);
2778 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer,
2781 notifyChange(
2790 public void notifyChange(@NonNull Iterable<Uri> uris, @Nullable ContentObserver observer,
2794 notifyChange(asCollection, observer, flags);
2821 public void notifyChange(@NonNull Collection<Uri> uris, @Nullable ContentObserver observer,
2840 notifyChange(list.toArray(new Uri[list.size()]), observer, flags, userId);
[all …]
DSearchRecentSuggestionsProvider.java242 getContext().getContentResolver().notifyChange(uri, null); in delete()
296 getContext().getContentResolver().notifyChange(newUri, null); in insert()
DIContentService.aidl54 void notifyChange(in Uri[] uris, IContentObserver observer, in notifyChange() method
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentResolver.java110 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange() method in BridgeContentResolver
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DComprehensiveCountryDetectorTest.java96 final boolean notifyChange, final boolean startLocationBasedDetection) { in runAfterDetectionAsync() argument
97 runAfterDetection(country, detectedCountry, notifyChange, startLocationBasedDetection); in runAfterDetectionAsync()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java264 getContext().getContentResolver().notifyChange(url, null); in insert()
374 getContext().getContentResolver().notifyChange(url, null); in delete()
421 getContext().getContentResolver().notifyChange(url, null); in update()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java184 mContentResolver.notifyChange( in putStringAndNotify()
DBackupManagerConstantsTest.java225 mContentResolver.notifyChange( in putStringAndNotify()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java172 getContext().getContentResolver().notifyChange(url, null); in update()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java126 getContext().getContentResolver().notifyChange(uri, null, false); in queryRoots()
190 mResolver.notifyChange(mNotifyUri, null, false); in run()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DSwitchController.java136 context.getContentResolver().notifyChange(uri, null); in notifyChanged()

12