Home
last modified time | relevance | path

Searched refs:contentResolver (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/text/method/
DTextKeyListener.java243 final ContentResolver contentResolver = mResolver.get(); in release() local
244 if (contentResolver != null) { in release()
245 contentResolver.unregisterContentObserver(mObserver); in release()
255 final ContentResolver contentResolver = context.getContentResolver(); in initPrefs() local
256 mResolver = new WeakReference<ContentResolver>(contentResolver); in initPrefs()
259 contentResolver.registerContentObserver(Settings.System.CONTENT_URI, true, mObserver); in initPrefs()
262 updatePrefs(contentResolver); in initPrefs()
274 final ContentResolver contentResolver = mResolver.get(); in onChange() local
275 if (contentResolver == null) { in onChange()
278 updatePrefs(contentResolver); in onChange()
/frameworks/base/services/java/com/android/server/
DSamplingProfilerService.java89 ContentResolver contentResolver = context.getContentResolver(); in registerSettingObserver() local
90 contentResolver.registerContentObserver( in registerSettingObserver()
92 false, new SamplingProfilerSettingsObserver(contentResolver)); in registerSettingObserver()
103 public SamplingProfilerSettingsObserver(ContentResolver contentResolver) { in SamplingProfilerSettingsObserver() argument
105 mContentResolver = contentResolver; in SamplingProfilerSettingsObserver()
/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java58 ContentResolver contentResolver = mContext.getContentResolver(); in testProvider() local
63 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider()
67 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); in testProvider()
72 int count = contentResolver.delete(url, null, null); in testProvider()
/frameworks/base/core/java/android/content/
DContentInsertHandler.java38 public void insert(ContentResolver contentResolver, InputStream in) in insert() argument
47 public void insert(ContentResolver contentResolver, String in) in insert() argument
DDefaultDataHandler.java87 public void insert(ContentResolver contentResolver, InputStream in) in insert() argument
89 mContentResolver = contentResolver; in insert()
93 public void insert(ContentResolver contentResolver, String in) in insert() argument
95 mContentResolver = contentResolver; in insert()
DContentProviderClient.java42 ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider) { in ContentProviderClient() argument
44 mContentResolver = contentResolver; in ContentProviderClient()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java290 ContentResolver contentResolver = mContext.getContentResolver(); in registerSettingsContentObservers() local
294 contentResolver.registerContentObserver(accessibilityEnabledUri, false, in registerSettingsContentObservers()
308 contentResolver.registerContentObserver(touchExplorationRequestedUri, false, in registerSettingsContentObservers()
326 contentResolver.registerContentObserver(accessibilityServicesUri, false, in registerSettingsContentObservers()
/frameworks/base/wifi/java/android/net/wifi/
DWifiWatchdogStateMachine.java232 ContentResolver contentResolver = context.getContentResolver(); in makeWifiWatchdogStateMachine() local
239 if (Settings.Secure.getString(contentResolver, Settings.Secure.WIFI_WATCHDOG_ON) == null && in makeWifiWatchdogStateMachine()
241 putSettingsBoolean(contentResolver, Settings.Secure.WIFI_WATCHDOG_ON, false); in makeWifiWatchdogStateMachine()
/frameworks/base/core/java/android/server/
DBluetoothAdapterStateMachine.java736 ContentResolver contentResolver = mContext.getContentResolver(); in getBluetoothPersistedSetting() local
737 return (Settings.Secure.getInt(contentResolver, in getBluetoothPersistedSetting()
/frameworks/base/core/tests/coretests/src/android/webkit/
DAccessibilityInjectorTest.java1698 ContentResolver contentResolver = getActivity().getContentResolver(); in injectTestWebContentKeyBindings() local
1699 sDefaultKeyBindings = Settings.Secure.getString(contentResolver, in injectTestWebContentKeyBindings()
1701 Settings.Secure.putString(contentResolver, in injectTestWebContentKeyBindings()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd717 ContentResolver contentResolver = getContentResolver();
719 Cursor cursor = contentResolver.query(uri, null, null, null, null);