/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/opt/datetimepicker/src/com/android/datetimepicker/ |
D | HapticFeedbackController.java | 27 private final ContentObserver mContentObserver; field in HapticFeedbackController 35 mContentObserver = new ContentObserver(null) { in HapticFeedbackController() 52 mContext.getContentResolver().registerContentObserver(uri, false, mContentObserver); in start() 60 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in stop()
|
/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 | 168 private ContentObserver mContentObserver; field in ColorDisplayService 274 if (mContentObserver == null) { in setUp() 275 mContentObserver = new ContentObserver(mHandler) { in setUp() 335 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 337 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 339 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 341 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 343 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 345 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 348 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 | 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 | 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 | 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 | SoftApManagerTest.java | 80 private ContentObserver mContentObserver; field in SoftApManagerTest 985 mContentObserver.onChange(false); in cancelsTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 1003 mContentObserver.onChange(false); in schedulesTimeoutTimerOnTimeoutToggleChangeWhenNoClients() 1054 verify(mFrameworkFacade).unregisterContentObserver(eq(mContext), eq(mContentObserver)); in unregistersSettingsObserverOnStop() 1112 mContentObserver = observerCaptor.getValue(); in startSoftApAndVerifyEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 207 assertNotNull(mInjector.mContentObserver); in testAdaptiveOnOff() 240 assertNull(mInjector.mContentObserver); in testAdaptiveOnOff() 808 ContentObserver mContentObserver; field in BrightnessTrackerTest.TestInjector 828 mContentObserver.dispatchChange(false, null); in setBrightnessMode() 862 mContentObserver = settingsObserver; in registerBrightnessModeObserver() 868 mContentObserver = null; in unregisterBrightnessModeObserver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 100 private final ContentObserver mContentObserver = new ContentObserver(this) { field in CarrierResolver 121 mContentObserver); in CarrierResolver() 123 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 13908 Landroid/content/ContentQueryMap;->mContentObserver:Landroid/database/ContentObserver; 18366 Landroid/database/ContentObserver$Transport;->mContentObserver:Landroid/database/ContentObserver; 78493 Landroid/view/accessibility/CaptioningManager;->mContentObserver:Landroid/database/ContentObserver; 86799 Landroid/widget/CursorTreeAdapter$MyCursorHelper;->mContentObserver:Landroid/widget/CursorTreeAdapt…
|