Home
last modified time | relevance | path

Searched refs:contentObserver (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/database/
DContentObserver.java290 public Transport(ContentObserver contentObserver) { in Transport() argument
291 mContentObserver = contentObserver; in Transport()
303 ContentObserver contentObserver = mContentObserver; in onChangeEtc() local
304 if (contentObserver != null) { in onChangeEtc()
305 contentObserver.dispatchChange(selfChange, Arrays.asList(uris), flags, userId); in onChangeEtc()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScanAlwaysAvailableSettingsCompatibilityTest.java92 ContentObserver contentObserver = mContentObserverArgumentCaptor.getValue(); in reactToContentObserverChanges() local
93 assertNotNull(contentObserver); in reactToContentObserverChanges()
101 contentObserver.onChange(false); in reactToContentObserverChanges()
112 contentObserver.onChange(false); in reactToContentObserverChanges()
DWakeupControllerTest.java710 ContentObserver contentObserver = argumentCaptor.getValue(); in userIsOnboardedBySettingChange() local
711 contentObserver.onChange(false /* selfChange */); in userIsOnboardedBySettingChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanAlwaysAvailableSettingsCompatibility.java69 ContentObserver contentObserver = new ContentObserver(mHandler) { in initialize() local
90 false, contentObserver); in initialize() local
DFrameworkFacade.java148 boolean notifyForDescendants, ContentObserver contentObserver) { in registerContentObserver() argument
150 contentObserver); in registerContentObserver()
160 public void unregisterContentObserver(Context context, ContentObserver contentObserver) { in unregisterContentObserver() argument
161 getContentResolver(context).unregisterContentObserver(contentObserver); in unregisterContentObserver()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssSatelliteBlacklistHelper.java52 ContentObserver contentObserver = new ContentObserver(new Handler(looper)) { in GnssSatelliteBlacklistHelper() local
62 contentObserver, UserHandle.USER_ALL); in GnssSatelliteBlacklistHelper() local
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java622 ContentObserver contentObserver = new ContentObserver(new Handler(Looper.getMainLooper())) { in setSettingAndAssertSuccessfulChange() local
638 contentResolver.registerContentObserver(settingUri, false, contentObserver, userId); in setSettingAndAssertSuccessfulChange()
664 contentResolver.unregisterContentObserver(contentObserver); in setSettingAndAssertSuccessfulChange()
/frameworks/base/core/java/android/provider/
DDeviceConfig.java745 ContentObserver contentObserver = new ContentObserver(null) { in incrementNamespace() local
754 .registerContentObserver(createNamespaceUri(namespace), true, contentObserver); in incrementNamespace() local
755 sNamespaces.put(namespace, new Pair<>(contentObserver, 1)); in incrementNamespace()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java372 ContentObserver contentObserver = mDataManager.getContactsContentObserverForTesting( in testContactsChanged() local
374 contentObserver.onChange(false, ContactsContract.Contacts.CONTENT_URI, USER_ID_PRIMARY); in testContactsChanged()
656 ContentObserver contentObserver = mDataManager.getCallLogContentObserverForTesting(); in testCallLogContentObserver() local
657 contentObserver.onChange(false); in testCallLogContentObserver()
680 ContentObserver contentObserver = mDataManager.getMmsSmsContentObserverForTesting(); in testMmsSmsContentObserver() local
681 contentObserver.onChange(false); in testMmsSmsContentObserver()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java99 final ContentObserver contentObserver = new ContentObserver(this.getHandler()) { in registerForNsdSetting() local
107 mNsdSettings.registerContentObserver(uri, contentObserver); in registerForNsdSetting()
DBluetoothManagerService.java781 ContentObserver contentObserver = new ContentObserver(null) { in registerForBleScanModeChange() local
808 contentObserver); in registerForBleScanModeChange() local
/frameworks/base/core/java/android/content/
DContentResolver.java2643 IContentObserver contentObserver = observer.releaseContentObserver();
2644 if (contentObserver != null) {
2646 contentObserver);