Lines Matching defs:contentObserver
45 import android.database.ContentObserver;
347 final ContentObserver observer = extractContentObserver(enabledInputMethodsContentUri);
426 final ContentObserver observer = extractContentObserver(UserDictionary.Words.CONTENT_URI);
495 private ContentObserver extractContentObserver(Uri uri) {
498 Collection<ContentObserver> observers = contentResolver.getContentObservers(uri);
499 ContentObserver contentObserver = null;
500 for (ContentObserver observer : observers) {
502 if (contentObserver != null) {
503 assertThat(observer).isEqualTo(contentObserver);
505 contentObserver = observer;
509 return contentObserver;