Home
last modified time | relevance | path

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

123456

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DVolumeSliceHelperTest.java164 verify(mResolver).notifyChange(mMediaController.getSliceUri(), null); in onReceive_audioStreamRegistered_shouldNotifyChange()
171 verify(mResolver, never()).notifyChange(mMediaController.getSliceUri(), null); in onReceive_audioStreamNotRegistered_shouldNotNotifyChange()
181 verify(mResolver, never()).notifyChange(mMediaController.getSliceUri(), null); in onReceive_audioStreamNotMatched_shouldNotNotifyChange()
192 verify(mResolver, never()).notifyChange(mMediaController.getSliceUri(), null); in onReceive_mediaVolumeNotChanged_shouldNotNotifyChange()
204 verify(mResolver).notifyChange(mSeparateRingController.getSliceUri(), null); in onReceive_ringStreamVolumeMuted_shouldNotifySeparateRing()
216 verify(mResolver).notifyChange(mRingController.getSliceUri(), null); in onReceive_ringStreamVolumeMuted_shouldNotifyRing()
228 verify(mResolver).notifyChange(mSeparateRingController.getSliceUri(), null); in onReceive_ringStreamVolumeMuted_shouldNotifyBothRings()
229 verify(mResolver).notifyChange(mRingController.getSliceUri(), null); in onReceive_ringStreamVolumeMuted_shouldNotifyBothRings()
241 verify(mResolver).notifyChange(mMediaController.getSliceUri(), null); in onReceive_streamVolumeMuted_shouldNotifyChange()
259 verify(mResolver).notifyChange(mNotificationController.getSliceUri(), null); in onReceive_ringVolumeMuted_shouldNotifyChangeNotificationSlice()
[all …]
DSliceBroadcastReceiverTest.java112 verify(resolver).notifyChange(uri, null); in onReceive_toggleChanged()
144 verify(resolver).notifyChange(expectedUri, null); in toggleUpdate_synchronously_notifyChange_should_be_called()
165 verify(resolver, never()).notifyChange(null, null); in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
202 verify(resolver).notifyChange(uri, null); in onReceive_sliderChanged()
280 verify(resolver).notifyChange(expectedUri, null); in toggleUpdate_unavailableUriNotified()
319 verify(resolver).notifyChange(eq(expectedUri), eq(null)); in sliderUpdate_unavailableUriNotified()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DRotationHelper.java124 notifyChange(); in onPrefChanged()
148 notifyChange(); in onIgnoreAutoRotateChanged()
155 notifyChange(); in setStateHandlerRequest()
161 notifyChange(); in setCurrentTransitionRequest()
167 notifyChange(); in setCurrentStateRequest()
179 notifyChange(); in setFixedLandscape()
186 notifyChange(); in forceAllowRotationForTesting()
197 notifyChange(); in initialize()
208 private void notifyChange() { in notifyChange() method in RotationHelper
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerNotificationSender.java111 context.getContentResolver().notifyChange( in notifyAvailableProvidersChange()
121 context.getContentResolver().notifyChange(MEDIA_UPDATE_URI, /* observer= */ null); in notifyMediaChange()
137 context.getContentResolver().notifyChange( in notifyAlbumMediaChange()
170 context.getContentResolver().notifyChange( in notifySearchResultsChange()
188 context.getContentResolver().notifyChange( in notifyMediaSetsChange()
212 context.getContentResolver().notifyChange( in notifyMediaSetContentChange()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java175 notifyChange(insertedUri); in insert()
207 notifyChange(uri); in delete()
240 notifyChange(uri); in update()
257 notifyChange(uri); in update()
309 notifyChange(PhoneLookupHistory.CONTENT_URI); in applyBatch()
313 private void notifyChange(Uri uri) { in notifyChange() method in PhoneLookupHistoryContentProvider
314 getContext().getContentResolver().notifyChange(uri, null); in notifyChange()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java185 notifyChange(insertedUri); in insert()
217 notifyChange(uri); in delete()
243 notifyChange(uri); in update()
259 notifyChange(uri); in update()
330 notifyChange(AnnotatedCallLog.CONTENT_URI); in applyBatch()
338 private void notifyChange(Uri uri) { in notifyChange() method in AnnotatedCallLogContentProvider
339 getContext().getContentResolver().notifyChange(uri, /* observer = */ null); in notifyChange()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/attribution/
DTriggerContentProviderTest.java88 doNothing().when(mContentResolver).notifyChange(any(), any()); in testInsert_ignoresPassedInArgs_onTPlus()
92 verify(mContentResolver, times(1)).notifyChange(TRIGGER_URI_T_PLUS, /* observer= */ null); in testInsert_ignoresPassedInArgs_onTPlus()
101 doNothing().when(mContentResolver).notifyChange(any(), any()); in testInsert_ignoresPassedInArgs_onSMinus()
105 verify(mContentResolver, times(1)).notifyChange(TRIGGER_URI_S_MINUS, /* observer= */ null); in testInsert_ignoresPassedInArgs_onSMinus()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationContentProviderTest.java88 doNothing().when(mContentResolver).notifyChange(any(), any()); in testInsert_ignoresPassedInArgs_onTPlus()
92 verify(mContentResolver, times(1)).notifyChange(TRIGGER_URI_T_PLUS, /* observer= */ null); in testInsert_ignoresPassedInArgs_onTPlus()
101 doNothing().when(mContentResolver).notifyChange(any(), any()); in testInsert_ignoresPassedInArgs_onSMinus()
105 verify(mContentResolver, times(1)).notifyChange(TRIGGER_URI_S_MINUS, /* observer= */ null); in testInsert_ignoresPassedInArgs_onSMinus()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java101 notifyChange(uri); in insert()
138 notifyChange(uri); in delete()
160 notifyChange(uri); in update()
173 private void notifyChange(Uri uri) { in notifyChange() method in FilteredNumberProvider
174 getContext().getContentResolver().notifyChange(uri, null); in notifyChange()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java109 cr.notifyChange(uri, null); in notifyEverythingChanged()
130 cr.notifyChange(uri, null); in notifyParticipantsChanged()
135 cr.notifyChange(CONVERSATION_MESSAGES_URI, null); in notifyAllMessagesChanged()
140 cr.notifyChange(CONVERSATION_PARTICIPANTS_URI, null); in notifyAllParticipantsChanged()
185 cr.notifyChange(uri, null); in notifyMessagesChanged()
204 cr.notifyChange(uri, null); in notifyConversationMetadataChanged()
210 cr.notifyChange(PARTS_URI, null); in notifyPartsChanged()
216 cr.notifyChange(CONVERSATIONS_URI, null); in notifyConversationListChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaDeviceUpdateWorkerTest.java115 verify(mResolver).notifyChange(URI, null); in onDeviceListUpdate_shouldNotifyChange()
123 verify(mResolver).notifyChange(URI, null); in onSelectedDeviceStateChanged_shouldNotifyChange()
130 verify(mResolver).notifyChange(URI, null); in onDeviceAttributesChanged_shouldNotifyChange()
185 verify(mResolver).notifyChange(URI, null /* observer */); in onRequestFailed_shouldNotifyChange()
199 verify(mResolver).notifyChange(URI, null); in onReceive_inCallState_shouldNotifyChange()
213 verify(mResolver, never()).notifyChange(URI, null); in onReceive_notInCallState_doNothing()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DAbstractPreferenceController.java75 notifyChange(); in initAndNotify()
83 notifyChange(); in updateAndNotify()
86 public void notifyChange() { in notifyChange() method in AbstractPreferenceController
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java115 protected void notifyChange() { in notifyChange() method in ProfileProvider
116 mDelegate.notifyChange(); in notifyChange()
119 protected void notifyChange(boolean syncToNetwork) { in notifyChange() method in ProfileProvider
120 mDelegate.notifyChange(syncToNetwork); in notifyChange()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.kt228 notifyChange(getContext()!!.getContentResolver(), uri) in update()
241 notifyChange(getContext()!!.getContentResolver(), uriResult) in insert()
276 notifyChange(getContext()!!.getContentResolver(), uri) in delete()
283 private fun notifyChange(resolver: ContentResolver, uri: Uri) { in notifyChange() method
284 resolver.notifyChange(uri, null) in notifyChange()
289 resolver.notifyChange(AlarmsColumns.ALARMS_WITH_INSTANCES_URI, null) in notifyChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileDataEnabledListenerTest.java63 mContext.getContentResolver().notifyChange(uri, null); in onMobileDataEnabledChange_firesCorrectly()
73 mContext.getContentResolver().notifyChange(uri, null); in onMobileDataEnabledChange_doesNotFireAfterStop()
84 mContext.getContentResolver().notifyChange(uri, null); in onMobileDataEnabledChange_changedToDifferentId_firesCorrectly()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java119 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleToggleAction()
130 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleToggleAction()
152 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleSliderAction()
167 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleSliderAction()
/packages/services/Mtp/src/com/android/mtp/
DRootScanner.java73 void notifyChange() { in notifyChange() method in RootScanner
75 mResolver.notifyChange(uri, null, false); in notifyChange()
177 notifyChange(); in run()
/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java583 context.getContentResolver().notifyChange( in notifyChangeForSubIdAndField()
588 context.getContentResolver().notifyChange( in notifyChangeForSubIdAndField()
593 context.getContentResolver().notifyChange( in notifyChangeForSubIdAndField()
598 context.getContentResolver().notifyChange( in notifyChangeForSubIdAndField()
603 context.getContentResolver().notifyChange( in notifyChangeForSubIdAndField()
650 context.getContentResolver().notifyChange(getUriForSubscriptionId(subId), in notifyChangeForSubId()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java219 getContext().getContentResolver().notifyChange( in createDocument()
239 getContext().getContentResolver().notifyChange( in deleteDocument()
257 () -> resolver.notifyChange(notifyUri, null, false), in queryChildDocuments()
342 getContext().getContentResolver().notifyChange( in renameDocument()
347 getContext().getContentResolver().notifyChange( in renameDocument()
499 getContext().getContentResolver().notifyChange( in startWrite()
616 getContext().getContentResolver().notifyChange( in createDocument()
671 getContext().getContentResolver().notifyChange( in notifyParentChanged()
675 getContext().getContentResolver().notifyChange( in notifyParentChanged()
711 getContext().getContentResolver().notifyChange( in setSize()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java390 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange() method in ChannelDataManagerTest.FakeContentResolver
391 super.notifyChange(uri, observer, syncToNetwork); in notifyChange()
509 mContentResolver.notifyChange(uri, null); in update()
511 mContentResolver.notifyChange(Channels.CONTENT_URI, null); in update()
531 mContentResolver.notifyChange(TvContract.buildChannelUri(channelId), null); in simulateInsert()
537 mContentResolver.notifyChange(TvContract.buildChannelUri(channelId), null); in simulateDelete()
546 mContentResolver.notifyChange(TvContract.buildChannelUri(channelId), null); in simulateUpdate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationPreferenceConfig.java181 notifyChange(); in SettingObserver()
194 notifyChange(); in onChange()
198 private void notifyChange() { in notifyChange() method in VibrationPreferenceConfig.SettingObserver
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapIMProviderTest.java572 verify(resolver).notifyChange(expectedUri, null); in onAccountChanged()
578 verify(resolver).notifyChange(expectedUri, null); in onAccountChanged()
597 verify(resolver).notifyChange(expectedUri, null); in onContactChanged()
603 verify(resolver).notifyChange(expectedUri, null); in onContactChanged()
610 verify(resolver).notifyChange(expectedUri, null); in onContactChanged()
629 verify(resolver).notifyChange(expectedUri, null); in onMessageChanged()
635 verify(resolver).notifyChange(expectedUri, null); in onMessageChanged()
641 verify(resolver).notifyChange(expectedUri, null); in onMessageChanged()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeStorage.kt57 notifyChange(PreferenceChangeReason.STATE) in onFirstObserverAdded()
66 darkModeObserver.subscribe { notifyChange(PreferenceChangeReason.VALUE) } in onFirstObserverAdded()
/packages/apps/Settings/src/com/android/settings/supervision/
DSupervisionSafeSearchDataStore.kt64 notifyChange(SupervisionSearchFilterOffPreference.KEY, reason) in onKeyChanged()
65 notifyChange(SupervisionSearchFilterOnPreference.KEY, reason) in onKeyChanged()
DSupervisionSafeSitesDataStore.kt68 notifyChange(SupervisionBlockExplicitSitesPreference.KEY, reason) in onKeyChanged()
69 notifyChange(SupervisionAllowAllSitesPreference.KEY, reason) in onKeyChanged()

123456