/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSettingsTest.java | 28 contentResolver = context.getContentResolver(); in setUp() 136 assertThat(Secure.getInt(context.getContentResolver(), Secure.ADB_ENABLED, 0)).isEqualTo(1); in testSetAdbEnabled_settingsSecure_true() 142 assertThat(Secure.getInt(context.getContentResolver(), Secure.ADB_ENABLED, 1)).isEqualTo(0); in testSetAdbEnabled_settingsSecure_false() 149 assertThat(Global.getInt(context.getContentResolver(), Global.ADB_ENABLED, 0)).isEqualTo(1); in testSetAdbEnabled_sinceJBMR1_settingsGlobal_true() 156 assertThat(Global.getInt(context.getContentResolver(), Global.ADB_ENABLED, 1)).isEqualTo(0); in testSetAdbEnabled_sinceJBMR1_settingsGlobal_false() 162 assertThat(Secure.getInt(context.getContentResolver(), Secure.INSTALL_NON_MARKET_APPS, 0)) in testSetInstallNonMarketApps_settingsSecure_true() 169 assertThat(Secure.getInt(context.getContentResolver(), Secure.INSTALL_NON_MARKET_APPS, 1)) in testSetInstallNonMarketApps_settingsSecure_false() 177 assertThat(Global.getInt(context.getContentResolver(), Global.INSTALL_NON_MARKET_APPS, 0)) in testSetInstallNonMarketApps_sinceJBMR1_settingsGlobal_true() 185 assertThat(Global.getInt(context.getContentResolver(), Global.INSTALL_NON_MARKET_APPS, 1)) in testSetInstallNonMarketApps_sinceJBMR1_settingsGlobal_false()
|
D | ShadowBitmapFactoryTest.java | 79 context.getContentResolver().openInputStream(Uri.parse("content:/path")); in decodeStream_shouldSetDescriptionAndCreatedFrom() 103 context.getContentResolver().openInputStream(Uri.parse("content:/path")); in decodeStream_shouldSetDescriptionWithNullOptions() 133 context.getContentResolver().openInputStream(Uri.parse("content:/path")); in decodeResourceStream_canTakeOptions() 166 MediaStore.Images.Media.getBitmap(context.getContentResolver(), Uri.parse("content:/path")); in decodeUri_shouldGetWidthAndHeightFromHints() 219 context.getContentResolver().openInputStream(Uri.parse("content:/path")); in decodeStream_shouldGetWidthAndHeightFromHints()
|
/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | GlobalSettings.java | 52 ContentResolver contentResolver = context.getContentResolver(); in clearAllGlobalSettings() 68 ContentResolver contentResolver = mContext.getContentResolver(); in getAllUseAngle() 83 ContentResolver contentResolver = mContext.getContentResolver(); in getShowAngleInUseDialogBox() 98 ContentResolver contentResolver = context.getContentResolver(); in updateAllUseAngle() 105 ContentResolver contentResolver = context.getContentResolver(); in updateShowAngleInUseDialog() 113 ContentResolver contentResolver = context.getContentResolver(); in updateAngleAllowlist() 193 ContentResolver contentResolver = mContext.getContentResolver(); in getGlobalSettingsString() 213 ContentResolver contentResolver = mContext.getContentResolver(); in writeGlobalSettings()
|
D | Receiver.java | 185 == Settings.Global.getInt(context.getContentResolver(), in updateDeveloperOptionsWatcher() 203 context.getContentResolver().registerContentObserver( in updateDeveloperOptionsWatcher()
|
D | SearchProvider.java | 76 Settings.Global.getInt(getContext().getContentResolver(), in queryNonIndexableKeys()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | CommandLineInitUtil.java | 84 boolean adbEnabled = Settings.Global.getInt(context.getContentResolver(), 87 return Settings.Global.getString(context.getContentResolver(), 95 boolean adbEnabled = Settings.System.getInt(context.getContentResolver(), 98 return Settings.System.getString(context.getContentResolver(),
|
D | ContentUriUtils.java | 114 ContentResolver resolver = ContextUtils.getApplicationContext().getContentResolver(); in getMimeType() 130 ContentResolver resolver = ContextUtils.getApplicationContext().getContentResolver(); in getAssetFileDescriptor() 178 ContentResolver contentResolver = context.getContentResolver(); in getDisplayName() 223 ContentResolver contentResolver = ContextUtils.getApplicationContext().getContentResolver(); in isVirtualDocument()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSettings.java | 310 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode() 314 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode() 326 RuntimeEnvironment.application.getContentResolver(), Settings.Global.WIFI_ON, isOn ? 1 : 0); in setWifiOn() 328 RuntimeEnvironment.application.getContentResolver(), Settings.System.WIFI_ON, isOn ? 1 : 0); in setWifiOn() 337 …Settings.System.putString(RuntimeEnvironment.application.getContentResolver(), Settings.System.TIM… in set24HourTimeFormat() 363 RuntimeEnvironment.application.getContentResolver(), in setAdbEnabled() 369 RuntimeEnvironment.application.getContentResolver(), in setAdbEnabled() 386 RuntimeEnvironment.application.getContentResolver(), in setInstallNonMarketApps() 392 RuntimeEnvironment.application.getContentResolver(), in setInstallNonMarketApps()
|
/external/setupcompat/main/java/com/google/android/setupcompat/util/ |
D | WizardManagerHelper.java | 152 context.getContentResolver(), SETTINGS_SECURE_USER_SETUP_COMPLETE, 0) in isUserSetupComplete() 158 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isUserSetupComplete() 175 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isDeviceProvisioned() 179 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isDeviceProvisioned()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 92 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout() 101 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout() 193 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness() 216 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness() 323 android.provider.Settings.Global.putString(mService.getContentResolver(), in setPrivateDnsMode() 326 android.provider.Settings.Global.putString(mService.getContentResolver(), in setPrivateDnsMode() 332 return android.provider.Settings.Global.getString(mService.getContentResolver(), in getPrivateDnsMode() 339 return android.provider.Settings.Global.getString(mService.getContentResolver(), in getPrivateDnsSpecifier()
|
/external/libchrome/base/test/android/java/src/org/chromium/base/ |
D | ContentUriTestUtils.java | 28 Cursor c = ContextUtils.getApplicationContext().getContentResolver().query( in insertImageIntoMediaStore() 42 Uri uri = ContextUtils.getApplicationContext().getContentResolver().insert( in insertImageIntoMediaStore()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | EABService.java | 107 mContext.getContentResolver().delete( 247 getContentResolver().registerContentObserver( in registerContentObservers() 252 getContentResolver().registerContentObserver( in registerContentObservers() 260 getContentResolver().unregisterContentObserver( in unregisterContentObservers() 265 getContentResolver().unregisterContentObserver( in unregisterContentObservers() 454 cursor = getContentResolver().query(ContactsContract.Data.CONTENT_URI, in checkForContactNumberChanges() 528 Cursor eabCursor = getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in verifyInsertOrUpdateAction() 605 Cursor contactDbCursor = getContentResolver().query( in checkForPhoneNumberDelete() 626 Cursor eabDbCursor = getContentResolver().query( in checkForPhoneNumberDelete() 719 Cursor cursor = getContentResolver().query( in checkForDeletedContact() [all …]
|
D | DatabaseContentProvider.java | 243 getContext().getContentResolver().notifyChange(uri, null); in delete() 289 getContext().getContentResolver().notifyChange(uri, null); in insert() 372 getContext().getContentResolver().notifyChange(uri, null); in update() 399 getContext().getContentResolver().notifyChange(uri, null); in bulkInsert()
|
D | PollingService.java | 123 getContentResolver().registerContentObserver(UCE_URI, true /*notifyForDescendants*/, in onCreate() 142 getContentResolver().unregisterContentObserver(mUceSettingObserver); in onDestroy()
|
D | EABDbUtil.java | 63 ContentResolver contentResolver = context.getContentResolver(); in validateAndSyncFromContactsDb() 241 Cursor eabDeleteCursor = context.getContentResolver().query( in deleteContactFromEabDb() 306 Cursor eabDeleteCursor = context.getContentResolver().query( in deleteNumberFromEabDb() 373 context.getContentResolver().applyBatch(EABContract.AUTHORITY, ops); in exceuteDB()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
D | RcsService.java | 223 boolean enabled = Settings.Global.getInt(getContentResolver(), in onCreate() 234 getContentResolver().registerContentObserver( in onCreate() 239 getContentResolver().registerContentObserver(Telephony.SimInfo.CONTENT_URI, false, in onCreate() 356 getContentResolver().unregisterContentObserver(mObserver); in onDestroy() 357 getContentResolver().unregisterContentObserver(mSiminfoSettingObserver); in onDestroy() 462 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | MediaStoreThumbFetcher.java | 152 inputStream = context.getContentResolver().openInputStream(thumbnailUri); in open() 163 …return context.getContentResolver().query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new S… in query() 175 …return context.getContentResolver().query(MediaStore.Video.Thumbnails.EXTERNAL_CONTENT_URI, new St… in query()
|
D | LocalUriFetcher.java | 43 ContentResolver contentResolver = context.getContentResolver(); in loadData()
|
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/ |
D | PartnerConfigHelper.java | 499 .getContentResolver() in getPartnerConfigBundle() 566 .getContentResolver() in isSetupWizardDayNightEnabled() 589 .getContentResolver() in shouldApplyExtendedPartnerConfig() 615 .getContentResolver() in isSetupWizardDynamicColorEnabled() 676 .getContentResolver() in registerContentObserver() 686 context.getContentResolver().unregisterContentObserver(contentObserver); in unregisterContentObserver()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/ |
D | ContentProviderControllerTest.java | 26 contentResolver = ApplicationProvider.getApplicationContext().getContentResolver(); in setUp() 107 .getContentResolver() in onCreate()
|
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/firebase/android/src/org/tensorflow/lite/benchmark/firebase/ |
D | BenchmarkModelActivity.java | 55 getContentResolver().openAssetFileDescriptor(reportFile, "w").getParcelFileDescriptor(); in onCreate()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | TelephonyManagerFacade.java | 1288 uri = mService.getContentResolver().insert( in telephonySetAPN() 1295 cursor = mService.getContentResolver().query(uri, sProjection, null, null, null); in telephonySetAPN() 1315 int ret = mService.getContentResolver().update(uri, values, null, null); in telephonySetAPN() 1322 Cursor c = mService.getContentResolver().query( in telephonySetAPN() 1332 ContentResolver resolver = mService.getContentResolver(); in telephonySetAPN() 1347 Cursor cursor = mService.getContentResolver().query( in telephonyGetNumberOfAPNs() 1368 Cursor cursor = mService.getContentResolver().query(Uri.parse(PREFERRED_APN_URI), in telephonyGetSelectedAPN()
|
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieActivity.java | 68 InputStream inputStream = getContentResolver().openInputStream(uri); in populateGrid() 189 InputStream inputStream = getContentResolver().openInputStream(uri); in addLottie()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | AdvancedMockContext.java | 49 public ContentResolver getContentResolver() { in getContentResolver() method in AdvancedMockContext
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/ |
D | Utils.java | 228 return Settings.Global.getFloat(context.getContentResolver(), in getAnimationScale() 232 return Settings.System.getFloat(context.getContentResolver(), in getAnimationScale()
|