/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/packages/SystemUI/tests/src/com/android/systemui/util/settings/ |
D | FakeSettingsTest.java | 48 ContentObserver mContentObserver; field in FakeSettingsTest 84 mFakeSettings.registerContentObserver("cat", mContentObserver); in testRegisterContentObserver() 88 verify(mContentObserver).dispatchChange(anyBoolean(), any(Collection.class), anyInt()); in testRegisterContentObserver() 93 mFakeSettings.registerContentObserver("cat", mContentObserver); in testUnregisterContentObserver() 94 mFakeSettings.unregisterContentObserver(mContentObserver); in testUnregisterContentObserver() 98 verify(mContentObserver, never()).dispatchChange( in testUnregisterContentObserver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | ReduceBrightColorsController.java | 47 private final ContentObserver mContentObserver; field in ReduceBrightColorsController 60 mContentObserver = new ContentObserver(mHandler) { in ReduceBrightColorsController() 82 mSecureSettings.unregisterContentObserver(mContentObserver); in ReduceBrightColorsController() 86 false, mContentObserver, newUser); in ReduceBrightColorsController() 103 false, mContentObserver, mUserTracker.getUserId()); in addCallback() local 113 mSecureSettings.unregisterContentObserver(mContentObserver); in removeCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SecureSettingsContentObserver.java | 48 final ContentObserver mContentObserver; field in SecureSettingsContentObserver 58 mContentObserver = new ContentObserver(new Handler(Looper.getMainLooper())) { in SecureSettingsContentObserver() 79 false, mContentObserver, UserHandle.USER_ALL); in addListener() local 94 mContentResolver.unregisterContentObserver(mContentObserver); in removeListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockManagerTest.java | 69 private ContentObserver mContentObserver; field in ClockManagerTest 104 mContentObserver = mClockManager.getContentObserver(); in setUp() 131 mContentObserver.onChange(false, Arrays.asList(SETTINGS_URI), 0, MAIN_USER_ID); in getCurrentClock_default() 141 mContentObserver.onChange(false, Arrays.asList(SETTINGS_URI), 0, MAIN_USER_ID); in getCurrentClock_customClock() 151 mContentObserver.onChange(false, Arrays.asList(SETTINGS_URI), 0, MAIN_USER_ID); in onClockChanged_customClock() 163 mContentObserver.onChange(false, Arrays.asList(SETTINGS_URI), 0, MAIN_USER_ID); in onClockChanged_uniqueInstances() 180 mContentObserver.onChange(false, Arrays.asList(SETTINGS_URI), 0, MAIN_USER_ID); in getCurrentClock_badSettingsValue()
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 288 private ContentObserver mContentObserver; field in ContentObserver.Transport 291 mContentObserver = contentObserver; in Transport() 303 ContentObserver contentObserver = mContentObserver; in onChangeEtc() 310 mContentObserver = null; in releaseContentObserver()
|
/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/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationPromptController.java | 63 private final ContentObserver mContentObserver; field in WindowMagnificationPromptController 75 mContentObserver = new ContentObserver(null) { in WindowMagnificationPromptController() 83 false, mContentObserver, mUserId); in WindowMagnificationPromptController() 134 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in onDestroy()
|
/frameworks/base/core/java/com/android/internal/display/ |
D | BrightnessSynchronizer.java | 273 private final ContentObserver mContentObserver = new ContentObserver(mHandler) { field in BrightnessSynchronizer.BrightnessSyncObserver 289 cr.unregisterContentObserver(mContentObserver); in startObserving() 290 cr.registerContentObserver(BRIGHTNESS_URI, false, mContentObserver, in startObserving() 300 cr.unregisterContentObserver(mContentObserver); in stopObserving()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockManager.java | 75 private final ContentObserver mContentObserver = field in ClockManager 210 return mContentObserver; in getContentObserver() 224 false, mContentObserver, UserHandle.USER_ALL); in register() local 227 false, mContentObserver, UserHandle.USER_ALL); in register() local 236 mContentResolver.unregisterContentObserver(mContentObserver); in unregister()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | AccessibilityButtonTargetsObserverTest.java | 68 mAccessibilityButtonTargetsObserver.mContentObserver.onChange(false); in onChange_haveListener_invokeCallback() 81 mAccessibilityButtonTargetsObserver.mContentObserver.onChange(false); in onChange_listenerRemoved_noInvokeCallback()
|
D | AccessibilityButtonModeObserverTest.java | 72 mAccessibilityButtonModeObserver.mContentObserver.onChange(false); in onChange_haveListener_invokeCallback() 85 mAccessibilityButtonModeObserver.mContentObserver.onChange(false); in onChange_noListener_noInvokeCallback()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 173 private ContentObserver mContentObserver; field in ColorDisplayService 303 if (mContentObserver == null) { in setUp() 304 mContentObserver = new ContentObserver(mHandler) { in setUp() 372 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 374 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 376 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 378 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 380 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 382 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local 384 false /* notifyForDescendants */, mContentObserver, mCurrentUser); in setUp() local [all …]
|
/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/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenu.java | 64 private final ContentObserver mContentObserver = field in AccessibilityFloatingMenu 230 /* notifyForDescendants */ false, mContentObserver, in registerContentObservers() local 251 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in unregisterContentObservers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 248 assertNotNull(mInjector.mContentObserver); in testAdaptiveOnOff() 281 assertNull(mInjector.mContentObserver); in testAdaptiveOnOff() 936 ContentObserver mContentObserver; field in BrightnessTrackerTest.TestInjector 956 mContentObserver.dispatchChange(false, null); in setBrightnessMode() 990 mContentObserver = settingsObserver; in registerBrightnessModeObserver() 996 mContentObserver = null; in unregisterBrightnessModeObserver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 112 private final ContentObserver mContentObserver = new ContentObserver(this) { field in CarrierResolver 180 mContentObserver); in CarrierResolver() 182 CarrierId.All.CONTENT_URI, false, mContentObserver); in CarrierResolver()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 220 private final ContentObserver mContentObserver; field in NetworkStatsService 450 mContentObserver = mDeps.makeContentObserver(mHandler, mSettings, in NetworkStatsService() 567 false /* notifyForDescendants */, mContentObserver); 571 mHandler.post(() -> mContentObserver.onChange(false, Settings.Global 598 mContentResolver.unregisterContentObserver(mContentObserver);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13039 Landroid/content/ContentQueryMap;->mContentObserver:Landroid/database/ContentObserver; 17178 Landroid/database/ContentObserver$Transport;->mContentObserver:Landroid/database/ContentObserver; 62167 Landroid/view/accessibility/CaptioningManager;->mContentObserver:Landroid/database/ContentObserver; 69896 Landroid/widget/CursorTreeAdapter$MyCursorHelper;->mContentObserver:Landroid/widget/CursorTreeAdapt…
|