Home
last modified time | relevance | path

Searched refs:contentValues (Results 1 – 3 of 3) sorted by relevance

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java101 ContentValues contentValues = getContentValues(voicemail); in insert() local
104 contentValues.put(Voicemails.IS_READ, 0); in insert()
106 return mContentResolver.insert(mBaseUri, contentValues); in insert()
300 ContentValues contentValues = new ContentValues(); in getContentValues() local
302 contentValues.put(Voicemails.DATE, String.valueOf(voicemail.getTimestampMillis())); in getContentValues()
305 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues()
308 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
311 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues()
314 contentValues.put(Voicemails.SOURCE_DATA, voicemail.getSourceData()); in getContentValues()
317 contentValues.put(Voicemails.IS_READ, voicemail.isRead() ? 1 : 0); in getContentValues()
[all …]
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java127 public Uri insert(Uri uri, ContentValues contentValues) { in insert() argument
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java81 final ContentValues contentValues = new ContentValues(); in ensureSampleGroupExists() local
82 contentValues.put(Groups.ACCOUNT_NAME, account.name); in ensureSampleGroupExists()
83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); in ensureSampleGroupExists()
84 contentValues.put(Groups.TITLE, SAMPLE_GROUP_NAME); in ensureSampleGroupExists()
85 contentValues.put(Groups.GROUP_IS_READ_ONLY, true); in ensureSampleGroupExists()
87 final Uri newGroupUri = resolver.insert(Groups.CONTENT_URI, contentValues); in ensureSampleGroupExists()