/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContextWrapperTest.java | 131 assertThat(activity.getContentResolver(), sameInstance(activity.getContentResolver())); in shouldReturnSameContentResolverEveryTime() 133 … assertThat(activity.getContentResolver(), sameInstance(new Activity().getContentResolver())); in shouldReturnSameContentResolverEveryTime()
|
D | SettingsTest.java | 25 contentResolver = activity.getContentResolver(); in setUp() 34 contentResolver = activity.getContentResolver(); in whileApplicationStaysSame_shouldRememberOldSettings() 45 contentResolver = activity.getContentResolver(); in whenApplicationChanges_shouldStartWithNewSettings()
|
D | BitmapFactoryTest.java | 49 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldSetDescription() 111 …bitmap = MediaStore.Images.Media.getBitmap(Robolectric.application.getContentResolver(), Uri.parse… in decodeUri_shouldGetWidthAndHeightFromHints() 121 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldGetWidthAndHeightFromHints()
|
D | ContentProviderTest.java | 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
|
D | ContentResolverTest.java | 46 contentResolver = new Activity().getContentResolver(); in setUp()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSettings.java | 140 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.AIRPLANE_MODE… in setAirplaneMode() 149 …Settings.Secure.putInt(Robolectric.application.getContentResolver(), Settings.Secure.WIFI_ON, isOn… in setWifiOn() 158 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.TIME_12_24, u… in set24HourTimeFormat()
|
D | ShadowContextWrapper.java | 62 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowContextWrapper 63 return getApplicationContext().getContentResolver(); in getContentResolver()
|
D | ShadowApplication.java | 140 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowApplication
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 74 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout() 83 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout() 157 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness() 180 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness()
|
D | ContactsFacade.java | 58 mContentResolver = mService.getContentResolver(); in ContactsFacade() 88 Cursor cursor = mService.getContentResolver().query(phoneData, null, null, null, null); in pickPhone()
|
D | ConnectivityManagerFacade.java | 693 return android.provider.Settings.System.getInt(mService.getContentResolver(), in connectivityCheckAirplaneMode()
|
/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/skia/platform_tools/android/apps/visualbench/src/main/java/com/skia/ |
D | VisualBenchActivity.java | 39 Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS_MODE, in onCreate()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | TelephonyManagerFacade.java | 953 uri = mService.getContentResolver().insert( in telephonySetAPN() 960 cursor = mService.getContentResolver().query(uri, sProjection, null, null, null); in telephonySetAPN() 980 int ret = mService.getContentResolver().update(uri, values, null, null); in telephonySetAPN() 987 Cursor c = mService.getContentResolver().query( in telephonySetAPN() 997 ContentResolver resolver = mService.getContentResolver(); in telephonySetAPN() 1014 Cursor cursor = mService.getContentResolver().query( in telephonyGetNumberOfAPNs() 1035 Cursor cursor = mService.getContentResolver().query(Uri.parse(PREFERRED_APN_URI), in telephonyGetSelectedAPN()
|
D | TelecomManagerFacade.java | 331 ContentResolver resolver = mService.getContentResolver(); in telecomCallContentUri()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/ |
D | SimpleTestCursorTest.java | 26 contentResolver = Robolectric.application.getContentResolver(); in setup()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiScannerFacade.java | 552 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerToggleAlwaysAvailable() 558 Global.putInt(mService.getContentResolver(), Global.WIFI_SCAN_ALWAYS_AVAILABLE, new_state); in wifiScannerToggleAlwaysAvailable() 563 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerIsAlwaysAvailable()
|
D | WifiManagerFacade.java | 851 ContentResolver cr = mService.getContentResolver(); in wifiToggleScanAlwaysAvailable()
|
/external/svox/pico/compat/src/com/android/tts/compat/ |
D | CompatTtsService.java | 59 Cursor c = getContentResolver().query(Uri.parse("content://" + getPackageName() in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 64 public ContentResolver getContentResolver() { in getContentResolver() method in MockContext.MockContext2
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterConfiguration.java | 71 mmResolver = context.getContentResolver(); in InterpreterListener()
|