Home
last modified time | relevance | path

Searched refs:getContentResolver (Results 1 – 25 of 32) sorted by relevance

12

/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsService.java98 boolean enabled = Settings.Global.getInt(getContentResolver(), in onCreate()
109 getContentResolver().registerContentObserver( in onCreate()
114 getContentResolver().registerContentObserver( in onCreate()
167 getContentResolver().unregisterContentObserver(mObserver); in onDestroy()
168 getContentResolver().unregisterContentObserver(mVtSettingObserver); in onDestroy()
277 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
319 boolean enabled = Settings.Global.getInt(getContentResolver(), in onChange()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSettingsTest.java25 contentResolver = activity.getContentResolver(); in setUp()
34 contentResolver = activity.getContentResolver(); in whileApplicationStaysSame_shouldRememberOldSettings()
45 contentResolver = activity.getContentResolver(); in whenApplicationChanges_shouldStartWithNewSettings()
DContextWrapperTest.java131 assertThat(activity.getContentResolver(), sameInstance(activity.getContentResolver())); in shouldReturnSameContentResolverEveryTime()
133 … assertThat(activity.getContentResolver(), sameInstance(new Activity().getContentResolver())); in shouldReturnSameContentResolverEveryTime()
DBitmapFactoryTest.java49 …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()
DContentProviderTest.java68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABService.java111 mContext.getContentResolver().delete(
236 getContentResolver().registerContentObserver( in registerContentObservers()
241 getContentResolver().registerContentObserver( in registerContentObservers()
249 getContentResolver().unregisterContentObserver( in unregisterContentObservers()
254 getContentResolver().unregisterContentObserver( in unregisterContentObservers()
437 Cursor cursor = getContentResolver().query(ContactsContract.Data.CONTENT_URI, in checkForContactNumberChanges()
502 Cursor eabCursor = getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in verifyInsertOrUpdateAction()
578 Cursor contactDbCursor = getContentResolver().query( in checkForPhoneNumberDelete()
599 Cursor eabDbCursor = getContentResolver().query( in checkForPhoneNumberDelete()
688 Cursor cursor = getContentResolver().query( in checkForDeletedContact()
[all …]
DDatabaseContentProvider.java243 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()
DEABDbUtil.java62 ContentResolver contentResolver = context.getContentResolver(); in validateAndSyncFromContactsDb()
247 Cursor eabDeleteCursor = context.getContentResolver().query( in deleteContactFromEabDb()
312 Cursor eabDeleteCursor = context.getContentResolver().query( in deleteNumberFromEabDb()
379 context.getContentResolver().applyBatch(EABContract.AUTHORITY, ops); in exceuteDB()
DContactDbUtil.java51 ContentResolver contentResolver = context.getContentResolver(); in addVideoCallingContactGroup()
103 ContentResolver contentResolver = context.getContentResolver(); in removeVideoCallingContactGroup()
DEABProvider.java261 return getContext().getContentResolver().query(Contacts.CONTENT_URI, projection, in queryInternal()
377 Cursor cursor = getContext().getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in verifyIfMdnExists()
424 Cursor cursor = getContext().getContentResolver().query(EABContract.EABColumns.CONTENT_URI, in printDeletingValues()
DPersistService.java67 mEABContactManager = new EABContactManager(getContentResolver(), getPackageName()); in onCreate()
DPollingTask.java158 mContext.getContentResolver(), mContext.getPackageName()); in updateTimeStampToCurrent()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSettings.java140 …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()
DShadowContextWrapper.java62 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowContextWrapper
63 return getApplicationContext().getContentResolver(); in getContentResolver()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java73 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout()
82 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout()
156 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness()
179 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness()
DContactsFacade.java57 mContentResolver = mService.getContentResolver(); in ContactsFacade()
87 Cursor cursor = mService.getContentResolver().query(phoneData, null, null, null, null); in pickPhone()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DMediaStoreThumbFetcher.java152 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()
DLocalUriFetcher.java43 ContentResolver contentResolver = context.getContentResolver(); in loadData()
/external/skia/platform_tools/android/apps/visualbench/src/main/java/com/skia/
DVisualBenchActivity.java39 Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS_MODE, in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java953 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()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/
DSimpleTestCursorTest.java26 contentResolver = Robolectric.application.getContentResolver(); in setup()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiScannerFacade.java552 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()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java174 mDataEnabled = Settings.Global.getInt(mContext.getContentResolver(), in PresencePublication()
182 mContext.getContentResolver(), in PresencePublication()
445 return Settings.Global.getInt(mContext.getContentResolver(), in isDataEnabled()
1196 if((Settings.Global.getInt(mContext.getContentResolver(), in onFeatureCapabilityChangedInternal()
/external/svox/pico/compat/src/com/android/tts/compat/
DCompatTtsService.java59 Cursor c = getContentResolver().query(Uri.parse("content://" + getPackageName() in onCreate()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java64 public ContentResolver getContentResolver() { in getContentResolver() method in MockContext.MockContext2

12