/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialCursorLoader.java | 50 private ForceLoadContentObserver mObserver; field in SmartDialCursorLoader 123 if (mObserver == null) { in deliverResult() 124 mObserver = new ForceLoadContentObserver(); in deliverResult() 126 DialerDatabaseHelper.SMART_DIAL_UPDATED_URI, true, mObserver); in deliverResult() 163 if (mObserver != null) { in onReset() 164 mContext.getContentResolver().unregisterContentObserver(mObserver); in onReset() 165 mObserver = null; in onReset() 179 if (mObserver != null) { in onCanceled() 180 mContext.getContentResolver().unregisterContentObserver(mObserver); in onCanceled() 181 mObserver = null; in onCanceled()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMasInstance.java | 83 BluetoothMapContentObserver mObserver; field in BluetoothMapMasInstance 272 if (mObserver != null) { in startRfcommSocketListener() 274 mObserver.deinit(); in startRfcommSocketListener() 275 mObserver = null; in startRfcommSocketListener() 358 mObserver = new BluetoothMapContentObserver(mContext, in startObexServerSession() 363 mObserver.init(); in startObexServerSession() 366 mObserver, in startObexServerSession() 383 if(mObserver != null) { in handleSmsSendIntent() 384 return mObserver.handleSmsSendIntent(context, intent); in handleSmsSendIntent() 404 if (mObserver != null) { in shutdown() [all …]
|
D | BluetoothMapObexServer.java | 94 private BluetoothMapContentObserver mObserver = null; field in BluetoothMapObexServer 124 mObserver = observer; in BluetoothMapObexServer() 148 mObserver.setFolderStructure(mCurrentFolder.getRoot()); in BluetoothMapObexServer() 429 return mObserver.setNotificationRegistration(appParams.getNotificationStatus()); in onPut() 435 mObserver.setNotificationFilter(appParams.getNotificationFilter()); in onPut() 589 if (mObserver == null || message == null) { in pushMessage() 604 long handle = mObserver.pushMessage(message, folderElement, appParams, mBaseUriString); in pushMessage() 665 if (mObserver == null) { in setMessageStatus() 683 if (!mObserver.setMessageStatusDeleted(handle, msgType, mCurrentFolder, in setMessageStatus() 690 if (!mObserver.setMessageStatusRead(handle, msgType, mBaseUriString, value)) { in setMessageStatus() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatterySaverPreference.java | 46 mObserver.onChange(true); in onAttached() 48 Settings.Global.getUriFor(Global.LOW_POWER_MODE_TRIGGER_LEVEL), true, mObserver); in onAttached() local 50 Settings.Global.getUriFor(Global.LOW_POWER_MODE), true, mObserver); in onAttached() local 56 getContext().getContentResolver().unregisterContentObserver(mObserver); in onDetached() 72 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in BatterySaverPreference
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ContactsContentObserverTest.java | 58 private ContactsContentObserver mObserver; field in ContactsContentObserverTest 63 mObserver = new ContactsContentObserver(mMockManager, mContext); in setUp() 77 assertFalse(mObserver.haveContentsChanged()); in testHaveContentsChanged_NoChange() 83 assertTrue(mObserver.haveContentsChanged()); in testHaveContentsChanged_UpdatedCount() 92 assertTrue(mObserver.haveContentsChanged()); in testHaveContentsChanged_HashUpdate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserBinaryDictionary.java | 54 private ContentObserver mObserver; field in UserBinaryDictionary 73 mObserver = new ContentObserver(null) { in UserBinaryDictionary() 89 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); in UserBinaryDictionary() 105 if (mObserver != null) { in close() 106 mContext.getContentResolver().unregisterContentObserver(mObserver); in close() 107 mObserver = null; in close()
|
D | ContactsManager.java | 124 private final ContactsContentObserver mObserver; field in ContactsManager 128 mObserver = new ContactsContentObserver(this /* ContactsManager */, context); in ContactsManager() 133 mObserver.registerObserver(listener); in registerForUpdates() 243 mObserver.unregister(); in close()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | ContactLoader.java | 34 ForceLoadContentObserver mObserver; field in ContactLoader 145 if (mObserver == null) { in deliverResult() 146 mObserver = new ForceLoadContentObserver(); in deliverResult() 148 getContext().getContentResolver().registerContentObserver(mLookupUri, true, mObserver); in deliverResult() 170 if (mObserver != null) { in stopLoading() 171 getContext().getContentResolver().unregisterContentObserver(mObserver); in stopLoading()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadJobService.java | 47 getContentResolver().registerContentObserver(ALL_DOWNLOADS_CONTENT_URI, true, mObserver); in onCreate() 53 getContentResolver().unregisterContentObserver(mObserver); in onDestroy() 101 mObserver.onChange(false); in jobFinishedInternal() 106 private ContentObserver mObserver = new ContentObserver(Helpers.getAsyncHandler()) { field in DownloadJobService
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CompositeAdapter.java | 93 private final Observer mObserver; field in CompositeAdapter 97 mObserver = new Observer(); in CompositeAdapter() 113 partition.getAdapter().registerDataSetObserver(mObserver); in addPartition() 124 partition.getAdapter().unregisterDataSetObserver(mObserver); in removePartition() 133 partition.getAdapter().unregisterDataSetObserver(mObserver); in clearPartitions()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MergedAdapter.java | 37 private final DataSetObserver mObserver; field in MergedAdapter 58 mObserver = new DataSetObserver() { in MergedAdapter() 69 adapter.unregisterDataSetObserver(mObserver); in setAdapters() 76 adapter.registerDataSetObserver(mObserver); in setAdapters()
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
D | BugReportListActivity.java | 62 private FileObserver mObserver = null; field in BugReportListActivity 72 mObserver = new FileObserver(REPORT_DIR.getPath(), flags) { in onCreate() 95 mObserver.startWatching(); in onStart() 102 mObserver.stopWatching(); in onStop()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectVisibleCalendarsActivity.java | 43 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in SelectVisibleCalendarsActivity 79 true, mObserver); in onResume() 85 getContentResolver().unregisterContentObserver(mObserver); in onPause()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursorLoader.java | 36 final ForceLoadContentObserver mObserver; field in ObjectCursorLoader 67 mObserver = new ForceLoadContentObserver(); in ObjectCursorLoader() 84 inner.registerContentObserver(mObserver); in loadInBackground()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoActivity.java | 53 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in EventInfoActivity 186 true, mObserver); in onResume() 192 getContentResolver().unregisterContentObserver(mObserver); in onPause()
|
D | SearchActivity.java | 83 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in SearchActivity 332 mContentResolver.registerContentObserver(Events.CONTENT_URI, true, mObserver); in onResume() 342 mContentResolver.unregisterContentObserver(mObserver); in onPause()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | DirectoryListLoader.java | 83 private final ContentObserver mObserver = new ContentObserver(new Handler()) { field in DirectoryListLoader 115 false, mObserver); in onStartLoading() local 121 getContext().getContentResolver().unregisterContentObserver(mObserver); in onStopLoading()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaItemsLoader.java | 56 private ContentListener mObserver = new ContentListener() { field in MediaItemsLoader 80 mMediaSet.addContentListener(mObserver); in onStartLoading() 98 mMediaSet.removeContentListener(mObserver); in onStopLoading()
|
D | MediaSetLoader.java | 53 private ContentListener mObserver = new ContentListener() { field in MediaSetLoader 78 mMediaSet.addContentListener(mObserver); in onStartLoading() 96 mMediaSet.removeContentListener(mObserver); in onStopLoading()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 59 private final ContentObserver mObserver; field in AndroidWordLevelSpellCheckerSession 105 mObserver = new ContentObserver(null) { in AndroidWordLevelSpellCheckerSession() 111 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); in AndroidWordLevelSpellCheckerSession() 125 cres.unregisterContentObserver(mObserver); in onClose()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenAccessSettings.java | 56 private final SettingObserver mObserver = new SettingObserver(); field in ZenAccessSettings 90 mObserver); in onResume() local 93 mObserver); in onResume() local 99 getContentResolver().unregisterContentObserver(mObserver); in onPause()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | VeiledAddressMatcher.java | 81 private final AccountObserver mObserver = new AccountObserver() { field in VeiledAddressMatcher 132 mObserver.initialize(controller); in initialize()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 113 private BluetoothTransferContentObserver mObserver; field in BluetoothOppTransferActivity 152 mObserver = new BluetoothTransferContentObserver(); in onCreate() 154 mObserver); in onCreate() 172 if (mObserver != null) { in onDestroy() 173 getContentResolver().unregisterContentObserver(mObserver); in onDestroy()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 94 private ForceLoadContentObserver mObserver; field in ContactLoader 930 if (mObserver == null) { in deliverResult() 931 mObserver = new ForceLoadContentObserver(); in deliverResult() 934 mLookupUri, true, mObserver); in deliverResult() 977 if (mObserver != null) { in unregisterObserver() 978 getContext().getContentResolver().unregisterContentObserver(mObserver); in unregisterObserver() 979 mObserver = null; in unregisterObserver()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 427 private final ForceLoadContentObserver mObserver; field in AccountSettingsFragment.AccountLoader 433 mObserver = new ForceLoadContentObserver(); in AccountLoader() 444 account = Account.restoreAccountWithAddress(getContext(), mAccountEmail, mObserver); in loadInBackground() 446 account = Account.restoreAccountWithId(getContext(), mAccountId, mObserver); in loadInBackground() 464 Policy.restorePolicyWithId(getContext(), account.mPolicyKey, mObserver); in loadInBackground() 473 uiAccountCursor.registerContentObserver(mObserver); in loadInBackground()
|