/frameworks/base/services/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 77 mActivityManagerService.mContext.getContentResolver().registerContentObserver( in beginObserveCoreSettings() 89 String value = Settings.Secure.getString(context.getContentResolver(), in populateCoreSettings() 93 int value = Settings.Secure.getInt(context.getContentResolver(), in populateCoreSettings() 97 float value = Settings.Secure.getFloat(context.getContentResolver(), in populateCoreSettings() 101 long value = Settings.Secure.getLong(context.getContentResolver(), in populateCoreSettings()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BrightnessController.java | 54 automatic = Settings.System.getInt(mContext.getContentResolver(), in BrightnessController() 67 value = Settings.System.getInt(mContext.getContentResolver(), in BrightnessController() 88 Settings.System.putInt(mContext.getContentResolver(), in onChanged() 97 Settings.System.putInt(mContext.getContentResolver(), in setMode()
|
D | AirplaneModeController.java | 75 ContentResolver cr = mContext.getContentResolver(); in getAirplaneMode() 85 mContext.getContentResolver(), in unsafe()
|
/frameworks/base/core/java/android/net/ |
D | Downloads.java | 222 return context.getContentResolver().query( in getCurrentOtaDownloads() 292 context.getContentResolver().delete( in removeAllDownloadsByPackage() 335 return context.getContentResolver().query(downloadUri, PROJECTION, null, null, null); in getProgressCursor() 350 ContentResolver cr = context.getContentResolver(); in getMimeTypeForId() 374 ContentResolver cr = context.getContentResolver(); in deleteDownload() 390 ContentResolver cr = context.getContentResolver(); in openDownload() 405 ContentResolver cr = context.getContentResolver(); in openDownloadStream() 431 ContentResolver cr = context.getContentResolver(); in getStatus() 490 ContentResolver cr = context.getContentResolver(); in startDownloadByUri()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProviderTest.java | 37 ContentResolver resolver = getContext().getContentResolver(); in testRead() 52 ContentResolver resolver = getContext().getContentResolver(); in testClose() 70 ContentResolver resolver = getContext().getContentResolver(); in testFile()
|
D | ContentResolverTest.java | 29 mContentResolver = mContext.getContentResolver(); in setUp()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerDataHelper.java | 76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, in writeEntry() 98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, in deleteAll() 111 Cursor cursor = mContext.getContentResolver().query( in query()
|
D | TrackerProvider.java | 89 getContext().getContentResolver().notifyChange(uri, null); in delete() 104 getContext().getContentResolver().notifyChange(addedUri, null); in insert() 117 getContext().getContentResolver().notifyChange(uri, null); in query()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiWatchdogStateMachine.java | 204 mContentResolver = context.getContentResolver(); in WifiWatchdogStateMachine() 232 ContentResolver contentResolver = context.getContentResolver(); in makeWifiWatchdogStateMachine() 290 mContext.getContentResolver().registerContentObserver( in registerForWatchdogToggle() 306 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 310 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 313 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 316 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 319 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 322 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() 325 mContext.getContentResolver().registerContentObserver( in registerForSettingsChanges() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | JniUtil.java | 107 InputStream is = sContext.getContentResolver().openInputStream(uri); in contentUrlSize() 147 return sContext.getContentResolver().openInputStream(uri); in contentUrlStream() 174 return Settings.Secure.getString(sContext.getContentResolver(), in getAutofillQueryUrl()
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 193 context.getContentResolver()) : null; in getActivity() 254 resolvedTypes[i] = intents[i].resolveTypeIfNeeded(context.getContentResolver()); in getActivities() 290 context.getContentResolver()) : null; in getBroadcast() 328 context.getContentResolver()) : null; in getService() 507 intent.resolveTypeIfNeeded(context.getContentResolver()) in send()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 234 getContext().getContentResolver().notifyChange(uri, null); in delete() 288 getContext().getContentResolver().notifyChange(newUri, null); in insert() 336 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 378 c.setNotificationUri(getContext().getContentResolver(), uri); in query()
|
/frameworks/base/core/java/android/test/ |
D | AndroidTestCase.java | 115 getContext().getContentResolver().query(uri, null, null, null, null); in assertReadingContentUriRequiresPermission() 134 getContext().getContentResolver().insert(uri, new ContentValues()); in assertWritingContentUriRequiresPermission()
|
/frameworks/base/services/java/com/android/server/ |
D | WifiService.java | 421 NOTIFICATION_REPEAT_DELAY_MS = Settings.Secure.getInt(context.getContentResolver(), in WifiService() 451 final ContentResolver cr = mContext.getContentResolver(); in testAndClearWifiSavedState() 464 final ContentResolver cr = mContext.getContentResolver(); in getPersistedWifiState() 482 final ContentResolver cr = mContext.getContentResolver(); in persistWifiEnabled() 914 Settings.Secure.getLong(mContext.getContentResolver(), 917 Settings.System.getInt(mContext.getContentResolver(), 1023 int wifiSleepPolicy = Settings.System.getInt(mContext.getContentResolver(), 1123 String airplaneModeRadios = Settings.System.getString(mContext.getContentResolver(), in isAirplaneSensitive() 1130 String toggleableRadios = Settings.System.getString(mContext.getContentResolver(), in isAirplaneToggleable() 1142 return isAirplaneSensitive() && Settings.System.getInt(mContext.getContentResolver(), in isAirplaneModeOn() [all …]
|
D | RecognitionManagerService.java | 117 mContext.getContentResolver(), in getCurRecognizer() 126 Settings.Secure.putString(mContext.getContentResolver(), in setCurRecognizer()
|
D | ThrottleService.java | 211 ContentResolver resolver = context.getContentResolver(); in register() 229 final ContentResolver resolver = context.getContentResolver(); in unregister() 298 return Settings.Secure.getString(mContext.getContentResolver(), in getHelpUri() 437 mPolicyPollPeriodSec = Settings.Secure.getInt(mContext.getContentResolver(), in onPolicyChanged() 445 long threshold = Settings.Secure.getLong(mContext.getContentResolver(), in onPolicyChanged() 447 int value = Settings.Secure.getInt(mContext.getContentResolver(), in onPolicyChanged() 457 mPolicyResetDay = Settings.Secure.getInt(mContext.getContentResolver(), in onPolicyChanged() 463 Settings.Secure.putInt(mContext.getContentResolver(), in onPolicyChanged() 472 mPolicyNotificationsAllowedMask = Settings.Secure.getInt(mContext.getContentResolver(), in onPolicyChanged() 475 final int maxNtpCacheAgeSec = Settings.Secure.getInt(mContext.getContentResolver(), in onPolicyChanged()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 265 final ContentResolver resolver = context.getContentResolver(); in addCall() 352 final ContentResolver resolver = context.getContentResolver(); in getLastOutgoingCall() 371 final ContentResolver resolver = context.getContentResolver(); in removeExpiredEntries()
|
D | SearchRecentSuggestions.java | 182 ContentResolver cr = mContext.getContentResolver(); in saveRecentQueryBlocking() 212 ContentResolver cr = mContext.getContentResolver(); in clearHistory()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 75 String engine = getString(mContext.getContentResolver(), in getDefaultEngine() 295 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE), in getLocalePrefForEngine() 334 final ContentResolver cr = mContext.getContentResolver(); in getV1Locale() 411 final String prefList = Settings.Secure.getString(mContext.getContentResolver(), in updateLocalePrefForEngine() 423 Settings.Secure.putString(mContext.getContentResolver(), in updateLocalePrefForEngine()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 204 String format = Settings.System.getString(getContext().getContentResolver(), 229 context.getContentResolver().registerContentObserver(uri, true, mContentObserver); 235 context.getContentResolver().unregisterContentObserver(mContentObserver);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DigitalClock.java | 148 mContext.getContentResolver().unregisterContentObserver(this); in onChange() 198 mContext.getContentResolver().registerContentObserver( in onAttachedToWindow() 215 mContext.getContentResolver().unregisterContentObserver( in onDetachedFromWindow()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 38 ContentResolver r = getContext().getContentResolver(); in testNameValueCache() 63 ContentResolver r = getContext().getContentResolver(); in testRowNameContentUri() 132 ContentResolver r = getContext().getContentResolver(); in testRowNumberContentUri() 155 ContentResolver r = getContext().getContentResolver(); in testParseProviderList()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 110 ret.setNotificationUri(getContext().getContentResolver(), url); in query() 148 getContext().getContentResolver().notifyChange(url, null); in update()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | KeyguardUpdateMonitor.java | 193 mContext.getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 0) != 0; in KeyguardUpdateMonitor() 202 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(), in KeyguardUpdateMonitor() 211 mContext.getContentResolver().registerContentObserver( in KeyguardUpdateMonitor() 217 boolean provisioned = Settings.Secure.getInt(mContext.getContentResolver(), in KeyguardUpdateMonitor() 288 mContext.getContentResolver().unregisterContentObserver(mContentObserver); in handleDeviceProvisioned()
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | MediaPlayerProxyTestCase.java | 532 Uri uri = getContentResolver().insert( in getTestContentUri() 539 outputStream = getContentResolver().openOutputStream(uri); in getTestContentUri() 563 getContentResolver().delete(uri, null, null); in cleanupContentUriIfNecessary() 574 private ContentResolver getContentResolver() { in getContentResolver() method in MediaPlayerProxyTestCase 575 return getInstrumentation().getContext().getContentResolver(); in getContentResolver()
|