Lines Matching defs:contentResolver
19 import android.content.ContentResolver;
60 private WeakReference<ContentResolver> mResolver;
247 final ContentResolver contentResolver = mResolver.get();
248 if (contentResolver != null) {
249 contentResolver.unregisterContentObserver(mObserver);
259 final ContentResolver contentResolver = context.getContentResolver();
260 mResolver = new WeakReference<ContentResolver>(contentResolver);
263 contentResolver.registerContentObserver(Settings.System.CONTENT_URI, true, mObserver);
266 updatePrefs(contentResolver);
278 final ContentResolver contentResolver = mResolver.get();
279 if (contentResolver == null) {
282 updatePrefs(contentResolver);
290 private void updatePrefs(ContentResolver resolver) {