/frameworks/base/core/java/android/content/ |
D | ContentQueryMap.java | 45 private ContentObserver mContentObserver; field in ContentQueryMap 91 mCursor.unregisterContentObserver(mContentObserver); in setKeepUpdated() 92 mContentObserver = null; in setKeepUpdated() 97 if (mContentObserver == null) { in setKeepUpdated() 98 mContentObserver = new ContentObserver(mHandlerForUpdateNotifications) { in setKeepUpdated() 112 mCursor.registerContentObserver(mContentObserver); in setKeepUpdated() 169 if (mContentObserver != null) { in close() 170 mCursor.unregisterContentObserver(mContentObserver); in close() 171 mContentObserver = null; in close()
|
/frameworks/base/core/java/android/hardware/display/ |
D | NightDisplayListener.java | 40 private final ContentObserver mContentObserver; field in NightDisplayListener 60 mContentObserver = new ContentObserver(mHandler) { in NightDisplayListener() 106 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in setCallbackInternal() 110 false /* notifyForDescendants */, mContentObserver, mUserId); in setCallbackInternal() local 112 false /* notifyForDescendants */, mContentObserver, mUserId); in setCallbackInternal() local 115 false /* notifyForDescendants */, mContentObserver, mUserId); in setCallbackInternal() local 118 false /* notifyForDescendants */, mContentObserver, mUserId); in setCallbackInternal() local 121 false /* notifyForDescendants */, mContentObserver, mUserId); in setCallbackInternal() local
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 223 private ContentObserver mContentObserver; field in ContentObserver.Transport 226 mContentObserver = contentObserver; in Transport() 231 ContentObserver contentObserver = mContentObserver; in onChange() 238 mContentObserver = null; in releaseContentObserver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockManagerTest.java | 67 private ContentObserver mContentObserver; field in ClockManagerTest 100 mContentObserver = mClockManager.getContentObserver(); in setUp() 127 mContentObserver.onChange(false, SETTINGS_URI, MAIN_USER_ID); in getCurrentClock_default() 137 mContentObserver.onChange(false, SETTINGS_URI, MAIN_USER_ID); in getCurrentClock_customClock() 147 mContentObserver.onChange(false, SETTINGS_URI, MAIN_USER_ID); in onClockChanged_customClock() 159 mContentObserver.onChange(false, SETTINGS_URI, MAIN_USER_ID); in onClockChanged_uniqueInstances() 176 mContentObserver.onChange(false, SETTINGS_URI, MAIN_USER_ID); in getCurrentClock_badSettingsValue()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | SettingsObserver.java | 42 private final ContentObserver mContentObserver; field in SettingsObserver 84 mContentObserver = new ContentObserver(handler) { in SettingsObserver() 94 resolver.registerContentObserver(settingUri, false, mContentObserver, in SettingsObserver()
|
/frameworks/base/core/java/android/widget/ |
D | CursorTreeAdapter.java | 405 private MyContentObserver mContentObserver; field in CursorTreeAdapter.MyCursorHelper 413 mContentObserver = new MyContentObserver(); in MyCursorHelper() 416 cursor.registerContentObserver(mContentObserver); in MyCursorHelper() 459 cursor.registerContentObserver(mContentObserver); in changeCursor() 478 mCursor.unregisterContentObserver(mContentObserver); in deactivate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockManager.java | 73 private final ContentObserver mContentObserver = field in ClockManager 210 return mContentObserver; in getContentObserver() 223 false, mContentObserver, UserHandle.USER_ALL); in register() local 226 false, mContentObserver, UserHandle.USER_ALL); in register() local 235 mContentResolver.unregisterContentObserver(mContentObserver); in unregister()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 170 private ContentObserver mContentObserver; field in ColorDisplayService 305 if (mContentObserver == null) { in setUp() 306 mContentObserver = new ContentObserver(mHandler) { in setUp() 366 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 368 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 370 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 372 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 374 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 376 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 379 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoredNetworkEvaluator.java | 55 private final ContentObserver mContentObserver; field in ScoredNetworkEvaluator 70 mContentObserver = new ContentObserver(new Handler(looper)) { in ScoredNetworkEvaluator() 79 false /* notifyForDescendents */, mContentObserver); in ScoredNetworkEvaluator() 80 mContentObserver.onChange(false /* unused */); in ScoredNetworkEvaluator()
|
D | WakeupController.java | 59 private final ContentObserver mContentObserver; field in WakeupController 152 mContentObserver = new ContentObserver(mHandler) { in WakeupController() 160 Settings.Global.WIFI_WAKEUP_ENABLED), true, mContentObserver); in WakeupController()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 53 private final ContentObserver mContentObserver; field in CaptioningManager 64 mContentObserver = new MyContentObserver(handler); in CaptioningManager() 165 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver); in registerObserver() local 179 mContentResolver.unregisterContentObserver(mContentObserver); in removeCaptioningChangeListener()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkConfigTest.java | 75 ContentObserver mContentObserver; field in CarrierNetworkConfigTest 125 mContentObserver = observerCaptor.getValue(); in setUp() 265 mContentObserver.onChange(false); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
|
D | LinkProbeManagerTest.java | 70 private ContentObserver mContentObserver; field in LinkProbeManagerTest 93 mContentObserver = observerCaptor.getValue(); in setUp() 96 mContentObserver.onChange(false); in setUp() 298 mContentObserver.onChange(false); in testLinkProbeFeatureDisabled()
|
D | CarrierNetworkNotifierTest.java | 92 private ContentObserver mContentObserver; field in CarrierNetworkNotifierTest 130 mContentObserver = observerCaptor.getValue(); in setUp() 152 mContentObserver.onChange(false); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled() 189 mContentObserver.onChange(false); in handleScanResults_featureDisabled_notificationNotDisplayed()
|
D | ScoredNetworkEvaluatorTest.java | 66 private ContentObserver mContentObserver; field in ScoredNetworkEvaluatorTest 102 mContentObserver = observerCaptor.getValue(); in setUp() 135 mContentObserver.onChange(false /* unused */); in testUpdate_recommendationsDisabled() 221 mContentObserver.onChange(false /* unused */); in testEvaluateNetworks_recommendationsDisabled()
|
D | OpenNetworkNotifierTest.java | 92 private ContentObserver mContentObserver; field in OpenNetworkNotifierTest 129 mContentObserver = observerCaptor.getValue(); in setUp() 151 mContentObserver.onChange(false); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled() 188 mContentObserver.onChange(false); in handleScanResults_featureDisabled_notificationNotDisplayed()
|
D | SoftApManagerTest.java | 107 private ContentObserver mContentObserver; field in SoftApManagerTest 1041 mContentObserver.onChange(false); in cancelsTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 1059 mContentObserver.onChange(false); in schedulesTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 1111 verify(mFrameworkFacade).unregisterContentObserver(eq(mContext), eq(mContentObserver)); in unregistersSettingsObserverOnStop() 1170 mContentObserver = observerCaptor.getValue(); in startSoftApAndVerifyEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 210 assertNotNull(mInjector.mContentObserver); in testAdaptiveOnOff() 247 assertNull(mInjector.mContentObserver); in testAdaptiveOnOff() 821 ContentObserver mContentObserver; field in BrightnessTrackerTest.TestInjector 841 mContentObserver.dispatchChange(false, null); in setBrightnessMode() 875 mContentObserver = settingsObserver; in registerBrightnessModeObserver() 881 mContentObserver = null; in unregisterBrightnessModeObserver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 101 private final ContentObserver mContentObserver = new ContentObserver(this) { field in CarrierResolver 122 mContentObserver); in CarrierResolver() 124 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 218 private final ContentObserver mContentObserver; field in NetworkStatsService 447 mContentObserver = mDeps.makeContentObserver(mHandler, mSettings, in NetworkStatsService() 563 false /* notifyForDescendants */, mContentObserver); 567 mHandler.post(() -> mContentObserver.onChange(false, Settings.Global 594 mContentResolver.unregisterContentObserver(mContentObserver);
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 180 private ContentObserver mContentObserver; field in NetworkStatsServiceTest 258 return mContentObserver = super.makeContentObserver(handler, settings, monitor); in makeDependencies() 1216 mHandler.post(() -> mContentObserver.onChange(false, Settings.Global
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 13048 Landroid/content/ContentQueryMap;->mContentObserver:Landroid/database/ContentObserver; 17187 Landroid/database/ContentObserver$Transport;->mContentObserver:Landroid/database/ContentObserver; 73273 Landroid/view/accessibility/CaptioningManager;->mContentObserver:Landroid/database/ContentObserver; 81002 Landroid/widget/CursorTreeAdapter$MyCursorHelper;->mContentObserver:Landroid/widget/CursorTreeAdapt…
|