Home
last modified time | relevance | path

Searched refs:mContentObserver (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/content/
DContentQueryMap.java45 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/
DNightDisplayListener.java40 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/
DHapticFeedbackController.java27 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/
DContentObserver.java223 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/
DClockManagerTest.java67 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/
DSettingsObserver.java42 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/
DCursorTreeAdapter.java405 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/
DClockManager.java73 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/
DColorDisplayService.java168 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/
DScoredNetworkEvaluator.java55 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()
DWakeupController.java59 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/
DCaptioningManager.java53 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/
DCarrierNetworkConfigTest.java75 ContentObserver mContentObserver; field in CarrierNetworkConfigTest
125 mContentObserver = observerCaptor.getValue(); in setUp()
265 mContentObserver.onChange(false); in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
DLinkProbeManagerTest.java70 private ContentObserver mContentObserver; field in LinkProbeManagerTest
93 mContentObserver = observerCaptor.getValue(); in setUp()
96 mContentObserver.onChange(false); in setUp()
298 mContentObserver.onChange(false); in testLinkProbeFeatureDisabled()
DOpenNetworkNotifierTest.java92 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()
DScoredNetworkEvaluatorTest.java66 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()
DCarrierNetworkNotifierTest.java92 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()
DSoftApManagerTest.java80 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/
DBrightnessTrackerTest.java207 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/
DCarrierResolver.java100 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/
Dhiddenapi-greylist-max-o.txt13908 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…