/development/apps/SdkSetup/src/com/android/sdksetup/ |
D | DefaultActivity.java | 41 Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1); in onCreate() 45 Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in onCreate() 49 Settings.Global.putInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1); in onCreate()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | RSSPullService.java | 115 cursor = getContentResolver().query( in onHandleIntent() 209 getContentResolver().bulkInsert( in onHandleIntent() 221 getContentResolver().insert( in onHandleIntent() 229 getContentResolver().update( in onHandleIntent()
|
D | DataProvider.java | 261 returnCursor.setNotificationUri(getContext().getContentResolver(), uri); in query() 326 getContext().getContentResolver().notifyChange(uri, null); in insert() 394 getContext().getContentResolver().notifyChange(uri, null); in bulkInsert() 468 getContext().getContentResolver().notifyChange(uri, null); in update()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssContentProvider.java | 165 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 175 getContext().getContentResolver().notifyUpdate(uri, null); in update() 189 getContext().getContentResolver().notifyInsert(CONTENT_URI, null); in insert() 199 getContext().getContentResolver().notifyDelete(uri, null); in delete()
|
D | MyRssReader4.java | 133 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); in onOptionsItemSelected() 157 Uri uri = getContentResolver().insert( in onActivityResult()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 111 c.setNotificationUri(ctx.getContentResolver(), uri); in query() 140 ctx.getContentResolver().notifyChange(uri, null, false); in insert() 172 ctx.getContentResolver().notifyChange(uri, null, false); in delete() 203 ctx.getContentResolver().notifyChange(uri, null, false); in update()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 169 mUri = getContentResolver().insert(intent.getData(), null); in onCreate() 463 ContentResolver cr = getContentResolver(); in performPaste() 573 getContentResolver().update( in updateNote() 595 getContentResolver().update(mUri, values, null, null); in cancelNote() 612 getContentResolver().delete(mUri, null, null); in deleteNote()
|
D | TitleEditor.java | 154 getContentResolver().update( in onPause()
|
D | NotePadProvider.java | 320 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 561 getContext().getContentResolver().notifyChange(noteUri, null); in insert() 642 getContext().getContentResolver().notifyChange(uri, null); in delete() 735 getContext().getContentResolver().notifyChange(uri, null); in update()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | AutoComplete4.java | 43 ContentResolver content = getContentResolver(); in onCreate() 59 mContent = context.getContentResolver(); in ContactListAdapter()
|
D | List2.java | 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
|
D | AutoComplete5.java | 34 ContentResolver content = getContentResolver(); in onCreate()
|
D | List3.java | 40 Cursor c = getContentResolver().query(Phone.CONTENT_URI, in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 246 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 294 getContext().getContentResolver().notifyChange(noteUri, null); in insert() 332 getContext().getContentResolver().notifyChange(uri, null); in delete() 364 getContext().getContentResolver().notifyChange(uri, null); in update() 428 final ContentResolver cr = getActivity().getContentResolver(); in onOptionsItemSelected()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 247 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 295 getContext().getContentResolver().notifyChange(noteUri, null); in insert() 333 getContext().getContentResolver().notifyChange(uri, null); in delete() 365 getContext().getContentResolver().notifyChange(uri, null); in update() 429 final ContentResolver cr = getActivity().getContentResolver(); in onOptionsItemSelected()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
D | AddVoicemailActivity.java | 177 mMimeType.setText(getContentResolver().getType(uri)); in handleRecordingResult() 205 getContentResolver().openInputStream(recordingUri); in insertVoicemail() 211 getContentResolver().getType(recordingUri)); in insertVoicemail()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 61 final ContentResolver resolver = context.getContentResolver(); in ensureSampleGroupExists() 109 final ContentResolver resolver = context.getContentResolver(); in updateContacts() 178 final ContentResolver resolver = context.getContentResolver(); in getDirtyContacts() 229 final ContentResolver resolver = context.getContentResolver(); in updateStatusMessages() 251 final ContentResolver resolver = context.getContentResolver(); in clearSyncFlags() 446 context.getContentResolver().insert(Settings.CONTENT_URI, values); in setAccountContactsVisibility() 472 final ContentResolver resolver = context.getContentResolver(); in getRawContact() 527 final ContentResolver resolver = context.getContentResolver(); in updateContactStatus()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetProvider.java | 93 final ContentResolver r = context.getContentResolver(); in onEnabled() 115 final ContentResolver r = context.getContentResolver(); in onReceive() 191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, in buildLayout()
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
D | StorageClientFragment.java | 137 Cursor cursor = getActivity().getContentResolver() in dumpImageMetaData() 193 getActivity().getContentResolver().openFileDescriptor(uri, "r"); in getBitmapFromUri()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 107 mContentResolver = context.getContentResolver(); in SyncAdapter() 116 mContentResolver = context.getContentResolver(); in SyncAdapter() 205 final ContentResolver contentResolver = getContext().getContentResolver(); in updateLocalFeedData()
|
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/ |
D | SmsTest.java | 66 ContentResolver r = mContext.getContentResolver(); in getSmsCursor()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
D | ImageLoader.java | 64 imageView.getContext().getContentResolver(), in loadMediaStoreThumbnail()
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
D | OtherMetadataFragment.java | 232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, in loadBitmapFromContactUri() 241 result = MediaStore.Images.Media.getBitmap(getActivity().getContentResolver() in loadBitmapFromContactUri() 261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, in updateContactEntryFromUri()
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | BusinessCardActivity.java | 103 return mContactAccessor.loadContact(getContentResolver(), uris[0]); in loadContactInfo()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsMessageReceiver.java | 57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null); in onReceive()
|