/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SettingsWrapper.java | 41 SettingsWrapper(ContentResolver contentResolver) { in SettingsWrapper() argument 42 this(contentResolver, new Migrator(contentResolver)); in SettingsWrapper() 46 SettingsWrapper(ContentResolver contentResolver, Migration migration) { in SettingsWrapper() argument 47 mContentResolver = contentResolver; in SettingsWrapper() 112 Migrator(ContentResolver contentResolver) { in Migrator() argument 113 mContentResolver = contentResolver; in Migrator()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 252 final ContentResolver contentResolver = mResolver.get(); in release() local 253 if (contentResolver != null) { in release() 254 contentResolver.unregisterContentObserver(mObserver); in release() 264 final ContentResolver contentResolver = context.getContentResolver(); in initPrefs() local 265 mResolver = new WeakReference<ContentResolver>(contentResolver); in initPrefs() 268 contentResolver.registerContentObserver(Settings.System.CONTENT_URI, true, mObserver); in initPrefs() 271 updatePrefs(contentResolver); in initPrefs() 283 final ContentResolver contentResolver = mResolver.get(); in onChange() local 284 if (contentResolver == null) { in onChange() 287 updatePrefs(contentResolver); in onChange()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RGBZ.java | 53 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { in RGBZ() argument 54 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); in RGBZ() 72 public RGBZ(Uri uriImage, Uri uriDepthmap, ContentResolver contentResolver, in RGBZ() argument 74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in RGBZ() 94 ContentResolver contentResolver, Context context) in createFromBitmapDepthmap() argument 96 Bitmap image = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in createFromBitmapDepthmap() 105 ContentResolver contentResolver, Context context) in createFromPFMDepthmap() argument 107 Bitmap image = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in createFromPFMDepthmap()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 61 ContentResolver contentResolver = mContext.getContentResolver(); in testProvider() local 66 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider() 70 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); in testProvider() 75 int count = contentResolver.delete(url, null, null); in testProvider()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | BaseSettingsProviderTest.java | 64 ContentResolver contentResolver = getContext().getContentResolver(); in setStringViaFrontEndApiSetting() local 68 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 72 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 76 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 86 ContentResolver contentResolver = getContext().getContentResolver(); in getStringViaFrontEndApiSetting() local 90 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting() 94 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting() 98 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 215 ContentResolver contentResolver = mContext.getContentResolver(); in getUiOptionsAsFlags() local 216 int inversionEnabled = Settings.Secure.getInt(contentResolver, in getUiOptionsAsFlags() 221 float fontScale = Settings.System.getFloat(contentResolver, in getUiOptionsAsFlags() 232 ContentResolver contentResolver = context.getContentResolver(); in isAccessibilityServiceRunning() local 233 int a11yEnabled = Settings.Secure.getInt(contentResolver, in isAccessibilityServiceRunning()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | Estimate.kt | 43 val resolver = context.contentResolver in getCachedEstimateIfAvailable() 70 val resolver = context.contentResolver in storeCachedEstimate() 88 context.contentResolver, in getLastCacheUpdateTime()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 89 ContentResolver contentResolver = getContentResolverForUser(context, userId); in disableCarrierAppsUntilPrivileged() local 91 contentResolver, userId, systemCarrierAppsDisabledUntilUsed, in disableCarrierAppsUntilPrivileged() 118 ContentResolver contentResolver = getContentResolverForUser(context, userId); in disableCarrierAppsUntilPrivileged() local 120 null /* telephonyManager */, contentResolver, userId, in disableCarrierAppsUntilPrivileged() 146 ContentResolver contentResolver, int userId, in disableCarrierAppsUntilPrivileged() argument 161 boolean hasRunOnce = Settings.Secure.getInt(contentResolver, in disableCarrierAppsUntilPrivileged() 283 Settings.Secure.putInt(contentResolver, Settings.Secure.CARRIER_APPS_HANDLED, 1); in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/core/java/android/content/ |
D | ContentInsertHandler.java | 38 public void insert(ContentResolver contentResolver, InputStream in) in insert() argument 47 public void insert(ContentResolver contentResolver, String in) in insert() argument
|
D | DefaultDataHandler.java | 87 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()
|
D | ContentProviderClient.java | 94 public ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider, in ContentProviderClient() argument 97 this(contentResolver, contentProvider, "unknown", stable); in ContentProviderClient() 101 public ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider, in ContentProviderClient() argument 103 mContentResolver = contentResolver; in ContentProviderClient() 105 mPackageName = contentResolver.mPackageName; in ContentProviderClient()
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 307 private static List<String> getGlobalSettingsString(ContentResolver contentResolver, in getGlobalSettingsString() argument 316 settingsValue = Settings.Global.getString(contentResolver, globalSetting); in getGlobalSettingsString() 345 ContentResolver contentResolver = context.getContentResolver(); in getDriverForPkg() local 346 allUseAngle = Settings.Global.getString(contentResolver, in getDriverForPkg() 353 final ContentResolver contentResolver = context.getContentResolver(); in getDriverForPkg() local 355 getGlobalSettingsString(contentResolver, bundle, in getDriverForPkg() 358 getGlobalSettingsString(contentResolver, bundle, in getDriverForPkg() 417 ContentResolver contentResolver = context.getContentResolver(); in getAngleDebugPackage() local 418 debugPackage = Settings.Global.getString(contentResolver, in getAngleDebugPackage() 529 final ContentResolver contentResolver = context.getContentResolver(); in checkAngleWhitelist() local [all …]
|
/frameworks/base/core/java/android/provider/ |
D | VoicemailContract.java | 411 ContentResolver contentResolver = context.getContentResolver(); in insert() local 413 return contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() 426 ContentResolver contentResolver = context.getContentResolver(); in insert() local 430 contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert()
|
D | DeviceConfig.java | 398 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in getProperty() local 400 return Settings.Config.getString(contentResolver, compositeName); in getProperty() 545 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in setProperty() local 546 return Settings.Config.putString(contentResolver, compositeName, value, makeDefault); in setProperty() 564 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in resetToDefaults() local 565 Settings.Config.resetToDefaults(contentResolver, resetMode, namespace); in resetToDefaults()
|
D | SettingsStringUtil.java | 161 public SettingStringHelper(ContentResolver contentResolver, String name, int userId) { in SettingStringHelper() argument 162 mContentResolver = contentResolver; in SettingStringHelper()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | SettingsToPropertiesMapper.java | 98 protected SettingsToPropertiesMapper(ContentResolver contentResolver, in SettingsToPropertiesMapper() argument 101 mContentResolver = contentResolver; in SettingsToPropertiesMapper() 154 public static SettingsToPropertiesMapper start(ContentResolver contentResolver) { in start() argument 156 contentResolver, sGlobalSettings, sDeviceConfigScopes); in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | StatusBarSwitch.java | 84 ContentResolver contentResolver = getContext().getContentResolver(); in setList() local 85 Settings.Secure.putStringForUser(contentResolver, StatusBarIconController.ICON_BLACKLIST, in setList()
|
D | DemoModeFragment.java | 78 ContentResolver contentResolver = getContext().getContentResolver(); in onCreatePreferences() local 79 contentResolver.registerContentObserver(Settings.Global.getUriFor( in onCreatePreferences() 81 contentResolver.registerContentObserver(Settings.Global.getUriFor(DEMO_MODE_ON), false, in onCreatePreferences()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DefaultPhotoManager.java | 58 public DefaultPhotoManager(ContentResolver contentResolver) { in DefaultPhotoManager() argument 59 mContentResolver = contentResolver; in DefaultPhotoManager()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorService.java | 76 ContentResolver contentResolver = context.getContentResolver(); in create() local 77 contentResolver.registerContentObserver( in create()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | TimeZoneDetectorService.java | 78 ContentResolver contentResolver = context.getContentResolver(); in create() local 79 contentResolver.registerContentObserver( in create()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 171 public void start(@NonNull ContentResolver contentResolver, in start() argument 176 if (contentResolver == null) { in start() 183 mContentResolver = contentResolver; in start()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 40 public static final String insertImage(ContentResolver contentResolver, in insertImage() argument 50 return insertImage(contentResolver, streamWriter, title, description); in insertImage()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 40 public static final String insertImage(ContentResolver contentResolver, in insertImage() argument 50 return insertImage(contentResolver, streamWriter, title, description); in insertImage()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ActionsModelParamsSupplier.java | 91 private ActionsModelParams parse(ContentResolver contentResolver) { in parse() argument 92 String settingStr = Settings.Global.getString(contentResolver, in parse()
|