/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/opt/datetimepicker/src/com/android/datetimepicker/ |
D | HapticFeedbackController.java | 24 private final ContentObserver mContentObserver; field in HapticFeedbackController 32 mContentObserver = new ContentObserver(null) { in HapticFeedbackController() 49 mContext.getContentResolver().registerContentObserver(uri, false, mContentObserver); in start() 57 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in stop()
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 221 private ContentObserver mContentObserver; field in ContentObserver.Transport 224 mContentObserver = contentObserver; in Transport() 229 ContentObserver contentObserver = mContentObserver; in onChange() 236 mContentObserver = null; in releaseContentObserver()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NightDisplayController.java | 78 private final ContentObserver mContentObserver; field in NightDisplayController 90 mContentObserver = new ContentObserver(new Handler(Looper.getMainLooper())) { in NightDisplayController() 352 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in setListener() 357 false /* notifyForDescendants */, mContentObserver, mUserId); in setListener() local 359 false /* notifyForDescendants */, mContentObserver, mUserId); in setListener() local 361 false /* notifyForDescendants */, mContentObserver, mUserId); in setListener() local 363 false /* notifyForDescendants */, mContentObserver, mUserId); in setListener() local 365 false /* notifyForDescendants */, mContentObserver, mUserId); in setListener() local
|
/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoredNetworkEvaluator.java | 52 private final ContentObserver mContentObserver; field in ScoredNetworkEvaluator 64 mContentObserver = new ContentObserver(new Handler(looper)) { in ScoredNetworkEvaluator() 73 false /* notifyForDescendents */, mContentObserver); in ScoredNetworkEvaluator() 74 mContentObserver.onChange(false /* unused */); in ScoredNetworkEvaluator()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 52 private final ContentObserver mContentObserver; field in CaptioningManager 63 mContentObserver = new MyContentObserver(handler); in CaptioningManager() 164 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver); in registerObserver() local 178 mContentResolver.unregisterContentObserver(mContentObserver); in removeCaptioningChangeListener()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScoredNetworkEvaluatorTest.java | 58 private ContentObserver mContentObserver; field in ScoredNetworkEvaluatorTest 92 mContentObserver = observerCaptor.getValue(); in setUp() 121 mContentObserver.onChange(false /* unused */); in testUpdate_recommendationsDisabled() 207 mContentObserver.onChange(false /* unused */); in testEvaluateNetworks_recommendationsDisabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 94 private final DispatchingContentObserver mContentObserver; field in NetworkScoreService 244 mContentObserver = new DispatchingContentObserver(context, mHandler); in NetworkScoreService() 276 mContentObserver.observe(packageNameUri, in registerRecommendationSettingsObserver() 280 mContentObserver.observe(settingUri, in registerRecommendationSettingsObserver()
|