/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelperTest.java | 333 final ContentValues contentValues = new ContentValues(); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() local 334 contentValues.put(RawContactsColumns.PHONEBOOK_BUCKET_PRIMARY, 0); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() 335 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() 350 final ContentValues contentValues = new ContentValues(); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() local 351 contentValues.put(RawContactsColumns.PHONEBOOK_BUCKET_ALTERNATIVE, 0); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() 352 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() 368 final ContentValues contentValues = new ContentValues(); in testUpgradeToVersion111_NonZeroPrimaryPhonebookBucket() local 369 contentValues.put(RawContactsColumns.PHONEBOOK_BUCKET_PRIMARY, primaryBucket); in testUpgradeToVersion111_NonZeroPrimaryPhonebookBucket() 370 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_NonZeroPrimaryPhonebookBucket() 381 final ContentValues contentValues = new ContentValues(); in testUpgradeToVersion111_NonNullPrimarySortKey() local [all …]
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockContentProvider.java | 216 public Insert(Uri uri, ContentValues contentValues, Uri resultUri) { in Insert() argument 218 mContentValues = Preconditions.checkNotNull(contentValues); in Insert() 233 private boolean equals(Uri uri, ContentValues contentValues) { in equals() argument 234 return mUri.equals(uri) && mContentValues.equals(contentValues); in equals() 359 ContentValues contentValues, in Update() argument 363 mContentValues = Preconditions.checkNotNull(contentValues); in Update() 391 ContentValues contentValues, in equals() argument 394 return mUri.equals(uri) && mContentValues.equals(contentValues) && in equals() 456 public void expectInsert(Uri contentUri, ContentValues contentValues, Uri resultUri) { in expectInsert() argument 457 mExpectedInserts.add(new Insert(contentUri, contentValues, resultUri)); in expectInsert() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/compat/ |
D | FilteredNumberCompatTest.java | 142 ContentValues contentValues = new ContentValues(); in testNewBlockNumberContentValues_N_Migrated() local 143 contentValues.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, NON_E164_NUMBER); in testNewBlockNumberContentValues_N_Migrated() 147 assertEquals(contentValues, FilteredNumberCompat.newBlockNumberContentValues( in testNewBlockNumberContentValues_N_Migrated() 280 ContentValues contentValues = new ContentValues(); in newExpectedContentValuesM() local 281 contentValues.put(FilteredNumberColumns.NUMBER, number); in newExpectedContentValuesM() 282 contentValues.put(FilteredNumberColumns.NORMALIZED_NUMBER, e164Number); in newExpectedContentValuesM() 283 contentValues.put(FilteredNumberColumns.COUNTRY_ISO, countryIso); in newExpectedContentValuesM() 284 contentValues.put(FilteredNumberColumns.TYPE, FilteredNumberTypes.BLOCKED_NUMBER); in newExpectedContentValuesM() 285 contentValues.put(FilteredNumberColumns.SOURCE, FilteredNumberSources.USER); in newExpectedContentValuesM() 286 return contentValues; in newExpectedContentValuesM()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorIntents.java | 85 ArrayList<ContentValues> contentValues) { in createEditOtherContactIntent() argument 92 if (contentValues != null && contentValues.size() != 0) { in createEditOtherContactIntent() 93 intent.putParcelableArrayListExtra(ContactsContract.Intents.Insert.DATA, contentValues); in createEditOtherContactIntent() 166 ArrayList<ContentValues> contentValues = rawContactDeltaList.get(0).getContentValues(); in putRawContactDeltaValues() local 167 if (contentValues != null && contentValues.size() != 0) { in putRawContactDeltaValues() 169 ContactsContract.Intents.Insert.DATA, contentValues); in putRawContactDeltaValues()
|
D | ContactEditorBaseFragment.java | 252 ArrayList<ContentValues> contentValues); in onEditOtherContactRequested() argument
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | FilteredNumberAsyncQueryHandlerTest.java | 355 ContentValues contentValues = new ContentValues(); in newBlockNumberContentValuesN() local 356 contentValues.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, NUMBER); in newBlockNumberContentValuesN() 357 return contentValues; in newBlockNumberContentValuesN() 361 ContentValues contentValues = new ContentValues(); in newBlockNumberContentValuesM() local 362 contentValues.put(FilteredNumberColumns.NORMALIZED_NUMBER, E164_NUMBER); in newBlockNumberContentValuesM() 363 contentValues.put(FilteredNumberColumns.NUMBER, NUMBER); in newBlockNumberContentValuesM() 364 contentValues.put(FilteredNumberColumns.COUNTRY_ISO, COUNTRY_ISO); in newBlockNumberContentValuesM() 365 contentValues.put(FilteredNumberColumns.TYPE, FilteredNumberTypes.BLOCKED_NUMBER); in newBlockNumberContentValuesM() 366 contentValues.put(FilteredNumberColumns.SOURCE, FilteredNumberSources.USER); in newBlockNumberContentValuesM() 367 return contentValues; in newBlockNumberContentValuesM()
|
/packages/apps/Dialer/src/com/android/dialer/compat/ |
D | FilteredNumberCompat.java | 235 ContentValues contentValues = new ContentValues(); in newBlockNumberContentValues() local 236 contentValues.put(getOriginalNumberColumnName(), Preconditions.checkNotNull(number)); in newBlockNumberContentValues() 241 contentValues.put(getE164NumberColumnName(), e164Number); in newBlockNumberContentValues() 242 contentValues.put(getCountryIsoColumnName(), countryIso); in newBlockNumberContentValues() 243 contentValues.put(getTypeColumnName(), FilteredNumberTypes.BLOCKED_NUMBER); in newBlockNumberContentValues() 244 contentValues.put(getSourceColumnName(), FilteredNumberSources.USER); in newBlockNumberContentValues() 246 return contentValues; in newBlockNumberContentValues()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
D | VoicemailsQueryHelper.java | 175 ContentValues contentValues = new ContentValues(); in markReadInDatabase() local 176 contentValues.put(Voicemails.IS_READ, "1"); in markReadInDatabase() 177 mContentResolver.update(uri, contentValues, null, null); in markReadInDatabase() 185 ContentValues contentValues = new ContentValues(); in updateWithTranscription() local 186 contentValues.put(Voicemails.TRANSCRIPTION, transcription); in updateWithTranscription() 187 mContentResolver.update(uri, contentValues, null, null); in updateWithTranscription()
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
D | FillCallLogTestActivity.java | 629 final ContentValues contentValues = new ContentValues(); in addManualVoicemail() local 630 contentValues.put(Voicemails.DATE, time); in addManualVoicemail() 631 contentValues.put(Voicemails.NUMBER, mPhoneNumber.getText().toString()); in addManualVoicemail() 632 contentValues.put(Voicemails.DURATION, 5000); in addManualVoicemail() 633 contentValues.put(Voicemails.SOURCE_PACKAGE, getPackageName()); in addManualVoicemail() 634 contentValues.put(Voicemails.SOURCE_DATA, 500); in addManualVoicemail() 635 contentValues.put(Voicemails.IS_READ, 0); in addManualVoicemail() 638 contentValues); in addManualVoicemail() local
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 2042 ContentValues contentValues = new ContentValues(); in setEmailMessageStatusDelete() local 2045 contentValues.put(BluetoothMapContract.MessageColumns._ID, handle); in setEmailMessageStatusDelete() 2054 contentValues.put(BluetoothMapContract.MessageColumns.FOLDER_ID,folderId); in setEmailMessageStatusDelete() 2055 updateCount = mResolver.update(uri, contentValues, null, null); in setEmailMessageStatusDelete() 2089 contentValues.put(BluetoothMapContract.MessageColumns.FOLDER_ID, folderId); in setEmailMessageStatusDelete() 2090 updateCount = mResolver.update(uri, contentValues, null, null); in setEmailMessageStatusDelete() 2130 ContentValues contentValues = new ContentValues(); in updateThreadId() local 2131 contentValues.put(valueString, threadId); in updateThreadId() 2132 mResolver.update(uri, contentValues, null, null); in updateThreadId() 2352 ContentValues contentValues = new ContentValues(); in setMessageStatusRead() local [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | NameConverter.java | 156 ContentValues contentValues) { in displayNameToStructuredName() argument 157 if (contentValues == null) { in displayNameToStructuredName() 158 contentValues = new ContentValues(); in displayNameToStructuredName() 162 contentValues.put(key, mapValues.get(key)); in displayNameToStructuredName() 164 return contentValues; in displayNameToStructuredName()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | StructuredNameDataItem.java | 96 final ContentValues contentValues = getContentValues(); in isSuperPrimary() local 97 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY) in isSuperPrimary() 98 ? false : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY); in isSuperPrimary()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberBackupAgent.java | 224 ContentValues contentValues = new ContentValues(); in writeToProvider() local 225 contentValues.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, in writeToProvider() 227 contentValues.put(BlockedNumberContract.BlockedNumbers.COLUMN_E164_NUMBER, in writeToProvider() 231 BlockedNumberContract.BlockedNumbers.CONTENT_URI, contentValues); in writeToProvider()
|
/packages/apps/UnifiedEmail/assets/ |
D | script.js | 149 var contentValues; 161 contentValues = [metaViewport.getAttribute("content")]; 163 contentValues.push(metaViewport.getAttribute("data-zoom-off")); 165 contentValues.push(metaViewport.getAttribute("data-zoom-on")); 167 metaViewport.setAttribute("content", contentValues.join(","));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataHandler.java | 119 final ContentValues contentValues = MetadataDbHelper.getContentValuesByWordListId( in getCurrentMetadataForWordList() local 121 if (contentValues == null) { in getCurrentMetadataForWordList() 129 return WordListMetadata.createFromContentValues(contentValues); in getCurrentMetadataForWordList()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailConversationCursor.java | 227 final ContentValues contentValues = new ContentValues(1); in markContentsSeen() local 228 contentValues.put(EmailContent.MessageColumns.FLAG_SEEN, true); in markContentsSeen() 233 resolver.update(uri, contentValues, where, selectionArgs); in markContentsSeen()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcher.java | 331 private static void putValue(ContentValues contentValues, String key, String value) { 333 contentValues.putNull(key); 335 contentValues.put(key, value);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 1601 ContentValues contentValues = new ContentValues(); in upgradeDatabaseToVersion51() local 1602 contentValues.put("seen", 1); in upgradeDatabaseToVersion51() 1603 int count = db.update("sms", contentValues, "read=1", null); in upgradeDatabaseToVersion51() 1606 count = db.update("pdu", contentValues, "read=1", null); in upgradeDatabaseToVersion51()
|
D | MmsSmsProvider.java | 554 ContentValues contentValues = new ContentValues(1); in getSingleAddressId() local 555 contentValues.put(CanonicalAddressesColumns.ADDRESS, refinedAddress); in getSingleAddressId() 559 CanonicalAddressesColumns.ADDRESS, contentValues); in getSingleAddressId()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | EmailContent.java | 385 public int update(Context context, ContentValues contentValues) { in update() argument 389 return context.getContentResolver().update(getUri(), contentValues, null, null); in update() 392 static public int update(Context context, Uri baseUri, long id, ContentValues contentValues) { in update() argument 394 .update(ContentUris.withAppendedId(baseUri, id), contentValues, null, null); in update()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 2984 ContentValues contentValues = new ContentValues(); in updateValueForKey() local 2985 contentValues.put(CalendarCache.COLUMN_NAME_VALUE, value); in updateValueForKey() 2988 contentValues, in updateValueForKey()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 809 ArrayList<ContentValues> contentValues = new ArrayList<ContentValues>(); in moveItemsInDatabase() local 833 contentValues.add(values); in moveItemsInDatabase() 835 updateItemsInDatabaseHelper(context, contentValues, items, "moveItemInDatabase"); in moveItemsInDatabase()
|