Home
last modified time | relevance | path

Searched refs:newValues (Results 1 – 9 of 9) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java159 ContentValues newValues = new ContentValues(); in testFailOnInsertMetadataForSameAccountIdAndBackupId() local
160 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
161 newValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
162 newValues.put(MetadataSync.DATA_SET, TEST_DATA_SET1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
163 newValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, TEST_BACKUP_ID1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
164 newValues.put(MetadataSync.DATA, newData); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
165 newValues.put(MetadataSync.DELETED, 0); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
167 mResolver.insert(MetadataSync.CONTENT_URI, newValues); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
309 ContentValues newValues = new ContentValues(); in testFailUpdateDeletedMetadata() local
310 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testFailUpdateDeletedMetadata()
[all …]
DVoicemailProviderTest.java237 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
238 newValues.put(Voicemails.IS_READ, 1); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
239 newValues.put(Voicemails.DIRTY, "0"); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
240 assertStoredValues(uri, newValues); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
253 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty() local
254 newValues.put(Voicemails.DIRTY, "1"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
255 newValues.put(Voicemails.TRANSCRIPTION, "foo"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
256 assertStoredValues(uri, newValues); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
269 ContentValues newValues = getTestVoicemailValues(); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty() local
270 newValues.put(Voicemails.DIRTY, "0"); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty()
[all …]
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DPresetSettingsListener.java39 final int[] newValues; in onSharedPreferenceChanged() local
42 newValues = res.getIntArray(R.array.standard_setting_values); in onSharedPreferenceChanged()
45 newValues = res.getIntArray(R.array.cinema_setting_values); in onSharedPreferenceChanged()
48 newValues = res.getIntArray(R.array.vivid_setting_values); in onSharedPreferenceChanged()
51 newValues = res.getIntArray(R.array.game_setting_values); in onSharedPreferenceChanged()
62 prefs.putInt(keys[i], newValues[i]); in onSharedPreferenceChanged()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java127 List<CharSequence> newValues = new ArrayList<>(); in updateCountryChoices() local
129 newValues.add(countryChooserPref.getEntryValues()[0]); in updateCountryChoices()
134 newValues.add(tuple.countryCode()); in updateCountryChoices()
139 countryChooserPref.setEntryValues(newValues.toArray(new CharSequence[newValues.size()])); in updateCountryChoices()
141 if (!newValues.contains(countryChooserPref.getValue())) { in updateCountryChoices()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockNumberTaskFragment.java54 ContentValues newValues = new ContentValues(); in doInBackground() local
55 newValues.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, in doInBackground()
58 newValues); in doInBackground()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java120 final int[] newValues = new int[newCapacity]; in ensureCapacity() local
121 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
122 mValues = newValues; in ensureCapacity()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumbersUtil.java162 ContentValues newValues = new ContentValues(); in importSendToVoicemailContacts()
163 newValues.put(Contacts.SEND_TO_VOICEMAIL, 0); in importSendToVoicemailContacts()
168 newValues, in importSendToVoicemailContacts()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java171 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) { in update() argument
197 Set<Entry<String, Object>> newValuesSet = newValues.valueSet(); in update()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2809 ContentValues[] newValues = new ContentValues[added]; in setObjectReferences() local
2810 System.arraycopy(valuesList, 0, newValues, 0, added); in setObjectReferences()
2811 valuesList = newValues; in setObjectReferences()
5867 ContentValues newValues = new ContentValues(); in getKeyIdForName() local
5868 newValues.put(nameField, bestName); in getKeyIdForName()
5869 … db.update(table, newValues, "rowid="+Integer.toString((int)rowId), null); in getKeyIdForName()