/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()
|
D | ShadowContextWrapperTest.java | 361 assertThat(activity.getContentResolver()).isSameAs(activity.getContentResolver()); in shouldReturnSameContentResolverEveryTime() 363 …assertThat(activity.getContentResolver()).isSameAs(Robolectric.setupActivity(Activity.class).getCo… in shouldReturnSameContentResolverEveryTime()
|
D | ShadowAsyncQueryHandlerTest.java | 32 contentResolver = ApplicationProvider.getApplicationContext().getContentResolver(); in setUp()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSettings.java | 286 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode() 290 RuntimeEnvironment.application.getContentResolver(), in setAirplaneMode() 302 RuntimeEnvironment.application.getContentResolver(), Settings.Global.WIFI_ON, isOn ? 1 : 0); in setWifiOn() 304 RuntimeEnvironment.application.getContentResolver(), Settings.System.WIFI_ON, isOn ? 1 : 0); in setWifiOn() 313 …Settings.System.putString(RuntimeEnvironment.application.getContentResolver(), Settings.System.TIM… in set24HourTimeFormat() 339 RuntimeEnvironment.application.getContentResolver(), in setAdbEnabled() 345 RuntimeEnvironment.application.getContentResolver(), in setAdbEnabled() 362 RuntimeEnvironment.application.getContentResolver(), in setInstallNonMarketApps() 368 RuntimeEnvironment.application.getContentResolver(), in setInstallNonMarketApps()
|
/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() 322 android.provider.Settings.Global.putString(mService.getContentResolver(), in setPrivateDnsMode() 325 android.provider.Settings.Global.putString(mService.getContentResolver(), in setPrivateDnsMode() 331 return android.provider.Settings.Global.getString(mService.getContentResolver(), in getPrivateDnsMode() 338 return android.provider.Settings.Global.getString(mService.getContentResolver(), in getPrivateDnsSpecifier()
|
D | CallLogFacade.java | 59 mContentResolver = mService.getContentResolver(); in CallLogFacade()
|
/external/setupcompat/main/java/com/google/android/setupcompat/util/ |
D | WizardManagerHelper.java | 134 context.getContentResolver(), SETTINGS_SECURE_USER_SETUP_COMPLETE, 0) in isUserSetupComplete() 140 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isUserSetupComplete() 157 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isDeviceProvisioned() 161 context.getContentResolver(), SETTINGS_GLOBAL_DEVICE_PROVISIONED, 0) in isDeviceProvisioned()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
D | RcsService.java | 92 boolean enabled = Settings.Global.getInt(getContentResolver(), in onCreate() 103 getContentResolver().registerContentObserver( in onCreate() 108 getContentResolver().registerContentObserver( in onCreate() 172 getContentResolver().unregisterContentObserver(mObserver); in onDestroy() 173 getContentResolver().unregisterContentObserver(mSiminfoSettingObserver); in onDestroy() 282 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | EABService.java | 113 mContext.getContentResolver().delete( 253 getContentResolver().registerContentObserver( in registerContentObservers() 258 getContentResolver().registerContentObserver( in registerContentObservers() 266 getContentResolver().unregisterContentObserver( in unregisterContentObservers() 271 getContentResolver().unregisterContentObserver( in unregisterContentObservers() 460 cursor = getContentResolver().query(ContactsContract.Data.CONTENT_URI, in checkForContactNumberChanges() 534 Cursor eabCursor = getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in verifyInsertOrUpdateAction() 611 Cursor contactDbCursor = getContentResolver().query( in checkForPhoneNumberDelete() 632 Cursor eabDbCursor = getContentResolver().query( in checkForPhoneNumberDelete() 725 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 | 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()
|
D | EABProvider.java | 301 return getContext().getContentResolver().query(Contacts.CONTENT_URI, projection, in queryInternal() 428 Cursor cursor = getContext().getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in verifyIfMdnExists() 492 Cursor cursor = getContext().getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in printDeletingValues()
|
/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/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/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | TelephonyManagerFacade.java | 1176 uri = mService.getContentResolver().insert( in telephonySetAPN() 1183 cursor = mService.getContentResolver().query(uri, sProjection, null, null, null); in telephonySetAPN() 1203 int ret = mService.getContentResolver().update(uri, values, null, null); in telephonySetAPN() 1210 Cursor c = mService.getContentResolver().query( in telephonySetAPN() 1220 ContentResolver resolver = mService.getContentResolver(); in telephonySetAPN() 1235 Cursor cursor = mService.getContentResolver().query( in telephonyGetNumberOfAPNs() 1256 Cursor cursor = mService.getContentResolver().query(Uri.parse(PREFERRED_APN_URI), in telephonyGetSelectedAPN()
|
/external/skia/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/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/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiScannerFacade.java | 555 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerToggleAlwaysAvailable() 561 Global.putInt(mService.getContentResolver(), Global.WIFI_SCAN_ALWAYS_AVAILABLE, new_state); in wifiScannerToggleAlwaysAvailable() 566 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerIsAlwaysAvailable()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | PresencePublication.java | 170 mDataEnabled = Settings.Global.getInt(mContext.getContentResolver(), in PresencePublication() 178 mContext.getContentResolver(), in PresencePublication() 442 return Settings.Global.getInt(mContext.getContentResolver(), in isDataEnabled() 1186 if((Settings.Global.getInt(mContext.getContentResolver(), in onFeatureCapabilityChangedInternal()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/ |
D | SkiaImageDecoder.java | 88 ContentResolver contentResolver = context.getContentResolver(); in decode()
|
D | SkiaImageRegionDecoder.java | 97 ContentResolver contentResolver = context.getContentResolver(); in init()
|
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | MockStatic.java | 93 ContentResolver resolver = InstrumentationRegistry.getTargetContext().getContentResolver(); in spyStatic() 137 ContentResolver resolver = InstrumentationRegistry.getTargetContext().getContentResolver(); in mockStatic()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | AudioFileOutput.java | 67 mContext.getContentResolver().openFileDescriptor(mUri, "w"); in writeRingBufferData()
|